Socket
Socket
Sign inDemoInstall

cosa

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosa - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

5

lib/model.js

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

2

package.json
{
"name": "cosa",
"version": "1.2.0",
"version": "1.2.1",
"description": "Cosa Models for MongoDB",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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