Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

env-var

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env-var - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

4

CHANGELOG.md

@@ -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.

4

env-var.d.ts

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc