dotenv
18.0.10 · 9 Nov 2026BSD-2-Clause284.8M / weekRepositoryHomepagenpmAtom feed
Upgrading dotenv From 4.0.0 to 5.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Other targets from 4.0.0Latest18.0.10
- 3
- changes to make
- 0
- advisories fixed
- 3
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
Release by release
- Breaking
Breaking: default
pathis nowpath.resolve(process.cwd(), '.env') - Breaking
Breaking: does not write over keys already in
process.envif the key has a falsy value - Breaking
Testing against Node v7
- New
Testing against Node v8 and v9
- New
Documentation on trim behavior of values
- New
Documentation on how to use with
import
- Breaking
1 other line we could not sort, mostly version bumps
- 5.0.0
Using
constandletinstead ofvar
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.