MDL-77559 js: Revert "MDL-75012 js: Update browserslist"

This reverts commit 19f5ffb28a.
This commit is contained in:
Andrew Nicols 2023-03-09 08:07:18 +08:00
parent b90a48dd46
commit faea97bd56
3 changed files with 21 additions and 26 deletions

View file

@ -159,6 +159,16 @@ module.exports = grunt => {
], ],
presets: [ presets: [
['@babel/preset-env', { ['@babel/preset-env', {
targets: {
browsers: [
">0.3%",
"last 2 versions",
"not ie >= 0",
"not op_mini all",
"not Opera > 0",
"not dead"
]
},
modules: false, modules: false,
useBuiltIns: false useBuiltIns: false
}] }]

20
npm-shrinkwrap.json generated
View file

@ -3281,19 +3281,13 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001450", "version": "1.0.30001312",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001450.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz",
"integrity": "sha512-qMBmvmQmFXaSxexkjjfMvD5rnDL0+m+dUMZKoDYsGG8iZN29RuYh9eRoMvKsT6uMAWlyUUGDEQGJJYjzCIO9ew==", "integrity": "sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ==",
"funding": [ "funding": {
{
"type": "opencollective", "type": "opencollective",
"url": "https://opencollective.com/browserslist" "url": "https://opencollective.com/browserslist"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
} }
]
}, },
"node_modules/caseless": { "node_modules/caseless": {
"version": "0.12.0", "version": "0.12.0",
@ -15416,9 +15410,9 @@
} }
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001450", "version": "1.0.30001312",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001450.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz",
"integrity": "sha512-qMBmvmQmFXaSxexkjjfMvD5rnDL0+m+dUMZKoDYsGG8iZN29RuYh9eRoMvKsT6uMAWlyUUGDEQGJJYjzCIO9ew==" "integrity": "sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ=="
}, },
"caseless": { "caseless": {
"version": "0.12.0", "version": "0.12.0",

View file

@ -53,14 +53,5 @@
}, },
"dependencies": { "dependencies": {
"@babel/eslint-parser": "^7.17.0" "@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"
]
} }