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

mongo-watch

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongo-watch - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

2

package.json
{
"name":"mongo-watch",
"description":"A mongo watcher. This ties into the MongoDB replication oplog, and exposes all data modifications via an EventEmitter.",
"version":"0.2.7",
"version":"0.2.8",
"homepage":"http://github.com/TorchlightSoftware/mongo-watch",

@@ -6,0 +6,0 @@ "repository":"git://github.com/TorchlightSoftware/mongo-watch.git",

@@ -75,2 +75,16 @@ # Mongo Watch

## Replica sets
If you pass a replicaSet array it will be used to establish a connection.
It should keep working in case the primary changes - i.e. when it dies, and secondary takes it place.
```coffee
watcher = new MongoWatch {
replicaSet: [
{host: "currentPrimary.mongoexample.com", port : 10453},
{host: "currentSecondary.mongoexample.com", port : 10452}
]
}
```
## Debugging

@@ -77,0 +91,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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