Skip to content

Commit eca92ff

Browse files
committed
build: dedupe @babel/types in lock file
1 parent d151f30 commit eca92ff

File tree

6 files changed

+37
-470
lines changed

6 files changed

+37
-470
lines changed

compiler/apps/playground/yarn.lock

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,21 @@
153153
"@babel/traverse" "^7.24.7"
154154
"@babel/types" "^7.24.7"
155155

156-
"@babel/helper-string-parser@^7.24.8":
157-
version "7.24.8"
158-
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz#5b3329c9a58803d5df425e5785865881a81ca48d"
159-
integrity sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==
156+
"@babel/helper-string-parser@^7.25.9":
157+
version "7.25.9"
158+
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz#1aabb72ee72ed35789b4bbcad3ca2862ce614e8c"
159+
integrity sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==
160160

161161
"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.24.7":
162162
version "7.24.7"
163163
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz#75b889cfaf9e35c2aaf42cf0d72c8e91719251db"
164164
integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==
165165

166+
"@babel/helper-validator-identifier@^7.25.9":
167+
version "7.25.9"
168+
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz#24b64e2c3ec7cd3b3c547729b8d16871f22cbdc7"
169+
integrity sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==
170+
166171
"@babel/helper-validator-option@^7.24.7", "@babel/helper-validator-option@^7.24.8":
167172
version "7.24.8"
168173
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz#3725cdeea8b480e86d34df15304806a06975e33d"
@@ -328,13 +333,12 @@
328333
to-fast-properties "^2.0.0"
329334

330335
"@babel/types@^7.24.7", "@babel/types@^7.24.8", "@babel/types@^7.25.0", "@babel/types@^7.25.2", "@babel/types@^7.25.6":
331-
version "7.25.6"
332-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.6.tgz#893942ddb858f32ae7a004ec9d3a76b3463ef8e6"
333-
integrity sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==
336+
version "7.26.3"
337+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.3.tgz#37e79830f04c2b5687acc77db97fbc75fb81f3c0"
338+
integrity sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==
334339
dependencies:
335-
"@babel/helper-string-parser" "^7.24.8"
336-
"@babel/helper-validator-identifier" "^7.24.7"
337-
to-fast-properties "^2.0.0"
340+
"@babel/helper-string-parser" "^7.25.9"
341+
"@babel/helper-validator-identifier" "^7.25.9"
338342

339343
"@emnapi/runtime@^1.2.0":
340344
version "1.3.1"

compiler/yarn.lock

Lines changed: 1 addition & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -513,31 +513,6 @@
513513
dependencies:
514514
"@babel/types" "^7.24.7"
515515

516-
"@babel/helper-string-parser@^7.18.10":
517-
version "7.18.10"
518-
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56"
519-
integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw==
520-
521-
"@babel/helper-string-parser@^7.19.4":
522-
version "7.19.4"
523-
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63"
524-
integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==
525-
526-
"@babel/helper-string-parser@^7.21.5":
527-
version "7.21.5"
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"
539-
integrity sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==
540-
541516
"@babel/helper-string-parser@^7.25.9":
542517
version "7.25.9"
543518
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz#1aabb72ee72ed35789b4bbcad3ca2862ce614e8c"
@@ -1618,69 +1593,7 @@
16181593
debug "^4.3.1"
16191594
globals "^11.1.0"
16201595

1621-
"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.3.0", "@babel/types@^7.3.3":
1622-
version "7.18.9"
1623-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.18.9.tgz#7148d64ba133d8d73a41b3172ac4b83a1452205f"
1624-
integrity sha512-WwMLAg2MvJmt/rKEVQBBhIVffMmnilX4oe0sRe7iPOHIGsqpruFHHdrfj4O1CMMtgMtCU4oPafZjDPCRgO57Wg==
1625-
dependencies:
1626-
"@babel/helper-validator-identifier" "^7.18.6"
1627-
to-fast-properties "^2.0.0"
1628-
1629-
"@babel/types@^7.18.10", "@babel/types@^7.19.0", "@babel/types@^7.2.0":
1630-
version "7.19.0"
1631-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.0.tgz#75f21d73d73dc0351f3368d28db73465f4814600"
1632-
integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA==
1633-
dependencies:
1634-
"@babel/helper-string-parser" "^7.18.10"
1635-
"@babel/helper-validator-identifier" "^7.18.6"
1636-
to-fast-properties "^2.0.0"
1637-
1638-
"@babel/types@^7.2.2", "@babel/types@^7.20.2", "@babel/types@^7.21.2":
1639-
version "7.21.4"
1640-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.4.tgz#2d5d6bb7908699b3b416409ffd3b5daa25b030d4"
1641-
integrity sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==
1642-
dependencies:
1643-
"@babel/helper-string-parser" "^7.19.4"
1644-
"@babel/helper-validator-identifier" "^7.19.1"
1645-
to-fast-properties "^2.0.0"
1646-
1647-
"@babel/types@^7.20.0", "@babel/types@^7.20.5", "@babel/types@^7.21.0", "@babel/types@^7.21.4", "@babel/types@^7.21.5", "@babel/types@^7.22.0", "@babel/types@^7.22.3", "@babel/types@^7.22.4", "@babel/types@^7.4.4":
1648-
version "7.22.4"
1649-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.4.tgz#56a2653ae7e7591365dabf20b76295410684c071"
1650-
integrity sha512-Tx9x3UBHTTsMSW85WB2kphxYQVvrZ/t1FxD88IpSgIjiUJlCm9z+xWIDwyo1vffTwSqteqyznB8ZE9vYYk16zA==
1651-
dependencies:
1652-
"@babel/helper-string-parser" "^7.21.5"
1653-
"@babel/helper-validator-identifier" "^7.19.1"
1654-
to-fast-properties "^2.0.0"
1655-
1656-
"@babel/types@^7.20.7":
1657-
version "7.20.7"
1658-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f"
1659-
integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==
1660-
dependencies:
1661-
"@babel/helper-string-parser" "^7.19.4"
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"
1677-
integrity sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==
1678-
dependencies:
1679-
"@babel/helper-string-parser" "^7.24.8"
1680-
"@babel/helper-validator-identifier" "^7.24.7"
1681-
to-fast-properties "^2.0.0"
1682-
1683-
"@babel/types@^7.25.9", "@babel/types@^7.26.0", "@babel/types@^7.26.3":
1596+
"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.5", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.2", "@babel/types@^7.21.4", "@babel/types@^7.21.5", "@babel/types@^7.22.0", "@babel/types@^7.22.3", "@babel/types@^7.22.4", "@babel/types@^7.22.5", "@babel/types@^7.24.7", "@babel/types@^7.25.0", "@babel/types@^7.25.6", "@babel/types@^7.25.9", "@babel/types@^7.26.0", "@babel/types@^7.26.3", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.4":
16841597
version "7.26.3"
16851598
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.3.tgz#37e79830f04c2b5687acc77db97fbc75fb81f3c0"
16861599
integrity sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==
@@ -7605,11 +7518,6 @@ tmpl@1.0.5:
76057518
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc"
76067519
integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==
76077520

7608-
to-fast-properties@^2.0.0:
7609-
version "2.0.0"
7610-
resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
7611-
integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==
7612-
76137521
to-regex-range@^5.0.1:
76147522
version "5.0.1"
76157523
resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"@rollup/plugin-node-resolve": "^15.0.1",
4343
"@rollup/plugin-replace": "^5.0.2",
4444
"@rollup/plugin-typescript": "^12.1.2",
45+
"@types/invariant": "^2.2.35",
4546
"@typescript-eslint/eslint-plugin": "^6.21.0",
4647
"@typescript-eslint/parser": "^6.21.0",
4748
"abortcontroller-polyfill": "^1.7.5",

packages/eslint-plugin-react-hooks/src/types/hermes-eslint.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
// v0.17.1
9-
declare module "hermes-eslint" {
9+
declare module 'hermes-eslint' {
1010
// https://fburl.com/2vikhmaa
1111
type ParseForESLintOptions = {
1212
/**
@@ -37,7 +37,7 @@ declare module "hermes-eslint" {
3737
/**
3838
* The source type of the script.
3939
*/
40-
sourceType: "script" | "module";
40+
sourceType: 'script' | 'module';
4141

4242
/**
4343
* Ignore <fbt /> JSX elements when adding references to the module-level `React` variable.

packages/eslint-plugin-react-hooks/src/types/hermes-parser.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
*/
77

88
// v0.17.1
9-
declare module "hermes-parser" {
9+
declare module 'hermes-parser' {
1010
type HermesParserOptions = {
1111
allowReturnOutsideFunction?: boolean;
1212
babel?: boolean;
13-
flow?: "all" | "detect";
13+
flow?: 'all' | 'detect';
1414
enableExperimentalComponentSyntax?: boolean;
1515
sourceFilename?: string;
16-
sourceType?: "module" | "script" | "unambiguous";
16+
sourceType?: 'module' | 'script' | 'unambiguous';
1717
tokens?: boolean;
1818
};
1919
export function parse(code: string, options: Partial<HermesParserOptions>);

0 commit comments

Comments
 (0)