Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-awspublish

Package Overview
Dependencies
Maintainers
4
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-awspublish - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

lib/s3-paging-stream.js

12

lib/index.js
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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc