localstorage-down
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -59,3 +59,3 @@ var util = require('util') | ||
if (this._pos >= this.db.container.length || this._pos < 0) | ||
if (this._pos >= this.db.container.length() || this._pos < 0) | ||
return setImmediate(callback) | ||
@@ -62,0 +62,0 @@ var key = this.db.container.key(this._pos) |
@@ -6,3 +6,3 @@ function localStorage(dbname){ | ||
for (var i = 0; i < window.localStorage.length; i++){ | ||
if(window.localStorage.key(i).indexOf(dbname) == 0) | ||
if(window.localStorage.key(i).indexOf(dbname + '!') == 0) | ||
this._keys.push(window.localStorage.key(i)) | ||
@@ -9,0 +9,0 @@ } |
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"main": "index.js", | ||
@@ -21,4 +21,4 @@ "dependencies": { | ||
"devDependencies": { | ||
"tape": "2.3.2", | ||
"levelup": "^0.18.2" | ||
"levelup": "^0.18.2", | ||
"tape": "2.3.2" | ||
}, | ||
@@ -25,0 +25,0 @@ "repository": { |
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
21120