Skip to content

lock dotenv to v16 to prevent advertising spam on import#774

Open
whaaaley wants to merge 1 commit intoNaturalNode:masterfrom
whaaaley:lock-dotenv-v16
Open

lock dotenv to v16 to prevent advertising spam on import#774
whaaaley wants to merge 1 commit intoNaturalNode:masterfrom
whaaaley:lock-dotenv-v16

Conversation

@whaaaley
Copy link
Copy Markdown

Follow-up to #773.

That PR lazy-loads storage plugins so users who don't use storage avoid both the unnecessary imports and the dotenv advertising. This PR covers users who do use storage and still don't want the log spam.

Pins dotenv to ^16.4.7 (latest v16) which has the same .config() API without the logging. All 858 specs pass.

It might also be worth considering removing the dotenv dependency down the road and letting applications handle their own .env loading.

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