diff --git a/applications/browser-extension/package.json b/applications/browser-extension/package.json index 4652e34350..4aa2f2112a 100644 --- a/applications/browser-extension/package.json +++ b/applications/browser-extension/package.json @@ -153,7 +153,6 @@ "slugify": "^1.6.6", "stemmer": "^2.0.1", "uint8array-extras": "^1.4.0", - "urlpattern-polyfill": "^5.0.3", "use-async-effect": "^2.2.7", "use-debounce": "^10.0.4", "use-sync-external-store": "^1.2.2", @@ -289,6 +288,7 @@ "type-fest": "^4.26.1", "typescript": "^5.6.3", "typescript-plugin-css-modules": "^5.1.0", + "urlpattern-polyfill": "^10.0.0", "webpack": "^5.96.1", "webpack-build-notifier": "^3.1.0", "webpack-bundle-analyzer": "^4.10.2", diff --git a/applications/browser-extension/src/globals.d.ts b/applications/browser-extension/src/globals.d.ts index ddc027a39c..7562a3b3e3 100644 --- a/applications/browser-extension/src/globals.d.ts +++ b/applications/browser-extension/src/globals.d.ts @@ -22,6 +22,7 @@ https://github.com/typescript-eslint/typescript-eslint/issues/3295#issuecomment- */ // We only use this package for its types. URLPattern is Chrome 95+ +// See https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1199 /// // Improve standard type library https://www.totaltypescript.com/ts-reset diff --git a/package-lock.json b/package-lock.json index 501ff62c2d..543a80b272 100644 --- a/package-lock.json +++ b/package-lock.json @@ -155,7 +155,6 @@ "slugify": "^1.6.6", "stemmer": "^2.0.1", "uint8array-extras": "^1.4.0", - "urlpattern-polyfill": "^5.0.3", "use-async-effect": "^2.2.7", "use-debounce": "^10.0.4", "use-sync-external-store": "^1.2.2", @@ -291,6 +290,7 @@ "type-fest": "^4.26.1", "typescript": "^5.6.3", "typescript-plugin-css-modules": "^5.1.0", + "urlpattern-polyfill": "^10.0.0", "webpack": "^5.96.1", "webpack-build-notifier": "^3.1.0", "webpack-bundle-analyzer": "^4.10.2", @@ -27955,8 +27955,10 @@ "dev": true }, "node_modules/urlpattern-polyfill": { - "version": "5.0.5", - "integrity": "sha512-Oq4ak65m3IezuCqYnxMN0cKh1eiL62YurYDCXp6epo91iBhN+aesVW8+q0qtUC9r84jKuTWXomWrnpkY5WWuRg==" + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", + "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==", + "dev": true }, "node_modules/use-async-effect": { "version": "2.2.7",