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

mongochangestream

Package Overview
Dependencies
Maintainers
0
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongochangestream - npm Package Versions

1
6

0.37.0

Diff

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.
sp-dev
published 0.34.0 •

Changelog

Source

0.34.0

  • Bump default maxSyncDelay to 5 minutes.
sp-dev
published 0.33.0 •

Changelog

Source

0.33.0

  • Fixed cursor exhausted bug with initial scan.
  • Simplified change stream cursor consumption.
  • Resync flag via detectResync.
  • Changed health check options for both initial scan and change stream.
  • Change stream health checker requires a date field to determine if syncing has stopped.
sp-dev
published 0.32.0 •

Changelog

Source

0.32.0

  • Better handling of state transitions.
sp-dev
published 0.31.0 •

Changelog

Source

0.31.0

  • Explicit types for health check failure.
  • Emit the following field to differentiate failure types: failureType with values initialScan and changeStream.
sp-dev
published 0.30.0 •

Changelog

Source

0.30.0

  • Fixed bug preventing a previously completed initial scan from being stopped once restarted.
  • Renamed maintainHealth to enableHealthCheck.
  • Health check only emits now. You must call restart manually to reproduce the previous behavior.
sp-dev
published 0.29.0 •

Changelog

Source

0.29.0

  • Make schema change event more specific - change is now schemaChange.
sp-dev
published 0.28.0 •

Changelog

Source

0.28.0

  • Don't type event emitter so that it can be reused by downstream libraries like mongo2crate and mongo2elastic.
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