New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

monk

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monk - npm Package Versions

1
7

3.0.4

Diff

Changelog

Source

3.0.4 / 2016-07-07

  • Do not fail when inserting empty array
mathieudutour
published 3.0.3 •

Changelog

Source

3.0.3 / 2016-07-06

  • Cast _id recursively (fix #3)
mathieudutour
published 3.0.2 •

Changelog

Source

3.0.2 / 2016-07-06

  • Fix find cursor close when already paused
mathieudutour
published 3.0.1 •

Changelog

Source

3.0.1 / 2016-07-06

  • Fix find cursor pause and resume
mathieudutour
published 3.0.0 •

Changelog

Source

3.0.0 / 2016-07-06

  • remove Mongoskin dependency
  • new documentation using gitbook
  • add opts arg to Collection.count and collection.distinct
  • deprecate Collection.removeById, Collection.findById, Collection.updateById in favor of using remove, findOne and update directly
  • deprecate collection.id and manager.id in favor of monk.id
  • monk('localhost') can be used as a promise which resolves when the connection opens and rejects when it throws an error (fix #24, fix #10)
  • deprecate Collection.findAndModify in favor of Collection.findOneAndDelete and Collection.findOneAndUpdate (fix #74)
  • add Manager.create (fix #50)
  • add option rawCursor to Collection.find to return the raw cursor (fix #103)
mathieudutour
published 2.1.0 •

Changelog

Source

2.1.0 / 2016-06-24

  • add aggregate method (#56)
  • add dropIndex and dropIndexes methods (#113)
  • use util.inherits instead of __proto__
  • Add castIds option to disable the automatic id casting (#1, #72)
mathieudutour
published 2.0.1 •

Changelog

Source

2.0.1 / 2016-06-24

  • Safer insert (#137)
mathieudutour
published 2.0.0 •

Changelog

Source

2.0.0 / 2016-06-23

complete rewrite of monk:

  • return real promises (#104)

  • update mongoskin and mongodb (#111)

  • auto binding of the methods

  • eslint

  • test coverage

  • Support $ne, $in, $nin for id casting

  • Make the sort option behave like fields

  • Collection.update now return an object:

    {
      n: number of matched documents,
      nModified: number of modified documents,
      nUpserted: number of upserted documents
    }
    
rauchg
published 1.0.1 •

Changelog

Source

1.0.1 / 2015-03-25

  • upgrade; mongoskin to 1.4.13
rauchg
published 1.0.0 •

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