Comparing version 0.5.6 to 0.5.8
@@ -124,5 +124,4 @@ module.exports = | ||
var extras = []; | ||
for (var _i = 0, _a = args[0]; _i < _a.length; _i++) { | ||
var env = _a[_i]; | ||
var rules = args[0][env]; | ||
for (var _i = 0, _a = Object.entries(args[0]); _i < _a.length; _i++) { | ||
var _b = _a[_i], env = _b[0], rules = _b[1]; | ||
assert((lodash_1.isString(rules) && !lodash_1.isEmpty(rules)) || (Array.isArray(rules) && rules.reduce(function (count, rule) { | ||
@@ -129,0 +128,0 @@ return count += (lodash_1.isString(rule) && !lodash_1.isEmpty(rule)) ? 0 : 1; |
{ | ||
"name": "get-env", | ||
"version": "0.5.6", | ||
"version": "0.5.8", | ||
"description": "Return `dev`, `prod`, or optional extra environements based on `process.env.NODE_ENV`", | ||
@@ -37,3 +37,3 @@ "license": "MIT", | ||
"tslint-pilwon": "^0.1.6", | ||
"typescript": "^2.1.0-dev.20161102", | ||
"typescript": "^2.1.1", | ||
"webpack": "^2.1.0-beta.25", | ||
@@ -40,0 +40,0 @@ "webpack-node-externals": "^1.5.4" |
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
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
13401
149