@campus-explorer/aws-credentials
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "@campus-explorer/aws-credentials", | ||
"description": "JavaScript helper code to manage AWS credentials", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": "Stephen Caldwell <steve@campusexplorer.com>", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/campus-explorer/aws-credentials-js/issues", |
@@ -13,3 +13,2 @@ /* | ||
const { iniLoader } = AWS.util; | ||
const profiles = {}; | ||
let profilesFromConfig = {}; | ||
@@ -29,19 +28,4 @@ | ||
}); | ||
for ( | ||
let i = 0, profileNames = Object.keys(profilesFromConfig); | ||
i < profiles.length; | ||
i++ | ||
) { | ||
profiles[profileNames[i]] = profilesFromConfig[profileNames[i]]; | ||
} | ||
for ( | ||
let i = 0, profileNames = Object.keys(profilesFromCreds); | ||
i < profileNames.length; | ||
i++ | ||
) { | ||
profiles[profileNames[i]] = profilesFromCreds[profileNames[i]]; | ||
} | ||
return profiles; | ||
return { ...profilesFromConfig, ...profilesFromCreds }; | ||
}); | ||
@@ -48,0 +32,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12133
268
1