Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
JsonDOWN.prototype._del = function(key, options, cb) {
MemDOWN.prototype._del.call(this, key, options, noop);
this._writeToDisk(cb);
};
JsonDOWN.prototype._put = function(key, value, options, cb) {
MemDOWN.prototype._put.call(this, key, value, options, noop);
if (!this._isLoadingFromFile) this._writeToDisk(cb);
};