Socket
Socket
Sign inDemoInstall

node-localstorage

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-localstorage - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

14

LocalStorage.js

@@ -98,4 +98,8 @@ // Generated by CoffeeScript 1.10.0

LocalStorage = (function(superClass) {
var instanceMap;
extend(LocalStorage, superClass);
instanceMap = {};
function LocalStorage(_location, quota) {

@@ -108,2 +112,6 @@ var handler;

}
this._location = path.resolve(this._location);
if (instanceMap[this._location] != null) {
return instanceMap[this._location];
}
this.length = 0;

@@ -137,4 +145,7 @@ this._bytesInUse = 0;

};
return Proxy.create(handler, this);
instanceMap[this._location] = Proxy.create(handler, this);
return instanceMap[this._location];
}
instanceMap[this._location] = this;
return instanceMap[this._location];
}

@@ -282,2 +293,3 @@

LocalStorage.prototype._deleteLocation = function() {
delete instanceMap[this._location];
_rm(this._location);

@@ -284,0 +296,0 @@ this._metaKeyMap = {};

2

package.json
{
"name": "node-localstorage",
"version": "1.1.1",
"version": "1.1.2",
"main": "./LocalStorage",

@@ -5,0 +5,0 @@ "description": "A drop-in substitute for the browser native localStorage API that runs on node.js.",

@@ -71,2 +71,3 @@ [![build status](https://secure.travis-ci.org/lmaccherone/node-localstorage.png)](http://travis-ci.org/lmaccherone/node-localstorage)

* 1.1.2 - 2016-01-08 - Resolves issue #17 (thanks, evilaliv3)
* 1.1.1 - 2016-01-04 - Smarter associative array and dot-property syntax support

@@ -73,0 +74,0 @@ * 1.1.0 - 2016-01-03 - **Backward breaking** if you used any of the non-standard methods. They are now all preceded with

Sorry, the diff of this file is not supported yet

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