You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

json-autosave

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-autosave - npm Package Compare versions

Comparing version

to
1.1.1

7

index.js

@@ -82,3 +82,8 @@ var fsos = require('fsos');

}).catch(function(e) {
var data = options.data || null;
if (options.data === undefined) {
// JSON.stringify(undefined) === undefined…
var data = null;
} else {
var data = options.data;
}
fsos.set(file, JSON.stringify(data)).then(function() {

@@ -85,0 +90,0 @@ resolve(new JsonSave(data, file, options));

2

package.json
{
"name": "json-autosave",
"version": "1.1.0",
"version": "1.1.1",
"description": "Automatically save a JSON-serializable object.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.