Skip to content

fix(index): add create to index exports#6460

Merged
jasonsaayman merged 1 commit intoaxios:v1.xfrom
FLNacif:fix/export-create
Apr 27, 2026
Merged

fix(index): add create to index exports#6460
jasonsaayman merged 1 commit intoaxios:v1.xfrom
FLNacif:fix/export-create

Conversation

@FLNacif
Copy link
Copy Markdown
Contributor

@FLNacif FLNacif commented Jun 20, 2024

Add create to exports in index.js.

As create is being added to the default export in a different way from the other properties, seems like it has been fogotten.
https://github.com/axios/axios/blob/v1.x/lib/axios.js#L39

We are having an issue in our project, that for some reason undiscovered yet, create is not available through default export after bundle.

Obs.: The test added do not fail in case of not being exported, as I am not sure why the problem is caused, I am not sure how to test it the best way.

@nidhishgajjar

This comment was marked as spam.

@nidhishgajjar

This comment was marked as spam.

@jasonsaayman jasonsaayman added priority::medium A medium priority commit::fix The PR is related to a bugfix labels Apr 27, 2026
@jasonsaayman jasonsaayman self-requested a review as a code owner April 27, 2026 13:14
@jasonsaayman jasonsaayman merged commit bef4868 into axios:v1.x Apr 27, 2026
21 checks passed
ModyQyW added a commit to uni-helper/uni-network that referenced this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit::fix The PR is related to a bugfix priority::medium A medium priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants