Skip to content

Commit 8b61724

Browse files
authored
Bump @babel/traverse to ^7.29.10 and add constant-folding regression tests (#2043) (#59575) (#59575)
Summary: Pull Request resolved: #59575 Changelog: [Internal] Reviewed By: javache Differential Revision: D127904855
1 parent c99947e commit 8b61724

2 files changed

Lines changed: 68 additions & 1 deletion

File tree

‎packages/babel-plugin-codegen/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"index.js"
2626
],
2727
"dependencies": {
28-
"@babel/traverse": "^7.29.0",
28+
"@babel/traverse": "^7.29.10",
2929
"@react-native/codegen": "0.87.0-main"
3030
},
3131
"devDependencies": {

‎yarn.lock‎

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919
js-tokens "^4.0.0"
2020
picocolors "^1.1.1"
2121

22+
"@babel/code-frame@^7.29.7":
23+
version "7.29.7"
24+
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.29.7.tgz#f2fbbfea87c44a21590ec515b778b2c26d8866e7"
25+
integrity sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==
26+
dependencies:
27+
"@babel/helper-validator-identifier" "^7.29.7"
28+
js-tokens "^4.0.0"
29+
picocolors "^1.1.1"
30+
2231
"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.26.8", "@babel/compat-data@^7.27.2":
2332
version "7.28.0"
2433
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.28.0.tgz#9fc6fd58c2a6a15243cd13983224968392070790"
@@ -65,6 +74,17 @@
6574
"@jridgewell/trace-mapping" "^0.3.28"
6675
jsesc "^3.0.2"
6776

77+
"@babel/generator@^7.29.8":
78+
version "7.29.8"
79+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.29.8.tgz#4b0b887885422643339e09022148a4c4ebaa4979"
80+
integrity sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==
81+
dependencies:
82+
"@babel/parser" "^7.29.8"
83+
"@babel/types" "^7.29.8"
84+
"@jridgewell/gen-mapping" "^0.3.12"
85+
"@jridgewell/trace-mapping" "^0.3.28"
86+
jsesc "^3.0.2"
87+
6888
"@babel/helper-annotate-as-pure@^7.25.9", "@babel/helper-annotate-as-pure@^7.27.1":
6989
version "7.27.3"
7090
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz#f31fd86b915fc4daf1f3ac6976c59be7084ed9c5"
@@ -121,6 +141,11 @@
121141
resolved "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.28.0.tgz#b9430df2aa4e17bc28665eadeae8aa1d985e6674"
122142
integrity sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==
123143

144+
"@babel/helper-globals@^7.29.7":
145+
version "7.29.7"
146+
resolved "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.29.7.tgz#f04a96fbd8473241b1079243f5b3f03a3010ab7b"
147+
integrity sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==
148+
124149
"@babel/helper-member-expression-to-functions@^7.27.1":
125150
version "7.27.1"
126151
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.27.1.tgz#ea1211276be93e798ce19037da6f06fbb994fa44"
@@ -211,6 +236,11 @@
211236
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687"
212237
integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==
213238

239+
"@babel/helper-string-parser@^7.29.11":
240+
version "7.29.11"
241+
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.11.tgz#59d76b6193f61e0303b40991cabbedfadcbd5b63"
242+
integrity sha512-snZbO7MEDOof+hvNa97EjEY7qD7h2kwvQr5AJC3ZhQudKW5dnej6k3kP9NQV88hJwaS8vDqRLFo9rivLEhle2g==
243+
214244
"@babel/helper-string-parser@^7.29.7":
215245
version "7.29.7"
216246
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz#7f0871d99824d23137d60f86fcf6130fd5a1b51f"
@@ -267,6 +297,13 @@
267297
dependencies:
268298
"@babel/types" "^7.29.0"
269299

300+
"@babel/parser@^7.29.7", "@babel/parser@^7.29.8":
301+
version "7.29.11"
302+
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.11.tgz#afa959e9d16c40d4d95012553cab363fc86cbcb7"
303+
integrity sha512-OZ6+oaK7GMyg3IfCpj8JOmn8n+w2rJbDT0LLfVDTLb1ZFeKDh3AiNELgCMUw175IJHSkLl74hG0M0VLsvx+gag==
304+
dependencies:
305+
"@babel/types" "^7.29.11"
306+
270307
"@babel/parser@^7.29.9":
271308
version "7.29.9"
272309
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.9.tgz#e7ee0a24f752c5296c6455855ccb72662e67ea96"
@@ -1076,6 +1113,15 @@
10761113
"@babel/parser" "^7.28.6"
10771114
"@babel/types" "^7.28.6"
10781115

1116+
"@babel/template@^7.29.7":
1117+
version "7.29.7"
1118+
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.29.7.tgz#4d9d4004f645cdd304de958c725162784ecac700"
1119+
integrity sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==
1120+
dependencies:
1121+
"@babel/code-frame" "^7.29.7"
1122+
"@babel/parser" "^7.29.7"
1123+
"@babel/types" "^7.29.7"
1124+
10791125
"@babel/traverse@^7.25.9", "@babel/traverse@^7.26.8", "@babel/traverse@^7.27.1", "@babel/traverse@^7.27.3", "@babel/traverse@^7.28.0", "@babel/traverse@^7.28.6", "@babel/traverse@^7.29.0":
10801126
version "7.29.0"
10811127
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.0.tgz#f323d05001440253eead3c9c858adbe00b90310a"
@@ -1089,6 +1135,19 @@
10891135
"@babel/types" "^7.29.0"
10901136
debug "^4.3.1"
10911137

1138+
"@babel/traverse@^7.29.10":
1139+
version "7.29.10"
1140+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.10.tgz#08ab387639b4a67304511259c7da6cf23a82e91c"
1141+
integrity sha512-B3lYAs2nkKskbgQ1nfy8Ma9ao9Q1rntTAQHrzzyDuj+TSO+X3le6PfWwqDvodsb+OumE10eMFfuMCTQSQ5iuIQ==
1142+
dependencies:
1143+
"@babel/code-frame" "^7.29.7"
1144+
"@babel/generator" "^7.29.8"
1145+
"@babel/helper-globals" "^7.29.7"
1146+
"@babel/parser" "^7.29.9"
1147+
"@babel/template" "^7.29.7"
1148+
"@babel/types" "^7.29.8"
1149+
debug "^4.3.1"
1150+
10921151
"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.25.9", "@babel/types@^7.27.1", "@babel/types@^7.27.3", "@babel/types@^7.27.6", "@babel/types@^7.28.0", "@babel/types@^7.28.6", "@babel/types@^7.29.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4":
10931152
version "7.29.0"
10941153
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.29.0.tgz#9f5b1e838c446e72cf3cd4b918152b8c605e37c7"
@@ -1097,6 +1156,14 @@
10971156
"@babel/helper-string-parser" "^7.27.1"
10981157
"@babel/helper-validator-identifier" "^7.28.5"
10991158

1159+
"@babel/types@^7.29.11", "@babel/types@^7.29.7":
1160+
version "7.29.11"
1161+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.29.11.tgz#774cffe8cac2ca494f1334e4052002c96bf628fc"
1162+
integrity sha512-WCsemW40Cpc6gouC1SrY6PBaZ+oLRlEVY9XBvZBI7il/HyUrb2nJ505wE1MHEFyDZNnrWDEuy4jL50WVHfTTSQ==
1163+
dependencies:
1164+
"@babel/helper-string-parser" "^7.29.11"
1165+
"@babel/helper-validator-identifier" "^7.29.7"
1166+
11001167
"@babel/types@^7.29.8":
11011168
version "7.29.8"
11021169
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.29.8.tgz#1229eef31d85156d70fa3f4cd859376d0eaf6863"

0 commit comments

Comments
 (0)