config-ninja
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -12,3 +12,2 @@ 'use strict'; | ||
const extender = require('object-extender'); | ||
const objectAssignDeep = require('object-assign-deep'); | ||
@@ -126,3 +125,3 @@ /* | ||
// Merge the configs together. | ||
merged = extender.merge.apply(extender, configList); | ||
merged = extender.merge(...configList); | ||
@@ -142,3 +141,3 @@ // Add the env properties? | ||
// Copy the configs onto the 'config-ninja' object. | ||
objectAssignDeep(ME, merged); | ||
extender.mergeInto(ME, merged); | ||
@@ -145,0 +144,0 @@ // Allow immediate use of 'config'. |
@@ -13,3 +13,3 @@ { | ||
"name": "config-ninja", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Environmental JSON config.", | ||
@@ -36,7 +36,6 @@ "keywords": [ | ||
"dependencies": { | ||
"cli-color": "1.1.x", | ||
"object-assign-deep": "0.0.x", | ||
"object-extender": "1.2.x" | ||
"cli-color": "^1.2.0", | ||
"object-extender": "^2.0.1" | ||
}, | ||
"license": "MIT" | ||
} |
Sorry, the diff of this file is not supported yet
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
2
16121
171
+ Addedcli-color@1.4.0(transitive)
+ Addedes6-weak-map@2.0.3(transitive)
+ Addedis-promise@2.2.2(transitive)
+ Addedmemoizee@0.4.17(transitive)
+ Addedobject-assign-deep@0.4.0(transitive)
+ Addedobject-extender@2.0.4(transitive)
- Removedobject-assign-deep@0.0.x
- Removedcli-color@1.1.0(transitive)
- Removedd@0.1.1(transitive)
- Removedes6-iterator@0.1.3(transitive)
- Removedes6-symbol@2.0.1(transitive)
- Removedes6-weak-map@0.1.4(transitive)
- Removedmemoizee@0.3.10(transitive)
- Removednext-tick@0.2.2(transitive)
- Removedobject-assign@2.0.0(transitive)
- Removedobject-assign-deep@0.0.4(transitive)
- Removedobject-extender@1.2.4(transitive)
- Removedunderscore@1.7.0(transitive)
Updatedcli-color@^1.2.0
Updatedobject-extender@^2.0.1