Skip to content

net.request(...) is not API-compatible with Node.js #21517

@szmarczak

Description

@szmarczak

The documentation says:

The API components (including classes, methods, properties and event names) are similar to those used in Node.js.

While the API is nowhere compatible with Node.js, I see two solutions here:

  1. Rewrite the code so it is compatible.
  2. Mention in the docs that it is NOT compatible (aka "abandon")

Every new release Got needs monkey-patching because there's always something incompatible.

Electron in a nutshell :trollface:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions