Change8

@cloudflare/workers-utils@0.11.2

📦 cloudflare-workersView on GitHub →
2 features🔧 2 symbols

Summary

This patch introduces new utility functions, `removeDir` and `removeDirSync`, designed to reliably remove directories by implementing automatic retry logic specifically targeting Windows EBUSY errors.

✨ New Features

  • Added `removeDir` and `removeDirSync` helpers with automatic retry logic (maxRetries: 5, retryDelay: 100) to handle Windows EBUSY errors during directory removal.
  • The async `removeDir` helper now includes a `fireAndForget` option to silently swallow removal errors.

Affected Symbols