Comparing version 2.1.4 to 2.1.5
### v2.2.0 - (to do, in future) | ||
- Fixes error code spelling: `PARAM_MISSMATCH` -> `PARAM_MISMATCH` | ||
### v2.1.5 - 08 Apr 2013 | ||
- Don't create indexes for primary/composite keys; they are created automatically (#484) | ||
### v2.1.4 - 19 Mar 2014 | ||
@@ -5,0 +8,0 @@ - Fix TypeScript module declaration (#362) |
@@ -19,2 +19,3 @@ var orm = require('../../../../'); | ||
connection = db; | ||
db.settings.set('instance.returnAllErrors', true); | ||
@@ -21,0 +22,0 @@ setup(db, cb); |
@@ -21,9 +21,2 @@ var _ = require("lodash"); | ||
} | ||
for (var k in opts.allProperties) { | ||
if (typeof opts.id == "string" && opts.id == k) { | ||
opts.allProperties[k].index = [ opts.table + "_pkey" ]; | ||
} else if (Array.isArray(opts.id) && opts.id.indexOf(k) >= 0) { | ||
opts.allProperties[k].index = [ opts.table + "_pkey" ]; | ||
} | ||
} | ||
@@ -30,0 +23,0 @@ sync.defineCollection(opts.table, opts.allProperties); |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version" : "2.1.4", | ||
"version" : "2.1.5", | ||
"license" : "MIT", | ||
@@ -42,3 +42,3 @@ "homepage" : "http://dresende.github.io/node-orm2", | ||
"sql-query" : "0.1.16", | ||
"sql-ddl-sync" : "git://github.com/dresende/node-sql-ddl-sync.git#v0.2.3", | ||
"sql-ddl-sync" : "git://github.com/dresende/node-sql-ddl-sync.git#v0.2.4", | ||
"hat" : "0.0.3", | ||
@@ -45,0 +45,0 @@ "lodash" : "2.4.1" |
@@ -84,2 +84,7 @@ ## Object Relational Mapping | ||
## Promises | ||
You can use the [promise enabled wrapper library](https://github.com/rafaelkaufmann/q-orm). | ||
## Express | ||
@@ -86,0 +91,0 @@ |
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
224212
63
5707
841
0