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

@dotenvx/dotenvx

Package Overview
Dependencies
Maintainers
2
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotenvx/dotenvx - npm Package Compare versions

Comparing version 1.24.3 to 1.24.4

16

CHANGELOG.md

@@ -5,11 +5,17 @@ # Changelog

## [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.24.3...main)
[Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.24.4...main)
## [1.24.3](https://github.com/dotenvx/dotenvx/compare/v1.24.2...1.24.3)
## [1.24.4](https://github.com/dotenvx/dotenvx/compare/v1.24.3...v1.24.4)
### Changed
* do not expand command substitution ([#456](https://github.com/dotenvx/dotenvx/pull/456))
## [1.24.3](https://github.com/dotenvx/dotenvx/compare/v1.24.2...v1.24.3)
### Changed
* 🐞 fix command substitution for more complex commands ([#455](https://github.com/dotenvx/dotenvx/pull/455))
## [1.24.2](https://github.com/dotenvx/dotenvx/compare/v1.24.1...1.24.2)
## [1.24.2](https://github.com/dotenvx/dotenvx/compare/v1.24.1...v1.24.2)

@@ -20,3 +26,3 @@ ### Changed

## [1.24.1](https://github.com/dotenvx/dotenvx/compare/v1.24.0...1.24.1)
## [1.24.1](https://github.com/dotenvx/dotenvx/compare/v1.24.0...v1.24.1)

@@ -27,3 +33,3 @@ ### Changed

## 1.24.0
## [1.24.0](https://github.com/dotenvx/dotenvx/compare/v1.23.0...v1.24.0)

@@ -30,0 +36,0 @@ ### Added

{
"version": "1.24.3",
"version": "1.24.4",
"name": "@dotenvx/dotenvx",

@@ -4,0 +4,0 @@ "description": "a better dotenv–from the creator of `dotenv`",

@@ -47,8 +47,13 @@ const chomp = require('./chomp')

// eval empty, double, or backticks
let evaled = false
if (quote !== "'" && (!this.inProcessEnv(key) || this.processEnv[key] === this.parsed[key])) {
this.parsed[key] = this.eval(this.parsed[key])
const priorEvaled = this.parsed[key]
this.parsed[key] = this.eval(priorEvaled)
if (priorEvaled !== this.parsed[key]) {
evaled = true
}
}
// expand empty, double, or backticks
if (quote !== "'" && !this.processEnv[key]) {
if (!evaled && quote !== "'" && !this.processEnv[key]) {
this.parsed[key] = resolveEscapeSequences(this.expand(this.parsed[key]))

@@ -55,0 +60,0 @@ }

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