From 51fb7f5c49aa53d2b848f0c1c64dd9d48db35826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Mon, 11 Sep 2017 14:20:52 +0200 Subject: [PATCH] deps: Update tus-js-client `tus-js-client` v1.4.4 and up will resume an upload when you reuse the `tus.Upload` instance, where previously it wouldn't. --- package-lock.json | 147 +++++++++++++++++++++++++++++++++++++++++++--- package.json | 2 +- 2 files changed, 141 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1ae26db2d..23a42625f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2041,6 +2041,14 @@ "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=", "dev": true }, + "buffer-from": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-0.1.1.tgz", + "integrity": "sha1-V7GLHaChnsBvM4N6UnWiQjUb114=", + "requires": { + "is-array-buffer-x": "1.4.0" + } + }, "buffer-xor": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", @@ -6130,6 +6138,19 @@ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", "dev": true }, + "has-symbol-support-x": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.1.tgz", + "integrity": "sha512-JkaetveU7hFbqnAC1EV1sF4rlojU2D4Usc5CmS69l6NfmPDnpnFUegzFg33eDkkpNCxZ0mQp65HwUDrNFS/8MA==" + }, + "has-to-string-tag-x": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz", + "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==", + "requires": { + "has-symbol-support-x": "1.4.1" + } + }, "has-unicode": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", @@ -6483,6 +6504,16 @@ "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=", "dev": true }, + "is-array-buffer-x": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/is-array-buffer-x/-/is-array-buffer-x-1.4.0.tgz", + "integrity": "sha512-0GQe5QPJBh9Lmt+PFP9O2BQvwQ1cMPohgL9vRuNIjb5cYi9HeeJESCJeG8lHziniVR+3VolF8YRz6LlfgNpb0A==", + "requires": { + "has-to-string-tag-x": "1.4.1", + "is-object-like-x": "1.5.1", + "to-string-tag-x": "1.4.1" + } + }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -6585,6 +6616,18 @@ "number-is-nan": "1.0.1" } }, + "is-function-x": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/is-function-x/-/is-function-x-3.1.1.tgz", + "integrity": "sha512-klx9TzyFpj8D1aNMSHi6y0+inn2gOmtPQQkVkxTVv5Oa8YNWFJJ5QpIe09p79zHxeJ5FzyA7Ms2vQH2PLXt4OQ==", + "requires": { + "has-to-string-tag-x": "1.4.1", + "is-primitive": "2.0.0", + "normalize-space-x": "1.3.3", + "replace-comments-x": "1.0.3", + "to-string-tag-x": "1.4.1" + } + }, "is-glob": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", @@ -6631,6 +6674,15 @@ "lodash.isfinite": "3.3.2" } }, + "is-object-like-x": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/is-object-like-x/-/is-object-like-x-1.5.1.tgz", + "integrity": "sha512-AtUeYE4Xs8EbuHuG6yBHiLdIlWRPPFidcIs3JE6PJZ/mzUQFOK8X5J1OA+3cVi0rlrdUCjiX52obtCV2hxs+HA==", + "requires": { + "is-function-x": "3.1.1", + "is-primitive": "2.0.0" + } + }, "is-online": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/is-online/-/is-online-5.0.0.tgz", @@ -6691,8 +6743,7 @@ "is-primitive": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", - "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", - "dev": true + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=" }, "is-property": { "version": "1.0.2", @@ -6750,6 +6801,11 @@ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true }, + "is-string": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.4.tgz", + "integrity": "sha1-zDqbaYV9Yh6WNyWiTK7shzuCbmQ=" + }, "is-svg": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-2.1.0.tgz", @@ -6762,8 +6818,7 @@ "is-symbol": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz", - "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=", - "dev": true + "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=" }, "is-typedarray": { "version": "1.0.0", @@ -8059,6 +8114,11 @@ "integrity": "sha1-+4m2WpqAKBgz8LdHizpRBPiY67M=", "dev": true }, + "lodash.isnull": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash.isnull/-/lodash.isnull-3.0.0.tgz", + "integrity": "sha1-+vvlnqHcon7teGU0A53YTC4HxW4=" + }, "lodash.keys": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", @@ -9088,6 +9148,15 @@ "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", "dev": true }, + "normalize-space-x": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/normalize-space-x/-/normalize-space-x-1.3.3.tgz", + "integrity": "sha512-9q953GogZSw2Ba1Pj3rI9T3xIPq5PtQBXEX2T/nKCaRuj8scAicXCsYMBKfKDtohTWaKGrZmBF9h53GJzfZ8TQ==", + "requires": { + "trim-x": "1.0.3", + "white-space-x": "2.0.3" + } + }, "normalize-url": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz", @@ -10795,6 +10864,14 @@ "is-finite": "1.0.2" } }, + "replace-comments-x": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/replace-comments-x/-/replace-comments-x-1.0.3.tgz", + "integrity": "sha512-9i7cX4w+QmkEAelyYVofBP+lLgJZkZ40imH9txxOQVX5F12vDccF+paHIQpDB2LNZY4gjkGbljintKCjUcflow==", + "requires": { + "is-string": "1.0.4" + } + }, "request": { "version": "2.81.0", "resolved": "https://registry.npmjs.org/request/-/request-2.81.0.tgz", @@ -12228,6 +12305,23 @@ "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", "dev": true }, + "to-string-tag-x": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/to-string-tag-x/-/to-string-tag-x-1.4.1.tgz", + "integrity": "sha512-hPekHIGkkJowH45vGmYHLYe335PUnY0XAHa1tomdRpNVZT8wDsbWAbykRvJ81YKjyeBVN4smoNMLtJOWrQj7ZA==", + "requires": { + "lodash.isnull": "3.0.0", + "validate.io-undefined": "1.0.3" + } + }, + "to-string-x": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/to-string-x/-/to-string-x-1.4.1.tgz", + "integrity": "sha512-63i4+t2/xWQCTYTTSFvQJcQzlXAL+0xLSJhOARh6XyDfv2AI5oKcQIVUQ9HwrbeHVLZ1fH+vWnoVLQpQIH/HaQ==", + "requires": { + "is-symbol": "1.0.1" + } + }, "to-utf8": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/to-utf8/-/to-utf8-0.0.1.tgz", @@ -12291,6 +12385,15 @@ "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", "dev": true }, + "trim-left-x": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/trim-left-x/-/trim-left-x-1.3.5.tgz", + "integrity": "sha512-aAp+6wECRhtaGWp44PKbxilvjY+kFPJ2RRweEtleLAZ9hYtM7DL1ShEPl/KF6lu6lAYb8xISF/h9egGjiJpZFQ==", + "requires": { + "to-string-x": "1.4.1", + "white-space-x": "2.0.3" + } + }, "trim-newlines": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", @@ -12303,6 +12406,24 @@ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", "dev": true }, + "trim-right-x": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/trim-right-x/-/trim-right-x-1.3.3.tgz", + "integrity": "sha512-a0Moq+2fFdRXcVjqtDgxtDYx3bRTvsLMmwiK9vEVWuc8Y557oZjA3A6eJ0UcyNEa8DE57KMFSRGPUzrLLDJukg==", + "requires": { + "to-string-x": "1.4.1", + "white-space-x": "2.0.3" + } + }, + "trim-x": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/trim-x/-/trim-x-1.0.3.tgz", + "integrity": "sha512-+fXcHQ+pV3uL/wmuFZGL2uWh4hO7maqPf/534GyV4HAtVe/JE0IX4dFWNgYwGwqMvWztBSW6jrqQSslLggQbOg==", + "requires": { + "trim-left-x": "1.3.5", + "trim-right-x": "1.3.3" + } + }, "tryit": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/tryit/-/tryit-1.0.3.tgz", @@ -12325,11 +12446,13 @@ } }, "tus-js-client": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/tus-js-client/-/tus-js-client-1.4.3.tgz", - "integrity": "sha1-5DN16aGkK2+o2pbPWas4vqQLwdk=", + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/tus-js-client/-/tus-js-client-1.4.4.tgz", + "integrity": "sha1-l5Ry9K4oq81o790iRfzuuMW2Hmc=", "requires": { + "buffer-from": "0.1.1", "extend": "3.0.1", + "lodash.throttle": "4.1.1", "resolve-url": "0.2.1" } }, @@ -12641,6 +12764,11 @@ "spdx-expression-parse": "1.0.4" } }, + "validate.io-undefined": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/validate.io-undefined/-/validate.io-undefined-1.0.3.tgz", + "integrity": "sha1-fif8uzFbhB54JDQxiXZxkp4gt/Q=" + }, "vary": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.1.tgz", @@ -12883,6 +13011,11 @@ "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", "dev": true }, + "white-space-x": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/white-space-x/-/white-space-x-2.0.3.tgz", + "integrity": "sha512-An6uHDfZizY0t7x8iyY8nLej1lnqyaFSyTKjwwqS0VIhvV4tof6a+Et4uJVFlZh7HUAOgKoZfm5hFzl/D4xDgw==" + }, "wide-align": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", diff --git a/package.json b/package.json index 267cb516d..07446575f 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "prettier-bytes": "1.0.4", "promise-settle": "^0.3.0", "socket.io-client": "2.0.1", - "tus-js-client": "1.4.3", + "tus-js-client": "^1.4.4", "url-parse": "1.1.9", "whatwg-fetch": "2.0.3", "yo-yo": "1.4.0",