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

dotenv-expand

Package Overview
Dependencies
Maintainers
1
Versions
26
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 11.0.4 to 11.0.5

.nyc_output/1e84002f-9109-4f52-9e1c-40de836217f9.json

2

.nyc_output/processinfo/index.json

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

{"processes":{"1b59f303-7b45-477a-abcd-fdf1459548e6":{"parent":"2dd5a83d-8519-4181-819d-d60aae04c240","externalId":"tests/main.js","children":[]},"2dd5a83d-8519-4181-819d-d60aae04c240":{"parent":null,"children":["1b59f303-7b45-477a-abcd-fdf1459548e6"]}},"files":{"/Users/scottmotte/Code/motdotla/dotenv-expand/lib/main.js":["1b59f303-7b45-477a-abcd-fdf1459548e6"]},"externalIds":{"tests/main.js":{"root":"1b59f303-7b45-477a-abcd-fdf1459548e6","children":[]}}}
{"processes":{"1e84002f-9109-4f52-9e1c-40de836217f9":{"parent":null,"children":["49212aef-7a36-490a-9c90-cb9daeeaa4a8"]},"49212aef-7a36-490a-9c90-cb9daeeaa4a8":{"parent":"1e84002f-9109-4f52-9e1c-40de836217f9","externalId":"tests/main.js","children":[]}},"files":{"/Users/scottmotte/Code/motdotla/dotenv-expand/lib/main.js":["49212aef-7a36-490a-9c90-cb9daeeaa4a8"]},"externalIds":{"tests/main.js":{"root":"49212aef-7a36-490a-9c90-cb9daeeaa4a8","children":[]}}}

@@ -5,4 +5,10 @@ # Changelog

## [Unreleased](https://github.com/motdotla/dotenv-expand/compare/v11.0.4...master)
## [Unreleased](https://github.com/motdotla/dotenv-expand/compare/v11.0.5...master)
## [11.0.5](https://github.com/motdotla/dotenv-expand/compare/v11.0.4...v11.0.5) (2024-02-17)
### Changed
- 🐞 fix recursive expansion when expansion key is sourced from `process.env` ([#121](https://github.com/motdotla/dotenv-expand/pull/121))
## [11.0.4](https://github.com/motdotla/dotenv-expand/compare/v11.0.3...v11.0.4) (2024-02-15)

@@ -9,0 +15,0 @@

@@ -25,3 +25,8 @@ 'use strict'

if (processEnv[key]) {
return processEnv[key]
if (processEnv[key] === parsed[key]) {
return processEnv[key]
} else {
// scenario: PASSWORD_EXPAND_NESTED=${PASSWORD_EXPAND}
return interpolate(processEnv[key], processEnv, parsed)
}
}

@@ -61,3 +66,2 @@

const inProcessEnv = Object.prototype.hasOwnProperty.call(processEnv, key)
if (inProcessEnv) {

@@ -64,0 +68,0 @@ if (processEnv[key] === options.parsed[key]) {

{
"name": "dotenv-expand",
"version": "11.0.4",
"version": "11.0.5",
"description": "Expand environment variables using dotenv",

@@ -54,4 +54,4 @@ "main": "lib/main.js",

"dependencies": {
"dotenv": "^16.4.1"
"dotenv": "^16.4.4"
}
}
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