Skip to content

Commit 92e31fc

Browse files
Workaround for broken babel-preset-react-app (#15658)
1 parent f64974d commit 92e31fc

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

packages/babel-preset-env/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@babel/helper-validator-option": "workspace:^",
2323
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "workspace:^",
2424
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "workspace:^",
25+
"@babel/plugin-proposal-private-property-in-object": "^7.21.0",
2526
"@babel/plugin-syntax-async-generators": "^7.8.4",
2627
"@babel/plugin-syntax-class-properties": "^7.12.13",
2728
"@babel/plugin-syntax-class-static-block": "^7.14.5",

yarn.lock

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,6 +1589,20 @@ __metadata:
15891589
languageName: node
15901590
linkType: hard
15911591

1592+
"@babel/plugin-proposal-private-property-in-object@npm:^7.21.0":
1593+
version: 7.21.0
1594+
resolution: "@babel/plugin-proposal-private-property-in-object@npm:7.21.0"
1595+
dependencies:
1596+
"@babel/helper-annotate-as-pure": ^7.18.6
1597+
"@babel/helper-create-class-features-plugin": ^7.21.0
1598+
"@babel/helper-plugin-utils": ^7.20.2
1599+
"@babel/plugin-syntax-private-property-in-object": ^7.14.5
1600+
peerDependencies:
1601+
"@babel/core": ^7.0.0-0
1602+
checksum: add881a6a836635c41d2710551fdf777e2c07c0b691bf2baacc5d658dd64107479df1038680d6e67c468bfc6f36fb8920025d6bac2a1df0a81b867537d40ae78
1603+
languageName: node
1604+
linkType: hard
1605+
15921606
"@babel/plugin-proposal-record-and-tuple@workspace:^, @babel/plugin-proposal-record-and-tuple@workspace:packages/babel-plugin-proposal-record-and-tuple":
15931607
version: 0.0.0-use.local
15941608
resolution: "@babel/plugin-proposal-record-and-tuple@workspace:packages/babel-plugin-proposal-record-and-tuple"
@@ -3511,6 +3525,7 @@ __metadata:
35113525
"@babel/helper-validator-option": "workspace:^"
35123526
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "workspace:^"
35133527
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "workspace:^"
3528+
"@babel/plugin-proposal-private-property-in-object": ^7.21.0
35143529
"@babel/plugin-syntax-async-generators": ^7.8.4
35153530
"@babel/plugin-syntax-class-properties": ^7.12.13
35163531
"@babel/plugin-syntax-class-static-block": ^7.14.5

0 commit comments

Comments
 (0)