Skip to content

Commit 2c909ae

Browse files
committed
Revert "[CHORE] Update build dependencies to latest major versions"
Revert accidental push to default branch This reverts commit 68118ec.
1 parent 68118ec commit 2c909ae

File tree

4 files changed

+4339
-2946
lines changed

4 files changed

+4339
-2946
lines changed

.babelrc

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,4 @@
11
{
2-
"presets": [
3-
"@babel/preset-env",
4-
"@babel/preset-flow"
5-
],
6-
"plugins": [
7-
"@babel/plugin-transform-flow-strip-types",
8-
"@babel/plugin-syntax-dynamic-import",
9-
"@babel/plugin-syntax-import-meta",
10-
"@babel/plugin-proposal-class-properties",
11-
"@babel/plugin-proposal-json-strings",
12-
[
13-
"@babel/plugin-proposal-decorators",
14-
{
15-
"legacy": true
16-
}
17-
],
18-
"@babel/plugin-proposal-function-sent",
19-
"@babel/plugin-proposal-export-namespace-from",
20-
"@babel/plugin-proposal-numeric-separator",
21-
"@babel/plugin-proposal-throw-expressions",
22-
"@babel/plugin-proposal-export-default-from",
23-
"@babel/plugin-proposal-logical-assignment-operators",
24-
"@babel/plugin-proposal-optional-chaining",
25-
[
26-
"@babel/plugin-proposal-pipeline-operator",
27-
{
28-
"proposal": "minimal"
29-
}
30-
],
31-
"@babel/plugin-proposal-nullish-coalescing-operator",
32-
"@babel/plugin-proposal-do-expressions"
33-
]
2+
"presets": ["es2015", "stage-1"],
3+
"plugins": ["transform-flow-strip-types"]
344
}

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "eslint:recommended",
3-
"parser": "@babel/eslint-parser",
3+
"parser": "babel-eslint",
44
"env": {
55
"node": true,
66
"es6": true,

package.json

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,17 @@
2929
"chalk": "4.1.2"
3030
},
3131
"devDependencies": {
32-
"@babel/cli": "^7.0.0",
33-
"@babel/core": "^7.0.0",
34-
"@babel/eslint-parser": "^7.19.1",
35-
"@babel/plugin-proposal-class-properties": "^7.0.0",
36-
"@babel/plugin-proposal-decorators": "^7.0.0",
37-
"@babel/plugin-proposal-do-expressions": "^7.0.0",
38-
"@babel/plugin-proposal-export-default-from": "^7.0.0",
39-
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
40-
"@babel/plugin-proposal-function-sent": "^7.0.0",
41-
"@babel/plugin-proposal-json-strings": "^7.0.0",
42-
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
43-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
44-
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
45-
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
46-
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
47-
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
48-
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
49-
"@babel/plugin-syntax-import-meta": "^7.0.0",
50-
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
51-
"@babel/preset-env": "^7.0.0",
52-
"@babel/preset-flow": "^7.0.0",
53-
"babel-core": "^7.0.0-bridge.0",
54-
"babel-jest": "29.2.1",
55-
"eslint": "^8.25.0",
32+
"babel-cli": "6.26.0",
33+
"babel-core": "6.26.3",
34+
"babel-eslint": "8.2.3",
35+
"babel-jest": "23.6.0",
36+
"babel-plugin-transform-flow-strip-types": "6.22.0",
37+
"babel-preset-es2015": "6.24.1",
38+
"babel-preset-stage-1": "6.24.1",
39+
"eslint": "4.19.1",
5640
"flow-bin": "0.66.0",
57-
"flow-copy-source": "2.0.9",
58-
"jest": "29.2.1",
41+
"flow-copy-source": "2.0.2",
42+
"jest": "23.6.0",
5943
"markdownlint-cli": "^0.31.1",
6044
"prettier": "2.7.1",
6145
"rimraf": "3.0.2"
@@ -64,9 +48,7 @@
6448
"collectCoverage": true,
6549
"coverageDirectory": "./coverage/",
6650
"testRegex": "__tests__[\\/].+(spec)\\.js$",
67-
"testEnvironmentOptions": {
68-
"url": "http://localhost/"
69-
},
51+
"testURL": "http://localhost/",
7052
"testPathIgnorePatterns": [
7153
"/node_modules/",
7254
"/dist/"

0 commit comments

Comments
 (0)