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

mongoose-schema-extend

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-schema-extend - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

9

index.js

@@ -14,2 +14,11 @@ var mongoose = require('mongoose'),

// Fix for callQueue arguments, todo: fix clone implementation
newSchema.callQueue.forEach(function(k) {
var args = [];
for(var i in k[1]) {
args.push(k[1][i]);
}
k[1] = args;
});
// Override the existing options with any newly supplied ones

@@ -16,0 +25,0 @@ for(var k in options) {

2

package.json
{
"name": "mongoose-schema-extend",
"version": "0.1.2",
"version": "0.1.3",
"description": "mongoose schema inheritance and discriminator key extension",

@@ -5,0 +5,0 @@ "main": "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