1
0
mirror of https://github.com/videojs/video.js.git synced 2025-04-13 11:50:49 +02:00

chore(package): upgrade to babel 7.9 and enable bugfixes (#6541)

This commit is contained in:
Gary Katsevman 2020-03-24 11:04:01 -04:00 committed by GitHub
parent fce3ad23b9
commit 2c9687596c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 889 additions and 477 deletions

View File

@ -3,6 +3,7 @@
[ [
"@babel/preset-env", "@babel/preset-env",
{ {
"bugfixes": true,
"loose": true "loose": true
} }
] ]

1350
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -80,7 +80,7 @@
"url": "https://github.com/videojs/video.js.git" "url": "https://github.com/videojs/video.js.git"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.5.5", "@babel/runtime": "^7.9.2",
"@videojs/http-streaming": "1.12.3", "@videojs/http-streaming": "1.12.3",
"@videojs/xhr": "2.5.1", "@videojs/xhr": "2.5.1",
"global": "4.3.2", "global": "4.3.2",
@ -90,10 +90,10 @@
"videojs-vtt.js": "^0.15.2" "videojs-vtt.js": "^0.15.2"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.4.5", "@babel/core": "^7.9.0",
"@babel/plugin-transform-object-assign": "^7.2.0", "@babel/plugin-transform-object-assign": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.5.5", "@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.4.5", "@babel/preset-env": "^7.9.0",
"access-sniff": "^3.2.0", "access-sniff": "^3.2.0",
"autoprefixer": "^9.6.0", "autoprefixer": "^9.6.0",
"bestzip": "^2.1.4", "bestzip": "^2.1.4",
@ -129,12 +129,12 @@
"replace": "^1.1.0", "replace": "^1.1.0",
"rollup": "^1.15.1", "rollup": "^1.15.1",
"rollup-plugin-alias": "^1.5.2", "rollup-plugin-alias": "^1.5.2",
"rollup-plugin-babel": "^4.0.3", "rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^9.3.4", "rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-ignore": "^1.0.5", "rollup-plugin-ignore": "^1.0.5",
"rollup-plugin-json": "^3.1.0", "rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-multi-entry": "^2.0.2", "rollup-plugin-multi-entry": "^2.0.2",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-progress": "^1.1.1", "rollup-plugin-progress": "^1.1.1",
"rollup-plugin-stub": "^1.2.0", "rollup-plugin-stub": "^1.2.0",
"sass": "^1.21.0", "sass": "^1.21.0",

View File

@ -45,6 +45,7 @@ const primedBabel = babel({
compact: false, compact: false,
presets: [ presets: [
['@babel/preset-env', { ['@babel/preset-env', {
bugfixes: true,
loose: true, loose: true,
modules: false modules: false
}] }]