node-persist
Advanced tools
Comparing version 3.1.2 to 3.1.3
{ | ||
"name": "node-persist", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Super-easy (and fast) persistent data structures in Node.js, modeled after HTML5 localStorage", | ||
@@ -10,3 +10,3 @@ "main": "./src/node-persist.js", | ||
"scripts": { | ||
"test": "./node_modules/mocha/bin/mocha tests/" | ||
"test": "./node_modules/.bin/mocha tests/" | ||
}, | ||
@@ -13,0 +13,0 @@ "repository": { |
@@ -367,3 +367,3 @@ /* | ||
} | ||
if (!this.q[file]?.length) { | ||
if (!this.q[file] || !this.q[file].length) { | ||
delete this.q[file] | ||
@@ -370,0 +370,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36514