Skip to content

fix(fs): use crypto.getRandomValues() for temp file naming#6983

Open
tomas-zijdemans wants to merge 1 commit intodenoland:mainfrom
tomas-zijdemans:math-random
Open

fix(fs): use crypto.getRandomValues() for temp file naming#6983
tomas-zijdemans wants to merge 1 commit intodenoland:mainfrom
tomas-zijdemans:math-random

Conversation

@tomas-zijdemans
Copy link
Contributor

Make sure filenames aren't predictable

@tomas-zijdemans tomas-zijdemans requested a review from kt3k as a code owner February 4, 2026 08:58
@github-actions github-actions bot added the fs label Feb 4, 2026
@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.26%. Comparing base (e80e6bb) to head (f69f7bb).

Files with missing lines Patch % Lines
fs/_utils.ts 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6983      +/-   ##
==========================================
- Coverage   94.26%   94.26%   -0.01%     
==========================================
  Files         602      602              
  Lines       43662    43667       +5     
  Branches     7063     7063              
==========================================
+ Hits        41159    41161       +2     
- Misses       2447     2451       +4     
+ Partials       56       55       -1     

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant