`isNode()` should not be true for bun
Bun unfortunately masquerades as node in `globalThis.process.versions`:
```js
{
node: '22.2.0',
bun: '1.1.12',
}
```
Imho, `isNode` should return false when `bun` is present. Alternatively, call out this problem in docs only.
关闭于 2024-06-06 1 条评论