Comparing version 1.31.0 to 2.0.0
@@ -0,1 +1,12 @@ | ||
2.0.0 / 2018-07-26 | ||
================== | ||
Potential for backward incompatibility requiring a major version bump. | ||
Safe to upgrade to major version 2 if you're using a recent NodeJS version | ||
and you're not trying to mutate config arrays. | ||
* Added array immutability - jacobemerick | ||
* Removed Node V.4 support | ||
1.31.0 / 2018-05-22 | ||
@@ -2,0 +13,0 @@ =================== |
@@ -558,2 +558,6 @@ // config.js (c) 2010-2015 Loren West and other contributors | ||
}); | ||
} else if (Array.isArray(value)) { | ||
Object.defineProperty(object, propertyName, { | ||
value: Object.freeze(value) | ||
}); | ||
} else { | ||
@@ -560,0 +564,0 @@ Object.defineProperty(object, propertyName, { |
{ | ||
"name": "config", | ||
"version": "1.31.0", | ||
"version": "2.0.0", | ||
"main": "./lib/config.js", | ||
@@ -44,3 +44,3 @@ "description": "Configuration control for production node deployments", | ||
"engines": { | ||
"node": ">= 4.0.0" | ||
"node": ">= 6.0.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "scripts": { |
@@ -165,4 +165,4 @@ Configure your Node.js Applications | ||
<td><img src=https://avatars3.githubusercontent.com/u/2842176?v=4><a href="https://github.com/XadillaX">XadillaX</a></td> | ||
<td><img src=https://avatars2.githubusercontent.com/u/527814?v=4><a href="https://github.com/jacobemerick">jacobemerick</a></td> | ||
<td><img src=https://avatars1.githubusercontent.com/u/4425455?v=4><a href="https://github.com/ncuillery">ncuillery</a></td> | ||
<td><img src=https://avatars0.githubusercontent.com/u/2015295?v=4><a href="https://github.com/patrickpilch">patrickpilch</a></td> | ||
</tr></table> | ||
@@ -169,0 +169,0 @@ |
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
85799
1626