Skip to content

Upgrade dotenv 16.6.1 -> 17.2.2#698

Merged
andygout merged 1 commit intomainfrom
upgrade-dotenv
Sep 23, 2025
Merged

Upgrade dotenv 16.6.1 -> 17.2.2#698
andygout merged 1 commit intomainfrom
upgrade-dotenv

Conversation

@andygout
Copy link
Owner

This PR upgrades dotenv to the current latest version.

If the changes in src/dotenv.js are not applied then unnecessary logs will appear in the server logs (those in the below sample that start with [dotenv@17.2.2]).

This is owing to the change introduced in v17: https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md#1700-2025-06-27:

Default quiet to false - informational (file and keys count) runtime log message shows by default (motdotla/dotenv#875)

$ npm start

> dramatis-api@0.0.0 start
> npm run setup && node --watch-path=src --watch-preserve-output src/app.js


> dramatis-api@0.0.0 setup
> node src/setup.js

[dotenv@17.2.2] injecting env (3) from .env -- tip: 🔐 prevent committing .env to code: https://dotenvx.com/precommit
Neo4j database: Creating constraints…
Neo4j database: No constraints required
Neo4j database: Creating indexes…
Neo4j database: No indexes required
Neo4j database: Creating full-text indexes…
Neo4j database: No full-text indexes required
[dotenv@17.2.2] injecting env (3) from .env -- tip: 🛠️  run anywhere with `dotenvx run -- yourcommand`
Listening on port 3000

@andygout andygout merged commit 3ffbb85 into main Sep 23, 2025
1 check passed
@andygout andygout deleted the upgrade-dotenv branch September 23, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant