From 1ded4954366c67f5683b9642b26b74c541e096e6 Mon Sep 17 00:00:00 2001 From: Kevin Deng Date: Sat, 2 May 2026 15:50:16 +0900 Subject: [PATCH] docs: update known limitations --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 039c43c..73624b1 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,11 @@ deregister() // Optional: deregister the hooks when no longer needed ## Known Limitations -- Support Node.js since v22.18.0, and doesn't support Deno. - - For Bun, `clearRequireCache` works, but `init` is not needed since ESM imports is the same as CJS requires. - - Yarn PnP is not supported on Node.js < v24. -- Only supports ESM modules by default. CommonJS cache can be cleared by `clearRequireCache`. -- `require(esm)` is supported since Node.js v24.13.1. +- Supports Node.js v22.18.0 and later; Deno is not supported. +- Yarn PnP is not supported on Node.js versions earlier than v24. +- In Bun, `clearRequireCache` works, but `init` is unnecessary because ESM imports behave the same as CommonJS requires. +- Only ESM modules are supported by default. The CommonJS cache can be cleared with `clearRequireCache`. +- `require(esm)` is supported starting in Node.js v24.13.1. ## Sponsors -- 2.51.2