Comparing version 5.7.0 to 5.7.2
@@ -0,8 +1,16 @@ | ||
## [Working Changes](https://github.com/sierrasoftworks/iridium) | ||
- [70337bf](https://github.com/sierrasoftworks/iridium/commit/70337bf) Updated CHANGELOG | ||
- [4a78960](https://github.com/sierrasoftworks/iridium/commit/4a78960) Version 5.7.2 | ||
- [dbd34f4](https://github.com/sierrasoftworks/iridium/commit/dbd34f4) (release) Updated CHANGELOG | ||
## [v5.7.1](https://github.com/sierrasoftworks/iridium/tree/v5.7.1) | ||
- [b0e3dd7](https://github.com/sierrasoftworks/iridium/commit/b0e3dd7) Version 5.7.1 | ||
- [bad22e2](https://github.com/sierrasoftworks/iridium/commit/bad22e2) Handle null ObjectID fields correctly | ||
- [9d2bedf](https://github.com/sierrasoftworks/iridium/commit/9d2bedf) (origin/release) Updated CHANGELOG | ||
- [70337bf](https://github.com/sierrasoftworks/iridium/commit/70337bf) (origin/master, origin/HEAD) Updated CHANGELOG | ||
## [v5.7.0](https://github.com/sierrasoftworks/iridium/tree/v5.7.0) | ||
- [3c25d1c](https://github.com/sierrasoftworks/iridium/commit/3c25d1c) Version 5.7.0 | ||
- [ca5b130](https://github.com/sierrasoftworks/iridium/commit/ca5b130) Merge remote-tracking branch 'origin/release' into release | ||
- [709d145](https://github.com/sierrasoftworks/iridium/commit/709d145) (origin/release) Removed old changelog | ||
- [709d145](https://github.com/sierrasoftworks/iridium/commit/709d145) Removed old changelog | ||
- [453b6d1](https://github.com/sierrasoftworks/iridium/commit/453b6d1) Updated CHANGELOG | ||
@@ -25,3 +33,3 @@ | ||
- [6de8a3f](https://github.com/sierrasoftworks/iridium/commit/6de8a3f) Merge branch 'master' into release | ||
- [a98752e](https://github.com/sierrasoftworks/iridium/commit/a98752e) (origin/master, origin/HEAD) Automatically prep _references.d.ts during publish (Fixes [#11](https://github.com/sierrasoftworks/iridium/issues/11)) | ||
- [a98752e](https://github.com/sierrasoftworks/iridium/commit/a98752e) Automatically prep _references.d.ts during publish (Fixes [#11](https://github.com/sierrasoftworks/iridium/issues/11)) | ||
@@ -28,0 +36,0 @@ ## [v5.6.0](https://github.com/sierrasoftworks/iridium/tree/5.6.0) |
@@ -61,3 +61,3 @@ /// <reference path="../_references.d.ts" /> | ||
target.constructor.transforms[name] = { | ||
fromDB: function (value) { return value._bsontype == 'ObjectID' ? new MongoDB.ObjectID(value.id).toHexString() : value; }, | ||
fromDB: function (value) { return value && value._bsontype == 'ObjectID' ? new MongoDB.ObjectID(value.id).toHexString() : value; }, | ||
toDB: function (value) { return value && typeof value === 'string' ? new MongoDB.ObjectID(value) : value; } | ||
@@ -64,0 +64,0 @@ }; |
@@ -66,5 +66,5 @@ /// <reference path="../_references.d.ts" /> | ||
target.constructor.transforms[name] = { | ||
fromDB: value => value._bsontype == 'ObjectID' ? new MongoDB.ObjectID(value.id).toHexString() : value, | ||
fromDB: value => value && value._bsontype == 'ObjectID' ? new MongoDB.ObjectID(value.id).toHexString() : value, | ||
toDB: value => value && typeof value === 'string' ? new MongoDB.ObjectID(value) : value | ||
}; | ||
} |
{ | ||
"name": "iridium", | ||
"version": "5.7.0", | ||
"version": "5.7.2", | ||
"author": "Benjamin Pannell <admin@sierrasoftworks.com>", | ||
@@ -5,0 +5,0 @@ "description": "A custom lightweight ORM for MongoDB designed for power-users", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1113498