Six Dependabot alerts (1 critical, 3 high, 1 medium, 1 low) plus six further `npm audit` highs, all in transitive DEV dependencies whose parents pin them to vulnerable ranges. That pinning is why Dependabot's own per-package PRs could not fix any of them — every one of those runs failed. `overrides` is the npm mechanism for precisely this case. shell-quote 1.7.3 -> ^1.9.0 wxt > web-ext-run > fx-runner adm-zip 0.5.18 -> ^0.6.0 wxt > web-ext-run > firefox-profile tmp 0.2.5 -> ^0.2.6 wxt > web-ext-run uuid 8.3.2 -> ^11.1.1 wxt > web-ext-run > node-notifier esbuild 0.27.7 -> ^0.28.1 vite, wxt, unplugin brace-expansion 1.1.16 -> ^5.0.8 web-ext-run > multimatch > minimatch The last one is the whole second cluster: `npm audit` reported six highs that were one brace-expansion DoS propagating through minimatch -> multimatch -> web-ext-run -> wxt, with fixAvailable:false because multimatch pins minimatch. `npm audit` now reports 0. It already reported 0 for `--omit=dev`, and still does: the shipped extension has no runtime dependencies, so none of this was ever in the artifact. Correcting something I wrote in the dependabot.yml comment and repeated in a PR: I said these advisories had "no reachable patched version". That was wrong — every one of them had a patched version. What they lacked was a path Dependabot could take on its own. Re-verified after the overrides: lint, check, knip, coverage, guard, build, check:manifest and zip all pass, and the built manifest is still exactly ["bookmarks","storage"] at version 1.0.0. ⚠️ Four of the six live only under web-ext-run, the Firefox dev runner behind `npm run dev:firefox` — a v1.0 non-goal per docs/00 §7, and the one script no gate exercises. docs/09 §3.1 records that, plus when each override can be dropped. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"name": "bookmarkmagic",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "Import, export & edit bookmarks between browsers — offline, no account, no cloud.",
|
|
"license": "GPL-3.0-or-later",
|
|
"author": "skullmute (poli0981)",
|
|
"homepage": "https://github.com/poli0981/bookmarkmagic",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/poli0981/bookmarkmagic.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/poli0981/bookmarkmagic/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "wxt prepare",
|
|
"dev": "wxt",
|
|
"dev:firefox": "wxt -b firefox",
|
|
"build": "wxt build",
|
|
"zip": "wxt zip",
|
|
"check": "svelte-check --tsconfig ./tsconfig.json && tsc --noEmit",
|
|
"lint": "biome check .",
|
|
"lint:fix": "biome check --write .",
|
|
"knip": "knip",
|
|
"guard": "node scripts/guard.mjs",
|
|
"check:manifest": "node scripts/check-manifest.mjs",
|
|
"icons": "node scripts/gen-icons.mjs",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"coverage": "vitest run --coverage",
|
|
"verify": "npm run lint && npm run check && npm run knip && npm run guard && npm run test"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.5.5",
|
|
"@sveltejs/vite-plugin-svelte": "^7.2.0",
|
|
"@vitest/coverage-v8": "^4.1.10",
|
|
"@wxt-dev/module-svelte": "^2.0.5",
|
|
"jsdom": "^29.1.1",
|
|
"knip": "^6.29.0",
|
|
"svelte": "^5.56.8",
|
|
"svelte-check": "^4.7.3",
|
|
"typescript": "~6.0.3",
|
|
"vitest": "^4.1.10",
|
|
"wxt": "^0.20.27"
|
|
},
|
|
"overrides": {
|
|
"shell-quote": "^1.9.0",
|
|
"adm-zip": "^0.6.0",
|
|
"tmp": "^0.2.6",
|
|
"uuid": "^11.1.1",
|
|
"esbuild": "^0.28.1",
|
|
"brace-expansion": "^5.0.8"
|
|
}
|
|
}
|