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

p-odm

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p-odm - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

13

lib/model.js

@@ -289,7 +289,3 @@ 'use strict';

Object.defineProperty(embeddedModel, '$parent', {value: model});
if (Type.internalSchema === undefined) {
buildValidator(Type, embeddedModel);
} else {
buildValidator(Type.internalSchema, embeddedModel);
}
buildValidator(Type.internalSchema, embeddedModel);
return embeddedModel;

@@ -821,4 +817,7 @@ }

} else {
internalValue = buildInternalSchema(type);
Object.defineProperty(internalValue, '$type', {value: type});
if (type.internalSchema === undefined) {
internalValue = buildInternalSchema(type);
type.internalSchema = internalValue;
Object.defineProperty(internalValue, '$type', {value: type});
}
}

@@ -825,0 +824,0 @@ return internalValue;

@@ -8,3 +8,3 @@ {

],
"version": "0.0.11",
"version": "0.0.12",
"engines": {

@@ -11,0 +11,0 @@ "node": ">=0.4.12"

Sorry, the diff of this file is not supported yet

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