node-localstorage
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -54,2 +54,5 @@ // Generated by CoffeeScript 1.8.0 | ||
this.quota = quota != null ? quota : 5 * 1024 * 1024; | ||
if (!(this instanceof LocalStorage)) { | ||
return new LocalStorage(this.location, this.quota); | ||
} | ||
this.length = 0; | ||
@@ -56,0 +59,0 @@ this.bytesInUse = 0; |
{ | ||
"name": "node-localstorage", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"main": "./LocalStorage", | ||
@@ -17,3 +17,3 @@ "description": "A drop-in substitute for the browser native localStorage API that runs on node.js.", | ||
"engines": { | ||
"node": ">=0.8" | ||
"node": ">=0.10" | ||
}, | ||
@@ -30,3 +30,3 @@ "repository": { | ||
"scripts": { | ||
"test": "cake testall" | ||
"test": "cake test" | ||
}, | ||
@@ -33,0 +33,0 @@ "licenses": [ |
@@ -62,3 +62,4 @@ [![build status](https://secure.travis-ci.org/lmaccherone/node-localstorage.png)](http://travis-ci.org/lmaccherone/node-localstorage) | ||
* 0.3.5 - 2014-09-21 - Fixed toString() for QuotaExceededError | ||
* 0.3.6 - 2014-12-24 - Allows usage without `new` | ||
* 0.3.5 - 2014-12-23 - Fixed toString() for QuotaExceededError | ||
* 0.3.4 - 2013-07-07 - Moved CoffeeScript to devDependencies | ||
@@ -65,0 +66,0 @@ * 0.3.3 - 2013-04-05 - Added support for '/' in keys by escaping before creating file names |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
17248
142
90