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

dotenv-cli

Package Overview
Dependencies
Maintainers
1
Versions
25
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 7.2.1 to 7.3.0

10

cli.js

@@ -22,3 +22,3 @@ #!/usr/bin/env node

' --no-expand skip variable expansion',
' -o, --override override system variables',
' -o, --override override system variables. Cannot be used along with cascade (-c).',
' command `command` is the actual command you want to run. Best practice is to precede this command with ` -- `. Everything after `--` is considered to be your command. So any flags will not be parsed by this tool but be passed to your command. If you do not do it, this tool will strip those flags'

@@ -33,2 +33,9 @@ ].join('\n'))

const override = argv.o || argv.override;
if (argv.c && override) {
console.error('Invalid arguments. Cascading env variables conflicts with overrides.')
process.exit(1)
}
var paths = []

@@ -78,3 +85,2 @@ if (argv.e) {

paths.forEach(function (env) {
const override = argv.o || argv.override;
var parsedFile = dotenv.config({ path: path.resolve(env), override })

@@ -81,0 +87,0 @@ if (argv.expand !== false) {

4

package.json
{
"name": "dotenv-cli",
"description": "A global executable to run applications with the ENV variables loaded by dotenv",
"version": "7.2.1",
"version": "7.3.0",
"author": "entropitor",

@@ -11,3 +11,3 @@ "bin": {

"cross-spawn": "^7.0.3",
"dotenv": "^16.0.0",
"dotenv": "^16.3.0",
"dotenv-expand": "^10.0.0",

@@ -14,0 +14,0 @@ "minimist": "^1.2.6"

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