Update dependency dotenv to v18 #973

Open
renovate-bot wants to merge 1 commit from renovate/dotenv-18.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
dotenv ^17.0.0 → ^18.0.0 age confidence

Release Notes

motdotla/dotenv (dotenv)

v18.0.9

Compare Source

Changed
  • Permit DOTENV_PATH being empty string with the CLI (#​1076)

v18.0.8

Compare Source

Changed
  • Fast parser should strip appended extra quotes (#​1073)
  • Type detail improvement (#​1074)

v18.0.7

Compare Source

Changed
  • Treat undefined settings like quiet: true as null rather than falsey (#​1070)
  • CLI should honor DOTENV_QUIET setting in .env file (#​1071)

v18.0.6

Compare Source

Changed
  • Use smarter parseBoolean not Boolean() to fix override (#​1069)

v18.0.5

Compare Source

Changed
  • Fix missing typescript module declaration (#​1068)
  • Improve performance for large .env files (#​1066)

v18.0.4

Compare Source

Changed
  • import dotenv/config should default quiet: true (#​1063)

v18.0.3

Compare Source

Changed
  • Patch DOTENV_QUIET setting when inside .env file (#​1059)

v18.0.2

Compare Source

Changed
  • Patch additional edge cases for the fast parser (#​1056)

v18.0.1

Compare Source

Changed
  • Handle file urls in config logging (#​1054)

v18.0.0

Compare Source

Added
$ dotenv run -- node index.js
◇ injected env (2) from .env
Hello Dotenv
  • NEW: Dotenv now has a fast parser thanks to @​homanp of superagent.sh. Pass config({ fast: true }), flag --fast, or set DOTENV_FAST=true to opt-in to ~2x faster character-scanner parser. (#​1010)
$ dotenv run --fast -- node index.js
◇ injected env (2) from .env
Hello Dotenv

faster than Node native parseEnv!

Changed
  • Injecting message sent to stderr rather than stdout and tips removed (#​1037)
Removed

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [dotenv](https://github.com/motdotla/dotenv) | [`^17.0.0` → `^18.0.0`](https://renovatebot.com/diffs/npm/dotenv/17.4.2/18.0.9) | ![age](https://developer.mend.io/api/mc/badges/age/npm/dotenv/18.0.9?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/dotenv/17.4.2/18.0.9?slim=true) | --- ### Release Notes <details> <summary>motdotla/dotenv (dotenv)</summary> ### [`v18.0.9`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1809-2026-10-14) [Compare Source](https://github.com/motdotla/dotenv/compare/v18.0.8...v18.0.9) ##### Changed - Permit DOTENV_PATH being empty string with the CLI ([#&#8203;1076](https://github.com/motdotla/dotenv/pull/1076)) ### [`v18.0.8`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1808-2026-10-14) [Compare Source](https://github.com/motdotla/dotenv/compare/v18.0.7...v18.0.8) ##### Changed - Fast parser should strip appended extra quotes ([#&#8203;1073](https://github.com/motdotla/dotenv/pull/1073)) - Type detail improvement ([#&#8203;1074](https://github.com/motdotla/dotenv/pull/1074)) ### [`v18.0.7`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1807-2026-10-09) [Compare Source](https://github.com/motdotla/dotenv/compare/v18.0.6...v18.0.7) ##### Changed - Treat undefined settings like `quiet: true` as null rather than falsey ([#&#8203;1070](https://github.com/motdotla/dotenv/pull/1070)) - CLI should honor `DOTENV_QUIET` setting in `.env` file ([#&#8203;1071](https://github.com/motdotla/dotenv/pull/1071)) ### [`v18.0.6`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1806-2026-10-06) [Compare Source](https://github.com/motdotla/dotenv/compare/v18.0.5...v18.0.6) ##### Changed - Use smarter `parseBoolean` not Boolean() to fix override ([#&#8203;1069](https://github.com/motdotla/dotenv/pull/1069)) ### [`v18.0.5`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1805-2026-09-30) [Compare Source](https://github.com/motdotla/dotenv/compare/v18.0.4...v18.0.5) ##### Changed - Fix missing typescript module declaration ([#&#8203;1068](https://github.com/motdotla/dotenv/pull/1068)) - Improve performance for large .env files ([#&#8203;1066](https://github.com/motdotla/dotenv/pull/1066)) ### [`v18.0.4`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1804-2026-09-25) [Compare Source](https://github.com/motdotla/dotenv/compare/v18.0.3...v18.0.4) ##### Changed - `import dotenv/config` should default quiet: true ([#&#8203;1063](https://github.com/motdotla/dotenv/pull/1063)) ### [`v18.0.3`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1803-2026-09-22) [Compare Source](https://github.com/motdotla/dotenv/compare/v18.0.2...v18.0.3) ##### Changed - Patch `DOTENV_QUIET` setting when inside .env file ([#&#8203;1059](https://github.com/motdotla/dotenv/pull/1059)) ### [`v18.0.2`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1802-2026-09-21) [Compare Source](https://github.com/motdotla/dotenv/compare/v18.0.1...v18.0.2) ##### Changed - Patch additional edge cases for the fast parser ([#&#8203;1056](https://github.com/motdotla/dotenv/pull/1056)) ### [`v18.0.1`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1801-2026-09-18) [Compare Source](https://github.com/motdotla/dotenv/compare/v18.0.0...v18.0.1) ##### Changed - Handle file urls in config logging ([#&#8203;1054](https://github.com/motdotla/dotenv/pull/1054)) ### [`v18.0.0`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1800-2026-09-17) [Compare Source](https://github.com/motdotla/dotenv/compare/v17.4.2...v18.0.0) ##### Added - NEW: Dotenv now has a CLI. ([#&#8203;1022](https://github.com/motdotla/dotenv/pull/1022)) ```sh $ dotenv run -- node index.js ◇ injected env (2) from .env Hello Dotenv ``` - NEW: Dotenv now has a fast parser thanks to [@&#8203;homanp](https://github.com/homanp) of [superagent.sh](https://superagent.sh). Pass `config({ fast: true })`, flag `--fast`, or set `DOTENV_FAST=true` to opt-in to \~2x faster character-scanner parser. ([#&#8203;1010](https://github.com/motdotla/dotenv/pull/1010)) ```sh $ dotenv run --fast -- node index.js ◇ injected env (2) from .env Hello Dotenv ``` [faster than Node native parseEnv!](https://dotenvx.com/blog/2026/09/28/dotenv-fast.html) ##### Changed - Injecting message sent to stderr rather than stdout and tips removed ([#&#8203;1037](https://github.com/motdotla/dotenv/pull/1037)) ##### Removed - Remove tips ([#&#8203;1031](https://github.com/motdotla/dotenv/pull/1031)) - Remove skill files ([#&#8203;1032](https://github.com/motdotla/dotenv/pull/1032)) - Remove Spanish README ([#&#8203;1034](https://github.com/motdotla/dotenv/pull/1034)) - Remove .env.vault support ([#&#8203;1033](https://github.com/motdotla/dotenv/pull/1033)) - Remove preloading. Instead use cli `dotenv run -- your-command` ([#&#8203;1035](https://github.com/motdotla/dotenv/pull/1035)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC45Ny41IiwidXBkYXRlZEluVmVyIjoiNDQuMTc2LjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Update dependency dotenv to v18
Some checks failed
Build / setup (pull_request) Failing after 1m1s
Build / unit (pull_request) Has been skipped
Build / cypress (pull_request) Has been skipped
Build / cleanup (pull_request) Successful in 1s
bc593b7642
Some checks failed
Build / setup (pull_request) Failing after 1m1s
Required
Details
Build / unit (pull_request) Has been skipped
Required
Details
Build / cypress (pull_request) Has been skipped
Required
Details
Build / cleanup (pull_request) Successful in 1s
Some required checks were not successful.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/dotenv-18.x:renovate/dotenv-18.x
git switch renovate/dotenv-18.x
Sign in to join this conversation.
No description provided.