Socket
Socket
Sign inDemoInstall

mongochangestream

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongochangestream - npm Package Versions

13
6

0.43.0

Diff

Changelog

Source

0.43.0

  • Optionally pass an array of operation types (insert, update, ...) to processChangeStream. This allows you to skip operations you don't care about. For example, a delete operation due to a collection TTL index.
sp-dev
published 0.42.0 •

Changelog

Source

0.42.0

  • NOTE: Breaking change!
  • processChangeStream is now batched, meaning the callback now receives an array of change stream events.
sp-dev
published 0.41.0 •

Changelog

Source

0.41.0

  • More robust error code handling for missingOplogEntry.
sp-dev
published 0.40.0 •

Changelog

Source

0.40.0

  • Don't emit the cursorError event when stopping.
sp-dev
published 0.39.0 •

Changelog

Source

0.39.0

  • Expose FSM via state property for runInitialScan and processChangeStream.
sp-dev
published 0.38.1 •

Changelog

Source

0.38.1

  • Fix bug with fsm. Added accompanying test.
sp-dev
published 0.38.0 •

Changelog

Source

0.38.0

  • Remove all health check code in favor of using the cursorError event.
  • Simplify some code.
  • Add support for sort order (asc, desc) on initial scan.
sp-dev
published 0.37.0 •

Changelog

Source

0.37.0

  • Emit cursorError when an error occurs when calling hasNext. Useful for debugging syncing issues like a missing oplog entry caused by an inadequate oplog window.
  • missingOplogEntry utility function.
  • Change stream health check behavior has changed. The healthCheck.field option has been removed since determining a failed health check relies on a delayed check of a Redis key and not a MongoDB query.
  • Type parameter on initSync to allow for extending the event emitter. Useful for downstream libraries like mongo2mongo and mongo2elastic.
sp-dev
published 0.36.0 •

Changelog

Source

0.36.0

  • Optional pipeline for runInitialScan.
sp-dev
published 0.35.0 •

Changelog

Source

0.35.0

  • Handle master failover scenario properly for initial scan.
  • Emit initialScanComplete when initial scan is complete.
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