fenextjs-validator
Advanced tools
Comparing version 1.0.18 to 1.0.19
@@ -471,3 +471,5 @@ "use strict"; | ||
if (this.#min && | ||
!(minValidate != undefined && nMinValue && minValidate > nMinValue)) { | ||
!(minValidate != undefined && | ||
nMinValue != undefined && | ||
minValidate > nMinValue)) { | ||
this.#onError(fenextjs_interface_1.ErrorCode.INPUT_VALUE_TOO_LOW); | ||
@@ -478,3 +480,5 @@ } | ||
if (this.#minOrEqual && | ||
!(minValidate != undefined && nMinValue && minValidate >= nMinValue)) { | ||
!(minValidate != undefined && | ||
nMinValue != undefined && | ||
minValidate >= nMinValue)) { | ||
this.#onError(fenextjs_interface_1.ErrorCode.INPUT_VALUE_TOO_LOW); | ||
@@ -535,3 +539,5 @@ } | ||
if (this.#max && | ||
!(maxValidate != undefined && nMaxValue && maxValidate < nMaxValue)) { | ||
!(maxValidate != undefined && | ||
nMaxValue != undefined && | ||
maxValidate < nMaxValue)) { | ||
this.#onError(fenextjs_interface_1.ErrorCode.INPUT_VALUE_TOO_HIGH); | ||
@@ -542,3 +548,5 @@ } | ||
if (this.#maxOrEqual && | ||
!(maxValidate != undefined && nMaxValue && maxValidate <= nMaxValue)) { | ||
!(maxValidate != undefined && | ||
nMaxValue != undefined && | ||
maxValidate <= nMaxValue)) { | ||
this.#onError(fenextjs_interface_1.ErrorCode.INPUT_VALUE_TOO_HIGH); | ||
@@ -545,0 +553,0 @@ } |
{ | ||
"name": "fenextjs-validator", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./cjs/index.js", |
Sorry, the diff of this file is not supported yet
70880
859