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

@iannisz/node-cms

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iannisz/node-cms - npm Package Compare versions

Comparing version 0.0.39 to 0.0.40

4

package.json
{
"name": "@iannisz/node-cms",
"version": "0.0.39",
"version": "0.0.40",
"description": "Node CMS",

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

"ncp": "^2.0.0",
"node-json-database": "0.0.25",
"node-json-database": "0.0.26",
"queued-copy-dir": "^0.0.2"
}
}

@@ -24,3 +24,5 @@ "use strict";

// Authenticated, execute query
const database = node_json_database_1.db(__dirname + '/../' + dbName);
const database = node_json_database_1.db(__dirname + '/../' + dbName, {
safeAndFriendlyErrors: true
});
if (!database.exists) {

@@ -49,3 +51,5 @@ reject(new QueryError(400, `Database '${dbName}' was not found`));

// Authenticated, execute query
const database = node_json_database_1.db(__dirname + '/../' + dbName);
const database = node_json_database_1.db(__dirname + '/../' + dbName, {
safeAndFriendlyErrors: true
});
if (!database.exists) {

@@ -52,0 +56,0 @@ reject(new QueryError(400, `Database '${dbName}' was not found`));

@@ -29,3 +29,5 @@ import { req, res, log } from 'apache-js-workers'

const database = db(__dirname + '/../' + dbName)
const database = db(__dirname + '/../' + dbName, {
safeAndFriendlyErrors: true
})

@@ -66,3 +68,5 @@ if (!database.exists) {

const database = db(__dirname + '/../' + dbName)
const database = db(__dirname + '/../' + dbName, {
safeAndFriendlyErrors: true
})

@@ -69,0 +73,0 @@ if (!database.exists) {

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