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

moltyjs

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moltyjs - npm Package Versions

1
8

0.4.1

Diff

Changelog

Source

[0.4.1] - 2017-12-27

Removed

  • tenant param from insertOne() and insertMany() since is not needed anumore because is already attached to the Document object
yonirt
published 0.4.0 •

Changelog

Source

[0.4.0] - 2017-12-27

Added

  • Binded tenant and mongo client to the validate function in the Schema class, static methods and hooks in order to being able to perform querys directly to the DB from there.
  • Added documentation about:
    • Document creation
    • Hooks
    • Static Method
    • Schema field validation

Changed

  • Documentation about Schema field properties

Fixed

  • Example insertMany in the documentation
yonirt
published 0.3.0 •

Changelog

Source

[0.3.0] - 2017-12-21

Added

  • New method insertMany()
  • New hook for insert many ('insertMany') where this is refered to the Documents Array
  • Option parameter to inserOne() and to insertMany()
  • 'moltyClass' option to findOne()
  • Documentation about changes on insertOne(), insertMany() and hooks.

Removed

  • Hooks from Document instances and keep it just in Model instances

Changed

  • 'insert' hook is now called 'inserOne'
yonirt
published 0.2.1 •

Changelog

Source

[0.2.1] - 2017-12-20

Added

  • Options 'projection' to just exclude or include specific field in the documents results

Changed

  • Documentation about find() method
yonirt
published 0.2.0 •

Changelog

Source

[0.2.0] - 2017-12-18

Added

  • Options 'limit' to limit the results with the find() function
  • Options 'moltyClass' to wrap the result on Molty Document class instead of MongoDB Document class
  • Info abot the find() function and its options

Changed

  • findOne() by find(). findOne() is already deprecated on MongoDB Native Driver
  • Added Cursor support options to 'limit' on find()
  • Unit test suites

Fixed

  • Fix documentation style glitches
yonirt
published 0.1.6 •

Changelog

Source

[0.1.6] - 2017-12-18

Added

  • CHANGELOG
  • Improoved documentation: Added advise about using the library in production environments.
  • Added options behaviours for tenants (noListener, returnNonCachedInstance) MongoDB Native Driver API

Changed

  • Documet methods are now binded to the entire document not only to the payload data.
yonirt
published 0.1.5 •

Changelog

Source

[0.1.5] - 2017-12-17

Added

  • Standarized handler for discriminated documents.
  • Improoved documentation:
    • Schema field properties.
    • Create a new Model.
    • Hooks middlewares.
    • CRUD Operations

Changed

  • Unit testing suites: Models, Discriminators, Hooks, References.
yonirt
published 0.1.4 •

Changelog

Source

[0.1.4] - 2017-12-16

Added

  • Saving and recovering functions documentation.

Fixed

  • Bad initialization on dropped databases.
yonirt
published 0.1.3 •

Changelog

Source

[0.1.3] - 2017-12-16

Added

  • Improoved MongoClient with a better Model handler.

Changed

  • Unit testing suites: CRUD Operations, Discriminators, Indexes.
yonirt
published 0.1.2 •

Changelog

Source

[0.1.2] - 2017-12-16

Added

  • Improoved documentation:
    • Create a new Documet.
    • Create a new Model.

Changed

  • Model creation moved to Model constructor class.
  • Unit testing suites: Models, Discriminators, Hooks, References.
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