Comparing version 3.4.1 to 3.4.2
@@ -504,3 +504,3 @@ "use strict"; | ||
if (valid && !valid(value)) { | ||
cause ??= { name: field, found: value }; | ||
cause = cause || { name: field, found: value }; | ||
} | ||
@@ -569,3 +569,3 @@ if (cause) { | ||
if (config.validate && !config.validate(value)) { | ||
cause ??= { name: field, found: value }; | ||
cause = cause || { name: field, found: value }; | ||
} | ||
@@ -572,0 +572,0 @@ if (cause) { |
@@ -496,3 +496,3 @@ import { inspect } from 'node:util'; | ||
if (valid && !valid(value)) { | ||
cause ??= { name: field, found: value }; | ||
cause = cause || { name: field, found: value }; | ||
} | ||
@@ -561,3 +561,3 @@ if (cause) { | ||
if (config.validate && !config.validate(value)) { | ||
cause ??= { name: field, found: value }; | ||
cause = cause || { name: field, found: value }; | ||
} | ||
@@ -564,0 +564,0 @@ if (cause) { |
{ | ||
"name": "jackspeak", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "A very strict and proper argument parser.", | ||
@@ -70,3 +70,3 @@ "tshy": { | ||
"engines": { | ||
"node": ">=18" | ||
"node": "14 >=14.21 || 16 >=16.20 || >=18" | ||
}, | ||
@@ -73,0 +73,0 @@ "funding": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
297035