Socket
Socket
Sign inDemoInstall

dotenv-expand

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv-expand - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

6

lib/main.js

@@ -23,6 +23,8 @@ 'use strict'

for (var configKey in config.parsed) {
var value = process.env[configKey] || config.parsed[configKey]
if (config.parsed[configKey].substring(0, 2) === '\\$') {
config.parsed[configKey] = config.parsed[configKey].substring(1)
config.parsed[configKey] = value.substring(1)
} else {
config.parsed[configKey] = interpolate(config.parsed[configKey])
config.parsed[configKey] = interpolate(value)
}

@@ -29,0 +31,0 @@ }

{
"name": "dotenv-expand",
"version": "4.0.0",
"version": "4.0.1",
"description": "Expand environment variables using dotenv",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

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