1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages
Juho Heikka 5c6be48c0a 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-22 08:41:39 -05:00
..
bump-version-for-cron Bump @swc/core from 1.3.32 to 1.3.35 (#7157) 2023-02-15 08:25:02 -05:00
core Fix ensure hashed directory for extension (#7188) 2023-02-22 08:41:39 -05:00
ensure-binaries Bump zod from 3.20.2 to 3.20.6 (#7169) 2023-02-16 07:55:50 -05:00
extension-api Bump typedoc from 0.23.24 to 0.23.25 (#7181) 2023-02-17 11:23:02 -05:00
generate-tray-icons Bump @swc/core from 1.3.32 to 1.3.35 (#7157) 2023-02-15 08:25:02 -05:00
node-fetch Release 6.4.0-beta.13 (#7106) 2023-02-03 09:10:04 -05:00
open-lens Bump @types/tar from 6.1.3 to 6.1.4 (#7183) 2023-02-17 11:21:57 -05:00
release-tool Bump @swc/core from 1.3.32 to 1.3.35 (#7157) 2023-02-15 08:25:02 -05:00
semver Bump @swc/core from 1.3.32 to 1.3.35 (#7157) 2023-02-15 08:25:02 -05:00