abstract-nosql
Advanced tools
Comparing version 1.4.3 to 1.5.0
@@ -62,2 +62,5 @@ // Generated by CoffeeScript 1.8.0 | ||
var err, result; | ||
if (options == null) { | ||
options = {}; | ||
} | ||
if (this._isExistsSync) { | ||
@@ -85,2 +88,5 @@ result = this._isExistsSync(key, options); | ||
if (this._getSync) { | ||
if (options == null) { | ||
options = {}; | ||
} | ||
result = this._getSync(key, options); | ||
@@ -95,2 +101,5 @@ return result; | ||
if (this._putSync) { | ||
if (options == null) { | ||
options = {}; | ||
} | ||
result = this._putSync(key, value, options); | ||
@@ -105,2 +114,5 @@ return result; | ||
if (this._delSync) { | ||
if (options == null) { | ||
options = {}; | ||
} | ||
result = this._delSync(key, options); | ||
@@ -115,2 +127,5 @@ return result; | ||
if (this._batchSync) { | ||
if (options == null) { | ||
options = {}; | ||
} | ||
result = this._batchSync(operations, options); | ||
@@ -134,2 +149,5 @@ return result; | ||
if (this._openSync) { | ||
if (options == null) { | ||
options = {}; | ||
} | ||
result = this._openSync(options); | ||
@@ -388,2 +406,6 @@ if (result) { | ||
options = {}; | ||
} else { | ||
if (options == null) { | ||
options = {}; | ||
} | ||
} | ||
@@ -432,2 +454,7 @@ if (!this._isBuffer(key)) { | ||
callback = options; | ||
options = {}; | ||
} else { | ||
if (options == null) { | ||
options = {}; | ||
} | ||
} | ||
@@ -447,5 +474,2 @@ if (err = this._checkKey(key, "key", this._isBuffer)) { | ||
} | ||
if (typeof options !== "object") { | ||
options = {}; | ||
} | ||
if (callback) { | ||
@@ -463,2 +487,7 @@ return this._put(key, value, options, callback); | ||
callback = options; | ||
options = {}; | ||
} else { | ||
if (options == null) { | ||
options = {}; | ||
} | ||
} | ||
@@ -475,5 +504,2 @@ if (err = this._checkKey(key, "key", this._isBuffer)) { | ||
} | ||
if (typeof options !== "object") { | ||
options = {}; | ||
} | ||
if (callback) { | ||
@@ -493,2 +519,7 @@ return this._del(key, options, callback); | ||
callback = options; | ||
options = {}; | ||
} else { | ||
if (options == null) { | ||
options = {}; | ||
} | ||
} | ||
@@ -506,5 +537,2 @@ if (typeof array === "function") { | ||
} | ||
if (!options || typeof options !== "object") { | ||
options = {}; | ||
} | ||
for (_i = 0, _len = array.length; _i < _len; _i++) { | ||
@@ -511,0 +539,0 @@ e = array[_i]; |
{ | ||
"name": "abstract-nosql", | ||
"description": "An abstract prototype for nosql database(LevelDOWN API)", | ||
"version": "1.4.3", | ||
"version": "1.5.0", | ||
"contributors": [ | ||
@@ -6,0 +6,0 @@ "Riceball LEE <snowyu.lee@gmail.com> (https://github.com/snowyu)", |
Sorry, the diff of this file is not supported yet
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
162787
33
3375