Skip to content

Use node's fetch instead of cross-fetch #23

@li-yechao

Description

@li-yechao

As following warning message, node-domexception is deprecated, it is a nested dependency of node-fetch (node-fetch also is a dependency of cross-fetch). Since node original support fetch since v18, can we remove cross-fetch/node-fetch polyfill, use node's original fetch instead?

npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
      @libsql/client 0.15.9
      └─┬ @libsql/hrana-client 0.7.0
        └─┬ node-fetch 3.3.2
          ├─┬ fetch-blob 3.2.0
          │ └── node-domexception 1.0.0
          └─┬ formdata-polyfill 4.0.10
            └─┬ fetch-blob 3.2.0
              └── node-domexception 1.0.0

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