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 7.1.1 to 7.2.0

lib/accessors/email-string.js

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## 7.2.0 (01/09/2022)
* Add `asEmailString()` accessor (#146)
## 7.1.1 (28/10/2021)

@@ -2,0 +5,0 @@ * Fix duplicate identifier error for TypeScript builds (#151)

4

lib/accessors/index.js

@@ -27,3 +27,5 @@ module.exports = {

asUrlObject: require('./url-object'),
asUrlString: require('./url-string')
asUrlString: require('./url-string'),
asEmailString: require('./email-string')
}
{
"name": "env-var",
"version": "7.1.1",
"version": "7.2.0",
"description": "Verification, sanitization, and type coercion for environment variables in Node.js",

@@ -5,0 +5,0 @@ "main": "env-var.js",

@@ -56,4 +56,4 @@ # env-var

// Or using import syntax:
// import * as env from 'env-var'
// Or using module import syntax:
// import env from 'env-var'

@@ -60,0 +60,0 @@ const PASSWORD = env.get('DB_PASSWORD')

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