Commit Graph

282 Commits

Author SHA1 Message Date
Jay
d905b7598d
refactor: refresh test suite to be modernised (#7489)
* chore: port karma tests

* chore: port karma tests

* chore: port karma tests

* chore: tests

* chore: tests

* chore: tests

* chore: fix issues with port collisions

* refactor: utils tests

* refactor: utils tests

* refactor: utils tests

* refactor: tests to vitests

* refactor: tests to vitests

* refactor: tests to vitests

* refactor: tests to vitests

* refactor: tests to vitests

* refactor: tests to vitests

* refactor: tests to vitests

* refactor: ci

* chore: install pw deps

* chore: fixx ai feedback

* chore: wip compatability tests

* chore: wip compatability tests

* chore: wip compatability tests

* refactor: wip smoke

* chore: smoke test run

* chore: update unzip

* chore: update testing

* chore: update testing

* chore: update testing

* chore: update testing

* chore: update testing

* chore: skip tests that cannot run on node 16 and lower

* chore: fix 16x under tests

* chore: rest of tests

* fix: functions and runs

* feat: added tests for esm smoke

* feat: added smoke

* chore: ignore ai gen plans

* chore: ci fixes

* chore: fix small p2s
2026-03-12 15:27:09 +02:00
Jay
fa337332b9
Update unit testing flows as part of migration to vitest (#7484)
* chore: small fixes to tests

* feat: transitional move to vitests

* feat: moving unit tests in progress

* feat: moving more unit tests over

* feat: more tests moved

* feat: updated more sections of the http test

* chore: wip http tests

* chore: wip http tests

* chore: more http tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: tests

* chore: remove un-needed docs

* chore: update package lock

* chore: update lock
2026-03-06 20:42:14 +02:00
github-actions[bot]
7108c8877f
chore(release): prepare release 1.13.6 (#7446)
* 1.13.6

* chore(release): prepare release 1.13.6

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2026-02-27 17:28:22 +02:00
digital-wizard48
20a0ba3c01
refactor(deps): migrate @rollup/plugin-babel from v5.3.1 to v6.1.0 (#7424)
Co-authored-by: s0wa48 <msmaciejsowinski@gmail.com>
Co-authored-by: Jay <jasonsaayman@gmail.com>
2026-02-25 10:35:22 +02:00
Jay
ef3711d1b3
feat: implement prettier and fix all issues (#7385)
* feat: implement prettier and fix all issues

* fix: failing tests

* fix: implement feedback from codel, ai etc

* chore: dont throw in trim function

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: incorrect fix

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-02-14 16:59:48 +02:00
Mark Stacey
335b79ffb6
fix: fix export for React Native and Browserify (#7386)
Browserify and React Native projects (that aren't using
`unstable_enablePackageExports`) use the `main` field as the package

entrypoint. A recent PR (#5756) updated `main` to use a CommonJS bundle
for Node.js, which caused Browserify and React Native projects to
use the Node.js bundle. This led to many reports of broken React Native
builds.

This has been fixed by adding an entry to `browser` and `react-native`
to re-map the Node.js CommonJS bundle to the browser CommonJS bundle.
2026-02-10 08:34:23 +02:00
github-actions[bot]
29f75425f0
chore(release): prepare release 1.13.5 (#7379)
* 1.13.5

* chore(release): prepare release 1.13.5

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2026-02-08 12:53:34 +02:00
dependabot[bot]
44b7c9f0c4
chore(deps-dev): bump karma-sourcemap-loader (#7360)
Bumps the development_dependencies group with 1 update in the / directory: [karma-sourcemap-loader](https://github.com/demerzel3/karma-sourcemap-loader).


Updates `karma-sourcemap-loader` from 0.3.8 to 0.4.0
- [Changelog](https://github.com/demerzel3/karma-sourcemap-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/demerzel3/karma-sourcemap-loader/commits/0.4.0)

---
updated-dependencies:
- dependency-name: karma-sourcemap-loader
  dependency-version: 0.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development_dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 20:40:52 +02:00
Jay
472c631e86
refactor: bump minors package versions (#7356)
* refactor: bump minors package versions

* fix: dtslint

* fix: package install

* chore: remove dts

* chore: attempt to fix issues with 12 and 14

* chore: remove unneeded package

* chore: remove unneeded package

* chore: remove unneeded package

* chore: try to install on older version

* chore: remove build for 12

* fix: sponsors
2026-01-29 20:34:43 +02:00
Jay
99d588dcea
chore: fix issues with yml (#7355)
* chore: fix issues with yml

* chore: fix issues with sponsor update yml
2026-01-28 19:57:41 +02:00
github-actions[bot]
9336cf9a33
chore(release): prepare release 1.13.4 (#7353)
* 1.13.4

* chore: codegen and some updates to workflows

* chore: add github token

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: jasonsaayman <jasonsaayman@gmail.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-01-27 20:13:03 +02:00
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