New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mongo-coll-watcher

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongo-coll-watcher - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "mongo-coll-watcher",
"version": "1.0.3",
"version": "1.0.4",
"description": "mongodb change watcher using changes streams, having resumable capabilities.",

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

@@ -35,7 +35,16 @@ const Log = require('lil-logger').getLogger(__filename);

ns: { db, coll },
documentKey
documentKey,
updateDescription,
fullDocument
} = change;
Log.debug({ msg: 'onchange, ns: ' + ns, arg1: change });
try {
this.collListener({ dbName: db, collectionName: coll, type: operationType, id: documentKey });
this.collListener({
updateDescription,
fullDocument,
dbName: db,
collectionName: coll,
type: operationType,
id: documentKey
});

@@ -42,0 +51,0 @@ getCollection(resumeTokenColl)

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