Comparing version 5.1.5 to 5.2.0
@@ -94,2 +94,4 @@ (function() { | ||
parseError = _error; | ||
parseError.path = objectPath; | ||
parseError.message = "" + objectPath + ": " + parseError.message; | ||
if (typeof callback === "function") { | ||
@@ -227,2 +229,8 @@ callback(parseError); | ||
}, | ||
parse: function(str, reviver) { | ||
if (CSON == null) { | ||
CSON = require('cson-parser'); | ||
} | ||
return CSON.parse(str, reviver); | ||
}, | ||
getCacheHits: function() { | ||
@@ -229,0 +237,0 @@ return stats.hits; |
{ | ||
"name": "season", | ||
"version": "5.1.5", | ||
"version": "5.2.0", | ||
"description": "CSON utilities", | ||
@@ -5,0 +5,0 @@ "licenses": [ |
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
14499
311