Skip to content

Commit

Permalink
Merge pull request #593 from baptistecdr/renovate/webextension-polyfi…
Browse files Browse the repository at this point in the history
…ll-0.x

Update dependency @types/webextension-polyfill to v0.12.0
  • Loading branch information
baptistecdr authored Aug 18, 2024
2 parents d7058ef + 5f787df commit 84c30e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@types/react-bootstrap": "0.32.37",
"@types/react-dom": "18.3.0",
"@types/uuid": "10.0.0",
"@types/webextension-polyfill": "0.10.7",
"@types/webextension-polyfill": "0.12.0",
"@vitejs/plugin-react": "4.3.1",
"nodemon": "3.1.4",
"typescript": "5.5.4",
Expand Down
2 changes: 1 addition & 1 deletion src/models/extension-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class ExtensionOptions {
static async fromStorage(): Promise<ExtensionOptions> {
const storage = await browser.storage.sync.get(null);
if (storage.options) {
const extensionOptions = ExtensionOptions.deserialize(storage.options);
const extensionOptions = ExtensionOptions.deserialize(storage.options as string);
if (!extensionOptions.servers) {
// Legacy
for (const key of Object.keys(storage)) {
Expand Down

0 comments on commit 84c30e5

Please sign in to comment.