Comparing version 2.1.11 to 2.1.12
@@ -0,1 +1,5 @@ | ||
### v2.1.12 | ||
- Add custom-type support to hasMany extra properties. | ||
- Fix SQLite index name collisions (#499) | ||
### v2.1.11 - 19 May 2014 | ||
@@ -2,0 +6,0 @@ - Fix hasMany.getAccessor().count() |
@@ -9,3 +9,3 @@ var _ = require("lodash"); | ||
exports.prepare = function (Model, associations) { | ||
exports.prepare = function (db, Model, associations) { | ||
Model.hasMany = function () { | ||
@@ -40,3 +40,3 @@ var name; | ||
props[k] = Property.normalize({ | ||
prop: props[k], name: k, customTypes: {}, settings: Model.settings | ||
prop: props[k], name: k, customTypes: db.customTypes, settings: Model.settings | ||
}); | ||
@@ -43,0 +43,0 @@ } |
@@ -699,3 +699,3 @@ var ChainFind = require("./ChainFind"); | ||
OneAssociation.prepare(model, one_associations, association_properties, model_fields); | ||
ManyAssociation.prepare(model, many_associations); | ||
ManyAssociation.prepare(opts.db, model, many_associations); | ||
ExtendAssociation.prepare(opts.db, model, extend_associations); | ||
@@ -702,0 +702,0 @@ |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version" : "2.1.11", | ||
"version" : "2.1.12", | ||
"license" : "MIT", | ||
@@ -42,3 +42,3 @@ "homepage" : "http://dresende.github.io/node-orm2", | ||
"sql-query" : "git://github.com/dresende/node-sql-query.git#v0.1.17", | ||
"sql-ddl-sync" : "git://github.com/dresende/node-sql-ddl-sync.git#v0.3.5", | ||
"sql-ddl-sync" : "git://github.com/dresende/node-sql-ddl-sync.git#v0.3.6", | ||
"hat" : "0.0.3", | ||
@@ -45,0 +45,0 @@ "lodash" : "2.4.1" |
## Object Relational Mapping | ||
[![Build Status](https://secure.travis-ci.org/dresende/node-orm2.png?branch=master)](http://travis-ci.org/dresende/node-orm2) | ||
[![](https://badge.fury.io/js/orm.png)](https://npmjs.org/package/orm) | ||
[![Build Status](https://api.travis-ci.org/dresende/node-orm2.svg?branch=master)](http://travis-ci.org/dresende/node-orm2) | ||
[![](https://badge.fury.io/js/orm.svg)](https://npmjs.org/package/orm) | ||
[![](https://gemnasium.com/dresende/node-orm2.png)](https://gemnasium.com/dresende/node-orm2) | ||
@@ -6,0 +6,0 @@ [![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=dresende&url=https://github.com/dresende/node-orm2&title=ORM&language=&tags=github&category=software) |
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable and can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable and can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
226689
63
5767