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