Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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