Comparing version 5.1.3 to 5.1.4
(function() { | ||
var CSON, crypto, csonCache, fs, getCachePath, isAllCommentsAndWhitespace, parseCacheContents, parseContents, parseContentsSync, parseObject, path, stats, writeCacheFile, writeCacheFileSync, _; | ||
var CSON, crypto, csonCache, fs, getCachePath, isAllCommentsAndWhitespace, parseCacheContents, parseContents, parseContentsSync, parseObject, path, stats, writeCacheFile, writeCacheFileSync; | ||
@@ -8,7 +8,5 @@ crypto = require('crypto'); | ||
_ = require('underscore-plus'); | ||
fs = require('fs-plus'); | ||
CSON = require('cson-parser'); | ||
CSON = null; | ||
@@ -41,2 +39,5 @@ csonCache = null; | ||
if (path.extname(objectPath) === '.cson') { | ||
if (CSON == null) { | ||
CSON = require('cson-parser'); | ||
} | ||
try { | ||
@@ -217,2 +218,5 @@ parsed = CSON.parse(contents); | ||
} | ||
if (CSON == null) { | ||
CSON = require('cson-parser'); | ||
} | ||
return CSON.stringify(object, visitor, space); | ||
@@ -219,0 +223,0 @@ }, |
{ | ||
"name": "season", | ||
"version": "5.1.3", | ||
"version": "5.1.4", | ||
"description": "CSON utilities", | ||
@@ -35,4 +35,3 @@ "licenses": [ | ||
"fs-plus": "2.x", | ||
"optimist": "~0.4.0", | ||
"underscore-plus": "1.x" | ||
"optimist": "~0.4.0" | ||
}, | ||
@@ -39,0 +38,0 @@ "devDependencies": { |
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
14224
3
298
- Removedunderscore-plus@1.x