Comparing version 1.2.0 to 1.2.1
@@ -233,2 +233,7 @@ var q = require('q'); | ||
function addVirtuals (def, obj) { | ||
if (def.type === 'array' && def.items && Array.isArray(obj)) { | ||
for (var i = 0, l = obj.length; i < l; i++) { | ||
addVirtuals(def.items, obj[i]); | ||
} | ||
} | ||
if (def.virtuals) { | ||
@@ -235,0 +240,0 @@ Object.keys(def.virtuals).forEach(function (name) { |
{ | ||
"name": "cosa", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Cosa Models for MongoDB", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
80239
2266