Skip to content

Commit f488e66

Browse files
Pin @babel/core to a patched 7.29.x
Remediates GHSA-4x5r-pxfx-6jf8 (CVE-2026-49356, low): arbitrary file read via sourceMappingURL comment. First patched version on the 7.x line is 7.29.6; the tree previously resolved 7.28.6 transitively through jest. Pinned across overrides, pnpm.overrides and resolutions to match the existing minimatch convention. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e64f337 commit f488e66

2 files changed

Lines changed: 121 additions & 64 deletions

File tree

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,17 @@
5252
"typescript-eslint": "8.31.1"
5353
},
5454
"overrides": {
55+
"@babel/core": "^7.29.6",
5556
"minimatch": "^9.0.5"
5657
},
5758
"pnpm": {
5859
"overrides": {
60+
"@babel/core": "^7.29.6",
5961
"minimatch": "^9.0.5"
6062
}
6163
},
6264
"resolutions": {
65+
"@babel/core": "^7.29.6",
6366
"minimatch": "^9.0.5"
6467
},
6568
"exports": {

yarn.lock

Lines changed: 118 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -48,33 +48,53 @@
4848
js-tokens "^4.0.0"
4949
picocolors "^1.1.1"
5050

51-
"@babel/compat-data@^7.28.6":
52-
version "7.28.6"
53-
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.28.6.tgz#103f466803fa0f059e82ccac271475470570d74c"
54-
integrity sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==
55-
56-
"@babel/core@^7.11.6", "@babel/core@^7.12.3":
57-
version "7.28.6"
58-
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.28.6.tgz#531bf883a1126e53501ba46eb3bb414047af507f"
59-
integrity sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==
51+
"@babel/code-frame@^7.29.7":
52+
version "7.29.7"
53+
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.29.7.tgz#f2fbbfea87c44a21590ec515b778b2c26d8866e7"
54+
integrity sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==
6055
dependencies:
61-
"@babel/code-frame" "^7.28.6"
62-
"@babel/generator" "^7.28.6"
63-
"@babel/helper-compilation-targets" "^7.28.6"
64-
"@babel/helper-module-transforms" "^7.28.6"
65-
"@babel/helpers" "^7.28.6"
66-
"@babel/parser" "^7.28.6"
67-
"@babel/template" "^7.28.6"
68-
"@babel/traverse" "^7.28.6"
69-
"@babel/types" "^7.28.6"
56+
"@babel/helper-validator-identifier" "^7.29.7"
57+
js-tokens "^4.0.0"
58+
picocolors "^1.1.1"
59+
60+
"@babel/compat-data@^7.29.7":
61+
version "7.29.7"
62+
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.29.7.tgz#6f0237f0f36d2e51c0570a636faed9d2d0efe629"
63+
integrity sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==
64+
65+
"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.29.6":
66+
version "7.29.7"
67+
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.29.7.tgz#80c10b17248082968b57a857b91640971f2070f7"
68+
integrity sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==
69+
dependencies:
70+
"@babel/code-frame" "^7.29.7"
71+
"@babel/generator" "^7.29.7"
72+
"@babel/helper-compilation-targets" "^7.29.7"
73+
"@babel/helper-module-transforms" "^7.29.7"
74+
"@babel/helpers" "^7.29.7"
75+
"@babel/parser" "^7.29.7"
76+
"@babel/template" "^7.29.7"
77+
"@babel/traverse" "^7.29.7"
78+
"@babel/types" "^7.29.7"
7079
"@jridgewell/remapping" "^2.3.5"
7180
convert-source-map "^2.0.0"
7281
debug "^4.1.0"
7382
gensync "^1.0.0-beta.2"
7483
json5 "^2.2.3"
7584
semver "^6.3.1"
7685

77-
"@babel/generator@^7.28.6", "@babel/generator@^7.7.2":
86+
"@babel/generator@^7.29.7", "@babel/generator@^7.29.8":
87+
version "7.29.8"
88+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.29.8.tgz#4b0b887885422643339e09022148a4c4ebaa4979"
89+
integrity sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==
90+
dependencies:
91+
"@babel/parser" "^7.29.8"
92+
"@babel/types" "^7.29.8"
93+
"@jridgewell/gen-mapping" "^0.3.12"
94+
"@jridgewell/trace-mapping" "^0.3.28"
95+
jsesc "^3.0.2"
96+
97+
"@babel/generator@^7.7.2":
7898
version "7.28.6"
7999
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.28.6.tgz#48dcc65d98fcc8626a48f72b62e263d25fc3c3f1"
80100
integrity sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==
@@ -85,38 +105,38 @@
85105
"@jridgewell/trace-mapping" "^0.3.28"
86106
jsesc "^3.0.2"
87107

88-
"@babel/helper-compilation-targets@^7.28.6":
89-
version "7.28.6"
90-
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz#32c4a3f41f12ed1532179b108a4d746e105c2b25"
91-
integrity sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==
108+
"@babel/helper-compilation-targets@^7.29.7":
109+
version "7.29.7"
110+
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz#7a1def704302401c47f64fa85589e974ae217042"
111+
integrity sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==
92112
dependencies:
93-
"@babel/compat-data" "^7.28.6"
94-
"@babel/helper-validator-option" "^7.27.1"
113+
"@babel/compat-data" "^7.29.7"
114+
"@babel/helper-validator-option" "^7.29.7"
95115
browserslist "^4.24.0"
96116
lru-cache "^5.1.1"
97117
semver "^6.3.1"
98118

99-
"@babel/helper-globals@^7.28.0":
100-
version "7.28.0"
101-
resolved "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.28.0.tgz#b9430df2aa4e17bc28665eadeae8aa1d985e6674"
102-
integrity sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==
119+
"@babel/helper-globals@^7.29.7":
120+
version "7.29.7"
121+
resolved "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.29.7.tgz#f04a96fbd8473241b1079243f5b3f03a3010ab7b"
122+
integrity sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==
103123

104-
"@babel/helper-module-imports@^7.28.6":
105-
version "7.28.6"
106-
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz#60632cbd6ffb70b22823187201116762a03e2d5c"
107-
integrity sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==
124+
"@babel/helper-module-imports@^7.29.7":
125+
version "7.29.7"
126+
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz#ef25048a518e828d7393fac5882ddd73921d7396"
127+
integrity sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==
108128
dependencies:
109-
"@babel/traverse" "^7.28.6"
110-
"@babel/types" "^7.28.6"
129+
"@babel/traverse" "^7.29.7"
130+
"@babel/types" "^7.29.7"
111131

112-
"@babel/helper-module-transforms@^7.28.6":
113-
version "7.28.6"
114-
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz#9312d9d9e56edc35aeb6e95c25d4106b50b9eb1e"
115-
integrity sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==
132+
"@babel/helper-module-transforms@^7.29.7":
133+
version "7.29.7"
134+
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz#b062747a5997ba138637201328bbff77960574ae"
135+
integrity sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==
116136
dependencies:
117-
"@babel/helper-module-imports" "^7.28.6"
118-
"@babel/helper-validator-identifier" "^7.28.5"
119-
"@babel/traverse" "^7.28.6"
137+
"@babel/helper-module-imports" "^7.29.7"
138+
"@babel/helper-validator-identifier" "^7.29.7"
139+
"@babel/traverse" "^7.29.7"
120140

121141
"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.28.6", "@babel/helper-plugin-utils@^7.8.0":
122142
version "7.28.6"
@@ -128,23 +148,33 @@
128148
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687"
129149
integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==
130150

151+
"@babel/helper-string-parser@^7.29.7":
152+
version "7.29.7"
153+
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz#7f0871d99824d23137d60f86fcf6130fd5a1b51f"
154+
integrity sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==
155+
131156
"@babel/helper-validator-identifier@^7.28.5":
132157
version "7.28.5"
133158
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz#010b6938fab7cb7df74aa2bbc06aa503b8fe5fb4"
134159
integrity sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==
135160

136-
"@babel/helper-validator-option@^7.27.1":
137-
version "7.27.1"
138-
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz#fa52f5b1e7db1ab049445b421c4471303897702f"
139-
integrity sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==
161+
"@babel/helper-validator-identifier@^7.29.7":
162+
version "7.29.7"
163+
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz#bd87084ced0c796ec46bda492de6e83d29e89fc2"
164+
integrity sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==
140165

141-
"@babel/helpers@^7.28.6":
142-
version "7.28.6"
143-
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.28.6.tgz#fca903a313ae675617936e8998b814c415cbf5d7"
144-
integrity sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==
166+
"@babel/helper-validator-option@^7.29.7":
167+
version "7.29.7"
168+
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz#cf315be940213b354eb4abcc0bd01ebe3f73bc2a"
169+
integrity sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==
170+
171+
"@babel/helpers@^7.29.7":
172+
version "7.29.7"
173+
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.29.7.tgz#45abfde7548997e34376c3e69feb475cffb4a607"
174+
integrity sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==
145175
dependencies:
146-
"@babel/template" "^7.28.6"
147-
"@babel/types" "^7.28.6"
176+
"@babel/template" "^7.29.7"
177+
"@babel/types" "^7.29.7"
148178

149179
"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.28.6":
150180
version "7.28.6"
@@ -153,6 +183,13 @@
153183
dependencies:
154184
"@babel/types" "^7.28.6"
155185

186+
"@babel/parser@^7.29.7", "@babel/parser@^7.29.8":
187+
version "7.29.8"
188+
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.8.tgz#9653716a2f10c677b98fbc63d4bfb000c302cf17"
189+
integrity sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==
190+
dependencies:
191+
"@babel/types" "^7.29.8"
192+
156193
"@babel/plugin-syntax-async-generators@^7.8.4":
157194
version "7.8.4"
158195
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d"
@@ -272,7 +309,16 @@
272309
dependencies:
273310
"@babel/helper-plugin-utils" "^7.28.6"
274311

275-
"@babel/template@^7.28.6", "@babel/template@^7.3.3":
312+
"@babel/template@^7.29.7":
313+
version "7.29.7"
314+
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.29.7.tgz#4d9d4004f645cdd304de958c725162784ecac700"
315+
integrity sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==
316+
dependencies:
317+
"@babel/code-frame" "^7.29.7"
318+
"@babel/parser" "^7.29.7"
319+
"@babel/types" "^7.29.7"
320+
321+
"@babel/template@^7.3.3":
276322
version "7.28.6"
277323
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.28.6.tgz#0e7e56ecedb78aeef66ce7972b082fce76a23e57"
278324
integrity sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==
@@ -281,17 +327,17 @@
281327
"@babel/parser" "^7.28.6"
282328
"@babel/types" "^7.28.6"
283329

284-
"@babel/traverse@^7.28.6":
285-
version "7.28.6"
286-
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.28.6.tgz#871ddc79a80599a5030c53b1cc48cbe3a5583c2e"
287-
integrity sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==
288-
dependencies:
289-
"@babel/code-frame" "^7.28.6"
290-
"@babel/generator" "^7.28.6"
291-
"@babel/helper-globals" "^7.28.0"
292-
"@babel/parser" "^7.28.6"
293-
"@babel/template" "^7.28.6"
294-
"@babel/types" "^7.28.6"
330+
"@babel/traverse@^7.29.7":
331+
version "7.29.8"
332+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.8.tgz#4111014cdc71a0f95d9471907590baa0b8a6b28a"
333+
integrity sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==
334+
dependencies:
335+
"@babel/code-frame" "^7.29.7"
336+
"@babel/generator" "^7.29.8"
337+
"@babel/helper-globals" "^7.29.7"
338+
"@babel/parser" "^7.29.8"
339+
"@babel/template" "^7.29.7"
340+
"@babel/types" "^7.29.8"
295341
debug "^4.3.1"
296342

297343
"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.28.6", "@babel/types@^7.3.3":
@@ -302,6 +348,14 @@
302348
"@babel/helper-string-parser" "^7.27.1"
303349
"@babel/helper-validator-identifier" "^7.28.5"
304350

351+
"@babel/types@^7.29.7", "@babel/types@^7.29.8":
352+
version "7.29.8"
353+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.29.8.tgz#1229eef31d85156d70fa3f4cd859376d0eaf6863"
354+
integrity sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==
355+
dependencies:
356+
"@babel/helper-string-parser" "^7.29.7"
357+
"@babel/helper-validator-identifier" "^7.29.7"
358+
305359
"@bcoe/v8-coverage@^0.2.3":
306360
version "0.2.3"
307361
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"

0 commit comments

Comments
 (0)