Commit b3cc472c authored by Paul Slaughter's avatar Paul Slaughter

Merge branch 'mg-update-babel' into 'master'

Update babel to latest version (7.7.5 -> 7.8.5)

See merge request gitlab-org/gitlab!25964
parents 9e26d989 53fbab0a
...@@ -69,7 +69,7 @@ if (gon && gon.disable_animations) { ...@@ -69,7 +69,7 @@ if (gon && gon.disable_animations) {
// inject test utilities if necessary // inject test utilities if necessary
if (process.env.NODE_ENV !== 'production' && gon && gon.test_env) { if (process.env.NODE_ENV !== 'production' && gon && gon.test_env) {
disableJQueryAnimations(); disableJQueryAnimations();
import(/* webpackMode: "eager" */ './test_utils/'); import(/* webpackMode: "eager" */ './test_utils/'); // eslint-disable-line no-unused-expressions
} }
document.addEventListener('beforeunload', () => { document.addEventListener('beforeunload', () => {
......
...@@ -18,12 +18,10 @@ const presets = [ ...@@ -18,12 +18,10 @@ const presets = [
// include stage 3 proposals // include stage 3 proposals
const plugins = [ const plugins = [
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-syntax-import-meta', '@babel/plugin-syntax-import-meta',
'@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-json-strings', '@babel/plugin-proposal-json-strings',
'@babel/plugin-proposal-private-methods', '@babel/plugin-proposal-private-methods',
'@babel/plugin-proposal-optional-chaining',
'lodash', 'lodash',
]; ];
......
...@@ -31,14 +31,12 @@ ...@@ -31,14 +31,12 @@
"webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js" "webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js"
}, },
"dependencies": { "dependencies": {
"@babel/core": "^7.6.2", "@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-json-strings": "^7.2.0", "@babel/plugin-proposal-json-strings": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.7.5", "@babel/plugin-proposal-private-methods": "^7.8.3",
"@babel/plugin-proposal-private-methods": "^7.6.0", "@babel/plugin-syntax-import-meta": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/preset-env": "^7.8.4",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/preset-env": "^7.6.2",
"@gitlab/at.js": "^1.5.5", "@gitlab/at.js": "^1.5.5",
"@gitlab/svgs": "^1.101.0", "@gitlab/svgs": "^1.101.0",
"@gitlab/ui": "^9.16.0", "@gitlab/ui": "^9.16.0",
...@@ -65,7 +63,7 @@ ...@@ -65,7 +63,7 @@
"codesandbox-api": "^0.0.20", "codesandbox-api": "^0.0.20",
"compression-webpack-plugin": "^3.0.1", "compression-webpack-plugin": "^3.0.1",
"copy-webpack-plugin": "^5.0.5", "copy-webpack-plugin": "^5.0.5",
"core-js": "^3.2.1", "core-js": "^3.6.4",
"cropper": "^2.3.0", "cropper": "^2.3.0",
"css-loader": "^1.0.0", "css-loader": "^1.0.0",
"d3": "^4.13.0", "d3": "^4.13.0",
...@@ -145,7 +143,7 @@ ...@@ -145,7 +143,7 @@
"xterm": "^3.5.0" "xterm": "^3.5.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.5.0", "@babel/plugin-transform-modules-commonjs": "^7.8.3",
"@gitlab/eslint-config": "^3.0.0", "@gitlab/eslint-config": "^3.0.0",
"@vue/test-utils": "^1.0.0-beta.30", "@vue/test-utils": "^1.0.0-beta.30",
"axios-mock-adapter": "^1.15.0", "axios-mock-adapter": "^1.15.0",
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment