Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 3.74 KB
/
Copy pathpackage.json
File metadata and controls
36 lines (36 loc) · 3.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"scripts": {
"demo:sizer": "playwright test --config=tools/playwright.config.js demos/sizer-walkthrough.spec.js",
"demo:full": "playwright test --config=tools/playwright.config.js demos/odin-full-walkthrough.spec.js",
"demo:convert": "node tools/scripts/convert-to-mp4.js",
"demo:full:mobile": "node tools/scripts/convert-to-mp4-mobile.js",
"lint:js": "eslint \"js/*.js\" \"arm/*.js\" \"report/*.js\" \"sizer/*.js\" \"switch-config/**/*.js\" \"docs/outbound-connectivity/*.js\"",
"lint:css": "stylelint \"**/*.css\"",
"lint:html": "html-validate \"**/*.html\"",
"test": "node scripts/run-tests.js"
},
"engines": {
"node": ">=22.12.0"
},
"// security-update": "Current floors supersede older versions mentioned below: ip-address >=10.3.1, fast-uri >=4.1.2, postcss >=8.5.25, js-yaml >=4.3.1, and brace-expansion 1.1.18/5.0.9. Only nanoid 3.3.17 remains unavailable from the configured feed, so its exact dev-only advisory is temporarily package-scoped in scripts/check-npm-audit.js.",
"// extract-zip-security": "Puppeteer >=25.6.0 removes the vulnerable extract-zip dependency path (GHSA-jmr9-qjv8-65gv / CVE-2026-56876). Do not downgrade Puppeteer below 25.6.0.",
"devDependencies": {
"@playwright/test": "^1.62.0",
"eslint": "^8.57.1",
"html-validate": "^10.17.0",
"puppeteer": "^25.6.0",
"stylelint": "^17.14.1",
"stylelint-config-standard": "^40.0.0"
},
"//": "Security overrides: NEVER downgrade these. basic-ftp <=5.2.2 has DoS in Client.list() (GHSA-rp42-5vxx-qpwr). ip-address <=10.1.0 has XSS in Address6 HTML-emitting methods (GHSA-v2v4-37r5-5v8g / CVE-2026-42338) — pulled in transitively via puppeteer -> @puppeteer/browsers -> proxy-agent -> socks-proxy-agent -> socks. fast-uri <=4.1.0 has high-severity URI host-confusion issues involving failed IDN canonicalization (GHSA-4c8g-83qw-93j6 / CVE-2026-13676) and literal backslash authority delimiters (GHSA-v2hh-gcrm-f6hx / CVE-2026-16221), in addition to earlier path traversal and host-confusion advisories — pulled in transitively via html-validate -> ajv and stylelint -> table -> ajv; pinned to >=4.1.1. brace-expansion <1.1.16 and >=3.0.0 <5.0.7 have an exponential-time expansion DoS on consecutive non-expanding {} groups (GHSA-3jxr-9vmj-r5cp); on top of the earlier early-truncation issue for 5.0.0-5.0.5 (GHSA-jxxr-4gwj-5jf2 / CVE-2026-45149). Two VERSION-SELECTOR overrides are used — one for the 1.x line (minimatch@3 in eslint toolchain) and one for the 5.x line (html-validate -> glob -> minimatch -> brace-expansion@5) — so neither line is forced onto the other's major version. Selector overrides (not name-nested) are required because npm 10 and npm 11 resolve nested/scoped overrides differently, producing divergent lockfiles that break `npm ci` across Node versions. ws 8.0.0-8.20.1 has uninitialized-memory disclosure (GHSA-58qx-3vcg-4xpx) and a memory-exhaustion DoS from tiny fragments/data chunks (GHSA-96hv-2xvq-fx4p) — pulled in transitively via puppeteer -> puppeteer-core; pinned to >=8.21.0 (stays within the 8.x line puppeteer-core expects). js-yaml 4.0.0-4.2.0 has a quadratic-complexity DoS in merge-key chains (GHSA-52cp-r559-cp3m); the earlier repeated-alias advisory (GHSA-h67p-54hq-rp68) was patched in 4.2.0 but a new variant affecting 4.2.0 itself was later disclosed — pulled in transitively via eslint -> @eslint/eslintrc and puppeteer -> cosmiconfig; pinned to >=4.3.0 <5.0.0 (4.3.0 is the patched 4.x release, excludes ESM-only breaking 5.0.0).",
"overrides": {
"basic-ftp": ">=5.3.1",
"ip-address": ">=10.3.1",
"fast-uri": ">=4.1.2",
"brace-expansion@>=1.0.0 <2.0.0": "1.1.18",
"brace-expansion@>=5.0.0 <6.0.0": "5.0.9",
"postcss": ">=8.5.25",
"ws": ">=8.21.0",
"js-yaml": ">=4.3.1 <5.0.0"
}
}