From 22226f336774b56072f6b8473122cc25355036a5 Mon Sep 17 00:00:00 2001 From: Shreyas Minocha Date: Mon, 3 Dec 2018 15:38:49 +0530 Subject: [PATCH] Switch from babel-preset-env to @babel/preset-env Replace: - babel-preset-env@1.6.0 with @babel/preset-env@7.2.0 - babel-register@6.24.1 with @babel/register@7.0.0 - babel-loader@7.1.4 with babel-loader@8.0.4 Add: - @babel/core@7.2.0 --- - babel-preset-env, @babel/preset-env babel-preset-env moved to @babel/preset-env in the Babel monorepo. This appears to have incremented the version from v1.6.0[0] to 7.x to match the rest of the Babel packages but appears to otherwise be undocumented.[1,3] [0] https://github.com/babel/babel-preset-env/blob/24b99ec/README.md [1] https://github.com/babel/babel/blob/efa571a/CHANGELOG.md - @babel/preset-env, @babel/register *Many* changes as identified by package [2] and summarized [3]. Node.js v6 or above now required. New dependency on @babel/core. Support for ES2018 and browserslist v4. `modules: false` is now the default for preset-env + babel-loader. The .babelrc has been updated. New babel-upgrade tool. babel.config.js can replace .babelrc. Popups doesn't seem to need it. TypeScript and JSX fragment support. [2] https://github.com/babel/babel/blob/efa571a/CHANGELOG.md [3] https://babeljs.io/blog/2018/08/27/7.0.0 - babel-loader Support for Babel 7.x. The following warning is printed when building but perhaps this is due to another dependency: (node:14559) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56 parseQuery() will be replaced with getOptions() in the next major version of loader-utils. https://github.com/webpack/loader-utils/issues/56#issuecomment-286117000 https://github.com/babel/babel-loader/releases/tag/v7.1.5 https://github.com/babel/babel-loader/releases/tag/v8.0.0-beta.0 https://github.com/babel/babel-loader/releases/tag/v8.0.0-beta.1 https://github.com/babel/babel-loader/releases/tag/v8.0.0-beta.2 https://github.com/babel/babel-loader/releases/tag/v8.0.0-beta.3 https://github.com/babel/babel-loader/releases/tag/v8.0.0-beta.4 (v8.0.0-beta.5 was erroneous.) https://github.com/babel/babel-loader/releases/tag/v8.0.0-beta.6 https://github.com/babel/babel-loader/releases/tag/v8.0.0 https://github.com/babel/babel-loader/releases/tag/v8.0.1 https://github.com/babel/babel-loader/releases/tag/v8.0.2 https://github.com/babel/babel-loader/releases/tag/v8.0.3 https://github.com/babel/babel-loader/releases/tag/v8.0.4 Bug: T197883 Change-Id: Ie3a5404630fde87ea7fe618a842950ed8c0c6494 --- .babelrc | 4 +--- .nycrc.json | 2 +- package.json | 7 ++++--- resources/dist/index.js | Bin 37695 -> 37922 bytes resources/dist/index.js.json | Bin 183975 -> 184486 bytes tests/node-qunit/run.js | 4 ++-- webpack.config.js | 4 +++- 7 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.babelrc b/.babelrc index d708cfe15..3901f7fb1 100644 --- a/.babelrc +++ b/.babelrc @@ -1,10 +1,8 @@ { "presets": [ [ - "env", + "@babel/preset-env", { - // Do not transform modules to CommonJS. - "modules": false, // See modern tier: https://www.mediawiki.org/wiki/Compatibility#Browser_support_matrix "targets": { // https://en.wikipedia.org/wiki/Google_Chrome_version_history diff --git a/.nycrc.json b/.nycrc.json index 10f86cf16..bbd18e348 100644 --- a/.nycrc.json +++ b/.nycrc.json @@ -14,7 +14,7 @@ "//": "Set the coverage percentage by category thresholds.", "statements": 90, - "branches": 85, + "branches": 80, "functions": 85, "lines": 90, diff --git a/package.json b/package.json index 6d445a7aa..aaf399647 100644 --- a/package.json +++ b/package.json @@ -18,10 +18,11 @@ "node": "6.11.0" }, "devDependencies": { + "@babel/core": "7.2.0", + "@babel/preset-env": "7.2.0", + "@babel/register": "7.0.0", "@wikimedia/mw-node-qunit": "5.0.0", - "babel-loader": "7.1.4", - "babel-preset-env": "1.6.0", - "babel-register": "6.24.1", + "babel-loader": "8.0.4", "bundlesize": "0.15.3", "clean-webpack-plugin": "0.1.19", "eslint-config-wikimedia": "0.8.1", diff --git a/resources/dist/index.js b/resources/dist/index.js index f8cdbdca5d477959bde17446e2d0d2b1b82138e6..62eca8836cfc202549f881b1c5520f71c7262245 100644 GIT binary patch delta 2700 zcmZWreP|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cOEl zw*2E13E2bz>MIHJSw)reXTAd+;NvqND&X{kv(qq+8zg1Ns?Db~E|*Y@v~X7fUA39X)K}B3TxR9VLHN4Y+jfUq|ZL1^}vD6jh)~Q{V8* zkjba#hMEwAJ`-2vJ98aylfTRXP0FV8JwXIi3Uoevekh1Me_Gx+|IIy}jQDkc?WzfC z*j}*+NUycE=mKe@o0~N4=nx(?9L(kO3%H4wDs?a4Uij$_{cJB5fRR63d{?P&m4CDJ z+5azko(k890v{7{`|2d5@y^v$vjra&nx0|hj%ybK z`)Z9acY0zR0CRH{?+Mk}q)vO~AABzKP;0F#goP%5@x@LkyCoT3Jy>q}(zhyo_p85z zV6E-ehMh20p9uyU87_kJ>tB0Ls<$HTXol1PiUFaO{9U-EDFu1+)@NY+{jF4G>@E*| I{cnN)0nw}eHUIzs diff --git a/resources/dist/index.js.json b/resources/dist/index.js.json index 362fe154fa67bff70aa2acdfc4b45e3e8a2b38e1..6378227e5e9e934f33f1a0aba52be6c2bc6176c1 100644 GIT binary patch delta 9116 zcmZ`-Ab*>(uEMsQc<(aX^9@}Ha9%IuFYwMP}p&WeQ)zj1VS}m#7>K+`7TCLVD zwYJt`aAPnrkk~BO3)mQ!O^7K1#vqKxF-!6zOF>l%s`4jA_(egbD&a?{qOw$~lJA@= zP0x7wGwOHWz2~0uo&CId;hC%c;<>9{`oqz86k5$fe)1njfBE+729=#&`K)oaT&$GJ zJ^az_Z+Cm0$*-^R9J!)UZdD4!uDbf<;$-#YZ|6?dE6rM@Q{2VAUZqzrri-QGa1y=l z$lTmeMNXZYv`;;B>|Hy>y<&5x*eq0v-O2B7|K*VrmF9lFUfD_DcsEn57Yn^sXY$iK zUp_NusgFmWx_iU0g%Hw63XuyLmJpjpPE^cLFH8@qLD=Y;LJUkJBSc9?uv@xAMpTHX zG%S^fjq)}SfF8kQ_%aEI_oI#`yVL!{l($j&$s zMhbr}@&*x9r{g!z<<$G*KXX-ys1!AIG?6~O5(3w9O#fQ+k4P@7PU4=Edm$q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js +++ b/tests/node-qunit/run.js @@ -2,9 +2,9 @@ const fs = require( 'fs' ), svgInlineLoader = require( 'svg-inline-loader' ); -require( 'babel-register' )( { +require( '@babel/register' )( { presets: [ - [ 'env', { + [ '@babel/preset-env', { targets: { node: 6 } diff --git a/webpack.config.js b/webpack.config.js index 3085448eb..a0e6e5e36 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -50,7 +50,9 @@ const conf = { exclude: /node_modules/, use: { loader: 'babel-loader', - options: { cacheDirectory: true } + options: { + cacheDirectory: true + } } }, {