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

kad-chromestorage

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kad-chromestorage - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

5

index.js

@@ -12,2 +12,3 @@ var _ = require('lodash')

KadChromeStorage.prototype.get = function (key, cb) {
var self = this
chrome.storage.local.get(this._prefix + key, function (items) {

@@ -19,6 +20,6 @@ if (!cb) {

cb(new Error('error while retrieving key ' + key))
} else if (!_.has(items, key)) {
} else if (!_.has(items, self._prefix + key)) {
cb(new Error('key not found ' + key))
} else {
cb(null, items[key])
cb(null, items[self._prefix + key])
}

@@ -25,0 +26,0 @@ })

2

package.json
{
"name": "kad-chromestorage",
"version": "0.0.3",
"version": "0.0.4",
"description": "an interface to chrome storage for kad",

@@ -5,0 +5,0 @@ "main": "index.js",

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