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

jsonfile-obj-db

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonfile-obj-db - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

10

main.js

@@ -7,6 +7,8 @@ const jsonfile = require( "jsonfile" );

open: function( wConfig ) {
if ( !wConfig ) {
var xP = process.argv[ 1 ].split( "/" );
xP.pop();
WC._DB_NAME = "_id_" + Math.random().toString( 36 ).substr( 2 , 7 );
WC._DB_PATH = process.argv[ 1 ].split( "/" ); xP.pop(); xP = xP.join("/") + "/" + WC._DB_NAME + ".json";
WC._DB_PATH
WC._DB_PATH = xP.join("/") + "/" + WC._DB_NAME + ".json";
WC.save();

@@ -53,5 +55,7 @@ return;

if ( i.length == 0 ) {
if ( !o[ ii ] ) { o[ ii ] = {}; }
o[ ii ] = wNV;
}
else {
else {
if ( !o[ ii ] ) { o[ ii ] = {}; }
o[ ii ] = recReplace( o[ ii ] , i );

@@ -58,0 +62,0 @@ }

{
"name": "jsonfile-obj-db",
"version": "1.0.6",
"version": "1.0.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "main.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