Socket
Socket
Sign inDemoInstall

pouchdb-collections

Package Overview
Dependencies
Maintainers
4
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-collections - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

15

index.js

@@ -21,5 +21,4 @@ 'use strict';

return this.store[mangled];
} else {
return void 0;
}
return void 0;
};

@@ -44,9 +43,9 @@ LazyMap.prototype.set = function (key, value) {

LazyMap.prototype.forEach = function (cb) {
var self = this;
var keys = Object.keys(self.store);
keys.forEach(function (key) {
var value = self.store[key];
key = self.unmangle(key);
var keys = Object.keys(this.store);
for (var i = 0, len = keys.length; i < len; i++) {
var key = keys[i];
var value = this.store[key];
key = this.unmangle(key);
cb(value, key);
});
}
};

@@ -53,0 +52,0 @@

{
"name": "pouchdb-collections",
"version": "1.0.0",
"version": "1.0.1",
"description": "Map and Set shims for PouchDB",

@@ -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