Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

season

Package Overview
Dependencies
Maintainers
4
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

season - npm Package Compare versions

Comparing version 5.1.3 to 5.1.4

12

lib/cson.js
(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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc