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.1 to 0.4.2

tests/custom-tests.js

13

index.js

@@ -186,2 +186,15 @@ var util = require('util')

ld.destroy = function (name, callback) {
try {
Object.keys(localStorage)
.forEach(function (key) {
if (key.substring(0, name.length + 1) == (name + "!")) {
localStorage.removeItem(key)
}
})
callback()
} catch (e) {
// fail gracefully if no localStorage
}
}

@@ -188,0 +201,0 @@

89

package.json
{
"name" : "localstorage-down"
, "description" : "A Node.js and browserify leveldown API implementation that maps to localstorage in the browser"
, "contributors" : [
"Anton Whalley <antonwhalley@vodafone.ie> (https://github.com/no9)",
"Adam Shih (https://github.com/adamshih)"
"name": "localstorage-down",
"description": "A Node.js and browserify leveldown API implementation that maps to localstorage in the browser",
"contributors": [
"Anton Whalley <antonwhalley@vodafone.ie> (https://github.com/no9)",
"Adam Shih (https://github.com/adamshih)"
],
"keywords": [
"leveldb",
"localstorage",
"leveldown",
"levelup"
],
"version": "0.4.2",
"main": "index.js",
"dependencies": {
"abstract-leveldown": "0.11.3"
},
"devDependencies": {
"tape": "2.3.2",
"levelup": "^0.18.2"
},
"repository": {
"type": "git",
"url": "https://github.com/no9/localstorage-down.git"
},
"browser": {
"bindings": false
},
"testling": {
"files": [
"tests/test.js"
],
"browsers": [
"iexplore/10.0",
"chrome/30.0",
"chrome/31.0",
"firefox/25.0",
"firefox/24.0",
"opera/15.0",
"opera/16.0",
"opera/17.0",
"safari/5.0.5",
"safari/5.1",
"firefox/nightly",
"opera/next",
"chrome/canary",
"iphone/6.0",
"ipad/6.0",
"safari/6.0",
"android-browser/4.2"
]
, "keywords": [
"leveldb",
"localstorage",
"leveldown",
"levelup"
]
, "version" : "0.4.1"
, "main" : "index.js"
, "dependencies" : {
"abstract-leveldown": "0.11.3"
}
, "devDependencies" : {
"tape": "2.3.2"
}
, "repository" : {
"type" : "git"
, "url" : "https://github.com/no9/localstorage-down.git"
}
,"browser": {
"bindings": false
}
,"testling": {
"files": ["tests/test.js"],
"browsers": ["iexplore/10.0", "chrome/30.0","chrome/31.0","firefox/25.0","firefox/24.0", "opera/15.0","opera/16.0","opera/17.0","safari/5.0.5","safari/5.1","firefox/nightly","opera/next","chrome/canary","iphone/6.0","ipad/6.0","safari/6.0", "android-browser/4.2"]
}
, "license" : "MIT"
, "gypfile" : false
},
"license": "MIT",
"gypfile": false
}

@@ -73,3 +73,3 @@ # localstorage-down

(http://localhost:9966)[http://localhost:9966]
[http://localhost:9966](http://localhost:9966)

@@ -76,0 +76,0 @@ Listen to John Cage :

@@ -28,2 +28,3 @@ var tape = require('tape')

require('./custom-tests.js').all(leveldown, tape, testCommon)

@@ -30,0 +31,0 @@

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