Skip to content

Commit

Permalink
Bump core-js to v3.6.4 and Babel to 7.8.4
Browse files Browse the repository at this point in the history
We should upgrade core-js@2 to core-js@3 because the (1) the next major
release of Babel will do so, and (2) there are many V8 de-optimizations
in core-js@2 that have been fixed in core-js@3.

See: babel/babel#10746 (comment)
See: babel/babel#10746 (comment)
See: https://github.com/zloirock/core-js/blob/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md

We also bumped Babel to 7.8.4 because it was only after 7.4 that
core-js@3 was supported.

See: https://babeljs.io/blog/2019/03/19/7.4.0#core-js-3-7646-https-githubcom-babel-babel-pull-7646
  • Loading branch information
sebinsua committed Feb 5, 2020
1 parent 86cd2c1 commit e1b6975
Show file tree
Hide file tree
Showing 20 changed files with 913 additions and 77 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Expand Up @@ -13,14 +13,14 @@
"write-translations": "docusaurus-write-translations"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@finos/perspective": "^0.4.1",
"@finos/perspective-viewer": "^0.4.1",
"docusaurus": "^1.8.0",
"less": "^3.9.0"
},
"dependencies": {
"@babel/preset-react": "^7.0.0",
"@babel/preset-react": "^7.8.3",
"lit-html": "^1.1.2"
}
}
22 changes: 9 additions & 13 deletions package.json
Expand Up @@ -17,19 +17,15 @@
"docs",
"python/perspective"
],
"repository": {
"type": "git",
"url": "https://github.com/finos/perspective"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.1.2",
"@babel/plugin-proposal-optional-chaining": "^7.7.5",
"@babel/plugin-transform-for-of": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.5",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-transform-for-of": "^7.8.4",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"arraybuffer-loader": "^1.0.2",
Expand All @@ -44,7 +40,7 @@
"clean-css-loader": "^1.1.0",
"codemirror": "^5.30.0",
"codemirror-javascript": "^0.2.0",
"core-js": "^2.6.9",
"core-js": "^3.6.4",
"cpx": "^1.5.0",
"css-loader": "^0.28.7",
"dotenv": "^8.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-bench/package.json
Expand Up @@ -25,7 +25,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@babel/runtime": "^7.8.4",
"@finos/perspective": "^0.4.1",
"@finos/perspective-viewer": "^0.4.1",
"@finos/perspective-viewer-d3fc": "^0.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-cli/babel.config.js
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},
modules: false,
useBuiltIns: "usage",
corejs: 2
corejs: 3
}
]
],
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-cli/package.json
Expand Up @@ -32,6 +32,6 @@
"@finos/perspective-viewer-d3fc": "^0.4.1",
"@finos/perspective-viewer-hypergrid": "^0.4.1",
"commander": "^2.19.0",
"core-js": "^2.6.9"
"core-js": "^3.6.4"
}
}
2 changes: 1 addition & 1 deletion packages/perspective-test/babel.config.js
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},
modules: false,
useBuiltIns: "usage",
corejs: 2
corejs: 3
}
]
],
Expand Down
4 changes: 2 additions & 2 deletions packages/perspective-test/package.json
Expand Up @@ -19,9 +19,9 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@babel/runtime": "^7.8.4",
"@finos/perspective": "^0.4.1",
"core-js": "^2.6.9"
"core-js": "^3.6.4"
},
"devDependencies": {
"@finos/perspective-webpack-plugin": "^0.4.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-viewer-d3fc/babel.config.js
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},
modules: false,
useBuiltIns: "usage",
corejs: 2
corejs: 3
}
]
],
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-viewer-d3fc/package.json
Expand Up @@ -52,7 +52,7 @@
"@finos/perspective-viewer": "^0.4.1",
"babel-runtime": "^6.26.0",
"chroma-js": "^1.3.4",
"core-js": "^2.6.9",
"core-js": "^3.6.4",
"d3": "^5.7.0",
"d3-svg-legend": "^2.25.6",
"d3fc": "14.0.40",
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-viewer-highcharts/babel.config.js
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},
modules: false,
useBuiltIns: "usage",
corejs: 2
corejs: 3
}
]
],
Expand Down
4 changes: 2 additions & 2 deletions packages/perspective-viewer-highcharts/package.json
Expand Up @@ -48,11 +48,11 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@babel/runtime": "^7.8.4",
"@finos/perspective": "^0.4.1",
"@finos/perspective-viewer": "^0.4.1",
"chroma-js": "^1.3.4",
"core-js": "^2.6.9",
"core-js": "^3.6.4",
"detectie": "1.0.0",
"gradient-parser": "0.1.5",
"highcharts": "6.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-viewer-hypergrid/babel.config.js
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},
modules: false,
useBuiltIns: "usage",
corejs: 2
corejs: 3
}
]
],
Expand Down
4 changes: 2 additions & 2 deletions packages/perspective-viewer-hypergrid/package.json
Expand Up @@ -35,10 +35,10 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@babel/runtime": "^7.8.4",
"@finos/perspective": "^0.4.1",
"@finos/perspective-viewer": "^0.4.1",
"core-js": "^2.6.9",
"core-js": "^3.6.4",
"datasaur-local": "3.0.0",
"faux-hypergrid": "3.2.4",
"fin-hypergrid-grouped-header-plugin": "^1.2.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-viewer/babel.config.js
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},
modules: false,
useBuiltIns: "usage",
corejs: 2
corejs: 3
}
]
],
Expand Down
4 changes: 2 additions & 2 deletions packages/perspective-viewer/package.json
Expand Up @@ -53,13 +53,13 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@babel/runtime": "^7.8.4",
"@finos/perspective": "^0.4.1",
"@types/react": "^16.9.17",
"@webcomponents/shadycss": "^1.5.2",
"@webcomponents/webcomponentsjs": "~2.0.4",
"awesomplete": "^1.1.2",
"core-js": "^2.6.9",
"core-js": "^3.6.4",
"d3-array": "^1.2.1",
"detectie": "1.0.0",
"lit-html": "^1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-workspace/babel.config.js
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},
modules: false,
useBuiltIns: "usage",
corejs: 2
corejs: 3
}
]
],
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-workspace/package.json
Expand Up @@ -44,7 +44,7 @@
"@phosphor/messaging": "^1.3.0",
"@phosphor/virtualdom": "^1.2.0",
"@phosphor/widgets": "^1.9.3",
"core-js": "^2.6.9",
"core-js": "^3.6.4",
"lodash": "^4.17.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective/babel.config.js
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},
modules: false,
useBuiltIns: "usage",
corejs: 2
corejs: 3
}
]
],
Expand Down
4 changes: 2 additions & 2 deletions packages/perspective/package.json
Expand Up @@ -52,8 +52,8 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.3.4",
"core-js": "^2.6.9",
"@babel/runtime": "^7.8.4",
"core-js": "^3.6.4",
"d3-array": "^1.2.1",
"detectie": "1.0.0",
"flatbuffers": "^1.10.2",
Expand Down

0 comments on commit e1b6975

Please sign in to comment.