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

aws-param-env

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-param-env - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

8

CHANGELOG.md
# Change Log
## 1.2.0 (2018-01-08)
Improved:
* Added options to define region
## 1.1.0 (2017-09-18)

@@ -7,3 +13,3 @@

* `load()` function that executes the query with a given path
* `load()` function that executes the query with a given path

@@ -10,0 +16,0 @@ ## 1.0.0 (2017-09-13)

4

lib/env.js

@@ -21,5 +21,5 @@ 'use strict';

constructor( paramPath ) {
constructor( paramPath, options ) {
this._query = awsParamStore.newQuery( paramPath );
this._query = awsParamStore.newQuery( paramPath, options );
}

@@ -26,0 +26,0 @@

@@ -5,10 +5,10 @@ 'use strict';

function initializer( path ) {
function initializer( path, options ) {
return new EnvInitializer( path );
return new EnvInitializer( path, options );
}
function load( path ) {
function load( path, options ) {
new EnvInitializer( path ).execute();
initializer( path, options ).execute();
}

@@ -15,0 +15,0 @@

{
"name": "aws-param-env",
"version": "1.1.0",
"version": "1.2.0",
"description": "Module for synchronously loading AWS SSM Parameter Store values into environment variables",

@@ -19,5 +19,14 @@ "main": "lib/index.js",

"scripts": {
"test": "mocha --recursive",
"coverage": "./node_modules/.bin/istanbul cover _mocha -- -R spec --recursive"
"test": "nyc mocha --recursive"
},
"nyc": {
"check-coverage": true,
"include": [
"lib/**/*.js"
],
"reporter": [
"lcov",
"text"
]
},
"repository": {

@@ -36,9 +45,10 @@ "type": "git",

"env-restorer": "^1.0.0",
"istanbul": "^0.4.5",
"proxyquire": "^1.8.0",
"sinon": "^3.2.1"
"mocha": "^4.0.1",
"nyc": "^11.3.0",
"sinon": "^4.0.0"
},
"dependencies": {
"aws-param-store": "^1.0.1"
"aws-param-store": "^1.1.0"
}
}

@@ -30,2 +30,12 @@ [![Build Status](https://travis-ci.org/vandium-io/aws-param-env.svg?branch=master)](https://travis-ci.org/vandium-io/aws-param-env)

If your AWS region is not set in your environment variables, then it can be set programmatically by supplying
options when calling `load()`:
```js
const awsParamEnv = require( 'aws-param-env' );
awsParamEnv.load( '/my-service-path-in-ssm/env', { region: 'us-east-1' } );
```
## Feedback

@@ -32,0 +42,0 @@

Sorry, the diff of this file is not supported yet

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