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 1.12.1 to 1.12.2

6

dist/SimpleSchema.js

@@ -1241,2 +1241,6 @@ "use strict";

if (typeof definition.required === 'function') {
// Save a reference to the `required` fn because
// we are going to delete it from `definition` below
var requiredFn = definition.required;
definition.optional = function optional() {

@@ -1247,3 +1251,3 @@ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {

return !definition.required.apply(this, args);
return !requiredFn.apply(this, args);
};

@@ -1250,0 +1254,0 @@ } else {

2

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

@@ -5,0 +5,0 @@ "author": "Eric Dobbertin <aldeed@gmail.com>",

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