Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cache-storage

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-storage - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

6

lib/Cache.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc