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

dotenv

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv - npm Package Versions

13
9

16.3.0

Diff

Changelog

Source

16.3.0 (2023-06-16)

Added

  • Optionally pass DOTENV_KEY to options rather than relying on process.env.DOTENV_KEY. Defaults to process.env.DOTENV_KEY #754
motdotla
published 16.2.0 •

Changelog

Source

16.2.0 (2023-06-15)

Added

  • Optionally write to your own target object rather than process.env. Defaults to process.env. #753
  • Add import type URL to types file #751
motdotla
published 16.1.4 •

Changelog

Source

16.1.4 (2023-06-04)

Added

  • Added .github/ to .npmignore #747
motdotla
published 16.1.3 •

Changelog

Source

16.1.3 (2023-05-31)

Removed

  • Removed browser keys for path, os, and crypto in package.json. These were set to false incorrectly as of 16.1. Instead, if using dotenv on the front-end make sure to include polyfills for path, os, and crypto. node-polyfill-webpack-plugin provides these.
motdotla
published 16.1.2 •

Changelog

Source

16.1.2 (2023-05-31)

Changed

  • Exposed private function _configDotenv as configDotenv. #744
motdotla
published 16.1.1 •

Changelog

Source

16.1.1 (2023-05-30)

Added

  • Added type definition for decrypt function

Changed

  • Fixed {crypto: false} in packageJson.browser
motdotla
published 16.1.0 •

Changelog

Source

16.1.0 (2023-05-30)

Added

  • Add populate convenience method #733
  • Accept URL as path option #720
  • Add dotenv to npm fund command
  • Spanish language README #698
  • Add .env.vault support. 🎉 (#730)

ℹ️ .env.vault extends the .env file format standard with a localized encrypted vault file. Package it securely with your production code deploys. It's cloud agnostic so that you can deploy your secrets anywhere – without risky third-party integrations. read more

Changed

  • Fixed "cannot resolve 'fs'" error on tools like Replit #693
motdotla
published 16.1.0-rc2 •

motdotla
published 16.1.0-rc1 •

motdotla
published 16.0.3 •

Changelog

Source

16.0.3 (2022-09-29)

Changed

  • Added library version to debug logs (#682)
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