New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lambduh-list-s3-objects

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambduh-list-s3-objects - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

15

index.js

@@ -24,12 +24,13 @@ var Q = require('q');

var keys = data.Contents;
if (options.pattern) {
//TODO: pull in lambduh-validate api?
keys = keys.map(function(object) {
var keys = data.Contents.map(function(object) {
if (options.pattern) {
if (options.pattern.test(object.Key)) {
//TODO: pull in lambduh-validate api?
return object.Key;
}
});
keys = keys.filter(function(v) { return v; });
}
} else {
return object.Key;
}
});
keys = keys.filter(function(v) { return v; });

@@ -36,0 +37,0 @@ def.resolve(keys);

{
"name": "lambduh-list-s3-objects",
"version": "0.1.0",
"version": "0.2.0",
"description": "Get a list of keys from S3 by Bucket, Prefix, and regex",

@@ -5,0 +5,0 @@ "main": "index.js",

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