Skip to content

Commit 1b3e6d9

Browse files
Use Babel 8 stable (#262)
1 parent 07135f7 commit 1b3e6d9

9 files changed

Lines changed: 845 additions & 772 deletions

File tree

‎.eslintrc.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
{
2121
"files": ["packages/*/src/**/*.{js,ts}"],
2222
"rules": {
23-
"@babel/development/no-undefined-identifier": "error",
24-
"@babel/development/no-deprecated-clone": "error",
23+
// TODO: Figure out why they are not working
24+
// "@babel/development/no-undefined-identifier": "error",
25+
// "@babel/development/no-deprecated-clone": "error",
2526
"import/no-extraneous-dependencies": "error",
2627
"eqeqeq": ["error", "always", { "null": "ignore" }],
2728
"guard-for-in": "error"

‎package.json‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
"watch": "gulp watch"
1919
},
2020
"devDependencies": {
21-
"@babel/cli": "^8.0.0-rc.3 <8.0.0",
22-
"@babel/core": "^8.0.0-rc.3 <8.0.0",
23-
"@babel/eslint-parser": "^8.0.0-rc.3 <8.0.0",
24-
"@babel/eslint-plugin-development": "^8.0.0-rc.3 <8.0.0",
25-
"@babel/plugin-transform-runtime": "^8.0.0-rc.3 <8.0.0",
26-
"@babel/preset-env": "^8.0.0-rc.3 <8.0.0",
27-
"@babel/preset-typescript": "^8.0.0-rc.3 <8.0.0",
28-
"@babel/runtime": "^8.0.0-rc.3 <8.0.0",
21+
"@babel/cli": "^8.0.0",
22+
"@babel/core": "^8.0.0",
23+
"@babel/eslint-parser": "^8.0.0",
24+
"@babel/eslint-plugin-development": "^8.0.0",
25+
"@babel/plugin-transform-runtime": "^8.0.0",
26+
"@babel/preset-env": "^8.0.0",
27+
"@babel/preset-typescript": "^8.0.0",
28+
"@babel/runtime": "^8.0.0",
2929
"@rollup/plugin-babel": "^7.0.0",
3030
"@rollup/plugin-json": "^6.1.0",
3131
"@rollup/plugin-node-resolve": "^16.0.3",

‎packages/babel-helper-define-polyfill-provider/package.json‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@
3232
"./package.json": "./package.json"
3333
},
3434
"dependencies": {
35-
"@babel/helper-compilation-targets": "^8.0.0-rc.3 <8.0.0",
36-
"@babel/helper-plugin-utils": "^8.0.0-rc.3 <8.0.0",
35+
"@babel/helper-compilation-targets": "^8.0.0",
36+
"@babel/helper-plugin-utils": "^8.0.0",
3737
"lodash.debounce": "^4.0.8"
3838
},
3939
"peerDependencies": {
40-
"@babel/core": "^7.4.0 || ^8.0.0-rc.3"
40+
"@babel/core": "^7.4.0 || ^8.0.0"
4141
},
4242
"devDependencies": {
43-
"@babel/cli": "^8.0.0-rc.3 <8.0.0",
44-
"@babel/core": "^8.0.0-rc.3 <8.0.0",
45-
"@babel/generator": "^8.0.0-rc.3 <8.0.0",
46-
"@babel/plugin-transform-modules-commonjs": "^8.0.0-rc.3 <8.0.0",
47-
"@babel/traverse": "^8.0.0-rc.3 <8.0.0",
43+
"@babel/cli": "^8.0.0",
44+
"@babel/core": "^8.0.0",
45+
"@babel/generator": "^8.0.0",
46+
"@babel/plugin-transform-modules-commonjs": "^8.0.0",
47+
"@babel/traverse": "^8.0.0",
4848
"@rollup/plugin-babel": "^7.0.0",
4949
"babel-loader": "^10.1.0",
5050
"rollup": "^4.59.0",

‎packages/babel-plugin-polyfill-corejs3/package.json‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@
2727
"core-js-compat": "^3.48.0"
2828
},
2929
"devDependencies": {
30-
"@babel/core": "^8.0.0-rc.3 <8.0.0",
31-
"@babel/helper-plugin-test-runner": "^8.0.0-rc.3 <8.0.0",
32-
"@babel/plugin-proposal-decorators": "^8.0.0-rc.3 <8.0.0",
33-
"@babel/plugin-transform-class-properties": "^8.0.0-rc.3 <8.0.0",
34-
"@babel/plugin-transform-classes": "^8.0.0-rc.3 <8.0.0",
35-
"@babel/plugin-transform-for-of": "^8.0.0-rc.3 <8.0.0",
36-
"@babel/plugin-transform-modules-commonjs": "^8.0.0-rc.3 <8.0.0",
37-
"@babel/plugin-transform-runtime": "^8.0.0-rc.3 <8.0.0",
38-
"@babel/plugin-transform-spread": "^8.0.0-rc.3 <8.0.0",
30+
"@babel/core": "^8.0.0",
31+
"@babel/helper-plugin-test-runner": "^8.0.0",
32+
"@babel/plugin-proposal-decorators": "^8.0.0",
33+
"@babel/plugin-transform-class-properties": "^8.0.0",
34+
"@babel/plugin-transform-classes": "^8.0.0",
35+
"@babel/plugin-transform-for-of": "^8.0.0",
36+
"@babel/plugin-transform-modules-commonjs": "^8.0.0",
37+
"@babel/plugin-transform-runtime": "^8.0.0",
38+
"@babel/plugin-transform-spread": "^8.0.0",
3939
"core-js": "^3.48.0",
4040
"core-js-pure": "^3.48.0"
4141
},
4242
"peerDependencies": {
43-
"@babel/core": "^7.4.0 || ^8.0.0-rc.3"
43+
"@babel/core": "^7.4.0 || ^8.0.0"
4444
}
4545
}

‎packages/babel-plugin-polyfill-corejs3/test/fixtures/regression/usage-pure-in-helpers/output.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import _createClass from "@babel/runtime-corejs3/helpers/createClass";
22
import _classCallCheck from "@babel/runtime-corejs3/helpers/classCallCheck";
3-
import _callSuper from "@babel/runtime-corejs3/helpers/callSuper";
43
import _inherits from "@babel/runtime-corejs3/helpers/inherits";
4+
import _callSuper from "@babel/runtime-corejs3/helpers/callSuper";
55
import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
66
import _concatInstanceProperty from "core-js-pure/stable/instance/concat.js";
77
let A = /*#__PURE__*/function (_B) {

‎packages/babel-plugin-polyfill-es-shims/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
"@babel/helper-define-polyfill-provider": "workspace:^1.0.0-rc.2"
2727
},
2828
"devDependencies": {
29-
"@babel/core": "^8.0.0-rc.3 <8.0.0",
30-
"@babel/helper-plugin-test-runner": "^8.0.0-rc.3 <8.0.0",
29+
"@babel/core": "^8.0.0",
30+
"@babel/helper-plugin-test-runner": "^8.0.0",
3131
"array.from": "^1.1.6",
3232
"math.clz32": "^1.0.3"
3333
},
3434
"peerDependencies": {
35-
"@babel/core": "^7.4.0 || ^8.0.0-rc.3"
35+
"@babel/core": "^7.4.0 || ^8.0.0"
3636
}
3737
}

‎packages/babel-plugin-polyfill-es-shims/test/fixtures/usage-pure/modules-loose/options.json‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
}
1313
}
1414
],
15-
[
16-
"@babel/plugin-transform-modules-commonjs",
17-
{
18-
"loose": true
19-
}
20-
]
15+
"@babel/plugin-transform-modules-commonjs"
2116
],
2217
"targets": {
2318
"ie": "5"
19+
},
20+
"assumptions": {
21+
"constantReexports": true,
22+
"enumerableModuleMeta": true
2423
}
2524
}

‎test/esm/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"name": "@babel-internal/test-esm",
44
"devDependencies": {
5-
"@babel/core": "^8.0.0-rc.3 <8.0.0",
5+
"@babel/core": "^8.0.0",
66
"babel-plugin-polyfill-corejs3": "workspace:*",
77
"babel-plugin-polyfill-es-shims": "workspace:*",
88
"babel-plugin-polyfill-regenerator": "workspace:*"

0 commit comments

Comments
 (0)