Socket
Socket
Sign inDemoInstall

camo

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

camo - npm Package Versions

124

0.5.5

Diff

Changelog

Source

0.5.5 (2015-07-15)

Bugfixes:

  • Fixed issue where _id was being reassigned in Mongo, and fixed issue with populating references in Mongo.
  • Fixed issue with Mongo driver where reference validation checks failed.
  • Fixed test Issues.#4 for when running in Mongo.
scottwrobinson
published 0.5.4 •

Changelog

Source

0.5.4 (2015-07-09)

Bugfixes:

  • Fixed issue where Dates were saved in different formats (integers, Date objects, etc). Added way to canonicalize them so all dates look the same in the DB and are also loaded as Date objects.
scottwrobinson
published 0.5.3 •

Changelog

Source

0.5.3 (2015-07-01)

Bugfixes:

  • Fixed issue in .loadMany() where references in arrays were getting loaded too many times. (#4).
    • Added test in issues.test.js
  • Fixed issue in .loadMany() where muliple references to the same object were only getting loaded once. (#5).
    • Added test in issues.test.js
scottwrobinson
published 0.5.2 •

Changelog

Source

0.5.2 (2015-06-30)

  • Version bump, thanks to NPM.
scottwrobinson
published 0.5.0 •

Changelog

Source

0.5.0 (2015-06-26)

Features:

  • Exposed getClient() method for retrieving the active Camo client.
  • Added options parameter to connect() so options can be passed to backend DB client.
  • Static method Document.fromData() is now a private helper method. Static method .create() should be used instead.

Bugfixes:

  • In Document._fromData(), added check to see if ID exists before assigning
  • Changed BaseDocument._fromData() so it returns data in same form as it was passed.
    • i.e. Array of data returned as array, single object returned as single object.
  • Fixed bug where assigning an array of Documents in .create() lost the references.
  • Stopped using the depracated _.extend() alias. Now using _.assign() instead. (#1).
  • Fixed get and set issue with Proxy (#3).
scottwrobinson
published 0.4.0 •

Changelog

Source

0.4.0 (2015-06-22)

Features:

  • Changed .isModel() to .isDocument().
  • Added EmbeddedDocument class and tests.
    • The following features work with EmbeddedDocuments: = Schema options: default, min, max, type, choices = All types supported in Document also work in EmbeddedDocument = Array of EmbeddedDocuments = Pre/post validate, save, and delete hooks
scottwrobinson
published 0.3.2 •

Changelog

Source

0.3.2 (2015-06-19)

Bugfix:

  • Added forked version of harmony-reflect. Only difference is it uses a global to ensure it runs only once.
scottwrobinson
published 0.3.1 •

Changelog

Source

0.3.1 (2015-06-19)

Bugfix:

  • Moved Proxy/Reflect shim to index. Seems to fix problem where shim broke Proxies (even worse).
scottwrobinson
published 0.3.0 •

Changelog

Source

0.3.0 (2015-06-18)

Features:

  • Added support for MongoDB using node-mongodb-native as the backend.
  • Added .toCanonicalId() and .isNativeId() to DatabaseClient and its child classes.
scottwrobinson
published 0.2.1 •

Changelog

Source

0.2.1 (2015-06-17)

  • README fix.
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