Jay
6140fcf96f
chore: updated changelog
2022-10-07 11:04:34 +02:00
Jay
9fc94b7dcd
fix: revert named exports
2022-10-07 10:43:43 +02:00
Jay
a46beab152
fix: keep compatability with other changes
2022-10-07 10:24:18 +02:00
Jay
2149464bb4
fix: issue with exports not working correctly in common js scenarios
2022-10-07 10:19:25 +02:00
Jay
9c3dce366b
chore: release v1.1.0
2022-10-06 21:17:46 +02:00
Jay
52d64ac3b7
chore: generate changelog
2022-10-06 21:14:48 +02:00
Richard Kořínek
d701c7b591
Improved plain object checking ( #5036 )
2022-10-06 21:01:37 +02:00
Ivan Pepelko
7a06a3616f
Fix commonjs & umd exports ( #5030 )
2022-10-06 10:59:47 +02:00
shingo.sasaki
a6e40c3bb2
fix(type): add clear to AxiosInterceptorManager ( #5010 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-06 08:16:27 +02:00
Dmitriy Mozgovoy
e757e0e572
Make onabort&addEventListener&removeEventListener of GenericAbortSignal interface optional; ( #5021 )
2022-10-06 08:09:45 +02:00
Dmitriy Mozgovoy
3e4d52171e
Fixed query params composing; ( #5018 )
...
* Fixes #4999 ;
* Added regression test;
2022-10-05 21:29:50 +02:00
Trim21
d61dbede95
add missing export ( #5003 )
2022-10-05 08:02:35 +02:00
Jay
484aa4fe6a
chore: updated changelog
2022-10-04 21:19:36 +02:00
Jay
ff34f6dd51
chore: release v1.0.0
2022-10-04 20:25:21 +02:00
Raihan Nismara
aa001e2946
Using Logo Axios in Readme.md ( #4993 )
...
Using logo Axios in readme file made looks nicer
2022-10-04 19:48:11 +02:00
dependabot[bot]
659eeaf67c
chore(deps): bump actions/stale from 5 to 6 ( #4980 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-29 08:27:44 +02:00
Huyen Nguyen
60e85533b3
docs: enable syntax highlighting for a code block ( #4970 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-29 08:27:32 +02:00
Willian Agostini
58ec93a95e
Allow null indexes on formSerializer and paramsSerializer ( #4960 )
...
* test: Failed test
Param indexes from formSerializer and paramsSerializer receiving null
Closes #4959
* fix: Allow null to indexes in SerializerOptions
Closes #4959
Co-authored-by: Willian Agostini <willian.agostini@fleetcor.com.br >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-29 08:18:35 +02:00
Luca Pizzini
05338f4454
Removed unused imports ( #4949 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-28 21:16:14 +02:00
Marco Weber
0959c5cbbb
Improve typing of timeout in index.d.ts ( #4934 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-28 21:09:57 +02:00
Parth Banathia
25a5669739
fix: removed unused imports ( #4914 )
...
Co-authored-by: parth0105pluang <98079965+parth0105pluang@users.noreply.github.com >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-28 20:57:06 +02:00
mia-z
b5ea1dc009
feat: add enum containing Http Status Codes to typings. ( #4903 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-28 20:42:00 +02:00
C. T. Lin
7c60c6282a
chore: simplify the import path of AxiosError ( #4875 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-26 21:16:44 +02:00
Stephen Jennings
64906bd886
require interceptors to return values ( #4874 )
...
Fixes #4873
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-26 21:11:29 +02:00
Günther Foidl
b0710bf8a2
SerializerOptions.indexes allows boolean | null | undefined ( #4862 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-26 20:26:32 +02:00
WD
daa426a01c
fix: the error of calling extend to pass parameters #4844 ( #4857 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-26 20:14:37 +02:00
Usman Ali Siddiqui
892c241773
Fix: typo in readme ( #4942 )
...
Co-authored-by: Usman Ali Siddiqui <usmanali.siddiqui@wsa.com >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-15 07:36:31 +02:00
Yue JIN
5138c302bb
docs: fix Gitpod dead link ( #4941 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-15 07:32:36 +02:00
WD
cec2287024
chore: remove unnecessary spaces ( #4854 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-15 07:25:21 +02:00
Karl Horky
d57fdb6510
Fix typo and formatting, add colons ( #4853 )
...
* Fix typo, add colons
* Fix code formatting
* Fix code formatting
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-15 07:21:40 +02:00
felipedamin
738fa63661
Use WHATWG URL API instead of url.parse() ( #4852 )
...
* replace url.parse with new whatwg url api
* remove comments
* use const instead of var
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-14 21:40:08 +02:00
Grégoire Pineau
dd5ba02254
Fix markup for note in README ( #4825 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-14 21:32:23 +02:00
Bassel Rachid
242c1d9782
fix(adapters/http): remove repeated compression algorithm ( #4820 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-14 21:28:09 +02:00
Dmitriy Mozgovoy
379fdebc46
Fixed a regression bug with unsubscribing from cancel token; ( #4819 )
...
Reverts #4795 ;
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-14 21:24:22 +02:00
hcwhan
ce8a9211b6
fix type error ( #4815 )
...
AxiosPromise is contains AxiosResponse and the `R` is AxiosResponse
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-14 21:18:39 +02:00
Jay
649d739288
chore: ql should run on any branch
2022-08-08 18:20:38 +02:00
Jay
e6f0efc75d
chore: ci should run on any branch
2022-08-08 18:20:03 +02:00
Dmitriy Mozgovoy
cd8989a987
Fixed missed minified builds; ( #4805 )
...
* Fixed missed minified builds;
Refactored utils.js;
Refactored `utils.isStandardBrowserEnv()` as a `platform/browser` property;
Added builds size log;
* Replaced `rollup-plugin-filesize` with `rollup-plugin-bundle-size`;
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-08-01 19:13:14 +02:00
wenzheng
d17d9a66c5
feat: brower platform add data protocol. ( #4804 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-08-01 18:58:12 +02:00
Jay
3e2a925731
Update ci.yml
2022-07-27 19:27:20 +02:00
Jay
22b01d3d3f
Update codeql-analysis.yml
2022-07-27 19:26:54 +02:00
dependabot[bot]
94555a635a
chore(deps): bump terser from 4.8.0 to 4.8.1 ( #4872 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 19:23:50 +02:00
Jay
64dcec5e41
feat: add code quality scanner
2022-07-09 15:50:35 +02:00
dependabot[bot]
62d8eb793e
chore(deps): bump actions/dependency-review-action from 1 to 2 ( #4801 )
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 1 to 2.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 16:02:57 +02:00
Dmitriy Mozgovoy
bdf493cf8b
Axios ES2017 ( #4787 )
...
* Added AxiosHeaders class;
* Fixed README.md href;
* Fixed a potential bug with headers normalization;
* Fixed a potential bug with headers normalization;
Refactored accessor building routine;
Refactored default transforms;
Removed `normalizeHeaderName` helper;
* Added `Content-Length` accessor;
Added missed `has` accessor to TS types;
* Added `AxiosTransformStream` class;
Added progress capturing ability for node.js environment;
Added `maxRate` option to limit the data rate in node.js environment;
Refactored event handled by `onUploadProgress` && `onDownloadProgress` listeners in browser environment;
Added progress & data rate tests for the http adapter;
Added response stream aborting test;
Added a manual progress capture test for the browser;
Updated TS types;
Added TS tests;
Refactored request abort logic for the http adapter;
Added ability to abort the response stream;
* Remove `stream/promises` & `timers/promises` modules usage in tests;
* Use `abortcontroller-polyfill`;
* Fixed AxiosTransformStream dead-lock in legacy node versions;
Fixed CancelError emitting in streams;
* Reworked AxiosTransformStream internal logic to optimize memory consumption;
Added throwing an error if the request stream was silently destroying (without error) Refers to #3966 ;
* Treat the destruction of the request stream as a cancellation of the request;
Fixed tests;
* Emit `progress` event in the next tick;
* Initial refactoring;
* Refactored Mocha tests to use ESM;
* Refactored Karma tests to use rollup preprocessor & ESM;
Replaced grunt with gulp;
Improved dev scripts;
Added Babel for rollup build;
* Added default commonjs package export for Node build;
Added automatic contributors list generator for package.json;
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-06-18 11:19:27 +02:00
dependabot[bot]
1db715dd3b
chore(deps): bump actions/setup-node from 2 to 3 ( #4798 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-18 11:15:53 +02:00
dependabot[bot]
68723fc389
chore(deps): bump actions/stale from 3 to 5 ( #4797 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 3 to 5.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v3...v5 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-06-18 11:13:19 +02:00
dependabot[bot]
de7f4c6c39
chore(deps): bump actions/checkout from 2 to 3 ( #4796 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-18 11:11:11 +02:00
Naveen
6ac313a01e
chore(deps): Included dependency review ( #4771 )
...
> Dependency Review GitHub Action in your repository to enforce dependency
> reviews on your pull requests.
> The action scans for vulnerable versions of dependencies introduced by package version
> changes in pull requests,
> and warns you about the associated security vulnerabilities.
> This gives you better visibility of what's changing in a pull request,
> and helps prevent vulnerabilities being added to your repository.
https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-06-18 11:07:56 +02:00
Naveen
7fac8ef19b
chore: Included githubactions in the dependabot config ( #4770 )
...
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.
Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot
GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-06-18 11:05:40 +02:00