method-tool
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -16,9 +16,5 @@ "use strict"; | ||
Tool.prototype._castFunction = function (value) { | ||
if (Auth()) | ||
return null; | ||
return typeof value == "function" ? value : this._identity; | ||
}; | ||
Tool.prototype._arrayEach = function (array, iteratee) { | ||
if (Auth()) | ||
return null; | ||
var index = -1, length = array == null ? 0 : array.length; | ||
@@ -33,4 +29,2 @@ while (++index < length) { | ||
Tool.prototype._identity = function (value) { | ||
if (Auth()) | ||
return; | ||
return value; | ||
@@ -156,2 +150,2 @@ }; | ||
var storage = new MyStorage(); | ||
exports.storage = storage; | ||
exports.storage = storage; |
{ | ||
"name": "method-tool", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"main": "index.js", | ||
"license": "MIT" | ||
} |
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
4127
148