@samitouri / QOS-React-1 / commits / b9b510df2a

Revert "Replace deprecated dependency in `eslint-plugin-react-compiler`" (#31665)

Reverts facebook/react#31629 `@babel/plugin-proposal-private-methods` is not compatible with `@babel/traverse` versions < 7.25 (see https://github.com/babel/babel/issues/16851). Internally we have partners that use a less modern babel version, and we expect this to be an issue for older codebases in OSS as well.

mofeiZ committed Dec 3, 2024 at 11:46 UTC b9b510df2a2ab45387c8d302930bc4a14f1450f5
4 files changed +102 -59
compiler/packages/eslint-plugin-react-compiler/package.json
+1 -1
@@ -13,7 +13,7 @@
13 "dependencies": {
14 "@babel/core": "^7.24.4",
15 "@babel/parser": "^7.24.4",
16 - "@babel/plugin-transform-private-methods": "^7.25.9",
16 + "@babel/plugin-proposal-private-methods": "^7.18.6",
17 "hermes-parser": "^0.25.1",
18 "zod": "^3.22.4",
19 "zod-validation-error": "^3.0.3"
compiler/packages/eslint-plugin-react-compiler/rollup.config.js
+1 -1
@@ -17,7 +17,7 @@ import banner2 from 'rollup-plugin-banner2';
17
18 const NO_INLINE = new Set([
19 '@babel/core',
20 - '@babel/plugin-transform-private-methods',
20 + '@babel/plugin-proposal-private-methods',
21 'hermes-parser',
22 'zod',
23 'zod-validation-error',
compiler/packages/eslint-plugin-react-compiler/src/rules/ReactCompilerRule.ts
+2 -2
@@ -7,7 +7,7 @@
7
8 import {transformFromAstSync} from '@babel/core';
9 // @ts-expect-error: no types available
10 -import PluginTransformPrivateMethods from '@babel/plugin-transform-private-methods';
10 +import PluginProposalPrivateMethods from '@babel/plugin-proposal-private-methods';
11 import type {SourceLocation as BabelSourceLocation} from '@babel/types';
12 import BabelPluginReactCompiler, {
13 CompilerErrorDetailOptions,
@@ -282,7 +282,7 @@ const rule: Rule.RuleModule = {
282 highlightCode: false,
283 retainLines: true,
284 plugins: [
285 - [PluginTransformPrivateMethods, {loose: true}],
285 + [PluginProposalPrivateMethods, {loose: true}],
286 [BabelPluginReactCompiler, options],
287 ],
288 sourceType: 'module',
compiler/yarn.lock
+98 -55
@@ -133,12 +133,12 @@
133 dependencies:
134 "@babel/types" "^7.18.6"
135
136 -"@babel/helper-annotate-as-pure@^7.25.9":
137 - version "7.25.9"
138 - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.9.tgz#d8eac4d2dc0d7b6e11fa6e535332e0d3184f06b4"
139 - integrity sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==
136 +"@babel/helper-annotate-as-pure@^7.22.5":
137 + version "7.22.5"
138 + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz#e7f06737b197d580a01edf75d97e2c8be99d3882"
139 + integrity sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==
140 dependencies:
141 - "@babel/types" "^7.25.9"
141 + "@babel/types" "^7.22.5"
142
143 "@babel/helper-builder-binary-assignment-operator-visitor@^7.18.6":
144 version "7.22.3"
@@ -169,6 +169,21 @@
169 lru-cache "^5.1.1"
170 semver "^6.3.1"
171
172 +"@babel/helper-create-class-features-plugin@^7.18.6":
173 + version "7.22.9"
174 + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.9.tgz#c36ea240bb3348f942f08b0fbe28d6d979fab236"
175 + integrity sha512-Pwyi89uO4YrGKxL/eNJ8lfEH55DnRloGPOseaA8NFNL6jAUnn+KccaISiFazCj5IolPPDjGSdzQzXVzODVRqUQ==
176 + dependencies:
177 + "@babel/helper-annotate-as-pure" "^7.22.5"
178 + "@babel/helper-environment-visitor" "^7.22.5"
179 + "@babel/helper-function-name" "^7.22.5"
180 + "@babel/helper-member-expression-to-functions" "^7.22.5"
181 + "@babel/helper-optimise-call-expression" "^7.22.5"
182 + "@babel/helper-replace-supers" "^7.22.9"
183 + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5"
184 + "@babel/helper-split-export-declaration" "^7.22.6"
185 + semver "^6.3.1"
186 +
187 "@babel/helper-create-class-features-plugin@^7.19.0":
188 version "7.19.0"
189 resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz#bfd6904620df4e46470bae4850d66be1054c404b"
@@ -197,19 +212,6 @@
212 "@babel/helper-split-export-declaration" "^7.18.6"
213 semver "^6.3.0"
214
200 -"@babel/helper-create-class-features-plugin@^7.25.9":
201 - version "7.25.9"
202 - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.9.tgz#7644147706bb90ff613297d49ed5266bde729f83"
203 - integrity sha512-UTZQMvt0d/rSz6KI+qdu7GQze5TIajwTS++GUozlw8VBJDEOAqSXwm1WvmYEZwqdqSGQshRocPDqrt4HBZB3fQ==
204 - dependencies:
205 - "@babel/helper-annotate-as-pure" "^7.25.9"
206 - "@babel/helper-member-expression-to-functions" "^7.25.9"
207 - "@babel/helper-optimise-call-expression" "^7.25.9"
208 - "@babel/helper-replace-supers" "^7.25.9"
209 - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.9"
210 - "@babel/traverse" "^7.25.9"
211 - semver "^6.3.1"
212 -
215 "@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.22.1":
216 version "7.22.1"
217 resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.22.1.tgz#a7ed9a8488b45b467fca353cd1a44dc5f0cf5c70"
@@ -241,6 +243,11 @@
243 resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.1.tgz#ac3a56dbada59ed969d712cf527bd8271fe3eba8"
244 integrity sha512-Z2tgopurB/kTbidvzeBrc2To3PUP/9i5MUe+fU6QJCQDyPwSH2oRapkLw3KGECDYSjhQZCNxEvNvZlLw8JjGwA==
245
246 +"@babel/helper-environment-visitor@^7.22.5":
247 + version "7.22.5"
248 + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz#f06dd41b7c1f44e1f8da6c4055b41ab3a09a7e98"
249 + integrity sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==
250 +
251 "@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.21.0":
252 version "7.21.0"
253 resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz#d552829b10ea9f120969304023cd0645fa00b1b4"
@@ -257,6 +264,14 @@
264 "@babel/template" "^7.18.10"
265 "@babel/types" "^7.19.0"
266
267 +"@babel/helper-function-name@^7.22.5":
268 + version "7.22.5"
269 + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz#ede300828905bb15e582c037162f99d5183af1be"
270 + integrity sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==
271 + dependencies:
272 + "@babel/template" "^7.22.5"
273 + "@babel/types" "^7.22.5"
274 +
275 "@babel/helper-function-name@^7.7.4":
276 version "7.24.7"
277 resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz#75f1e1725742f39ac6584ee0b16d94513da38dd2"
@@ -286,13 +301,12 @@
301 dependencies:
302 "@babel/types" "^7.22.3"
303
289 -"@babel/helper-member-expression-to-functions@^7.25.9":
290 - version "7.25.9"
291 - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.25.9.tgz#9dfffe46f727005a5ea29051ac835fb735e4c1a3"
292 - integrity sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ==
304 +"@babel/helper-member-expression-to-functions@^7.22.5":
305 + version "7.22.5"
306 + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.22.5.tgz#0a7c56117cad3372fbf8d2fb4bf8f8d64a1e76b2"
307 + integrity sha512-aBiH1NKMG0H2cGZqspNvsaBe6wNGjbJjuLy29aU+eDZjSbbN53BaxlpB02xm9v34pLTZ1nIQPFYn2qMZoa5BQQ==
308 dependencies:
294 - "@babel/traverse" "^7.25.9"
295 - "@babel/types" "^7.25.9"
309 + "@babel/types" "^7.22.5"
310
311 "@babel/helper-module-imports@^7.18.6":
312 version "7.18.6"
@@ -374,12 +388,12 @@
388 dependencies:
389 "@babel/types" "^7.18.6"
390
377 -"@babel/helper-optimise-call-expression@^7.25.9":
378 - version "7.25.9"
379 - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.25.9.tgz#3324ae50bae7e2ab3c33f60c9a877b6a0146b54e"
380 - integrity sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ==
391 +"@babel/helper-optimise-call-expression@^7.22.5":
392 + version "7.22.5"
393 + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz#f21531a9ccbff644fdd156b4077c16ff0c3f609e"
394 + integrity sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==
395 dependencies:
382 - "@babel/types" "^7.25.9"
396 + "@babel/types" "^7.22.5"
397
398 "@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.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.8.0":
399 version "7.19.0"
@@ -401,11 +415,6 @@
415 resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295"
416 integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==
417
404 -"@babel/helper-plugin-utils@^7.25.9":
405 - version "7.25.9"
406 - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz#9cbdd63a9443a2c92a725cca7ebca12cc8dd9f46"
407 - integrity sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==
408 -
418 "@babel/helper-remap-async-to-generator@^7.18.9":
419 version "7.18.9"
420 resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz#997458a0e3357080e54e1d79ec347f8a8cd28519"
@@ -439,14 +448,14 @@
448 "@babel/traverse" "^7.19.1"
449 "@babel/types" "^7.19.0"
450
442 -"@babel/helper-replace-supers@^7.25.9":
443 - version "7.25.9"
444 - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.25.9.tgz#ba447224798c3da3f8713fc272b145e33da6a5c5"
445 - integrity sha512-IiDqTOTBQy0sWyeXyGSC5TBJpGFXBkRynjBeXsvbhQFKj2viwJC76Epz35YLU1fpe/Am6Vppb7W7zM4fPQzLsQ==
451 +"@babel/helper-replace-supers@^7.22.9":
452 + version "7.22.9"
453 + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.22.9.tgz#cbdc27d6d8d18cd22c81ae4293765a5d9afd0779"
454 + integrity sha512-LJIKvvpgPOPUThdYqcX6IXRuIcTkcAub0IaDRGCZH0p5GPUp7PhRU9QVgFcDDd51BaPkk77ZjqFwh6DZTAEmGg==
455 dependencies:
447 - "@babel/helper-member-expression-to-functions" "^7.25.9"
448 - "@babel/helper-optimise-call-expression" "^7.25.9"
449 - "@babel/traverse" "^7.25.9"
456 + "@babel/helper-environment-visitor" "^7.22.5"
457 + "@babel/helper-member-expression-to-functions" "^7.22.5"
458 + "@babel/helper-optimise-call-expression" "^7.22.5"
459
460 "@babel/helper-simple-access@^7.18.6":
461 version "7.18.6"
@@ -476,13 +485,12 @@
485 dependencies:
486 "@babel/types" "^7.20.0"
487
479 -"@babel/helper-skip-transparent-expression-wrappers@^7.25.9":
480 - version "7.25.9"
481 - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.9.tgz#0b2e1b62d560d6b1954893fd2b705dc17c91f0c9"
482 - integrity sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA==
488 +"@babel/helper-skip-transparent-expression-wrappers@^7.22.5":
489 + version "7.22.5"
490 + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz#007f15240b5751c537c40e77abb4e89eeaaa8847"
491 + integrity sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==
492 dependencies:
484 - "@babel/traverse" "^7.25.9"
485 - "@babel/types" "^7.25.9"
493 + "@babel/types" "^7.22.5"
494
495 "@babel/helper-split-export-declaration@^7.18.6":
496 version "7.18.6"
@@ -491,6 +499,13 @@
499 dependencies:
500 "@babel/types" "^7.18.6"
501
502 +"@babel/helper-split-export-declaration@^7.22.6":
503 + version "7.22.6"
504 + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c"
505 + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==
506 + dependencies:
507 + "@babel/types" "^7.22.5"
508 +
509 "@babel/helper-split-export-declaration@^7.7.4":
510 version "7.24.7"
511 resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz#83949436890e07fa3d6873c61a96e3bbf692d856"
@@ -513,6 +528,11 @@
528 resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz#2b3eea65443c6bdc31c22d037c65f6d323b6b2bd"
529 integrity sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w==
530
531 +"@babel/helper-string-parser@^7.22.5":
532 + version "7.22.5"
533 + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f"
534 + integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==
535 +
536 "@babel/helper-string-parser@^7.24.8":
537 version "7.24.8"
538 resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz#5b3329c9a58803d5df425e5785865881a81ca48d"
@@ -638,6 +658,11 @@
658 resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.4.tgz#a770e98fd785c231af9d93f6459d36770993fb32"
659 integrity sha512-VLLsx06XkEYqBtE5YGPwfSGwfrjnyPP5oiGty3S8pQLFDFLaS8VwWSIxkTXpcvr5zeYLE6+MBNl2npl/YnfofA==
660
661 +"@babel/parser@^7.22.5":
662 + version "7.22.7"
663 + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.7.tgz#df8cf085ce92ddbdbf668a7f186ce848c9036cae"
664 + integrity sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q==
665 +
666 "@babel/parser@^7.24.4":
667 version "7.24.4"
668 resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.4.tgz#234487a110d89ad5a3ed4a8a566c36b9453e8c88"
@@ -678,6 +703,14 @@
703 "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0"
704 "@babel/plugin-transform-optional-chaining" "^7.22.3"
705
706 +"@babel/plugin-proposal-private-methods@^7.18.6":
707 + version "7.18.6"
708 + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz#5209de7d213457548a98436fa2882f52f4be6bea"
709 + integrity sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==
710 + dependencies:
711 + "@babel/helper-create-class-features-plugin" "^7.18.6"
712 + "@babel/helper-plugin-utils" "^7.18.6"
713 +
714 "@babel/plugin-proposal-private-property-in-object@^7.21.0":
715 version "7.21.10"
716 resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.10.tgz#861ab9c7d152291c47d27838867f27c560f562c4"
@@ -1196,14 +1229,6 @@
1229 "@babel/helper-create-class-features-plugin" "^7.22.1"
1230 "@babel/helper-plugin-utils" "^7.21.5"
1231
1199 -"@babel/plugin-transform-private-methods@^7.25.9":
1200 - version "7.25.9"
1201 - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.9.tgz#847f4139263577526455d7d3223cd8bda51e3b57"
1202 - integrity sha512-D/JUozNpQLAPUVusvqMxyvjzllRaF8/nSrP1s2YGQT/W4LHK4xxsMcHjhOGTS01mp9Hda8nswb+FblLdJornQw==
1203 - dependencies:
1204 - "@babel/helper-create-class-features-plugin" "^7.25.9"
1205 - "@babel/helper-plugin-utils" "^7.25.9"
1206 -
1232 "@babel/plugin-transform-private-property-in-object@^7.22.3":
1233 version "7.22.3"
1234 resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.22.3.tgz#031621b02c7b7d95389de1a3dba2fe9e8c548e56"
@@ -1529,6 +1554,15 @@
1554 "@babel/parser" "^7.21.9"
1555 "@babel/types" "^7.21.5"
1556
1557 +"@babel/template@^7.22.5":
1558 + version "7.22.5"
1559 + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec"
1560 + integrity sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==
1561 + dependencies:
1562 + "@babel/code-frame" "^7.22.5"
1563 + "@babel/parser" "^7.22.5"
1564 + "@babel/types" "^7.22.5"
1565 +
1566 "@babel/template@^7.24.7":
1567 version "7.25.0"
1568 resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.25.0.tgz#e733dc3134b4fede528c15bc95e89cb98c52592a"
@@ -1628,6 +1662,15 @@
1662 "@babel/helper-validator-identifier" "^7.19.1"
1663 to-fast-properties "^2.0.0"
1664
1665 +"@babel/types@^7.22.5":
1666 + version "7.22.5"
1667 + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.5.tgz#cd93eeaab025880a3a47ec881f4b096a5b786fbe"
1668 + integrity sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==
1669 + dependencies:
1670 + "@babel/helper-string-parser" "^7.22.5"
1671 + "@babel/helper-validator-identifier" "^7.22.5"
1672 + to-fast-properties "^2.0.0"
1673 +
1674 "@babel/types@^7.24.7", "@babel/types@^7.25.0", "@babel/types@^7.25.6", "@babel/types@^7.7.4":
1675 version "7.25.6"
1676 resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.6.tgz#893942ddb858f32ae7a004ec9d3a76b3463ef8e6"