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 4.0.0 to 4.0.1

3

Changelog.md

@@ -0,1 +1,4 @@

### v4.0.1
- Fix undefinedAsync accessor methods.
### v4.0.0

@@ -2,0 +5,0 @@ - Added Promise support (see readme & wiki) ([#807](../../pull/807))

10

lib/Associations/Many.js

@@ -63,3 +63,3 @@ var _ = require("lodash");

{ makeKey: makeKey, required: true }
)
);

@@ -88,9 +88,3 @@ var assocName = opts.name || ucfirst(name);

delAccessor : opts.delAccessor || ("remove" + assocTemplateName),
addAccessor : opts.addAccessor || ("add" + assocTemplateName),
getAccessorAsync : opts.getAccessor + promiseFunctionPostfix || ("get" + assocTemplateName + promiseFunctionPostfix),
setAccessorAsync : opts.setAccessor + promiseFunctionPostfix || ("set" + assocTemplateName + promiseFunctionPostfix),
hasAccessorAsync : opts.hasAccessor + promiseFunctionPostfix || ("has" + assocTemplateName + promiseFunctionPostfix),
delAccessorAsync : opts.delAccessor + promiseFunctionPostfix || ("remove" + assocTemplateName + promiseFunctionPostfix),
addAccessorAsync : opts.addAccessor + promiseFunctionPostfix || ("add" + assocTemplateName + promiseFunctionPostfix)
addAccessor : opts.addAccessor || ("add" + assocTemplateName)
};

@@ -97,0 +91,0 @@ associations.push(association);

@@ -15,3 +15,3 @@ {

],
"version": "4.0.0",
"version": "4.0.1",
"license": "MIT",

@@ -18,0 +18,0 @@ "homepage": "http://dresende.github.io/node-orm2",

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