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

2

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

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

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

}
/**
* Util to receive mongo collection changes, in realtime using mongo `ChangeStream`.
* @param {Array} watchedColls - collection names to be watched for changes
* @param {Function} collListener - Common Listener to receive changes by watcher
*/
module.exports = async function(watchedColls, collListener) {

@@ -11,0 +15,0 @@ try {

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