Socket
Socket
Sign inDemoInstall

gridfs-locks

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gridfs-locks - npm Package Versions

23

1.3.4

Diff

Changelog

Source

1.3.4

  • Added Travis CI automated Testing
  • Updated npm dependencies
  • Fixed license ID in package file
vsivsi
published 1.3.3 •

Changelog

Source

1.3.3

  • Fixed improper emitted errors in lock.renewLock() caused by race conditions with lock release / remove
vsivsi
published 1.3.2 •

Changelog

Source

1.3.2

  • Fixed race issue when mutliple clients simultaneously create new LockCollections backed by the same mongodb server.
vsivsi
published 1.3.1 •

Changelog

Source

1.3.1

  • Fixed failing unit test case
  • Updated mongodb driver version
vsivsi
published 1.3.0 •

Changelog

Source

1.3.0

  • Added support for the new node.js 2.0.x native MongoDB driver
  • Write Locks now clear the write_req flag when released so that chained writes won't block all readers for long periods of time.
  • Updated unit test dependencies
vsivsi
published 1.2.4 •

Changelog

Source

1.2.4

  • Updated version test to recognize mongodb 3.0 as supporting mongo 2.6 queries
vsivsi
published 1.2.3 •

Changelog

Source

1.2.3

  • Fixed issue #3, failing unit tests under Mongodb 2.4.x, et al.
vsivsi
published 1.2.2 •

Changelog

Source

1.2.2

  • Fixed issue #2, a bug that blocked all read locks when a program aborts with an outstanding write lock request, under MongoDB 2.6 only. Thanks to @cearl for reporting.
vsivsi
published 1.2.1 •

Changelog

Source

1.2.1

  • Fixed errors stemming from improper checking of the mongo error code in an emitted error object.
  • Ensure that lockExpiration >= pollingInterval, or expirations may become instantaneous
vsivsi
published 1.2.0 •

Changelog

Source

1.2.0

  • Introduced independant code paths depending on whether a lock collection is hosted on a MongoDB 2.4 or 2.6+ server. Use of one path or the other is transparent to the user.
  • The benefits for MongoDB 2.6 first introduced in v1.1.0 are now back. Support for Mongo 2.4 remains as it was prior to v1.1.0. Both server version use the same gridfs-locks API and have the same functionality, but the MongoDB 2.6 code is simpler and should be more performant, mostly through a reduction in the number of queries used, especially under heavy locking load.
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