aws-sdk-config-loader
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,11 @@ | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://github.com/moqada/aws-sdk-config-loader/compare/v1.0.0...v1.0.1) (2016-03-22) | ||
### Bug Fixes | ||
* **aws-sdk-config-loader:** Fix ReferenceError on Node 0.10.x ([de70c8f](https://github.com/moqada/aws-sdk-config-loader/commit/de70c8f)) | ||
<a name="1.0.0"></a> | ||
@@ -2,0 +12,0 @@ # [1.0.0](https://github.com/moqada/aws-sdk-config-loader/compare/v0.3.1...v1.0.0) (2016-01-04) |
@@ -6,3 +6,11 @@ "use strict"; | ||
}); | ||
var _getIterator2 = require("babel-runtime/core-js/get-iterator"); | ||
var _getIterator3 = _interopRequireDefault(_getIterator2); | ||
exports.default = configProvider; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/** | ||
@@ -25,3 +33,3 @@ * return config object | ||
try { | ||
for (var _iterator = getters[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { | ||
for (var _iterator = (0, _getIterator3.default)(getters), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { | ||
var getter = _step.value; | ||
@@ -28,0 +36,0 @@ |
@@ -6,3 +6,11 @@ "use strict"; | ||
}); | ||
var _assign = require("babel-runtime/core-js/object/assign"); | ||
var _assign2 = _interopRequireDefault(_assign); | ||
exports.default = environmentConfigs; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/** | ||
@@ -17,3 +25,3 @@ * return config object load from environment variables. | ||
if (region) { | ||
return Object.assign({}, config, { region: region }); | ||
return (0, _assign2.default)({}, config, { region: region }); | ||
} | ||
@@ -20,0 +28,0 @@ return config; |
@@ -6,2 +6,11 @@ 'use strict'; | ||
}); | ||
var _assign = require('babel-runtime/core-js/object/assign'); | ||
var _assign2 = _interopRequireDefault(_assign); | ||
var _typeof2 = require('babel-runtime/helpers/typeof'); | ||
var _typeof3 = _interopRequireDefault(_typeof2); | ||
exports.default = fileConfigs; | ||
@@ -19,4 +28,2 @@ | ||
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; } | ||
/** | ||
@@ -52,4 +59,4 @@ * return default config file path | ||
var conf = AWS.util.ini.parse(AWS.util.readFileSync(filename))[prof]; | ||
if ((typeof conf === 'undefined' ? 'undefined' : _typeof(conf)) === 'object' && conf.region) { | ||
return Object.assign({}, config, { region: conf.region }); | ||
if ((typeof conf === 'undefined' ? 'undefined' : (0, _typeof3.default)(conf)) === 'object' && conf.region) { | ||
return (0, _assign2.default)({}, config, { region: conf.region }); | ||
} | ||
@@ -56,0 +63,0 @@ return config; |
{ | ||
"name": "aws-sdk-config-loader", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "AWS config file loader for CLI tools", | ||
@@ -10,3 +10,3 @@ "author": "moqada <moqada@gmail.com>", | ||
"devDependencies": { | ||
"aws-sdk": "^2.2.12", | ||
"aws-sdk": "^2.2.30", | ||
"babel-cli": "^6.1.18", | ||
@@ -16,8 +16,9 @@ "babel-core": "^6.1.21", | ||
"babel-plugin-espower": "^2.0.0", | ||
"babel-plugin-transform-runtime": "^6.6.0", | ||
"babel-preset-es2015": "^6.1.18", | ||
"codecov.io": "^0.1.6", | ||
"esdoc": "^0.4.1", | ||
"eslint": "^1.5.0", | ||
"eslint-config-moqada": "^9.0.0", | ||
"gh-pages": "^0.8.0", | ||
"eslint": "^2.4.0", | ||
"eslint-config-moqada": "^12.0.1", | ||
"gh-pages": "^0.11.0", | ||
"isparta": "^4.0.0", | ||
@@ -63,4 +64,5 @@ "mocha": "^2.3.0", | ||
"dependencies": { | ||
"babel-runtime": "^6.6.1", | ||
"os-homedir": "^1.0.1" | ||
} | ||
} |
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 2 instances 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
13669
158
2
18
4
+ Addedbabel-runtime@^6.6.1
+ Addedbabel-runtime@6.26.0(transitive)
+ Addedcore-js@2.6.12(transitive)
+ Addedregenerator-runtime@0.11.1(transitive)