Comparing version 1.4.10 to 1.4.11
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 1.4.10 | ||
* @version 1.4.11 | ||
*/ | ||
@@ -14,4 +14,3 @@ "use strict"; | ||
(function (global) { | ||
const next = typeof process !== "undefined" ? process.nextTick : arg => setTimeout(arg, 1), | ||
keys = typeof Reflect !== "undefined" ? Reflect.ownKeys : Object.keys; | ||
const next = typeof process !== "undefined" ? process.nextTick : arg => setTimeout(arg, 1); | ||
@@ -179,3 +178,3 @@ class LRU { | ||
keys(obj).forEach(i => { | ||
Object.keys(obj).forEach(i => { | ||
this[i] = obj[i]; | ||
@@ -182,0 +181,0 @@ }); |
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 1.4.10 | ||
* @version 1.4.11 | ||
*/ | ||
@@ -20,4 +20,3 @@ "use strict"; | ||
return setTimeout(arg, 1); | ||
}, | ||
keys = typeof Reflect !== "undefined" ? Reflect.ownKeys : Object.keys; | ||
}; | ||
@@ -208,3 +207,3 @@ var LRU = function () { | ||
keys(obj).forEach(function (i) { | ||
Object.keys(obj).forEach(function (i) { | ||
_this[i] = obj[i]; | ||
@@ -211,0 +210,0 @@ }); |
{ | ||
"name": "tiny-lru", | ||
"description": "Tiny LRU cache for Client or Server", | ||
"version": "1.4.10", | ||
"version": "1.4.11", | ||
"homepage": "https://github.com/avoidwork/tiny-lru", | ||
@@ -6,0 +6,0 @@ "author": "Jason Mulligan <jason.mulligan@avoidwork.com>", |
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
15222
6
374