Skip to content

node:util polyfill should remove the is* methods #10240

@jasnell

Description

@jasnell

The various util.is* methods have reached End-of-Life in Node.js and were removed. They should be removed from the polyfill. The only one currently remaining is isArray(...)

https://nodejs.org/docs/latest/api/deprecations.html#dep0045-utilisboolean

https://github.com/cloudflare/workers-sdk/blob/main/packages/unenv-preset/src/runtime/node/util.ts#L31C2-L44

Might need to be handled as a major change.

/cc @petebacondarwin @vicb

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedBlocked on other worknode compatRelating to the differences between the Workers environment and Nodenodejs compatRelating to the node runtime compatibility flag

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions