1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages
Juho Heikka d8acff67d1
Fix ensure hashed directory for extension (#7188)
* Fix ensure hashed directory for extension

Earlier open lens versions stored extension_data directory based on
path of extension's package.json. This causes problems
because extensions have moved to new location. This ensures
backward compatibility that extension will get the same
directory than before the change.

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Reconstruct the key for old hashed directories

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Remove unnecessary return

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Use sync version of random bytes

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Add migration to new type of key

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Fix global override for random bytes to not return a promise

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

* Make registeredExtensions a dependency

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>

---------

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-02-21 16:09:03 +02:00
..
bump-version-for-cron Switch to using NPM workspaces (#7115) 2023-02-20 12:48:18 +02:00
core Fix ensure hashed directory for extension (#7188) 2023-02-21 16:09:03 +02:00
ensure-binaries Switch to using NPM workspaces (#7115) 2023-02-20 12:48:18 +02:00
extension-api Switch to using NPM workspaces (#7115) 2023-02-20 12:48:18 +02:00
generate-tray-icons Switch to using NPM workspaces (#7115) 2023-02-20 12:48:18 +02:00
infrastructure/typescript Add package for shared typescript configurations for Lens applications, Features and libraries. (#7197) 2023-02-21 09:26:05 +02:00
node-fetch Switch to using NPM workspaces (#7115) 2023-02-20 12:48:18 +02:00
open-lens Switch to using NPM workspaces (#7115) 2023-02-20 12:48:18 +02:00
release-tool Switch to using NPM workspaces (#7115) 2023-02-20 12:48:18 +02:00
semver Switch to using NPM workspaces (#7115) 2023-02-20 12:48:18 +02:00