Socket
Socket
Sign inDemoInstall

connect-mongo

Package Overview
Dependencies
296
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous134567Next

4.2.1

Diff

mingchuno
published 4.2.0 •

Changelog

Source

[4.2.0] - 2021-02-24

Added

  • Added mongoose example
  • Revert createAutoRemoveIdx and add back autoRemove and autoRemoveInterval

Fixed

  • Use matchedCount instead of modifiedCount to avoid throwing exceptions when nothing to modify #390
  • Fixed Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency by downgrade to mongodb@3.6.3
  • Revert update session when touch #351
  • Fix cannot read property lastModified of null
  • Fix TS typing error
mingchuno
published 4.2.0-rc2 •

mingchuno
published 4.2.0-rc1 •

mingchuno
published 4.1.0 •

Changelog

Source

[4.1.0] - 2021-02-22

BREAKING CHANGES

  • Support Node.Js 10.x, 12.x and 14.x and drop older support.
  • Review method to connect to MongoDB and keep only mongoUrl and clientPromise options.
  • Remove the "Remove expired sessions compatibility mode". Now library user can choose to create auto remove index on startup or not.
  • Remove fallbackMemory options.
  • Rewrite the library and test case using typescript.

Checkout the complete migration guide for more details.

mingchuno
published 4.1.0-rc1 •

mingchuno
published 4.0.0-rc2 •

mingchuno
published 4.0.0-rc1 •

mingchuno
published 4.0.0 •

mingchuno
published 3.2.0 •

Changelog

Source

[3.2.0] - 2019-11-29

Added

  • Add dbName option (#343)

Fixed

  • Add missing secret option to TS definition (#342)
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