Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

orm

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orm - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

after-load.patch

3

Changelog.md
### 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);

7

lib/Drivers/DDL/SQL.js

@@ -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 @@

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