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

env-cmd

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env-cmd - npm Package Versions

23

10.1.0

Diff

Changelog

Source

10.1.0

  • Feature: Added support for expanding vars using the -x flag. Note: only supports $var syntax
  • Feature: Added support for --silent flag that ignores env-cmd errors and missing files and only terminates on caught signals
  • Feature: Added a new --verbose flag that prints additional debugging info to console.info
  • Upgrade: Upgraded dependency commander to 4.x
  • Upgrade: Upgraded devDependencies sinon, nyc, and ts-standard
  • Fix: Handle case where the termination signal is the termination code
toddbluhm
published 10.0.1 •

Changelog

Source

10.0.1

  • Fix: Fixed bug introduced by strict equal checking for undefined when the value was null. This bug caused most executions of env-cmd to fail with an error, when in fact no error had occurred.
toddbluhm
published 10.0.0 •

Changelog

Source

10.0.0

  • BREAKING: Typescript now targets ES2017
  • Fix: Default RC files will now properly be searched
  • Change: Fixed some documentation issues
  • Change: Use ts-standard instead of eslint for linting
toddbluhm
published 9.0.3 •

Changelog

Source

9.0.3

  • Fix: Use global flag on regex when parsing and preserving newline characters in env values (thanks to MaximTovstashev)
toddbluhm
published 9.0.2 •

Changelog

Source

9.0.2

  • Fix: CLI will now exit with non-zero error code when an error is encountered (thanks to blagh)
toddbluhm
published 9.0.1 •

Changelog

Source

9.0.1

  • BREAKING: Fixed major bug that required passing -- in order to pass flags to the command. Normally I release major breaking changes as major versions, but this was a bug and no documentation anywhere states using -- as intended or official behavior.
  • Change: Fixed some documentation issues
  • Change: npm run lint command now includes calling tsc to check for typescript errors
toddbluhm
published 9.0.0 •

Changelog

Source

9.0.0

  • BREAKING: Converted project to Typescript
  • BREAKING: Changes to all option flags, see docs for new options
  • BREAKING: Dropping support for node v4 and v6
  • Change: Updated all dependencies
  • Change: Update package-lock.json file
  • Feature: Added support for asynchronous .env and .rc files
  • Feature: Added support for a programmatic API
  • Feature: Added --use-shell option (thanks to nidkil)
  • Fix: Keep newline (\n) characters intact when parsing env files
  • Change: Added node v10 and v12 to build automation
  • Change: Updated Readme file to reflect new options and CLI changes
toddbluhm
published 8.0.2 •

Changelog

Source

8.0.2

  • Change: Updated dependencies and packages.json to fix npm audit concerns.
toddbluhm
published 8.0.1 •

Changelog

Source

8.0.1

  • Bug: Properly propagate child process exit signals and codes to parent process
toddbluhm
published 8.0.0 •

Changelog

Source

8.0.0

  • BREAKING: Stripe out spaces around the key and value in an env file. In order to include a beginning/ending space in an env var value, you need to surround the value in double or single quotes. ENV = " Value"
  • Bug: Fixed some bugs around how the parent process and spawn processes are killed
  • Change: Updated a number of core libraries: cross-spawn, coveralls, istanbul -> nyc, mocha, proxyquire, sinon, standard
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