tiny-lru
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 1.3.1 | ||
* @version 1.3.2 | ||
*/ | ||
@@ -30,3 +30,3 @@ "use strict"; | ||
Object.keys(obj).forEach(i => { | ||
this.cache[i] = obj[i]; | ||
this[i] = obj[i]; | ||
}); | ||
@@ -33,0 +33,0 @@ }; |
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 1.3.1 | ||
* @version 1.3.2 | ||
*/ | ||
@@ -39,3 +39,3 @@ "use strict"; | ||
Object.keys(obj).forEach(function (i) { | ||
_this.cache[i] = obj[i]; | ||
_this[i] = obj[i]; | ||
}); | ||
@@ -42,0 +42,0 @@ }; |
{ | ||
"name": "tiny-lru", | ||
"description": "Tiny LRU cache for Client or Server", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"homepage": "https://github.com/avoidwork/tiny-lru", | ||
@@ -6,0 +6,0 @@ "author": "Jason Mulligan <jason.mulligan@avoidwork.com>", |
12832