Skip to content

Commit ebd45cf

Browse files
committed
fix(deps): cap upper bounds on pnpm overrides
Bugbot flagged unbounded '>=X' replacements causing cross-major version jumps. express resolved to 5.2.1 (breaks Storybook builders), react-router to 7.14.1 (mismatch with react-router-dom 6.x), and undici/path-to-regexp to 8.x. Add explicit upper-major caps to all replacements to keep resolution within the intended major line.
1 parent 0ffc2f0 commit ebd45cf

2 files changed

Lines changed: 474 additions & 494 deletions

File tree

package.json

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -111,81 +111,81 @@
111111
"ignoreMissing": ["react", "react-dom"]
112112
},
113113
"overrides": {
114-
"@adobe/css-tools@<4.3.2": ">=4.3.2",
115-
"@babel/helpers@<7.26.10": ">=7.26.10",
116-
"@babel/runtime@<7.26.10": ">=7.26.10",
117-
"@babel/traverse@<7.23.2": ">=7.23.2",
118-
"@metamask/sdk-communication-layer@<0.33.1": ">=0.33.1",
119-
"@metamask/sdk@<0.33.1": ">=0.33.1",
120-
"@remix-run/router@<1.23.2": ">=1.23.2",
121-
"@tootallnate/once@<3.0.1": ">=3.0.1",
122-
"@xmldom/xmldom@<0.8.12": ">=0.8.12",
123-
"ajv@>=7.0.0 <8.18.0": ">=8.18.0",
124-
"bn.js@>=5.0.0 <5.2.3": ">=5.2.3",
125-
"body-parser@<1.20.3": ">=1.20.3",
126-
"braces@<3.0.3": ">=3.0.3",
127-
"cipher-base@>=1.0.0 <1.0.5": ">=1.0.5",
128-
"cookie@<0.7.0": ">=0.7.0",
114+
"@adobe/css-tools@<4.3.2": ">=4.3.2 <5.0.0",
115+
"@babel/helpers@<7.26.10": ">=7.26.10 <8.0.0",
116+
"@babel/runtime@<7.26.10": ">=7.26.10 <8.0.0",
117+
"@babel/traverse@<7.23.2": ">=7.23.2 <8.0.0",
118+
"@metamask/sdk-communication-layer@<0.33.1": ">=0.33.1 <1.0.0",
119+
"@metamask/sdk@<0.33.1": ">=0.33.1 <1.0.0",
120+
"@remix-run/router@<1.23.2": ">=1.23.2 <2.0.0",
121+
"@tootallnate/once@<3.0.1": ">=3.0.1 <4.0.0",
122+
"@xmldom/xmldom@<0.8.12": ">=0.8.12 <0.9.0",
123+
"ajv@>=7.0.0 <8.18.0": ">=8.18.0 <9.0.0",
124+
"bn.js@>=5.0.0 <5.2.3": ">=5.2.3 <6.0.0",
125+
"body-parser@<1.20.3": ">=1.20.3 <2.0.0",
126+
"braces@<3.0.3": ">=3.0.3 <4.0.0",
127+
"cipher-base@>=1.0.0 <1.0.5": ">=1.0.5 <2.0.0",
128+
"cookie@<0.7.0": ">=0.7.0 <1.0.0",
129129
"cross-fetch": "4.0.0",
130-
"cross-spawn@<7.0.5": ">=7.0.5",
131-
"debug@<3.1.0": ">=3.1.0",
132-
"defu@<6.1.5": ">=6.1.5",
133-
"elliptic@<6.6.0": ">=6.6.0",
130+
"cross-spawn@<7.0.5": ">=7.0.5 <8.0.0",
131+
"debug@<3.1.0": ">=3.1.0 <5.0.0",
132+
"defu@<6.1.5": ">=6.1.5 <7.0.0",
133+
"elliptic@<6.6.0": ">=6.6.0 <7.0.0",
134134
"esbuild@<=0.24.2": ">=0.25.0",
135-
"express@<4.20.0": ">=4.20.0",
136-
"fast-xml-parser@>=4.1.3 <5.3.5": ">=5.3.5",
137-
"flatted@<3.4.2": ">=3.4.2",
138-
"follow-redirects@<1.16.0": ">=1.16.0",
139-
"form-data@>=4.0.0 <4.0.4": ">=4.0.4",
135+
"express@<4.20.0": ">=4.20.0 <5.0.0",
136+
"fast-xml-parser@>=4.1.3 <5.3.5": ">=5.3.5 <6.0.0",
137+
"flatted@<3.4.2": ">=3.4.2 <4.0.0",
138+
"follow-redirects@<1.16.0": ">=1.16.0 <2.0.0",
139+
"form-data@>=4.0.0 <4.0.4": ">=4.0.4 <5.0.0",
140140
"glob-parent@<5.1.2": ">=5.1.2",
141-
"glob@>=10.0.0 <10.5.0": ">=10.5.0",
142-
"h3@<1.15.9": ">=1.15.9",
143-
"handlebars@<4.7.9": ">=4.7.9",
144-
"image-size@>=1.1.0 <1.2.1": ">=1.2.1",
145-
"js-yaml@>=4.0.0 <4.1.1": ">=4.1.1",
141+
"glob@>=10.0.0 <10.5.0": ">=10.5.0 <11.0.0",
142+
"h3@<1.15.9": ">=1.15.9 <2.0.0",
143+
"handlebars@<4.7.9": ">=4.7.9 <5.0.0",
144+
"image-size@>=1.1.0 <1.2.1": ">=1.2.1 <2.0.0",
145+
"js-yaml@>=4.0.0 <4.1.1": ">=4.1.1 <5.0.0",
146146
"json5": ">=2.2.2",
147147
"markdown-to-jsx@<7.4.0": ">=7.4.0",
148-
"micromatch@<4.0.8": ">=4.0.8",
149-
"minimatch@>=9.0.0 <9.0.7": ">=9.0.7",
150-
"minimatch@>=10.0.0 <10.2.3": ">=10.2.3",
148+
"micromatch@<4.0.8": ">=4.0.8 <5.0.0",
149+
"minimatch@>=9.0.0 <9.0.7": ">=9.0.7 <10.0.0",
150+
"minimatch@>=10.0.0 <10.2.3": ">=10.2.3 <11.0.0",
151151
"nanoid@<3.3.8": "3.3.8",
152-
"node-forge@<1.4.0": ">=1.4.0",
152+
"node-forge@<1.4.0": ">=1.4.0 <2.0.0",
153153
"nth-check": ">=2.1.1",
154-
"on-headers@<1.1.0": ">=1.1.0",
155-
"path-to-regexp@<0.1.13": ">=0.1.13",
156-
"path-to-regexp@>=0.2.0 <6.3.0": ">=6.3.0",
157-
"pbkdf2@<=3.1.2": ">=3.1.3",
158-
"picomatch@>=4.0.0 <4.0.4": ">=4.0.4",
159-
"postcss@<8.4.31": ">=8.4.31",
160-
"preact@<10.26.10": ">=10.26.10",
161-
"prismjs@<1.30.0": ">=1.30.0",
162-
"qs@<6.14.2": ">=6.14.2",
163-
"react-router@<6.30.2": ">=6.30.2",
164-
"react-router@>=7.0.0 <7.9.6": ">=7.9.6",
165-
"rollup@>=4.0.0 <4.59.0": ">=4.59.0",
154+
"on-headers@<1.1.0": ">=1.1.0 <2.0.0",
155+
"path-to-regexp@<0.1.13": ">=0.1.13 <0.2.0",
156+
"path-to-regexp@>=0.2.0 <6.3.0": ">=6.3.0 <7.0.0",
157+
"pbkdf2@<=3.1.2": ">=3.1.3 <4.0.0",
158+
"picomatch@>=4.0.0 <4.0.4": ">=4.0.4 <5.0.0",
159+
"postcss@<8.4.31": ">=8.4.31 <9.0.0",
160+
"preact@<10.26.10": ">=10.26.10 <11.0.0",
161+
"prismjs@<1.30.0": ">=1.30.0 <2.0.0",
162+
"qs@<6.14.2": ">=6.14.2 <7.0.0",
163+
"react-router@<6.30.2": ">=6.30.2 <7.0.0",
164+
"react-router@>=7.0.0 <7.9.6": ">=7.9.6 <8.0.0",
165+
"rollup@>=4.0.0 <4.59.0": ">=4.59.0 <5.0.0",
166166
"secp256k1": "@noble/secp256k1",
167-
"semver@<7.5.2": ">=7.5.2",
168-
"send@<0.19.0": ">=0.19.0",
169-
"serve-static@<1.16.0": ">=1.16.0",
170-
"sha.js@>=2.4.0 <2.4.12": ">=2.4.12",
171-
"socket.io-parser@>=4.0.0 <4.2.6": ">=4.2.6",
172-
"store2@<2.14.4": ">=2.14.4",
173-
"svgo@>=3.0.0 <3.3.3": ">=3.3.3",
174-
"tar-fs@>=1.0.0 <1.16.6": ">=1.16.6",
175-
"tar-fs@>=2.0.0 <2.1.4": ">=2.1.4",
176-
"tar-fs@>=3.0.0 <3.1.1": ">=3.1.1",
177-
"tar@>=7.0.0 <7.5.11": ">=7.5.11",
178-
"tmp@<0.2.4": ">=0.2.4",
167+
"semver@<7.5.2": ">=7.5.2 <8.0.0",
168+
"send@<0.19.0": ">=0.19.0 <1.0.0",
169+
"serve-static@<1.16.0": ">=1.16.0 <2.0.0",
170+
"sha.js@>=2.4.0 <2.4.12": ">=2.4.12 <3.0.0",
171+
"socket.io-parser@>=4.0.0 <4.2.6": ">=4.2.6 <5.0.0",
172+
"store2@<2.14.4": ">=2.14.4 <3.0.0",
173+
"svgo@>=3.0.0 <3.3.3": ">=3.3.3 <4.0.0",
174+
"tar-fs@>=1.0.0 <1.16.6": ">=1.16.6 <2.0.0",
175+
"tar-fs@>=2.0.0 <2.1.4": ">=2.1.4 <3.0.0",
176+
"tar-fs@>=3.0.0 <3.1.1": ">=3.1.1 <4.0.0",
177+
"tar@>=7.0.0 <7.5.11": ">=7.5.11 <8.0.0",
178+
"tmp@<0.2.4": ">=0.2.4 <1.0.0",
179179
"trim-newlines@<3.0.1": ">=3.0.1",
180180
"trim@<0.0.3": ">=0.0.3",
181-
"undici@>=6.0.0 <6.24.0": ">=6.24.0",
182-
"undici@>=7.0.0 <7.24.0": ">=7.24.0",
183-
"vitest@>=2.0.0 <2.1.9": ">2.1.9",
184-
"webpack@<5.104.1": ">=5.104.1",
181+
"undici@>=6.0.0 <6.24.0": ">=6.24.0 <7.0.0",
182+
"undici@>=7.0.0 <7.24.0": ">=7.24.0 <8.0.0",
183+
"vitest@>=2.0.0 <2.1.9": ">2.1.9 <3.0.0",
184+
"webpack@<5.104.1": ">=5.104.1 <6.0.0",
185185
"word-wrap": "npm:@aashutoshrathi/word-wrap",
186-
"ws@>=8.0.0 <8.17.1": ">=8.17.1",
187-
"yaml@>=2.0.0 <2.8.3": ">=2.8.3",
188-
"zod@<=3.22.2": ">=3.22.3"
186+
"ws@>=8.0.0 <8.17.1": ">=8.17.1 <9.0.0",
187+
"yaml@>=2.0.0 <2.8.3": ">=2.8.3 <3.0.0",
188+
"zod@<=3.22.2": ">=3.22.3 <4.0.0"
189189
}
190190
}
191191
}

0 commit comments

Comments
 (0)