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

fenextjs-validator

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fenextjs-validator - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

1

cjs/index.d.ts

@@ -8,2 +8,3 @@ import { ErrorFenextjs } from "fenextjs-error/cjs/Fenextjs";

otherwise?: FenextjsValidatorClass;
dataIsCurrent?: boolean;
}

@@ -10,0 +11,0 @@ /**

12

cjs/index.js

@@ -686,7 +686,2 @@ "use strict";

}
const parent = this.parent ?? this;
// Si la validación "parent" no existe, no se hace nada.
if (!parent) {
return;
}
// Si la validación de datos necesarios no existen, no se hace nada.

@@ -698,2 +693,9 @@ if (!this.whenValue) {

const validator = this.whenValue[i];
let parent = this.parent;
if (validator.dataIsCurrent === true) {
parent = this;
}
if (!parent) {
continue;
}
// Si whenIs es corrento ejecuta la validacion

@@ -700,0 +702,0 @@ if (validator.is.onValidate(parent.data[validator.key]) === true) {

{
"name": "fenextjs-validator",
"version": "4.0.1",
"version": "4.1.0",
"description": "",

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

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