Comparing version 6.0.0 to 6.0.1
@@ -0,1 +1,5 @@ | ||
## 6.0.1 (12/02/20) | ||
* Fix typings for the `default(value)` function. | ||
## 6.0.0 (12/02/20) | ||
@@ -2,0 +6,0 @@ * Add support for setting an example value via the `example(string)` function. |
@@ -22,3 +22,3 @@ | ||
*/ | ||
default: (value: string) => IPresentVariable; | ||
default: (value: string|number|Record<string, any>|Array<any>) => IPresentVariable; | ||
@@ -140,3 +140,3 @@ /** | ||
*/ | ||
default: (value: string) => IPresentVariable; | ||
default: (value: string|number|Record<string, any>|Array<any>) => IPresentVariable; | ||
@@ -143,0 +143,0 @@ /** |
{ | ||
"name": "env-var", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Verification, sanatization, and type coercion for environment variables in Node.js", | ||
@@ -63,3 +63,3 @@ "main": "env-var.js", | ||
"standard": "~14.3.0", | ||
"typescript": "~3.1.3" | ||
"typescript": "~3.7.5" | ||
}, | ||
@@ -66,0 +66,0 @@ "engines": { |
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
45988