config-chain
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -1,2 +0,1 @@ | ||
var ProtoList = require('proto-list') | ||
@@ -53,3 +52,4 @@ , path = require('path') | ||
var json = exports.json = function () { | ||
var file = path.join.apply(null, [].slice.call(arguments)) | ||
var args = [].slice.call(arguments).filter(function (arg) { return arg != null }) | ||
var file = path.join.apply(null, args) | ||
var content | ||
@@ -56,0 +56,0 @@ try { |
{ | ||
"name": "config-chain", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "HANDLE CONFIGURATION ONCE AND FOR ALL", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/dominictarr/config-chain", |
@@ -13,2 +13,4 @@ | ||
assert.equal(path, '/tmp/random-test-config.json') | ||
@@ -12,3 +12,3 @@ | ||
var ini = cc.parse (_ini = INI.stringify(obj)) | ||
console.log(_ini, _json) | ||
console.log(_ini, _json) | ||
assert.deepEqual(json, ini) | ||
@@ -18,3 +18,3 @@ } | ||
test({hello: 'true'}) | ||
test({hello: true}) | ||
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6571
120
0
0