Repository navigation
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
140 lines (135 loc) · 8.86 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
140 lines (135 loc) · 8.86 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# pnpm v12 workspace configuration
# Build-script allow-list: ONLY these packages may run postinstall/preinstall scripts.
# All other dependency build scripts are denied by default (pnpm v11+).
# QNBS-v3: TS7 migration - disabled strictPeerDependencies for tsgo preview compatibility
strictPeerDependencies: false
# QNBS-v3: Keep pnpm's dependency-state guard strict; Git hooks run local Node entrypoints so a stale pnpm timestamp cannot bypass checks.
verifyDepsBeforeRun: error
autoInstallPeers: true
ignoreScripts: false
engineStrict: true
pmOnFail: ignore
preferFrozenLockfile: true
verifyStoreIntegrity: true
sideEffectsCache: true
strictDepBuilds: true
blockExoticSubdeps: true
minimumReleaseAge: 10080
minimumReleaseAgeExclude:
- nanoid@3.3.18
# GHSA-68fv-2mgg-jv7q is already failing OSV on 1.2.1. 1.2.2 was published 2026-09-30, inside the 7-day floor.
- source-map-js@1.2.2
# QNBS-v3: Migrated from package.json "pnpm" field (deprecated in pnpm v10+)
# Overrides with security or compatibility justifications:
# - typescript: pin ecosystem TypeScript dependencies/peers to the existing TypeScript 6.0.3
# compatibility compiler while tsgo/native-preview remains the primary repository typechecker
# - serialize-javascript: CVE-2024-XXXX - prototype pollution fix
# - chrome-launcher: CVE-2024-XXXX - command injection fix
# - tmp: GHSA-7c78-jf6q-g5cm - type-confusion _assertPath bypass (fixed 0.2.7)
# - @xmldom/xmldom: GHSA-6gmq-8vp8-gcm6 - XML fragment injection via invalid EntityReference.nodeName (fixed 0.9.12)
# - protobufjs: GHSA-wcpc-wj8m-hjx6 - DoS via unbounded Any expansion in JSON conversion (fixed 8.4.1);
# raised to >=8.6.6 for GHSA-j3f2-48v5-ccww / GHSA-jfj6-75fj-8934 (2026-07)
# - axios: CVE-2024-XXXX - SSRF fix
# - basic-ftp: CVE-2024-XXXX - path traversal fix
# - fast-uri: GHSA-7p8r-x3mc-p8w7 - host confusion via backslash authority parsing (fixed 3.1.5); superseded by GHSA-5jgf-p345-68v8/GHSA-f65p-4m7j-42xc/GHSA-fph4-wmhf-6fwf/GHSA-jqff-g426-hqxp - host confusion / SSRF via percent-encoding and IPv6 normalization (fixed 3.1.6)
# - ip-address: GHSA-mwp4-54f8-5fhr - leading-zero parsing mismatch enabling SSRF / trust-boundary bypass (fixed 10.3.1); GHSA-rxp7-6hxx-x8q5 (fixed 10.7.4)
# - ws: GHSA-96hv-2xvq-fx4p - memory-exhaustion DoS from tiny fragments (fixed 8.21.0)
# - form-data: CRLF injection via unescaped boundary (fixed 4.0.6)
# - brace-expansion: GHSA-rgw5-rvv9-x895 - DoS via unbounded intermediate arrays (fixed 5.0.9)
# - uuid: GHSA-w5hq-g745-h8pq / CVE-2026-41907 - missing buffer bounds check in v3/v5/v6 API methods,
# allows silent partial writes with an insufficient output buffer or wrong offset (fixed 11.1.1 /
# 12.0.1 / 13.0.1 per major line; lockfile converges on 14.0.1, which the override floor now pins)
# - qs: GHSA-hrpp-h998-j3pp / CVE-2022-24999 - prototype pollution fix; superseded by GHSA-4mjr-xmp4-gh2g / GHSA-x5fp-wj9c-mxmx - array-limit bypass / isBuffer DoS (fixed 6.16.0; see minimumReleaseAgeExclude above for the release-age exception this specific version needed)
# - fflate: GHSA-px8p-9vwx-vf98 / CVE-2026-45820 - unzipSync() infinite loop on a malformed ZIP64 archive missing its extra-field tag (fixed 0.8.3); transitive via jspdf, whose own ^0.8.1 range already permits it
# - esbuild: GHSA-67mh-4wv8-2f99 - dev-server CORS allowed any origin to read responses;
# GHSA-gv7w-rqvm-qjhr - missing binary integrity verification (Deno module);
# GHSA-g7r4-m6w7-qqqr - Windows path traversal in the dev-server file handler (all fixed 0.28.1)
# - joi: GHSA-q7cg-457f-vx79 - recursive link() schemas can cause an uncaught RangeError (fixed 18.2.1)
# - dompurify: GHSA-c6gr-qvv4-5v3f / GHSA-cg2g-xh64-v4q7 / GHSA-mrv2-3pqr-j5jr -
# XHTML SVG href guards, shadow-root template scrubbing and detached-hook subtrees (fixed 3.4.17)
# - @babel/core: GHSA-4x5r-pxfx-6jf8 - build-time transpiler advisory (fixed 7.29.6). Bounded to the
# 7.x line (<8): react-docgen@8.0.3 (via storybook/@storybook/react-vite) declares "@babel/core":
# "^7.28.0" and calls the synchronous loadPartialConfig(), removed in Babel 8 in favor of
# loadPartialConfigSync(). An unbounded ">=7.29.6" resolved to 8.0.1 (react-docgen's own range
# notwithstanding) and crashed every Storybook build. Same failure mode the undici override below
# already documents -- keep within 7.x until react-docgen ships real Babel 8 support.
# - undici: GHSA-4cwx-7wf7-3272 (plus prior advisories) - cross-user disclosure and a parse-time crash
# from degenerate private-cache directives; transitive via jsdom (fixed 7.29.0, not 7.28.0).
# Bounded to the 7.x line (<8): undici 8.x removed lib/handler/wrap-handler.js, an internal file
# jsdom@29.1.1 require()s (jsdom declares undici ^7.25.0). An unbounded ">=7.28.0" resolved to 8.5.0
# and broke every jsdom test worker -> coverage collapse -> Quality Gate red. Keep within 7.x.
# - js-yaml: GHSA-5p4m-2wfm-xmqj - parser DoS fix (fixed 4.3.1)
# - playwright / playwright-core: dedup to a single version. @playwright/test bumped to 1.61
# while @axe-core/playwright (peer >=1.0.0) + the transitive `playwright` runner stayed on
# playwright-core@1.60.0, producing two copies whose nominally-distinct Page/ElementHandle
# types break the typecheck in tests/e2e/a11y.spec.ts (TS2322). Pin both to the exact
# @playwright/test version and move all three together (1.64.1 since PR #1168).
# - @reduxjs/toolkit: hold the known-safe 2.12.0 behavior until the 2.13.0 prototype-named ID regressions are resolved; recharts@3.10.1 accepts the 2.x line.
overrides:
"@reduxjs/toolkit": "2.12.0"
playwright: "1.64.1"
playwright-core: "1.64.1"
esbuild: ">=0.28.1"
joi: ">=18.3.1 <19"
typescript: "6.0.3"
serialize-javascript: ">=7.1.3 <8"
chrome-launcher: "^1.2.1"
tmp: ">=0.2.7"
"@xmldom/xmldom": ">=0.9.12"
protobufjs: ">=8.6.6"
axios: ">=1.20.0" # 12 advisories on 1.19.0 incl. GHSA-542g-h47m-68v8 (fixed 1.20.0); dev-only via wait-on
follow-redirects: ">=1.16.2 <2"
basic-ftp: ">=6.2.4" # GHSA-c475-qrg2-pj4r (fixed 6.2.1) + GHSA-5pm8-86m8-9m6r (MLSD parser DoS, fixed 6.2.4); dev-only via @lhci/cli / lighthouse -> proxy-agent -> get-uri
fast-uri: ">=3.1.9 <4"
ip-address: ">=10.7.4 <11"
ws: ">=8.21.0"
form-data: ">=4.0.6"
brace-expansion: ">=5.0.12" # GHSA-6j4f-fj2g-mc7p + GHSA-qhr7-859c-m2p7 + GHSA-q2hr-2g5m-vwhr (fixed 5.0.10-5.0.12); dev-only
# QNBS-v3: excludes the two exact unpatched releases (12.0.0, 13.0.0) a bare ">=11.1.1" floor would still permit; the resolved 14.0.1 already satisfies this.
uuid: ">=11.1.1 <12.0.0 || >=12.0.1 <13.0.0 || >=13.0.1"
qs: ">=6.16.1 <7"
fflate: ">=0.8.3"
dompurify: ">=3.4.17 <4"
"@babel/core": ">=7.29.6 <8"
undici: ">=7.30.1 <8"
puppeteer-core: ">=25.16.0 <26"
zod@^4: ">=4.6.6 <5"
js-yaml: ">=4.3.2 <5" # GHSA-2883-xcg3-v3hh (jest/babel-istanbul transitive, dev-only)
nanoid@^3: "3.3.18"
nanoid@^5: "5.1.16"
# 2026-09-19: adm-zip 0.6.1 is outside the vulnerable ranges for GHSA-xcpc-8h2w-3j85
# (fixed in 0.6.0) and GHSA-7q85-xj36-vmfc (first patched in 0.6.1); the GitHub API still
# leaves first_patched_version unset for GHSA-vwc7-r8mq-g2x9, but 0.6.1 adds the direct
# extraction symlink guard. Retain the build-script denial below.
# QNBS-v3 (2026-07-26): GHSA batch blocking the CI security gate — transitive-only dev paths.
adm-zip: ">=0.6.1" # GHSA-xcpc-8h2w-3j85 + GHSA-7q85-xj36-vmfc + GHSA-vwc7-r8mq-g2x9 (onnxruntime-node)
postcss: ">=8.5.18" # GHSA — path traversal in previous source map (vite/storybook chain)
sharp: ">=0.35.5 <1" # GHSA-rgj7-g3m4-5g8c + GHSA-wq5f-xc86-pv6w (librsvg, fixed 0.35.5) + inherited libvips vulnerabilities (@huggingface/transformers, miniflare); capped below 1.x so a refresh cannot override consumers' 0.x constraints with a major
body-parser: ">=1.20.9 <2"
compression: ">=1.8.2 <2" # GHSA-vc2v-76pw-4v95; @lhci/cli, dev-only
proxy-addr: ">=2.0.8 <3" # GHSA-jqcg-44mw-7w3h; express via @lhci/cli, dev-only
source-map-js: ">=1.2.2 <2" # GHSA-68fv-2mgg-jv7q; postcss/tailwind/css-tree/magicast
# GHSA-jmr9-qjv8-65gv + GHSA-7pqw-9j4j-h8q3 (extract-zip, no fixed version exists): @lhci/cli
# hard-pins lighthouse@12.6.1, which pulls puppeteer-core -> @puppeteer/browsers@2.x ->
# extract-zip. lighthouse 13.4.1's puppeteer-core (^25.x) uses @puppeteer/browsers 3.x, which
# replaced extract-zip with modern-tar, eliminating the vulnerable package from the graph.
# Exact-pinned, not >=: @lhci/cli@0.15.1 is old and untested against newer Lighthouse majors —
# only 13.4.1's CLI-subprocess bridge has actually been compatibility-verified here.
lighthouse: "13.4.1"
peerDependencyRules:
allowedVersions:
vite-plugin-pwa>vite: "8"
packages:
- "packages/*"
allowBuilds:
'@google/genai': false
'@parcel/watcher': false
'@swc/core': true
core-js: false
esbuild: true
onnxruntime-node: false
protobufjs: false
sharp: false
simple-git-hooks: false
unrs-resolver: false
workerd: false