-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update dotenv peer dependency version #1401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The previous version causes conflicts with the new version projects
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
Greptile OverviewGreptile SummaryUpdated Key Changes
Considerations
Confidence Score: 2/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant App as Application Code
participant Dotenv as dotenv v17.2.3
participant Env as process.env
participant Console as Console Output
App->>Dotenv: dotenv.config()
Note over Dotenv: quiet defaults to false in v17
Dotenv->>Env: Load .env variables
Dotenv->>Console: [[email protected]] injecting env (N) from .env
Dotenv-->>App: Return config result
Note over App,Console: Previously (v16): No console output by default
Note over App,Console: Now (v17): Runtime logs shown by default
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional Comments (1)
-
packages/core/package.json, line 42 (link)style: Dotenv v17 changes default behavior:
quietnow defaults tofalse, showing runtime log messages like[[email protected]] injecting env (1) from .envby default. Consider callingdotenv.config({ quiet: true })if you want to suppress these logs.
1 file reviewed, 1 comment
Update dotenv peer dependency version
why
The previous version causes conflicts with the new version projects
what changed
dotenv dependency version from "^16.4.5" to "^17.2.3"
test plan
Summary by cubic
Updated dotenv peer dependency to ^17.2.3 to prevent conflicts with projects using dotenv v17. Ensures the core package remains compatible and resolves peers correctly.
Written for commit 4800f0d. Summary will update automatically on new commits.