Skip to content

feat: function that replaces all the objects from Node.js core with the ones from undici. #2674

@metcoder95

Description

@metcoder95
          >  it would cause very hard to debug issues

This is the reason why we didn't implement this feature.


How about we get the undici version number from process.versions, find out if they are compatible, and if not consider them different?

I still think we should add a undici.installGlobals() function that replaces all the objects from Node.js core with the ones from undici.

Originally posted by @mcollina in #2659 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions