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.11.0 to 1.11.1

2

dist/doValidation.js

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

// We don't need KEY_NOT_IN_SCHEMA error for $unset and we also don't need to continue
if (op === '$unset') return;
if (op === '$unset' || op === '$currentDate' && affectedKey.endsWith('.$type')) return;
validationErrors.push({

@@ -91,0 +91,0 @@ name: affectedKey,

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

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

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