Socket
Socket
Sign inDemoInstall

camo

Package Overview
Dependencies
126
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

0.12.4

Diff

scottwrobinson
published 0.12.3 •

Changelog

Source

0.12.3 (2016-11-04)

Bugfixes:

  • Merged PR that allows changes to persist in postValidate and preSave hooks (#85). Fixes #43.
scottwrobinson
published 0.12.2 •

Changelog

Source

0.12.2 (2016-06-27)

Bugfixes:

  • Merged PR that prevents methods from being serialized in toJSON() (#79)
scottwrobinson
published 0.12.1 •

Changelog

Source

0.12.1 (2016-03-02)

Features:

  • Updated README to warn about frequently changing API
  • Added Contributing and Contact sections to README Bugfixes:
  • Fixed issue that prevented save() from being aborted when Promise.reject was returned in a hook (#57)
  • Replaced all .id references to ._id in README
  • Fixed issue where schema types Array and [] were not properly being validated (#53)
  • In README, changed an incorrect reference of .findMany() to .find() (#54)
  • Fixed issue where updated nested data wasn't returned when using .findOneAndUpdate() with NeDB (#55)
scottwrobinson
published 0.12.0 •

Changelog

Source

0.12.0 (2016-02-24)

Features:

  • Added support for sorting with multiple keys (#22)
  • Added support for accepting strings as Dates (#46)
  • Deprecated loadMany, loadOne, loadOneAndUpdate, and loadOneAndDelete in favor of find, findOne, findOneAndUpdate, and findOneAndDelete, respectively (#37)
  • Added documentation on transpiler support for Camo Bugfixes:
  • Changed 'schema({})' to 'this.schema({})' in README since original throws ReferenceError (#52)
scottwrobinson
published 0.11.4 •

Changelog

Source

0.11.4 (2016-01-19)

Bugfixes:

  • Fixed issue with saving/loading deeply nested embedded documents (#35)
  • Removed _id and _schema._id from EmbeddedDocument class (#31)
  • Allow user to specify a custom _id (#29)
scottwrobinson
published 0.11.3 •

Changelog

Source

0.11.3 (2015-12-29)

Features:

  • Added new ValidationError object Bugfixes:
  • Improved some validation tests
  • Fixed min validation
  • Fixed validation for array of embedded documents
  • Moved collectionName method to BaseDocument so EmbeddedDocument can use it (#26)
  • Deprecated id alias from document object (#20)
  • Fixed serialization test for MongoDB IDs
scottwrobinson
published 0.11.2 •

Changelog

Source

0.11.2 (2015-12-15)

Bugfixes:

  • Fixed issue with running 'canonicalize' tests on travis-ci
scottwrobinson
published 0.11.1 •

Changelog

Source

0.11.1 (2015-12-15)

Bugfixes:

  • Removed unused harmony-reflect dependency
scottwrobinson
published 0.11.0 •

Changelog

Source

0.11.0 (2015-12-15)

Features:

  • --harmony-proxies flag is no longer required
  • Class names now declared in static collectionName(). Declaration through constructor is depracated (#16)
  • Added new required schema property (#18 and #19) Bugfixes:
  • Fixed some inconsistencies with id aliasing (partial fix to #20)
234Next
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