Comparing version 7.4.1 to 7.4.2
@@ -0,1 +1,4 @@ | ||
## 7.4.2 (10/08/2024) | ||
* Fix docstrings for positive/negative int/float validators (#172) | ||
## 7.4.1 (29/08/2023) | ||
@@ -2,0 +5,0 @@ * Fix 7.4.0 issues with `create-react-app` polyfill (#168) |
@@ -19,3 +19,3 @@ | ||
/** | ||
* Performs the same task as asFloat(), but also verifies that the number is positive (greater than zero). | ||
* Performs the same task as asFloat(), but also verifies that the number is positive (greater than or equal to zero). | ||
*/ | ||
@@ -25,3 +25,3 @@ asFloatPositive: (input: string) => number; | ||
/** | ||
* Performs the same task as asFloat(), but also verifies that the number is negative (less than zero). | ||
* Performs the same task as asFloat(), but also verifies that the number is negative (less than or equal to zero). | ||
*/ | ||
@@ -37,3 +37,3 @@ asFloatNegative: (input: string) => number; | ||
/** | ||
* Performs the same task as asInt(), but also verifies that the number is positive (greater than zero). | ||
* Performs the same task as asInt(), but also verifies that the number is positive (greater than or equal to zero). | ||
*/ | ||
@@ -43,3 +43,3 @@ asIntPositive: (input: string) => number; | ||
/** | ||
* Performs the same task as asInt(), but also verifies that the number is negative (less than zero). | ||
* Performs the same task as asInt(), but also verifies that the number is negative (less than or equal to zero). | ||
*/ | ||
@@ -128,3 +128,3 @@ asIntNegative: (input: string) => number; | ||
/** | ||
* Performs the same task as asFloat(), but also verifies that the number is positive (greater than zero). | ||
* Performs the same task as asFloat(), but also verifies that the number is positive (greater than or equal to zero). | ||
*/ | ||
@@ -134,3 +134,3 @@ asFloatPositive: () => AlternateType extends undefined ? undefined|number : number; | ||
/** | ||
* Performs the same task as asFloat(), but also verifies that the number is negative (less than zero). | ||
* Performs the same task as asFloat(), but also verifies that the number is negative (less than or equal to zero). | ||
*/ | ||
@@ -146,3 +146,3 @@ asFloatNegative: () => AlternateType extends undefined ? undefined|number : number; | ||
/** | ||
* Performs the same task as asInt(), but also verifies that the number is positive (greater than zero). | ||
* Performs the same task as asInt(), but also verifies that the number is positive (greater than or equal to zero). | ||
*/ | ||
@@ -152,3 +152,3 @@ asIntPositive: () => AlternateType extends undefined ? undefined|number : number; | ||
/** | ||
* Performs the same task as asInt(), but also verifies that the number is negative (less than zero). | ||
* Performs the same task as asInt(), but also verifies that the number is negative (less than or equal to zero). | ||
*/ | ||
@@ -155,0 +155,0 @@ asIntNegative: () => AlternateType extends undefined ? undefined|number : number; |
{ | ||
"name": "env-var", | ||
"version": "7.4.1", | ||
"version": "7.4.2", | ||
"description": "Verification, sanitization, and type coercion for environment variables in Node.js", | ||
@@ -5,0 +5,0 @@ "main": "env-var.js", |
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
41923