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

dotenv

Package Overview
Dependencies
Maintainers
4
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv - npm Package Versions

1
9

16.0.0

Diff

Changelog

Source

16.0.0 (2022-02-02)

Added

  • Breaking: Backtick support 🎉 (#615)

If you had values containing the backtick character, please quote those values with either single or double quotes.

motdotla
published 15.0.1 •

Changelog

Source

15.0.1 (2022-02-02)

Changed

  • Properly parse empty single or double quoted values 🐞 (#614)
motdotla
published 15.0.0 •

Changelog

Source

15.0.0 (2022-01-31)

v15.0.0 is a major new release with some important breaking changes.

Added

  • Breaking: Multiline parsing support (just works. no need for the flag.)

Changed

  • Breaking: # marks the beginning of a comment (UNLESS the value is wrapped in quotes. Please update your .env files to wrap in quotes any values containing #. For example: SECRET_HASH="something-with-a-#-hash").

..Understandably, (as some teams have noted) this is tedious to do across the entire team. To make it less tedious, we recommend using dotenv cli going forward. It's an optional plugin that will keep your .env files in sync between machines, environments, or team members.

Removed

  • Breaking: Remove multiline option (just works out of the box now. no need for the flag.)
motdotla
published 14.3.2 •

Changelog

Source

14.3.2 (2022-01-25)

Changed

  • Preserve backwards compatibility on values containing # 🐞 (#603)
motdotla
published 14.3.1 •

Changelog

Source

14.3.1 (2022-01-25)

Changed

  • Preserve backwards compatibility on exports by re-introducing the prior in-place exports 🐞 (#606)
motdotla
published 14.3.0 •

Changelog

Source

14.3.0 (2022-01-24)

Added

  • Add multiline option 🎉 (#486)
motdotla
published 14.2.0 •

Changelog

Source

14.2.0 (2022-01-17)

Added

  • Add dotenv_config_override cli option
  • Add DOTENV_CONFIG_OVERRIDE command line env option
motdotla
published 14.1.1 •

Changelog

Source

14.1.1 (2022-01-17)

Added

  • Add React gotcha to FAQ on README
motdotla
published 14.1.0 •

Changelog

Source

14.1.0 (2022-01-17)

Added

  • Add override option 🎉 (#595)
motdotla
published 14.0.1 •

Changelog

Source

14.0.1 (2022-01-16)

Added

  • Log error on failure to load .env file (#594)
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