Socket
Socket
Sign inDemoInstall

aviary-discovery

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aviary-discovery - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "aviary-discovery",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "./src/discover.js",

@@ -12,6 +12,7 @@ 'use strict';

AWS_SECRET_ACCESS_KEY = process.env.AWS_SECRET_ACCESS_KEY,
S3_ENDPOINT = process.env.S3_ENDPOINT;
S3_ENDPOINT = process.env.S3_ENDPOINT,
config;
if (S3_ENDPOINT) {
var config = {
config = {
region: 'us-east-1',

@@ -25,4 +26,7 @@ apiVersions: {

};
AWS_ACCESS_KEY_ID = 'foo';
AWS_SECRET_ACCESS_KEY = 'bar';
} else {
var config = {
config = {
region: 'us-east-1',

@@ -35,2 +39,10 @@ apiVersions: {

if (AWS_ACCESS_KEY_ID) {
config.credentials = new AWS.Credentials(
AWS_ACCESS_KEY_ID,
AWS_SECRET_ACCESS_KEY,
null
);
}
AWS.config.update(config);

@@ -37,0 +49,0 @@

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