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

mongopatch

Package Overview
Dependencies
Maintainers
11
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongopatch - npm Package Versions

124

0.7.2

Diff

Changelog

Source

Version 0.7.2

  • Remove $where clause when performing updates in document mode. It caused noticable database-wide slowdowns. Properties added to the root of the document, which pass the query, are not detected anymore when doing optimistic locking.
kapetan
published 0.7.1 •

Changelog

Source

Version 0.7.1

  • Fix accumulated diff, by excluding skipped documents in the calculation.
kapetan
published 0.7.0 •

Changelog

Source

Version 0.7.0

  • Added document update mode. Uses the whole document as query when performing the update (optimistic locking). This is now the default mode. Issue #3.
  • Validate provided database and collection. Nonexsting database or collection raise an error. Issue #5.
  • Validate command-line arguments. Unknown arguments raise an error. Issue #4.
kapetan
published 0.6.0 •

Changelog

Source

Version 0.6.0

  • Fix command-line argument parsing bug where --dry-run and --parallel didn't work.
  • Mixin provided query when updating document, to make sure the document still statisfies the criteria. Issue #3.
kapetan
published 0.5.3 •

kapetan
published 0.5.2 •

kapetan
published 0.5.1 •

kapetan
published 0.4.1 •

kapetan
published 0.4.0 •

kapetan
published 0.3.2 •

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