cache-storage
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -34,3 +34,3 @@ // Generated by CoffeeScript 1.6.3 | ||
Cache.prototype.generateKey = function(key) { | ||
var char, hash, i, max, _i; | ||
var ch, hash, i, max, _i; | ||
hash = 0; | ||
@@ -42,4 +42,4 @@ if (key.length === 0) { | ||
for (i = _i = 0; 0 <= max ? _i <= max : _i >= max; i = 0 <= max ? ++_i : --_i) { | ||
char = key.charCodeAt(i); | ||
hash = ((hash << 5) - hash) + char; | ||
ch = key.charCodeAt(i); | ||
hash = ((hash << 5) - hash) + ch; | ||
hash |= 0; | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "cache-storage", | ||
"description": "Advanced cache storage for node js", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "David Kudera", |
@@ -150,2 +150,5 @@ # cache-storage | ||
* 1.4.1 | ||
+ Can not use some js reserved words | ||
* 1.4.0 | ||
@@ -152,0 +155,0 @@ + Bug with tests |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
192852
201
0