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.7.2 to 1.7.3

2

dist/validation/typeValidator/index.js

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

// Is it an object?
if (keyValue === Object(keyValue) && !(keyValue instanceof Date)) return;
if (Object.prototype.toString.call(keyValue) === '[object Object]') return;
return {

@@ -44,0 +44,0 @@ type: _SimpleSchema.SimpleSchema.ErrorTypes.EXPECTED_TYPE,

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

@@ -9,8 +9,9 @@ "author": "Eric Dobbertin <aldeed@gmail.com>",

"type": "git",
"url": "https://github.com/aldeed/node-simple-schema.git"
"url": "https://github.com/aldeed/simpl-schema.git",
"directory": "package"
},
"bugs": {
"url": "https://github.com/aldeed/node-simple-schema/issues"
"url": "https://github.com/aldeed/simpl-schema/issues"
},
"homepage": "https://github.com/aldeed/node-simple-schema",
"homepage": "https://github.com/aldeed/simpl-schema",
"files": [

@@ -28,3 +29,3 @@ "dist",

"lintAndTest": "npm run lint && npm test",
"prepublishOnly": "npm run lintAndTest && npm run copyFiles && npm run build",
"prepublishOnly": "npm run copyFiles && npm run build",
"test": "mocha --require @babel/register --recursive \"lib/**/*.tests.js\"",

@@ -55,3 +56,4 @@ "test:file": "mocha --require @babel/register --watch",

"expect": "^1.20.1",
"mocha": "^7.1.1"
"mocha": "^7.1.1",
"semantic-release": "^17.0.7"
},

@@ -108,3 +110,12 @@ "babel": {

}
},
"release": {
"branches": [
"master"
],
"tagFormat": "${version}"
},
"publishConfig": {
"access": "public"
}
}
# SimpleSchema (simpl-schema NPM package)
[![Backers on Open Collective](https://opencollective.com/simple-schema-js/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/simple-schema-js/sponsors/badge.svg)](#sponsors) [![CircleCI](https://circleci.com/gh/aldeed/simple-schema-js/tree/master.svg?style=svg)](https://circleci.com/gh/aldeed/simple-schema-js/tree/master)
[![Backers on Open Collective](https://opencollective.com/simple-schema-js/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/simple-schema-js/sponsors/badge.svg)](#sponsors) [![Lint, Test, and (Maybe) Publish](https://github.com/aldeed/simpl-schema/workflows/Lint,%20Test,%20and%20(Maybe)%20Publish/badge.svg?event=push)](https://github.com/aldeed/simpl-schema/actions?query=workflow%3A%22Lint%2C+Test%2C+and+%28Maybe%29+Publish%22)

@@ -5,0 +5,0 @@ SimpleSchema validates JavaScript objects to ensure they match a schema. It can also clean the objects to automatically convert types, remove unsupported properties, and add automatic values such that the object is then more likely to pass validation.

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