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

mastercheck

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mastercheck - npm Package Compare versions

Comparing version 0.2.12 to 0.2.13

12

lib/mastercheck.js

@@ -52,3 +52,3 @@ /**

this.check = function(data, parents) {
var _option = (typeof this.option === 'function' ? this.option(parents) : this.option) || {};
var _option = (typeof this.option === 'function' ? this.option(parents, data) : this.option) || {};
if (!_option.required && data === undefined) {

@@ -94,3 +94,3 @@ return;

this.check = function(data, parents) {
var _option = (typeof this.option === 'function' ? this.option(parents) : this.option) || {};
var _option = (typeof this.option === 'function' ? this.option(parents, data) : this.option) || {};
if (!_option.required && data === undefined) {

@@ -149,3 +149,3 @@ return;

this.check = function(data, parents) {
var _option = (typeof this.option === 'function' ? this.option(parents) : this.option) || {};
var _option = (typeof this.option === 'function' ? this.option(parents, data) : this.option) || {};
if (!_option.required && data === undefined) {

@@ -175,3 +175,3 @@ return;

this.check = function(data, parents) {
var _option = (typeof this.option === 'function' ? this.option(parents) : this.option) || {};
var _option = (typeof this.option === 'function' ? this.option(parents, data) : this.option) || {};
if (!_option.required && data === undefined) {

@@ -204,3 +204,3 @@ return;

this.check = function(data, parents) {
var _option = (typeof this.option === 'function' ? this.option(parents) : this.option) || {};
var _option = (typeof this.option === 'function' ? this.option(parents, data) : this.option) || {};
if (!_option.required && data === undefined) {

@@ -238,3 +238,3 @@ return;

this.check = function(data, parents) {
var _option = (typeof this.option === 'function' ? this.option(parents) : this.option) || {};
var _option = (typeof this.option === 'function' ? this.option(parents, data) : this.option) || {};
if (_option.hasOwnProperty('maxLength') && _option.maxLength < data.length) {

@@ -241,0 +241,0 @@ return data + ' length should be above ' + _option.maxLength;

{
"name": "mastercheck",
"version": "0.2.12",
"version": "0.2.13",
"description": "mastercheck",

@@ -5,0 +5,0 @@ "main": "index.js",

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