gulp-awspublish
Advanced tools
Comparing version 4.0.1 to 4.1.0
var AWS = require('aws-sdk'), | ||
converter = require('./converter'), | ||
s3pagingStream = require('./s3-paging-stream'), | ||
Stream = require('stream'), | ||
@@ -412,6 +412,7 @@ fs = require('fs'), | ||
lister = client | ||
.listObjects({ Prefix: prefix }) | ||
.createReadStream() | ||
.pipe(converter('Key')); | ||
lister = s3pagingStream(client.listObjectsV2({ Prefix: prefix }), function( | ||
_in | ||
) { | ||
return _in.Key; | ||
}); | ||
@@ -422,3 +423,2 @@ lister.on('data', function(key) { | ||
if (!fileShouldBeDeleted(key, whitelistedFiles)) return; | ||
deleteFile = new Vinyl({}); | ||
@@ -425,0 +425,0 @@ deleteFile.s3 = { |
{ | ||
"name": "gulp-awspublish", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "gulp plugin to publish files to amazon s3", | ||
@@ -38,7 +38,4 @@ "keywords": [ | ||
"plugin-error": "^1.0.1", | ||
"pumpify": "^2.0.1", | ||
"through2": "^3.0.1", | ||
"vinyl": "^2.2.0", | ||
"xml-nodes": "^0.1.5", | ||
"xml-objects": "^1.0.1" | ||
"vinyl": "^2.2.0" | ||
}, | ||
@@ -45,0 +42,0 @@ "devDependencies": { |
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
28752
10
447
- Removedpumpify@^2.0.1
- Removedxml-nodes@^0.1.5
- Removedxml-objects@^1.0.1
- Removedduplexify@4.1.3(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedonce@1.4.0(transitive)
- Removedpump@3.0.2(transitive)
- Removedpumpify@2.0.1(transitive)
- Removedstream-shift@1.0.3(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedxml-nodes@0.1.5(transitive)
- Removedxml-objects@1.0.1(transitive)
- Removedxml2js@0.4.23(transitive)
- Removedxtend@4.0.2(transitive)