Skip to content

Conversation

@rahuld109
Copy link
Contributor

Summary

  • Replace dotenv.config({ quiet: true }) with native process.loadEnvFile()
  • Use try/catch to silently ignore missing .env files
  • Remove dotenv dependency from package.json

Closes #636

- Use process.loadEnvFile() instead of dotenv.config()
- Wrap in try/catch to silently ignore missing .env files
- Remove dotenv dependency from package.json

Closes NodeSecure#636
@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.38%. Comparing base (28ee6a9) to head (f1669f2).
⚠️ Report is 293 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (28ee6a9) and HEAD (f1669f2). Click for more details.

HEAD has 3 uploads less than BASE
Flag BASE (28ee6a9) HEAD (f1669f2)
6 3
Additional details and impacted files
@@             Coverage Diff              @@
##            master     #638       +/-   ##
============================================
- Coverage   100.00%   57.38%   -42.62%     
============================================
  Files           15       45       +30     
  Lines          649     3417     +2768     
  Branches         0       15       +15     
============================================
+ Hits           649     1961     +1312     
- Misses           0     1456     +1456     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fraxken fraxken merged commit 62f65a8 into NodeSecure:master Dec 19, 2025
7 of 8 checks passed
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.

Remove dotenv

2 participants