From 5671698fa078f3fec713db159c666fe141f60970 Mon Sep 17 00:00:00 2001 From: Snyk bot Date: Wed, 25 Nov 2020 06:27:42 +0200 Subject: [PATCH] fix: upgrade twitch from 4.2.7 to 4.3.0 (#413) --- package-lock.json | 219 +++++++++++++++++++++++++++++++--------------- package.json | 2 +- 2 files changed, 149 insertions(+), 72 deletions(-) diff --git a/package-lock.json b/package-lock.json index 736dc108f..4b49474d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,22 +31,22 @@ } }, "@d-fischer/cache-decorators": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@d-fischer/cache-decorators/-/cache-decorators-2.1.0.tgz", - "integrity": "sha512-w0LJp+hBQOesVxQjMpirv3rZfxqOoWKu4GzJ+/lEVpQTrEos9ckBLnvPNBewG6/AUyuk/xYYijekp8E9r7UBrA==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@d-fischer/cache-decorators/-/cache-decorators-2.1.1.tgz", + "integrity": "sha512-qdRejrYFStvdreFFUH4Tl1AvH+MV34vATj8yqrbis5HVwMqbLbLyb38H1hSKEiWFGBjLtCcgfJtC0LvgJivgzg==", "requires": { - "@d-fischer/shared-utils": "^2.4.0", + "@d-fischer/shared-utils": "^2.4.1", "@types/node": "^14.11.2", - "tslib": "^2.0.1" + "tslib": "^2.0.3" }, "dependencies": { "@d-fischer/shared-utils": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@d-fischer/shared-utils/-/shared-utils-2.4.0.tgz", - "integrity": "sha512-HqS4PAyzJXzs+CtomhsqcvAl34UmDHoiP8BqOkTdMZCkcqW+SMoGekBAxDyX23p7q8E39zRy0S3uyIHD/GPmuA==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@d-fischer/shared-utils/-/shared-utils-2.4.1.tgz", + "integrity": "sha512-JFkiZ1s+Sx4uIoQ7mrMeOkxVxWBpnS4hCm6R7+UUciPmAR0qgKxNt7x079b3cUFTOSbbF0Inp6ReqNK4w/QgUQ==", "requires": { "@types/node": "^14.11.2", - "tslib": "^2.0.1" + "tslib": "^2.0.3" } }, "tslib": { @@ -57,19 +57,11 @@ } }, "@d-fischer/cross-fetch": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@d-fischer/cross-fetch/-/cross-fetch-4.0.1.tgz", - "integrity": "sha512-N2wdpOaSSLtCERlOFLPU3UpW27VSWiPfu65SKWdVrYJP2DeH2ZBwwvDz2OYAWkXb0fSUKQWuWk+yWhDpcmQljQ==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@d-fischer/cross-fetch/-/cross-fetch-4.0.2.tgz", + "integrity": "sha512-3ONhZxPmgCerBi8rU9kDQktF2zMpv7gkVJuoR8I+pYeO4QWccEcqQem0i1mLBh7/y7ejR474RZb3S3EO/Sdi3A==", "requires": { - "node-fetch": "2.6.0", - "whatwg-fetch": "3.0.0" - }, - "dependencies": { - "node-fetch": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", - "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" - } + "node-fetch": "2.6.1" } }, "@d-fischer/deprecate": { @@ -148,29 +140,29 @@ } }, "@d-fischer/rate-limiter": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@d-fischer/rate-limiter/-/rate-limiter-0.2.6.tgz", - "integrity": "sha512-tu8OSno3WEd18CmAqezH17rRNX8rMGmsoIfOwt01r4q0vb+krvftcCLxiN8UwJsSXFgMTp11CXfdsl0wu2VjPg==", + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@d-fischer/rate-limiter/-/rate-limiter-0.2.7.tgz", + "integrity": "sha512-gA2dRIyisT3YkcpOVGvNRbW3tw8X6RHZ10thsc4CpFerynZItNt5fHeP6SidORP8XvI6vBh0NJpwDMfVxcqWEg==", "requires": { - "@d-fischer/logger": "^2.1.0", + "@d-fischer/logger": "^2.1.1", "@d-fischer/promise.allsettled": "^2.0.1", "@types/node": "^12.12.5", - "tslib": "^2.0.1" + "tslib": "^2.0.3" }, "dependencies": { "@d-fischer/logger": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@d-fischer/logger/-/logger-2.1.0.tgz", - "integrity": "sha512-NK2SFtNYfzI5V0/Nws1ANJC2b0K3JB1Uhp7CdS6VH2v3wPBlfM/NXcrrsiPTbCM5QgsZxJDIlQKcI+UYw9terg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@d-fischer/logger/-/logger-2.1.1.tgz", + "integrity": "sha512-E46n4a6AjSFCptzaQrw9y7FF0H2Rci4KJdi6QzjzqaGAHaxyA9IdpVcfKgpG4CCSTA0F6tD7LbgKNR0XoEHhPg==", "requires": { "detect-node": "^2.0.4", - "tslib": "^2.0.1" + "tslib": "^2.0.3" } }, "@types/node": { - "version": "12.12.69", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.69.tgz", - "integrity": "sha512-2F2VQRSFmzqgUEXw75L51MgnnZqc6bKWVSUPfrDPzp6mzGGibeVwyQcpvZvBr5RnsoMRHmC8EcBQiobSeqeJxg==" + "version": "12.19.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.19.6.tgz", + "integrity": "sha512-U2VopDdmBoYBmtm8Rz340mvvSz34VgX/K9+XCuckvcLGMkt3rbMX8soqFOikIPlPBc5lmw8By9NUK7bEFSBFlQ==" }, "tslib": { "version": "2.0.3", @@ -456,14 +448,52 @@ } }, "array.prototype.map": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.2.tgz", - "integrity": "sha512-Az3OYxgsa1g7xDYp86l0nnN4bcmuEITGe1rbdEBVkrqkzMgDcbdQ2R7r41pNzti+4NMces3H8gMmuioZUilLgw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.3.tgz", + "integrity": "sha512-nNcb30v0wfDyIe26Yif3PcV1JXQp4zEeEfupG7L4SRjnD6HLbO5b2a7eVSba53bOx4YCHYMBHt+Fp4vYstneRA==", "requires": { + "call-bind": "^1.0.0", "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1", + "es-abstract": "^1.18.0-next.1", "es-array-method-boxes-properly": "^1.0.0", - "is-string": "^1.0.4" + "is-string": "^1.0.5" + }, + "dependencies": { + "es-abstract": { + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + }, + "is-callable": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", + "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==" + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + } } }, "asn1": { @@ -606,6 +636,15 @@ } } }, + "call-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", + "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.0" + } + }, "callsite": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", @@ -927,11 +966,12 @@ "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==" }, "es-get-iterator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.0.tgz", - "integrity": "sha512-UfrmHuWQlNMTs35e1ypnvikg6jCz3SK8v8ImvmDsh36fCVUR1MqoFDiyn0/k52C8NqO3YsO8Oe0azeesNuqSsQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.1.tgz", + "integrity": "sha512-qorBw8Y7B15DVLaJWy6WdEV/ZkieBcu6QCq/xzWzGOKJqgG1j754vXRfZ3NY7HSShneqU43mPB4OkQBTkvHhFw==", "requires": { - "es-abstract": "^1.17.4", + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.1", "has-symbols": "^1.0.1", "is-arguments": "^1.0.4", "is-map": "^2.0.1", @@ -1349,6 +1389,16 @@ "is-property": "^1.0.2" } }, + "get-intrinsic": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz", + "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, "get-stream": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", @@ -1709,6 +1759,11 @@ "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.1.tgz", "integrity": "sha512-T/S49scO8plUiAOA2DBTBG3JHpn1yiw0kRp6dgiZ0v2/6twi5eiB0rHtHFH9ZIrvlWc6+4O+m4zg5+Z833aXgw==" }, + "is-negative-zero": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz", + "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=" + }, "is-plain-obj": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", @@ -2903,21 +2958,39 @@ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" }, "twitch": { - "version": "4.2.7", - "resolved": "https://registry.npmjs.org/twitch/-/twitch-4.2.7.tgz", - "integrity": "sha512-5k9mDM4Xk3DnnJxHrC0dm1dU7pcnSfIXICt96gKOR/SLtjCFrc/+H6vASc/FB2AK0pXVbyhM7yfbEMXVLrsrUw==", - "requires": { - "@d-fischer/cache-decorators": "^2.0.0", - "@d-fischer/deprecate": "^2.0.1", - "@d-fischer/logger": "^2.0.0", - "@d-fischer/rate-limiter": "^0.2.5", - "@d-fischer/shared-utils": "^2.3.2", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/twitch/-/twitch-4.3.0.tgz", + "integrity": "sha512-Jn2H6YWL/T+IIpcwunYjQt/kSgOqmWog9Bn5UxjLuRxpIVWSlK69lcUz6JL0ywpp10ThCkF/S/LBiS/3z8f0sw==", + "requires": { + "@d-fischer/cache-decorators": "^2.1.1", + "@d-fischer/deprecate": "^2.0.2", + "@d-fischer/logger": "^2.1.1", + "@d-fischer/rate-limiter": "^0.2.7", + "@d-fischer/shared-utils": "^2.4.1", "top-package": "^1.0.0", - "tslib": "^2.0.0", - "twitch-api-call": "^4.2.7", - "twitch-auth": "^4.2.7" + "tslib": "^2.0.3", + "twitch-api-call": "^4.3.0", + "twitch-auth": "^4.3.0" }, "dependencies": { + "@d-fischer/logger": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@d-fischer/logger/-/logger-2.1.1.tgz", + "integrity": "sha512-E46n4a6AjSFCptzaQrw9y7FF0H2Rci4KJdi6QzjzqaGAHaxyA9IdpVcfKgpG4CCSTA0F6tD7LbgKNR0XoEHhPg==", + "requires": { + "detect-node": "^2.0.4", + "tslib": "^2.0.3" + } + }, + "@d-fischer/shared-utils": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@d-fischer/shared-utils/-/shared-utils-2.4.1.tgz", + "integrity": "sha512-JFkiZ1s+Sx4uIoQ7mrMeOkxVxWBpnS4hCm6R7+UUciPmAR0qgKxNt7x079b3cUFTOSbbF0Inp6ReqNK4w/QgUQ==", + "requires": { + "@types/node": "^14.11.2", + "tslib": "^2.0.3" + } + }, "tslib": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", @@ -2926,13 +2999,13 @@ } }, "twitch-api-call": { - "version": "4.2.7", - "resolved": "https://registry.npmjs.org/twitch-api-call/-/twitch-api-call-4.2.7.tgz", - "integrity": "sha512-nnDnPxDC4+mvE5ijb7T3XGm0tL/AEMgKajgn6Ick5IyyKWHg9GIu2PWhDE/ZyrJIIS5+hcTEnlUTbdN7fRBSjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/twitch-api-call/-/twitch-api-call-4.3.0.tgz", + "integrity": "sha512-fRciZkgidQ29UfVczSOUk2Va0vWsZWpyuSUF9aJ+SFq8+lbDf4tFdB8qZTkAKdvSWoo4y3jMkP2rW8bcO3AR6Q==", "requires": { - "@d-fischer/cross-fetch": "^4.0.1", + "@d-fischer/cross-fetch": "^4.0.2", "@d-fischer/qs": "^7.0.2", - "tslib": "^2.0.0" + "tslib": "^2.0.3" }, "dependencies": { "tslib": { @@ -2943,16 +3016,25 @@ } }, "twitch-auth": { - "version": "4.2.7", - "resolved": "https://registry.npmjs.org/twitch-auth/-/twitch-auth-4.2.7.tgz", - "integrity": "sha512-B/hAPZFnrdt+qB/tPRYPvdkMpNy5BVDUBf7nJMCodApXehHwbAYHmP5boS/B3+WYQ64vu3O2ArVpLjlXO5Ajxw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/twitch-auth/-/twitch-auth-4.3.0.tgz", + "integrity": "sha512-rT2CwAq5TxuFUUkmuBJ73IEbJHFQcBvt1kjRsaGZ1HqYLIQ4LnWO3qAXeQ0G8wbYvpPkWSrQiQiFTEIYntvM1g==", "requires": { - "@d-fischer/deprecate": "^2.0.1", - "@d-fischer/shared-utils": "^2.3.2", - "tslib": "^2.0.0", - "twitch-api-call": "^4.2.7" + "@d-fischer/deprecate": "^2.0.2", + "@d-fischer/shared-utils": "^2.4.1", + "tslib": "^2.0.3", + "twitch-api-call": "^4.3.0" }, "dependencies": { + "@d-fischer/shared-utils": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@d-fischer/shared-utils/-/shared-utils-2.4.1.tgz", + "integrity": "sha512-JFkiZ1s+Sx4uIoQ7mrMeOkxVxWBpnS4hCm6R7+UUciPmAR0qgKxNt7x079b3cUFTOSbbF0Inp6ReqNK4w/QgUQ==", + "requires": { + "@types/node": "^14.11.2", + "tslib": "^2.0.3" + } + }, "tslib": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", @@ -3082,11 +3164,6 @@ "resolved": "https://registry.npmjs.org/warframe-name-generator/-/warframe-name-generator-1.0.2.tgz", "integrity": "sha512-YGcSHYQ8BtIh8KjNPVyEBKAaXnLNiII0Kciy7H+uE9Lb+qmgYQX8QWiFk6L3KAmDb1K2kHsfUu6mPDXJVCB1yA==" }, - "whatwg-fetch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz", - "integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==" - }, "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", diff --git a/package.json b/package.json index 72515247f..a97655097 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "ping": "^0.3.0", "rss-feed-emitter": "^3.2.2", "sql-template-strings": "^2.2.2", - "twitch": "^4.2.7", + "twitch": "^4.3.0", "twitch-webhooks": "^4.2.7", "url-exists": "^1.0.3", "utf-8-validate": "^5.0.3",