Comparing version 0.0.10 to 0.0.11
@@ -9,2 +9,4 @@ /* | ||
var cjson = require('cjson'); | ||
/* | ||
@@ -92,3 +94,3 @@ * Directory separator for absolute paths. | ||
var finish = function(err, data) { | ||
var out = JSON.parse(data); | ||
var out = cjson.parse(data); | ||
@@ -111,3 +113,3 @@ if(typeof encoding === 'function') { | ||
try { | ||
return JSON.parse(fs.readFileSync(file, 'utf8')); | ||
return cjson.parse(fs.readFileSync(file, 'utf8')); | ||
} catch(e) { | ||
@@ -114,0 +116,0 @@ return null; |
{ | ||
"name": "helper", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Node.js portability and api helper", | ||
@@ -10,5 +10,8 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "https://github.com/sipware/helper.git" | ||
"url": "https://github.com/sislab/helper.git" | ||
}, | ||
"engines": { "node": "*" } | ||
"engines": { "node": "*" }, | ||
"dependencies": { | ||
"cjson": "*" | ||
} | ||
} |
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
3827
116
1
1
+ Addedcjson@*
+ Addedcjson@0.5.0(transitive)
+ Addedjju@1.4.0(transitive)
+ Addedjson-parse-helpfulerror@1.0.3(transitive)