Huge News!Announcing our $40M Series B led by Abstract Ventures.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.21 to 0.0.22

8

index.js

@@ -439,2 +439,3 @@ "use strict";

};
// Returns thisDb
var thisDb = {

@@ -466,2 +467,9 @@ create: function () {

},
getTables: function () {
var tableNames = [];
for (var tableName in file.tables) {
tableNames.push(tableName);
}
return tableNames;
},
table: function (tableName) {

@@ -468,0 +476,0 @@ if (file == null) {

@@ -458,2 +458,4 @@ import * as fs from 'fs'

}
// Returns thisDb

@@ -495,2 +497,12 @@ const thisDb = {

getTables() {
const tableNames: string[] = []
for (let tableName in file.tables) {
tableNames.push(tableName)
}
return tableNames
},
table(tableName: string) {

@@ -497,0 +509,0 @@ if (file == null) {

2

package.json
{
"name": "node-json-database",
"version": "0.0.21",
"version": "0.0.22",
"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