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 3.3.0 to 3.4.0

3

dist/cjs/main.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidationContext = exports.toJsonSchema = void 0;
exports.ValidationContext = exports.toJsonSchema = exports.schemaDefinitionOptions = void 0;
require("./clean.js");
const SimpleSchema_js_1 = require("./SimpleSchema.js");
Object.defineProperty(exports, "schemaDefinitionOptions", { enumerable: true, get: function () { return SimpleSchema_js_1.schemaDefinitionOptions; } });
Object.defineProperty(exports, "ValidationContext", { enumerable: true, get: function () { return SimpleSchema_js_1.ValidationContext; } });

@@ -7,0 +8,0 @@ const toJsonSchema_js_1 = require("./toJsonSchema.js");

@@ -37,3 +37,2 @@ "use strict";

exports.ValidationContext = ValidationContext_js_1.default;
// Exported for tests
exports.schemaDefinitionOptions = [

@@ -40,0 +39,0 @@ 'autoValue',

import './clean.js';
import { SimpleSchema, ValidationContext } from './SimpleSchema.js';
import { schemaDefinitionOptions, SimpleSchema, ValidationContext } from './SimpleSchema.js';
import { toJsonSchema } from './toJsonSchema.js';
export { toJsonSchema, ValidationContext };
export { schemaDefinitionOptions, toJsonSchema, ValidationContext };
export default SimpleSchema;
import './clean.js';
import { SimpleSchema, ValidationContext } from './SimpleSchema.js';
import { schemaDefinitionOptions, SimpleSchema, ValidationContext } from './SimpleSchema.js';
import { toJsonSchema } from './toJsonSchema.js';
SimpleSchema.ValidationContext = ValidationContext;
export { toJsonSchema, ValidationContext };
export { schemaDefinitionOptions, toJsonSchema, ValidationContext };
export default SimpleSchema;

@@ -30,3 +30,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

import ValidationContext from './ValidationContext.js';
// Exported for tests
export const schemaDefinitionOptions = [

@@ -33,0 +32,0 @@ 'autoValue',

@@ -91,2 +91,3 @@ import MongoObject from 'mongo-object';

clean?: CleanOptions;
defaultLabel?: string;
getErrorMessage?: GetErrorMessageFn;

@@ -93,0 +94,0 @@ humanizeAutoLabels?: boolean;

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

@@ -5,0 +5,0 @@ "author": "Eric Dobbertin <eric@dairystatedesigns.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