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

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.4.0 to 1.4.1

6

dist/clean/getPositionsForAutoValue.js

@@ -49,2 +49,8 @@ 'use strict';

// If the field is an object and will be created by MongoDB,
// we don't need (and can't have) a value for it
if (isModifier && mongoObject.getPositionsThatCreateGenericKey(fieldName).length > 0) {
return positions;
}
// For simple top-level fields, just add an undefined would-be position

@@ -51,0 +57,0 @@ // if there isn't a real position.

4

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

@@ -43,3 +43,3 @@ "author": "Eric Dobbertin <aldeed@gmail.com>",

"message-box": "^0.2.0",
"mongo-object": "^0.1.1"
"mongo-object": "^0.1.2"
},

@@ -46,0 +46,0 @@ "devDependencies": {

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