informa-db.js
Advanced tools
Comparing version 5.0.0 to 5.5.0
{ | ||
"name": "informa-db.js", | ||
"version": "5.0.0", | ||
"version": "5.5.0", | ||
"description": "DataBases made easier", | ||
@@ -5,0 +5,0 @@ "main": "server.js", |
@@ -24,8 +24,8 @@ const fs = require('fs'); | ||
genProxy(data, saveOnChange, update) { | ||
genProxy(data) { | ||
return new Proxy(data, { | ||
set: (obj, prop, val) => { | ||
obj[prop] = val; | ||
if (saveOnChange) { | ||
update(); | ||
if (this.saveOnChange) { | ||
this.update(); | ||
} | ||
@@ -36,4 +36,4 @@ return true; | ||
delete obj[prop]; | ||
if (saveOnChange) { | ||
update(); | ||
if (this.saveOnChange) { | ||
this.update(); | ||
} | ||
@@ -40,0 +40,0 @@ return true; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
10401