New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dotenv-cli

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv-cli - npm Package Compare versions

Comparing version

to
8.0.0

.env

12

cli.js

@@ -84,7 +84,11 @@ #!/usr/bin/env node

paths.forEach(function (env) {
const parsedFile = dotenv.config({ path: path.resolve(env), override })
if (argv.expand !== false) {
dotenvExpand(parsedFile)
}
dotenv.config({ path: path.resolve(env), override })
})
// Expand when all path configs are loaded
if (argv.expand !== false) {
dotenvExpand({
parsed: process.env
});
}
Object.assign(process.env, parsedVariables)

@@ -91,0 +95,0 @@

{
"name": "dotenv-cli",
"description": "A global executable to run applications with the ENV variables loaded by dotenv",
"version": "7.4.4",
"version": "8.0.0",
"author": "entropitor",

@@ -6,0 +6,0 @@ "bin": {