Drop the dead crypto-browserify fallback; resolve braces to @pezkuwi/braces

elliptic (open advisories, no fixed version) came only through
crypto-browserify, the webpack fallback for node's crypto. Nothing in
the extension uses it: the only 'elliptic' in the built files is a word
in zxcvbn's dictionary. Without the fallback the chrome and firefox
builds contain the same modules with the same bodies; only webpack's
module ids and their order change (one browser-field-ignored module is
now resolved from a different request). A future crypto import now
fails the build instead of shipping a polyfill.

braces resolves to @pezkuwi/braces 3.0.4: braces 3.0.3, the latest upstream release, has an open advisory with no fixed version (CVE-2026-93687, stack exhaustion through deeply nested patterns); the fork rejects nesting deeper than maxDepth (500) with a SyntaxError.
This commit is contained in:
Satoshi Qazi Muhammed authored and SatoshiQaziMuhammed committed 2026-10-10 04:09:37 +04:00
1 parent 1b92bb910e
commit bb919831e9
4 files changed
+8 -396

No files matched your search

-1
View File
@@ -31,7 +31,6 @@
"browser-resolve": "^2.0.0",
"buffer": "^6.0.3",
"copy-webpack-plugin": "^14.0.0",
"crypto-browserify": "^3.12.0",
"file-loader": "^6.2.0",
"html-loader": "^4.2.0",
"path-browserify": "^1.0.1",