Comparing version 1.2.5 to 1.3.0
@@ -1,14 +0,10 @@ | ||
### Change Log (September 13th 2018) | ||
### Change Log (September 14th 2018) | ||
##### Chores | ||
* bumping version number (c27296ff) | ||
* bumping version number (afcf6b66) | ||
##### Documentation Changes | ||
##### New Features | ||
* add build tag (380f5546) | ||
* read aws env variables (#4) (deff7d57) | ||
##### Bug Fixes | ||
* incorrect version number. (2e6c97ad) | ||
@@ -10,4 +10,2 @@ 'use strict'; | ||
process.env.AWS_SDK_LOAD_CONFIG = 1; | ||
function getRouteTables(tagName, tagValue) { | ||
@@ -14,0 +12,0 @@ const params = { |
@@ -15,3 +15,5 @@ 'use strict'; | ||
function EC2() { | ||
if (!process.env.AWS_REGION) process.env.AWS_SDK_LOAD_CONFIG = 1; | ||
return new _awsSdk2.default.EC2(); | ||
} |
{ | ||
"name": "decidr", | ||
"version": "1.2.5", | ||
"version": "1.3.0", | ||
"description": "Suggests an available cidr range for a peering connection", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -29,3 +29,3 @@ # DeCidr [![npm version](https://badge.fury.io/js/decidr.svg)](https://badge.fury.io/js/decidr)[![Build Status](https://app.bitrise.io/app/33bd995fc810085b/status.svg?token=ingp6Eo62-kDbYprYQYybQ&branch=master)](https://app.bitrise.io/app/33bd995fc810085b) | ||
`DeCidr -b 24 -s 10.180.0.0 -e 10.200.0.0 -t Name -x private*-rtb` | ||
`DeCidr -b 24 -s 10.180.0.0 -e 10.200.0.0 -n Name -x private*-rtb` | ||
@@ -32,0 +32,0 @@ Output: |
@@ -5,4 +5,2 @@ import { | ||
process.env.AWS_SDK_LOAD_CONFIG = 1; | ||
function getRouteTables(tagName, tagValue) { | ||
@@ -9,0 +7,0 @@ const params = { |
import AWS from 'aws-sdk'; | ||
export function EC2(){ | ||
if(!process.env.AWS_REGION) process.env.AWS_SDK_LOAD_CONFIG = 1; | ||
return new AWS.EC2(); | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
215791
5