gcs-resumable-upload
Advanced tools
Comparing version 0.7.4 to 0.7.5
@@ -52,3 +52,3 @@ 'use strict' | ||
if (cfg.key) { | ||
var base64Key = new Buffer(cfg.key).toString('base64') | ||
var base64Key = Buffer.from(cfg.key).toString('base64') | ||
this.encryption = { | ||
@@ -197,4 +197,4 @@ key: base64Key, | ||
// this continues an upload in progress. check if the bytes are the same | ||
cachedFirstChunk = new Buffer(cachedFirstChunk) | ||
firstChunk = new Buffer(firstChunk) | ||
cachedFirstChunk = Buffer.from(cachedFirstChunk) | ||
firstChunk = Buffer.from(firstChunk) | ||
@@ -201,0 +201,0 @@ if (!bufferEqual(cachedFirstChunk, firstChunk)) { |
{ | ||
"name": "gcs-resumable-upload", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"description": "Upload a file to Google Cloud Storage with built-in resumable behavior", | ||
@@ -27,5 +27,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"buffer-equal": "0.0.1", | ||
"configstore": "^1.2.1", | ||
"google-auto-auth": "^0.2.1", | ||
"buffer-equal": "^1.0.0", | ||
"configstore": "^3.0.0", | ||
"google-auto-auth": "^0.6.0", | ||
"pumpify": "^1.3.3", | ||
@@ -38,5 +38,5 @@ "request": "^2.61.0", | ||
"is-stream": "^1.0.1", | ||
"mocha": "^2.2.5", | ||
"mockery": "^1.4.0", | ||
"standard": "^5.1.0" | ||
"mocha": "^3.2.0", | ||
"mockery": "^2.0.0", | ||
"standard": "^10.0.1" | ||
}, | ||
@@ -43,0 +43,0 @@ "standard": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17113
+ Addedbuffer-equal@1.0.1(transitive)
+ Addedconfigstore@3.1.5(transitive)
+ Addedcrypto-random-string@1.0.0(transitive)
+ Addeddot-prop@4.2.1(transitive)
+ Addedform-data@2.1.4(transitive)
+ Addedgcp-metadata@0.1.0(transitive)
+ Addedgoogle-auth-library@0.10.0(transitive)
+ Addedgoogle-auto-auth@0.6.1(transitive)
+ Addedis-obj@1.0.1(transitive)
+ Addedjwa@1.4.1(transitive)
+ Addedjws@3.2.2(transitive)
+ Addedmake-dir@1.3.0(transitive)
+ Addedpify@3.0.0(transitive)
+ Addedqs@6.3.3(transitive)
+ Addedrequest@2.76.0(transitive)
+ Addedretry-request@1.3.2(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedunique-string@1.0.0(transitive)
+ Addedwrite-file-atomic@2.4.3(transitive)
+ Addedxdg-basedir@3.0.0(transitive)
- Removedasync@1.4.2(transitive)
- Removedbase64url@0.0.61.0.6(transitive)
- Removedbl@1.1.2(transitive)
- Removedbuffer-equal@0.0.1(transitive)
- Removedcamelcase@1.2.1(transitive)
- Removedcamelcase-keys@1.0.0(transitive)
- Removedconcat-stream@1.4.11(transitive)
- Removedconfigstore@1.4.0(transitive)
- Removedform-data@1.0.1(transitive)
- Removedget-stdin@4.0.1(transitive)
- Removedgoogle-auth-library@0.9.10(transitive)
- Removedgoogle-auto-auth@0.2.4(transitive)
- Removedindent-string@1.2.2(transitive)
- Removedis-finite@1.1.0(transitive)
- Removedisarray@0.0.1(transitive)
- Removedjwa@1.0.2(transitive)
- Removedjws@3.0.0(transitive)
- Removedmap-obj@1.0.1(transitive)
- Removedmeow@2.0.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedobject-assign@1.0.04.1.1(transitive)
- Removedos-homedir@1.0.2(transitive)
- Removedos-tmpdir@1.0.2(transitive)
- Removedosenv@0.1.5(transitive)
- Removedprocess-nextick-args@1.0.7(transitive)
- Removedqs@6.2.4(transitive)
- Removedreadable-stream@1.1.142.0.6(transitive)
- Removedrepeating@1.1.3(transitive)
- Removedrequest@2.74.0(transitive)
- Removedslide@1.1.6(transitive)
- Removedstring-template@0.2.1(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedtypedarray@0.0.7(transitive)
- Removeduuid@2.0.3(transitive)
- Removedwrite-file-atomic@1.3.4(transitive)
- Removedxdg-basedir@2.0.0(transitive)
Updatedbuffer-equal@^1.0.0
Updatedconfigstore@^3.0.0
Updatedgoogle-auto-auth@^0.6.0