Skip to content

Breaking change 10.1.0 -> 10.1.1 #1826

Open
@rwb196884

Description

@rwb196884

Describe the bug

Node.js version:
22.11

OS version:
Windows 10

Description:

A file that contains

import { get, post, put, patch, delete as saDelete, Response as SuperAgentResponse, SuperAgentRequest } from 'superagent';

causes runtime error

The requested module '...superagent/lib/client.js' doesn't provide an export named 'put'.

Actual behavior

Runtime error.

Expected behavior

Continued to work as it has for months.

Code to reproduce

Checklist

  • [ .] I have searched through GitHub issues for similar issues.
  • [. ] I have completely read through the README and documentation.
  • [. ] I have tested my code with the latest version of Node.js and this package and confirmed it is still not working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions