Socket
Socket
Sign inDemoInstall

simpl-schema

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simpl-schema - npm Package Compare versions

Comparing version 3.4.5 to 3.4.6

2

dist/cjs/validation/validateField.js

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

}
if (SimpleSchema_js_1.SimpleSchema.isSimpleSchema(nonAnyTypeDefinition.type)) {
if (val !== undefined && SimpleSchema_js_1.SimpleSchema.isSimpleSchema(nonAnyTypeDefinition.type)) {
const itemErrors = validateField({

@@ -159,0 +159,0 @@ extendedCustomContext,

@@ -151,3 +151,3 @@ var __rest = (this && this.__rest) || function (s, e) {

}
if (SimpleSchema.isSimpleSchema(nonAnyTypeDefinition.type)) {
if (val !== undefined && SimpleSchema.isSimpleSchema(nonAnyTypeDefinition.type)) {
const itemErrors = validateField({

@@ -154,0 +154,0 @@ extendedCustomContext,

{
"name": "simpl-schema",
"version": "3.4.5",
"version": "3.4.6",
"description": "A schema validation package that supports direct validation of MongoDB update modifier objects.",

@@ -42,3 +42,3 @@ "author": "Eric Dobbertin <eric@dairystatedesigns.com>",

"prepublishOnly": "npm run build",
"test": "mocha",
"test": "NODE_NO_WARNINGS=1 mocha",
"test:watch": "npm test -- --watch"

@@ -45,0 +45,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