Socket
Socket
Sign inDemoInstall

async-validator

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-validator - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2

11

dist-node/index.js

@@ -26,3 +26,4 @@ 'use strict';

subClass.prototype.constructor = subClass;
subClass.__proto__ = superClass;
_setPrototypeOf(subClass, superClass);
}

@@ -52,3 +53,3 @@

try {
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
return true;

@@ -354,3 +355,3 @@ } catch (e) {

if (typeof value === 'object' && typeof target[s] === 'object') {
target[s] = _extends(_extends({}, target[s]), value);
target[s] = _extends({}, target[s], value);
} else {

@@ -1284,3 +1285,3 @@ target[s] = value;

function addFullfield(key, schema) {
return _extends(_extends({}, schema), {}, {
return _extends({}, schema, {
fullField: rule.fullField + "." + key

@@ -1342,3 +1343,3 @@ });

fieldsSchema = _extends(_extends({}, fieldsSchema), data.rule.fields);
fieldsSchema = _extends({}, fieldsSchema, data.rule.fields);

@@ -1345,0 +1346,0 @@ for (var f in fieldsSchema) {

@@ -67,3 +67,3 @@ // Type definitions for async-validator 3.0.4

options: ValidateOption,
) => void;
) => boolean | Error | Error[];
}

@@ -70,0 +70,0 @@

@@ -22,3 +22,4 @@ function _extends() {

subClass.prototype.constructor = subClass;
subClass.__proto__ = superClass;
_setPrototypeOf(subClass, superClass);
}

@@ -48,3 +49,3 @@

try {
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
return true;

@@ -350,3 +351,3 @@ } catch (e) {

if (typeof value === 'object' && typeof target[s] === 'object') {
target[s] = _extends(_extends({}, target[s]), value);
target[s] = _extends({}, target[s], value);
} else {

@@ -1280,3 +1281,3 @@ target[s] = value;

function addFullfield(key, schema) {
return _extends(_extends({}, schema), {}, {
return _extends({}, schema, {
fullField: rule.fullField + "." + key

@@ -1338,3 +1339,3 @@ });

fieldsSchema = _extends(_extends({}, fieldsSchema), data.rule.fields);
fieldsSchema = _extends({}, fieldsSchema, data.rule.fields);

@@ -1341,0 +1342,0 @@ for (var f in fieldsSchema) {

{
"name": "async-validator",
"description": "validate form asynchronous",
"version": "3.5.1",
"version": "3.5.2",
"license": "MIT",

@@ -6,0 +6,0 @@ "files": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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