diff --git a/.grunt/tasks/javascript.js b/.grunt/tasks/javascript.js index 834a4d5867f..96767e1d493 100644 --- a/.grunt/tasks/javascript.js +++ b/.grunt/tasks/javascript.js @@ -159,6 +159,16 @@ module.exports = grunt => { ], presets: [ ['@babel/preset-env', { + targets: { + browsers: [ + ">0.3%", + "last 2 versions", + "not ie >= 0", + "not op_mini all", + "not Opera > 0", + "not dead" + ] + }, modules: false, useBuiltIns: false }] diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 7aa5ade54eb..73555cd5198 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -3281,19 +3281,13 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001450", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001450.tgz", - "integrity": "sha512-qMBmvmQmFXaSxexkjjfMvD5rnDL0+m+dUMZKoDYsGG8iZN29RuYh9eRoMvKsT6uMAWlyUUGDEQGJJYjzCIO9ew==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - } - ] + "version": "1.0.30001312", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz", + "integrity": "sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + } }, "node_modules/caseless": { "version": "0.12.0", @@ -15440,9 +15434,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001450", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001450.tgz", - "integrity": "sha512-qMBmvmQmFXaSxexkjjfMvD5rnDL0+m+dUMZKoDYsGG8iZN29RuYh9eRoMvKsT6uMAWlyUUGDEQGJJYjzCIO9ew==" + "version": "1.0.30001312", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz", + "integrity": "sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ==" }, "caseless": { "version": "0.12.0", diff --git a/package.json b/package.json index 8f72e92d1cc..2a1ede26056 100644 --- a/package.json +++ b/package.json @@ -53,14 +53,5 @@ }, "dependencies": { "@babel/eslint-parser": "^7.17.0" - }, - "browserslist": [ - ">0.3%", - "last 2 versions", - "not Android < 5", - "not ie >= 0", - "not op_mini all", - "not Opera > 0", - "not dead" - ] + } }