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

localstorage-down

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

localstorage-down - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

2

index.js

@@ -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": {

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