New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-json-database

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-json-database - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

index.js

@@ -431,3 +431,3 @@ "use strict";

function DataType_JSON(value) {
return _super.call(this, JSON.parse(value)) || this;
return _super.call(this, JSON.stringify(value, null, 2)) || this;
}

@@ -434,0 +434,0 @@ DataType_JSON.prototype.compare = function (_json) {

@@ -437,3 +437,3 @@ import * as fs from 'fs'

constructor(value: string) {
super(JSON.parse(value))
super(JSON.stringify(value, null, 2))
}

@@ -440,0 +440,0 @@

{
"name": "node-json-database",
"version": "0.0.7",
"version": "0.0.8",
"description": "JS Database Management System using JSON files",

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

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