Socket
Socket
Sign inDemoInstall

croxydb

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

croxydb - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

21

adapters/jsondb.js

@@ -47,3 +47,7 @@ "use strict";

return functions.get(content, ...db.split("."));
try {
return functions.get(content, ...db.split("."));
} catch(err) {
return undefined;
}

@@ -60,3 +64,7 @@ }

return functions.get(content, ...db.split("."));
try {
return functions.get(content, ...db.split("."));
} catch(err) {
return undefined;
}

@@ -73,3 +81,7 @@ }

return functions.get(content, ...db.split(".")) ? true : false;
try {
return functions.get(content, ...db.split(".")) ? true : false;
} catch(err) {
return false;
}

@@ -140,3 +152,3 @@ }

if(this.get(db)-number <= 1) {
if(this.get(db)-number < 1) {
this.delete(db);

@@ -152,3 +164,2 @@ return (this.get(db) || 0);

this.set(db, this.get(db) ? (this.get(db)-Number(number) <= 1 ? 1 : (isNaN(this.get(db)) ? 1 : this.get(db)-Number(number)) || 1) : 1);
return this.get(db);

@@ -155,0 +166,0 @@

@@ -48,3 +48,7 @@ "use strict";

return functions.get(content, ...db.split("."));
try {
return functions.get(content, ...db.split("."));
} catch(err) {
return undefined;
}

@@ -61,3 +65,7 @@ }

return functions.get(content, ...db.split("."));
try {
return functions.get(content, ...db.split("."));
} catch(err) {
return undefined;
}

@@ -74,3 +82,7 @@ }

return functions.get(content, ...db.split(".")) ? true : false;
try {
return functions.get(content, ...db.split(".")) ? true : false;
} catch(err) {
return false;
}

@@ -133,3 +145,3 @@ }

if(this.get(db)-number <= 1) {
if(this.get(db)-number < 1) {
this.delete(db);

@@ -136,0 +148,0 @@ return (this.get(db) || 0);

@@ -36,3 +36,3 @@ {

},
"version": "0.0.4"
"version": "0.0.5"
}
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