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

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.2 to 1.2.0

6

LocalStorage.js
// Generated by CoffeeScript 1.10.0
(function() {
var JSONStorage, KEY_FOR_EMPTY_STRING, LocalStorage, MetaKey, QUOTA_EXCEEDED_ERR, StorageEvent, _emptyDirectory, _escapeKey, _rm, createMap, events, fs, path,
var JSONStorage, KEY_FOR_EMPTY_STRING, LocalStorage, MetaKey, QUOTA_EXCEEDED_ERR, StorageEvent, _emptyDirectory, _escapeKey, _rm, createMap, events, fs, path, writeSync,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },

@@ -13,2 +13,4 @@ hasProp = {}.hasOwnProperty;

writeSync = require('write-file-atomic').sync;
KEY_FOR_EMPTY_STRING = '---.EMPTY_STRING.---';

@@ -201,3 +203,3 @@

}
fs.writeFileSync(filename, valueString, 'utf8');
writeSync(filename, valueString, 'utf8');
if (!existsBeforeSet) {

@@ -204,0 +206,0 @@ metaKey = new MetaKey(encodedKey, (this._keys.push(key)) - 1);

{
"name": "node-localstorage",
"version": "1.1.2",
"version": "1.2.0",
"main": "./LocalStorage",

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

],
"dependencies": {}
"dependencies": {
"write-file-atomic": "^1.1.4"
}
}

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

* 1.2.0 - 2016-04-09 - Atomic writes (thanks, mvayngrib)
* 1.1.2 - 2016-01-08 - Resolves issue #17 (thanks, evilaliv3)

@@ -73,0 +74,0 @@ * 1.1.1 - 2016-01-04 - Smarter associative array and dot-property syntax support

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