test: Upgrade spec dependencies (#13310)
* 📦 Update mocha, mocha-junit-reporter * 📦 Update graceful-fs, multiparty, q, walkdir * 📦 Update basic-auth * 📦 Update ws * 📦 Update dbus-native * 📦 Upgrade yargs * 🔒 Run `npm audit fix` * 🔧 Fix websocket API change
This commit is contained in:
parent
1a8c986fb1
commit
562eddf0e9
3 changed files with 381 additions and 478 deletions
|
@ -955,8 +955,8 @@ describe('chromium feature', () => {
|
|||
const port = server.address().port
|
||||
wss = new WebSocketServer({ server: server })
|
||||
wss.on('error', done)
|
||||
wss.on('connection', (ws) => {
|
||||
if (ws.upgradeReq.headers['user-agent']) {
|
||||
wss.on('connection', (ws, upgradeReq) => {
|
||||
if (upgradeReq.headers['user-agent']) {
|
||||
done()
|
||||
} else {
|
||||
done('user agent is empty')
|
||||
|
|
831
spec/package-lock.json
generated
831
spec/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -4,25 +4,25 @@
|
|||
"main": "static/main.js",
|
||||
"version": "0.1.0",
|
||||
"devDependencies": {
|
||||
"basic-auth": "^1.0.4",
|
||||
"basic-auth": "^2.0.0",
|
||||
"bluebird": "^3.5.1",
|
||||
"chai": "^4.1.2",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"coffee-script": "1.12.7",
|
||||
"dbus-native": "^0.2.3",
|
||||
"dbus-native": "^0.2.5",
|
||||
"dirty-chai": "^2.0.1",
|
||||
"graceful-fs": "^4.1.9",
|
||||
"graceful-fs": "^4.1.11",
|
||||
"mkdirp": "^0.5.1",
|
||||
"mocha": "^3.1.0",
|
||||
"mocha-junit-reporter": "^1.14.0",
|
||||
"multiparty": "^4.1.3",
|
||||
"q": "^1.4.1",
|
||||
"mocha": "^5.2.0",
|
||||
"mocha-junit-reporter": "^1.17.0",
|
||||
"multiparty": "^4.1.4",
|
||||
"q": "^1.5.1",
|
||||
"send": "^0.16.2",
|
||||
"temp": "^0.8.3",
|
||||
"walkdir": "0.0.11",
|
||||
"walkdir": "0.0.12",
|
||||
"winreg": "^1.2.4",
|
||||
"ws": "^1.1.1",
|
||||
"yargs": "^6.0.0"
|
||||
"ws": "^5.2.0",
|
||||
"yargs": "^11.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"runas": "3.x"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue