From 80dbb0db1ac8e297b361e6d8bab26aac3498047a Mon Sep 17 00:00:00 2001
From: Philippe Coval
Date: Wed, 19 Dec 2018 15:24:58 +0100
Subject: [PATCH] npm: Update vulnerable packages
Then regen lock files.
Origin: https://github.com/abandonware/noble/pull/1
Change-Id: I402476a21c76a2f51ee024830647afbcd2cdb36b
Signed-off-by: Philippe Coval
---
package-lock.json | 214 +++++++++++++++++++++++++++-------------------
package.json | 8 +-
2 files changed, 130 insertions(+), 92 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 6334be1dc..8b03fcb1d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12,7 +12,7 @@
"requires": {
"debug": "^2.2.0",
"nan": "^2.10.0",
- "node-pre-gyp": "^0.6.39",
+ "node-pre-gyp": "0.6.x",
"usb": "^1.1.0"
},
"dependencies": {
@@ -190,6 +190,15 @@
}
}
},
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "optional": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
"deep-extend": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
@@ -512,8 +521,7 @@
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
- "optional": true
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"node-pre-gyp": {
"version": "0.6.39",
@@ -947,6 +955,12 @@
"integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E=",
"dev": true
},
+ "async-limiter": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz",
+ "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==",
+ "dev": true
+ },
"balanced-match": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
@@ -967,6 +981,12 @@
"concat-map": "0.0.1"
}
},
+ "browser-stdout": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
+ "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==",
+ "dev": true
+ },
"buster-core": {
"version": "0.6.4",
"resolved": "https://registry.npmjs.org/buster-core/-/buster-core-0.6.4.tgz",
@@ -1004,9 +1024,9 @@
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="
},
"commander": {
- "version": "0.6.1",
- "resolved": "http://registry.npmjs.org/commander/-/commander-0.6.1.tgz",
- "integrity": "sha1-+mihT2qUXVTbvlDYzbMyDp47GgY=",
+ "version": "2.15.1",
+ "resolved": "http://registry.npmjs.org/commander/-/commander-2.15.1.tgz",
+ "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==",
"dev": true
},
"concat-map": {
@@ -1040,11 +1060,11 @@
"dev": true
},
"debug": {
- "version": "2.2.0",
- "resolved": "http://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
- "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.0.tgz",
+ "integrity": "sha512-heNPJUJIqC+xB6ayLAMHaIrmN9HKa7aQO8MGqKpvCA+uJYVcvR6l5kgdrhRuwPFHU7P5/A1w0BjByPHwpfTDKg==",
"requires": {
- "ms": "0.7.1"
+ "ms": "^2.1.1"
}
},
"deep-extend": {
@@ -1066,9 +1086,9 @@
"optional": true
},
"diff": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/diff/-/diff-1.0.2.tgz",
- "integrity": "sha1-Suc/Gu6Nb89ITxoc53zmUdm38Mk=",
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
+ "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==",
"dev": true
},
"dom-serializer": {
@@ -1126,6 +1146,12 @@
"integrity": "sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY=",
"dev": true
},
+ "escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
+ "dev": true
+ },
"exit": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
@@ -1176,9 +1202,15 @@
}
},
"growl": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/growl/-/growl-1.7.0.tgz",
- "integrity": "sha1-3i1mE20ALhErpw8/EMMc98NQsto=",
+ "version": "1.10.5",
+ "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz",
+ "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==",
+ "dev": true
+ },
+ "has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
"dev": true
},
"has-unicode": {
@@ -1187,6 +1219,12 @@
"integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
"optional": true
},
+ "he": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz",
+ "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=",
+ "dev": true
+ },
"htmlparser2": {
"version": "3.8.3",
"resolved": "http://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz",
@@ -1278,24 +1316,6 @@
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
"optional": true
},
- "jade": {
- "version": "0.26.3",
- "resolved": "https://registry.npmjs.org/jade/-/jade-0.26.3.tgz",
- "integrity": "sha1-jxDXl32NefL2/4YqgbBRPMslaGw=",
- "dev": true,
- "requires": {
- "commander": "0.6.1",
- "mkdirp": "0.3.0"
- },
- "dependencies": {
- "mkdirp": {
- "version": "0.3.0",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz",
- "integrity": "sha1-G79asbqCevI1dRQ0kEJkVfSB/h4=",
- "dev": true
- }
- }
- },
"jshint": {
"version": "2.9.7",
"resolved": "https://registry.npmjs.org/jshint/-/jshint-2.9.7.tgz",
@@ -1366,38 +1386,59 @@
}
},
"mocha": {
- "version": "1.8.2",
- "resolved": "http://registry.npmjs.org/mocha/-/mocha-1.8.2.tgz",
- "integrity": "sha1-+2sdB9mPLrpBhUaETDvgcx9145A=",
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz",
+ "integrity": "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==",
"dev": true,
"requires": {
- "commander": "0.6.1",
- "debug": "*",
- "diff": "1.0.2",
- "growl": "1.7.x",
- "jade": "0.26.3",
- "mkdirp": "0.3.3",
- "ms": "0.3.0"
+ "browser-stdout": "1.3.1",
+ "commander": "2.15.1",
+ "debug": "3.1.0",
+ "diff": "3.5.0",
+ "escape-string-regexp": "1.0.5",
+ "glob": "7.1.2",
+ "growl": "1.10.5",
+ "he": "1.1.1",
+ "minimatch": "3.0.4",
+ "mkdirp": "0.5.1",
+ "supports-color": "5.4.0"
},
"dependencies": {
- "mkdirp": {
- "version": "0.3.3",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.3.tgz",
- "integrity": "sha1-WV4lHBNww6aLqyE20ONIuBBa3xM=",
- "dev": true
+ "debug": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
+ "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
+ "dev": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "glob": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
+ "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
},
"ms": {
- "version": "0.3.0",
- "resolved": "http://registry.npmjs.org/ms/-/ms-0.3.0.tgz",
- "integrity": "sha1-A+3DSNYT5mpWSGz9rFO8vomcvWE=",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
"dev": true
}
}
},
"ms": {
- "version": "0.7.1",
- "resolved": "http://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
- "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg="
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
},
"nan": {
"version": "2.12.0",
@@ -1414,6 +1455,23 @@
"debug": "^2.1.2",
"iconv-lite": "^0.4.4",
"sax": "^1.2.4"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "optional": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
+ "optional": true
+ }
}
},
"node-pre-gyp": {
@@ -1491,12 +1549,6 @@
"wrappy": "1"
}
},
- "options": {
- "version": "0.0.6",
- "resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz",
- "integrity": "sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=",
- "dev": true
- },
"os-homedir": {
"version": "1.0.2",
"resolved": "http://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
@@ -1663,6 +1715,15 @@
"integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",
"optional": true
},
+ "supports-color": {
+ "version": "5.4.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz",
+ "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
+ },
"tar": {
"version": "4.4.8",
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz",
@@ -1678,12 +1739,6 @@
"yallist": "^3.0.2"
}
},
- "tinycolor": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/tinycolor/-/tinycolor-0.0.1.tgz",
- "integrity": "sha1-MgtaUtg6u1l42Bo+iH1K77FaYWQ=",
- "dev": true
- },
"usb": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/usb/-/usb-1.5.0.tgz",
@@ -1715,29 +1770,12 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"ws": {
- "version": "0.4.32",
- "resolved": "http://registry.npmjs.org/ws/-/ws-0.4.32.tgz",
- "integrity": "sha1-eHphVEFPPJntg8V3IVOyD+sM7DI=",
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-6.1.2.tgz",
+ "integrity": "sha512-rfUqzvz0WxmSXtJpPMX2EeASXabOrSMk1ruMOV3JBTBjo4ac2lDjGGsbQSyxj8Odhw5fBib8ZKEjDNvgouNKYw==",
"dev": true,
"requires": {
- "commander": "~2.1.0",
- "nan": "~1.0.0",
- "options": ">=0.0.5",
- "tinycolor": "0.x"
- },
- "dependencies": {
- "commander": {
- "version": "2.1.0",
- "resolved": "http://registry.npmjs.org/commander/-/commander-2.1.0.tgz",
- "integrity": "sha1-0SG7roYNmZKj1Re6lvVliOR8Z4E=",
- "dev": true
- },
- "nan": {
- "version": "1.0.0",
- "resolved": "http://registry.npmjs.org/nan/-/nan-1.0.0.tgz",
- "integrity": "sha1-riT4hQgY1mL8q1rPfzuVv6oszzg=",
- "dev": true
- }
+ "async-limiter": "~1.0.0"
}
},
"xpc-connection": {
diff --git a/package.json b/package.json
index 333834b77..04028acaf 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
"win32"
],
"dependencies": {
- "debug": "~2.2.0"
+ "debug": "^4.1.0"
},
"optionalDependencies": {
"@abandonware/bluetooth-hci-socket": "^0.5.3-0",
@@ -41,12 +41,12 @@
"xpc-connection": "~0.1.4"
},
"devDependencies": {
+ "async": "~0.2.9",
"jshint": "latest",
- "mocha": "~1.8.2",
+ "mocha": "^5.2.0",
"should": "~1.2.2",
"sinon": "~1.6.0",
- "async": "~0.2.9",
- "ws": "~0.4.31"
+ "ws": "^6.1.2"
},
"scripts": {
"pretest": "jshint *.js lib/. test/.",