Commit Graph

271 Commits

Author SHA1 Message Date
Jay
ab06109b40
chore(release): v1.13.3 (#7335) 2026-01-20 19:47:13 +02:00
Adam Hines
7373fbff24
fix: main field in package.json should correspond to cjs artifacts (#5756)
When https://github.com/axios/axios/pull/4787 was implemented, the project was switched to `"type": "module"` and "./index.js" became an esm file instead of commonjs, however, the "main" entry in package.json still points to "index.js". As a result, consumers using this field may get unexpected behavior since the main field is supposed to be commonjs if the entry is provided.

Many consumers won't run into this as a practical problem (for example when just doing `const axios = require('axios').default` from inside of a cjs file in node) because the "exports" map takes precedence over the main/module fields, but tools that don't parse the object map when resolving still run into problems here.

The fix for this is to just point the "main" entry-point to the commonjs artifacts located at "./dist/node/index.cjs".

I also added a module entrypoint to improve compatability for the cases where the export map is not used (webpack 4 for example) since that would likely be reading the cjs "main" entrypoint now that main has switched back to cjs.

Co-authored-by: Jay <jasonsaayman@gmail.com>
2025-12-30 14:10:04 +02:00
Nikunj Mochi
ec9d94e9f8
feat: add Node.js coverage script using c8 (closes #7289) (#7294)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2025-12-06 10:37:24 +02:00
Jarred Sumner
b89217e3e9
fix(package.json): add 'bun' package.json 'exports' condition. Load the Node.js build in Bun instead of the browser build (#5754)
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Co-authored-by: Jay <jasonsaayman@gmail.com>
2025-11-11 20:02:35 +02:00
github-actions[bot]
08b84b52d5
chore(release): v1.13.2 (#7207)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2025-11-04 22:00:13 +02:00
github-actions[bot]
1ef8e7218b
chore(release): v1.13.1 (#7194)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2025-10-28 20:54:35 +02:00
github-actions[bot]
9ead04d8ab
[Release] v1.13.0 (#7189) 2025-10-27 18:07:18 +02:00
Dmitriy Mozgovoy
d676df7722
feat(http): add HTTP2 support; (#7150) 2025-10-19 15:06:36 +03:00
Abhishek3880
6306657396
chore: enhance package.json keywords for better discoverability (#7116)
- Add 'browser', 'fetch', 'rest', 'api', 'client' keywords
  - Improve npm package discoverability for common HTTP client searches
  - Better categorize axios functionality for developers

Co-authored-by: Jay <jasonsaayman@gmail.com>
2025-10-09 09:27:26 +02:00
Noritaka Kobayashi
e9cfed35cf
chore: remove unused terser-webpack-plugin (#7032) 2025-09-15 08:14:30 +02:00
github-actions[bot]
e5a33366d7
chore(release): v1.12.2 (#7031)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2025-09-14 15:58:39 +03:00
Dmitriy Mozgovoy
9fb41a8fcd
chore(ci): add local HTTP server for Karma tests; (#7022) 2025-09-13 17:50:32 +03:00
github-actions[bot]
3cac78c2de
chore(release): v1.12.1 (#7021)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2025-09-12 17:18:39 +03:00
github-actions[bot]
0d8ad6e1de
chore(release): v1.12.0 (#7013)
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2025-09-11 21:32:15 +02:00
Jason Saayman
fd7f404488 fix: release pr run 2025-09-11 20:44:16 +02:00
Jason Saayman
a2edc3606a fix: dont add dist on release 2025-09-11 20:37:08 +02:00
Jay
9ec86de257
fix: adding build artifacts 2025-09-11 20:25:48 +02:00
Dmitriy Mozgovoy
d03f245a40
chore(CI): fixed release info script to use npm registry instead of git as file history source; (#7006) 2025-09-04 08:33:40 +02:00
Gligor Kotushevski
aa78ac23fc
fix: package exports (#5627)
* fix package exports

* fix(package): comma missed at merge
2025-08-06 10:03:07 +02:00
github-actions[bot]
b76c4ac6f8
chore(release): v1.11.0 (#6974)
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2025-07-23 08:04:30 +02:00
izzy goldman
e72c193722
fix: form-data npm pakcage (#6970) 2025-07-22 20:58:10 +02:00
github-actions[bot]
73a836dae7
chore(release): v1.10.0 (#6943)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2025-06-14 15:11:07 +03:00
Dmitriy Mozgovoy
3d343b86dc
fix(package): add module entry point for React Native; (#6933) 2025-06-08 20:17:59 +03:00
github-actions[bot]
cdcfd214c1
chore(release): v1.9.0 (#6891)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2025-04-24 23:18:14 +03:00
github-actions[bot]
9f6f97bcfb
chore(release): v1.8.4 (#6844)
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2025-03-19 21:26:49 +02:00
github-actions[bot]
39ec206483
chore(release): v1.8.3 (#6819)
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2025-03-12 09:23:22 +02:00
github-actions[bot]
a9f7689b0c
chore(release): v1.8.2 (#6812)
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2025-03-07 09:40:33 +02:00
github-actions[bot]
2e64afdff5
chore(release): v1.8.1 (#6800)
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2025-02-26 11:06:15 +02:00
github-actions[bot]
cceb7b1e15
chore(release): v1.8.0 (#6795)
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2025-02-26 08:00:31 +02:00
github-actions[bot]
b2cb45d5a5
chore(release): v1.7.9 (#6730)
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2024-12-04 09:37:30 +02:00
github-actions[bot]
415ca94401
chore(release): v1.7.8 (#6715)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-11-25 23:13:12 +02:00
github-actions[bot]
5b8a826771
chore(release): v1.7.7 (#6585)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-09-01 01:01:25 +03:00
github-actions[bot]
d584fcfa62
chore(release): v1.7.6 (#6583)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-08-30 22:56:08 +03:00
github-actions[bot]
59cd6b0dec
chore(release): v1.7.5 (#6574)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-08-23 16:31:50 +03:00
github-actions[bot]
abd24a7367
chore(release): v1.7.4 (#6544)
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2024-08-13 21:32:20 +02:00
github-actions[bot]
c6cce43cd9
chore(release): v1.7.3 (#6521)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-08-01 19:15:27 +03:00
github-actions[bot]
0e4f9fa290
chore(release): v1.7.2 (#6414)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-05-21 19:57:14 +03:00
github-actions[bot]
67d1373131
chore(release): v1.7.1 (#6411)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-05-20 16:31:57 +03:00
github-actions[bot]
3041c61ada
[Release] v1.7.0 (#6408)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-05-19 23:24:05 +03:00
github-actions[bot]
b49aa8e3d8
chore(release): v1.7.0-beta.2 (#6403)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-05-19 21:00:36 +03:00
github-actions[bot]
b9f4848f8c
chore(release): v1.7.0-beta.1 (#6383)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-05-07 21:37:01 +03:00
Dmitriy Mozgovoy
d1d359da34
fix(fetch): fix cases when ReadableStream or Response.body are not available; (#6377) 2024-05-03 20:22:11 +03:00
github-actions[bot]
8e4314bfd6
chore(release): v1.7.0-beta.0 (#6373)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-04-28 22:50:08 +03:00
Dmitriy Mozgovoy
a3ff99b59d
feat(adapter): add fetch adapter; (#6371) 2024-04-28 22:33:49 +03:00
github-actions[bot]
ab3f0f9a94
chore(release): v1.6.8 (#6303)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-03-15 18:31:56 +02:00
Mitchell
8786e0ff55
fix(vulnerability): update follow-redirects to 1.15.6 (#6300) 2024-03-15 17:59:42 +02:00
Jay
d844227411
chore: update and bump deps (#6238)
* chore: update and bump deps where we can | covers deps in full dev-deps just bump

* chore: added compiled lock

---------

Co-authored-by: Jason <jason@trooptravel.com>
2024-02-16 13:28:57 +02:00
github-actions[bot]
a52e4d9af5
chore(release): v1.6.7 (#6204)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-01-25 21:57:54 +02:00
github-actions[bot]
104aa3f65d
chore(release): v1.6.6 (#6199)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-01-25 01:11:30 +02:00
github-actions[bot]
6d4c421ee1
chore(release): v1.6.5 (#6177)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-01-05 21:51:22 +02:00