Update web push script

This commit is contained in:
Basti 2018-06-14 13:30:07 +02:00
parent d62324013e
commit d243ba304d
2 changed files with 67 additions and 75 deletions

140
package-lock.json generated
View File

@ -33,6 +33,14 @@
}
}
},
"agent-base": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.2.0.tgz",
"integrity": "sha512-c+R/U5X+2zz2+UCrCFv6odQzJdoqI+YecuhnAJLa1zYaMc13zPfwMwZrr91Pd1DYNo/yPRbiM4WVf9whgwFsIg==",
"requires": {
"es6-promisify": "^5.0.0"
}
},
"ajv": {
"version": "5.2.5",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-5.2.5.tgz",
@ -83,9 +91,9 @@
"integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y="
},
"asn1.js": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.0.0.tgz",
"integrity": "sha512-Y+FKviD0uyIWWo/xE0XkUl0x1allKFhzEVJ+//2Dgqpy+n+B77MlPNqvyk7Vx50M9XyVzjnRhDqJAEAsyivlbA==",
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.0.1.tgz",
"integrity": "sha512-aO8EaEgbgqq77IEw+1jfx5c9zTbzvkfuRBuZsSsPnTHMkmd5AI4J6OtITLZFa381jReeaQL67J0GBTUu0+ZTVw==",
"requires": {
"bn.js": "^4.0.0",
"inherits": "^2.0.1",
@ -132,11 +140,6 @@
"resolved": "https://registry.npmjs.org/base64-url/-/base64-url-1.2.1.tgz",
"integrity": "sha1-GZ/WYXAqDnt9yubgaYuwicUvbXg="
},
"base64url": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/base64url/-/base64url-2.0.0.tgz",
"integrity": "sha1-6sFuA+oUOO/5Qj1puqNiYu0fcLs="
},
"basic-auth": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-1.0.4.tgz",
@ -679,11 +682,10 @@
}
},
"ecdsa-sig-formatter": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.9.tgz",
"integrity": "sha1-S8kmJ07Dtau1AW5+HWCSGsJisqE=",
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.10.tgz",
"integrity": "sha1-HFlQAPBKiJffuFAAiSoPTDOvhsM=",
"requires": {
"base64url": "^2.0.0",
"safe-buffer": "^5.0.1"
}
},
@ -740,6 +742,19 @@
}
}
},
"es6-promise": {
"version": "4.2.4",
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.4.tgz",
"integrity": "sha512-/NdNZVJg+uZgtm9eS3O6lrOLYmQag2DjdEXuPaHlZ6RuVqgqaVZfgYCepEIKsLqwdQArOPtC3XzRLqGGfT8KQQ=="
},
"es6-promisify": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",
"integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=",
"requires": {
"es6-promise": "^4.0.3"
}
},
"escape-html": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.2.tgz",
@ -1079,6 +1094,30 @@
"urlsafe-base64": "~1.0.0"
}
},
"https-proxy-agent": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz",
"integrity": "sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ==",
"requires": {
"agent-base": "^4.1.0",
"debug": "^3.1.0"
},
"dependencies": {
"debug": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
"requires": {
"ms": "2.0.0"
}
},
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
}
}
},
"hubot": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/hubot/-/hubot-3.0.1.tgz",
@ -1120,14 +1159,6 @@
"resolved": "https://registry.npmjs.org/hubot-incoming-webhook/-/hubot-incoming-webhook-1.0.1.tgz",
"integrity": "sha1-uy//F5k4hdxt+KN4mVSc/ivyR9o="
},
"hubot-irc": {
"version": "github:67P/hubot-irc#af2d43c46364702e04129c7ec5cf25231f6d40a0",
"from": "github:67P/hubot-irc#feature/get_channel_data",
"requires": {
"irc": "github:matrix-org/node-irc#e80eb07dfe2d1da55f3e0c4ac04dca4fbd2757fd",
"log": "1.4.0"
}
},
"hubot-redis-brain": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/hubot-redis-brain/-/hubot-redis-brain-1.0.0.tgz",
@ -1171,9 +1202,9 @@
}
},
"hubot-web-push-notifications": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/hubot-web-push-notifications/-/hubot-web-push-notifications-1.1.0.tgz",
"integrity": "sha512-A8DwVIaUfzYxtMLBGLRCvrmfeCDQz6odcx40S7gigpzO6ixRlV4n02wxusJ4jsuEyydrSfIYeX17kIQe4jsbNw==",
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/hubot-web-push-notifications/-/hubot-web-push-notifications-1.2.0.tgz",
"integrity": "sha512-qXf1VWU3hH1EwEWSVmFmfuNG2OBr/WEd6Eoi8aFG9YmqpCOXXD9rmxZsLVsFVvJsCqE3W/1eCVrNGEZMUysn7g==",
"requires": {
"cors": "^2.8.4",
"web-push": "^3.3.0"
@ -1188,15 +1219,6 @@
"uuid": "2.0.2"
}
},
"iconv": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/iconv/-/iconv-2.2.3.tgz",
"integrity": "sha1-4ITWDut9c9p/CpwJbkyKvgkL+u0=",
"optional": true,
"requires": {
"nan": "^2.3.5"
}
},
"iconv-lite": {
"version": "0.4.11",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.11.tgz",
@ -1221,20 +1243,6 @@
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.0.5.tgz",
"integrity": "sha1-X6eM8wG4JceKvDBC2BJyMEnqI8c="
},
"irc": {
"version": "github:matrix-org/node-irc#e80eb07dfe2d1da55f3e0c4ac04dca4fbd2757fd",
"from": "github:matrix-org/node-irc#e80eb07dfe2d1da55f3e0c4ac04dca4fbd2757fd",
"requires": {
"iconv": "~2.2.1",
"irc-colors": "^1.1.0",
"node-icu-charset-detector": "~0.2.0"
}
},
"irc-colors": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/irc-colors/-/irc-colors-1.4.2.tgz",
"integrity": "sha512-QZ1g4d9XTGKgBAp7lrltCetefqd3zfYs3SFQ4YyRSORORCmy/9EkU/r8LJrlSnaWc3Z+54EgHXBRlOHaCvpyHA=="
},
"is-buffer": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.5.tgz",
@ -1358,23 +1366,21 @@
}
},
"jwa": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/jwa/-/jwa-1.1.5.tgz",
"integrity": "sha1-oFUs4CIHQs1S4VN3SjKQXDDnVuU=",
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/jwa/-/jwa-1.1.6.tgz",
"integrity": "sha512-tBO/cf++BUsJkYql/kBbJroKOgHWEigTKBAjjBEmrMGYd1QMBC74Hr4Wo2zCZw6ZrVhlJPvoMrkcOnlWR/DJfw==",
"requires": {
"base64url": "2.0.0",
"buffer-equal-constant-time": "1.0.1",
"ecdsa-sig-formatter": "1.0.9",
"ecdsa-sig-formatter": "1.0.10",
"safe-buffer": "^5.0.1"
}
},
"jws": {
"version": "3.1.4",
"resolved": "https://registry.npmjs.org/jws/-/jws-3.1.4.tgz",
"integrity": "sha1-+ei5M46KhHJ31kRLFGT2GIDgUKI=",
"version": "3.1.5",
"resolved": "https://registry.npmjs.org/jws/-/jws-3.1.5.tgz",
"integrity": "sha512-GsCSexFADNQUr8T5HPJvayTjvPIfoyJPtLQBwn5a4WZQchcrPMPMAWcC1AzJVRDKyD6ZPROPAxgv6rfHViO4uQ==",
"requires": {
"base64url": "^2.0.0",
"jwa": "^1.1.4",
"jwa": "^1.1.5",
"safe-buffer": "^5.0.1"
}
},
@ -1629,26 +1635,11 @@
"stream-counter": "~0.2.0"
}
},
"nan": {
"version": "2.10.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz",
"integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==",
"optional": true
},
"negotiator": {
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.5.3.tgz",
"integrity": "sha1-Jp1cR2gQ7JLtvntsLygxY4T5p+g="
},
"node-icu-charset-detector": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/node-icu-charset-detector/-/node-icu-charset-detector-0.2.0.tgz",
"integrity": "sha1-wjINo3Tdy2cfxUy0oOBB4Vb/1jk=",
"optional": true,
"requires": {
"nan": "^2.3.3"
}
},
"node-uuid": {
"version": "1.4.8",
"resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz",
@ -2517,12 +2508,13 @@
"integrity": "sha1-L7HezUxGaqiLD5NBrzPcGv8keNU="
},
"web-push": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/web-push/-/web-push-3.3.0.tgz",
"integrity": "sha512-jp9/TlHV4McLzF7qpQxdOSn+65Sd2/SKmw1MnM2O5vBwy5cA7bHU1h1bwUAVpL74Zl4dKbvndXaccCQrzyVxIQ==",
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/web-push/-/web-push-3.3.1.tgz",
"integrity": "sha512-NoacYKAHUzRa+70kt9gtLBgvOB+VDtwQPBzl9CWp4ye/zp4FQGymdMkdcc2mKNOGQaClgJcMqDaKdwG8EpCzag==",
"requires": {
"asn1.js": "^5.0.0",
"http_ece": "1.0.5",
"https-proxy-agent": "^2.2.1",
"jws": "^3.1.3",
"minimist": "^1.2.0",
"urlsafe-base64": "^1.0.0"

View File

@ -17,7 +17,7 @@
"hubot-irc": "github:67P/hubot-irc#dev",
"hubot-redis-brain": "~1.0.0",
"hubot-remotestorage-logger": "^0.7.0",
"hubot-web-push-notifications": "^1.1.0",
"hubot-web-push-notifications": "^1.2.0",
"hubot-xmpp": "^0.2.5",
"request": "2.30.0"
},