Skip to content

Commit e2cc1c4

Browse files
authored
Merge pull request #4745 from easyops-cn/renovate/next-babel-monorepo
chore(deps): Update babel monorepo (next)
2 parents 2b96899 + ee9e785 commit e2cc1c4

File tree

8 files changed

+220
-207
lines changed

8 files changed

+220
-207
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"trailingComma": "es5"
3939
},
4040
"devDependencies": {
41-
"@babel/core": "^7.27.7",
42-
"@babel/types": "^7.27.7",
41+
"@babel/core": "^7.28.0",
42+
"@babel/types": "^7.28.2",
4343
"@cypress/browserify-preprocessor": "^3.0.2",
4444
"@next-shared/common-bricks": "^0.54.0",
4545
"@types/doctrine": "^0.0.9",
@@ -77,8 +77,8 @@
7777
"packages/*"
7878
],
7979
"resolutions": {
80-
"@babel/parser": "^7.27.7",
81-
"@babel/runtime": "^7.27.6",
80+
"@babel/parser": "^7.28.0",
81+
"@babel/runtime": "^7.28.2",
8282
"@types/react": "^18.3.23",
8383
"lodash": "^4.17.21",
8484
"moment": "^2.30.1"

packages/babel-preset-next/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
},
1212
"sideEffects": false,
1313
"dependencies": {
14-
"@babel/plugin-proposal-decorators": "^7.27.1",
15-
"@babel/plugin-transform-runtime": "^7.27.4",
16-
"@babel/preset-env": "^7.27.2",
14+
"@babel/plugin-proposal-decorators": "^7.28.0",
15+
"@babel/plugin-transform-runtime": "^7.28.0",
16+
"@babel/preset-env": "^7.28.0",
1717
"@babel/preset-react": "^7.27.1",
1818
"@babel/preset-typescript": "^7.27.1",
19-
"@babel/runtime": "^7.27.6"
19+
"@babel/runtime": "^7.28.2"
2020
}
2121
}

packages/build-next-bricks/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"node": ">=16"
3535
},
3636
"dependencies": {
37-
"@babel/parser": "^7.27.7",
38-
"@babel/traverse": "^7.27.7",
37+
"@babel/parser": "^7.28.0",
38+
"@babel/traverse": "^7.28.0",
3939
"@next-core/babel-preset-next": "^1.0.25",
4040
"@svgr/webpack": "^8.1.0",
4141
"babel-loader": "^10.0.0",

packages/build-next-libs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
},
2020
"sideEffects": false,
2121
"dependencies": {
22-
"@babel/cli": "^7.27.2",
23-
"@babel/core": "^7.27.7",
22+
"@babel/cli": "^7.28.0",
23+
"@babel/core": "^7.28.0",
2424
"@next-core/babel-preset-next": "^1.0.25",
2525
"execa": "^5.1.1",
2626
"rimraf": "^6.0.1"

packages/cook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"sideEffects": false,
5151
"dependencies": {
52-
"@babel/parser": "^7.27.7"
52+
"@babel/parser": "^7.28.0"
5353
},
5454
"devDependencies": {
5555
"@next-core/build-next-libs": "^1.0.24",

packages/cook/src/interfaces.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
VariableDeclaration,
1414
type ArrowFunctionExpression,
1515
type FunctionExpression,
16+
type VoidPattern,
1617
} from "@babel/types";
1718

1819
export type EstreeNode =
@@ -23,7 +24,7 @@ export type EstreeNode =
2324
| EstreeChainExpression
2425
| EstreeLiteral;
2526

26-
export type EstreeLVal = LVal | EstreeObjectPattern;
27+
export type EstreeLVal = LVal | EstreeObjectPattern | VoidPattern;
2728

2829
export type EstreeObjectExpression = Omit<ObjectExpression, "properties"> & {
2930
properties: (EstreeProperty | SpreadElement)[];
@@ -60,6 +61,7 @@ export type FunctionDefinition = FunctionExpression | ArrowFunctionExpression;
6061

6162
export type NodeWithBoundNames =
6263
| LVal
64+
| VoidPattern
6365
| VariableDeclaration
6466
| FunctionDeclaration;
6567

packages/test-next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"node": ">=16"
3333
},
3434
"dependencies": {
35-
"@babel/core": "^7.27.7",
35+
"@babel/core": "^7.28.0",
3636
"@testing-library/dom": "^10.4.0",
3737
"@testing-library/jest-dom": "^6.6.3",
3838
"@testing-library/react": "^16.3.0",

yarn.lock

Lines changed: 203 additions & 192 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)