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

aedes-persistence-nedb

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aedes-persistence-nedb - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "aedes-persistence-nedb",
"version": "1.0.3",
"version": "1.0.4",
"description": "NeDB persistence for Aedes.",

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

@@ -201,4 +201,8 @@ 'use strict';

self.outgoing.update(query, changes, { returnUpdatedDocs: true }, function (err, num, doc) {
var pkt = transformPacket(doc.packet);
return callback(err, client, pkt);
if (doc) {
var pkt = transformPacket(doc.packet);
return callback(err, client, pkt);
} else {
return callback(err, client, {});
}
});

@@ -205,0 +209,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