Comparing version 4.0.0 to 4.0.1
@@ -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)) |
@@ -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", |
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
320893
8082