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

xpress-mongo

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xpress-mongo - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

2

package.json
{
"name": "xpress-mongo",
"version": "0.7.0",
"version": "0.7.1",
"description": "Light Weight ODM for mongoDb",

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

@@ -174,3 +174,3 @@ "use strict";

typeNames.push(type.schema.name);
if (type.schema.required)
if (type.schema.required === true)
isRequired = true;

@@ -177,0 +177,0 @@ }

@@ -315,3 +315,3 @@ "use strict";

if (value === undefined) {
if (schemaVal.schema.required) {
if (schemaVal.schema.required === true) {
newData[key] = value;

@@ -318,0 +318,0 @@ }

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