Socket
Socket
Sign inDemoInstall

mongo2elastic

Package Overview
Dependencies
248
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.32.0 to 0.33.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 0.33.0
- Latest `mongochangestream` - Drop health check code in favor of `cursorError` event.
# 0.32.0

@@ -2,0 +6,0 @@

4

package.json
{
"name": "mongo2elastic",
"version": "0.32.0",
"version": "0.33.0",
"description": "Sync MongoDB collections to Elasticsearch",

@@ -57,3 +57,3 @@ "main": "dist/index.js",

"minimatch": "^6.2.0",
"mongochangestream": "^0.37.0",
"mongochangestream": "^0.38.0",
"obj-walker": "^1.7.0",

@@ -60,0 +60,0 @@ "p-retry": "^5.1.1",

@@ -23,2 +23,3 @@ # Mongo to Elastic

sync.emitter.on('error', console.error)
sync.emitter.on('cursorError', () => process.exit(1))
// Create index with ignore_malformed enabled

@@ -37,3 +38,3 @@ await sync.createIndexIgnoreMalformed().catch(console.warn)

schemaChange.start()
schemaChange.emitter.on('change', changeStream.stop)
sync.emitter.on('schemaChange', changeStream.stop)
// Run initial scan of collection batching documents by 1000

@@ -40,0 +41,0 @@ const options = { batchSize: 1000 }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc