Upgrade @ffmpeg/core and fix test script

This commit is contained in:
Jerome Wu 2020-11-03 17:42:38 +08:00
parent d19990d0b5
commit 53900ad60b
2 changed files with 5 additions and 5 deletions

6
package-lock.json generated
View File

@ -2199,9 +2199,9 @@
}
},
"@ffmpeg/core": {
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/@ffmpeg/core/-/core-0.8.0.tgz",
"integrity": "sha512-I92MolCAAeqEQ4h6fLThj2V4KMGMtBOEy0Cua+xHhJKPnPympP+8w99f0sJLPmORPbD7V+mH1KvIcvejnV2j3A==",
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/@ffmpeg/core/-/core-0.8.2.tgz",
"integrity": "sha512-jDAHnWdaq8lHufBuoa+f4nlUZK4ZaxUfEfR/Bj4yFOV2r5vXNmPYEmQxxLYGqxD8b4ck2zpDB351Vp3llRuTxA==",
"dev": true
},
"@hapi/hoek": {

View File

@ -13,7 +13,7 @@
"lint": "eslint src",
"wait": "rimraf dist && wait-on http://localhost:3000/dist/ffmpeg.dev.js",
"test": "npm-run-all -p -r start test:all",
"test:all": "npm-run-all wait test:node:all",
"test:all": "npm-run-all wait test:browser:ffmpeg test:node:all",
"test:node": "node --experimental-wasm-threads --experimental-wasm-bulk-memory node_modules/.bin/_mocha --exit --bail --require ./scripts/test-helper.js",
"test:node:all": "npm run test:node -- ./tests/*.test.js",
"test:browser": "mocha-headless-chrome -a allow-file-access-from-files -a incognito -a no-sandbox -a disable-setuid-sandbox -a disable-logging -t 300000",
@ -49,7 +49,7 @@
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@ffmpeg/core": "^0.8.0",
"@ffmpeg/core": "^0.8.2",
"babel-loader": "^8.1.0",
"chai": "^4.2.0",
"cors": "^2.8.5",