2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-30 15:24:11 +03:00
Commit Graph

1382 Commits

Author SHA1 Message Date
dependabot[bot] abd2cb83a3 chore(deps): bump actions/stale from 6 to 7 (#5408)
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [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/v6...v7)

---
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>
2022-12-29 08:39:48 +02:00
Jay 8ea432429b chore(docs): added latest release notes 2022-12-29 08:31:54 +02:00
Jay 45c4948416 chore: build new version 2022-12-29 08:21:12 +02:00
Dmitriy Mozgovoy 6f74cb1880 chore(ci): set conventional-changelog header config; (#5406) 2022-12-25 17:43:44 +02:00
Dmitriy Mozgovoy 8de391ff8a chore(ci): fix automatic contributors resolving; (#5403) 2022-12-23 16:49:47 +02:00
Dmitriy Mozgovoy 341f735297 chore(ci): improved logging for the contributors list generator; 2022-12-20 23:03:27 +02:00
Dmitriy Mozgovoy 46085e6ffc chore(ci): fix release action;
* chore(ci): Add release-it script;
* fix(utils): redesigned logic for obtaining the global link;;
* chore(git): updated .gitignore;
chore(npm): updated .npmignore;
* chore(git): fix husky prepare script;
* chore(github): reworked npm release action step;
* chore(ci): add CHANGELOG.md contributors section generator;
* chore(deps): add `auto-changelog` to package.json;
2022-12-20 20:45:24 +02:00
Dmitriy Mozgovoy f12d01eed1 chore(ci): fix version bump script by adding bump argument for target version; 2022-12-19 19:52:59 +02:00
Dmitriy Mozgovoy 75217e690c fix(ci): fix release script inputs; 2022-12-19 18:43:57 +02:00
dependabot[bot] c1fc33c5e2 chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

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>
2022-12-19 08:16:06 +02:00
Dmitriy Mozgovoy 45b29dbc32 GitHub Actions Release script; (#5384)
* chore(ci): Add release-it script;

* chore(ci): add github actions release script;
2022-12-17 22:32:07 +02:00
Dmitriy Mozgovoy 493e04cd28 Fix/prerelease scipts (#5377)
* fix(scripts): rename prerelease scripts due to npm namespace conflict;

* chore(git): add `.npmrc` and `.env` to gitignore;
2022-12-15 19:50:44 +02:00
Dmitriy Mozgovoy 38865e3205 Fix/release scripts (#5376)
* fix(scripts): fix version bump script;
2022-12-15 00:56:04 +02:00
Dmitriy Mozgovoy 7a2f901f42 Fix/typescript tests (#5375)
* chore(ci): Add release-it script;

* chore(ci): add `release:no-npm` script to release the package without making an npm release;

* fix(test): fixed `d.ts` typings;
refactor(test): refactor typescript tests;
2022-12-14 22:49:49 +02:00
Dmitriy Mozgovoy f2547d0e03 CI/release scripts (#5364)
* chore(ci): add release scripts;
2022-12-12 00:50:11 +02:00
Dmitriy Mozgovoy 1e58a659ec fix: fixed Brotli decompression; (#5353)
test: added decompression tests;
fix: added legacy `x-gzip` & `x-compress` encoding types;
2022-12-07 20:57:02 +02:00
Winnie 56e9ca1a86 fix: Add missing HttpStatusCode (#5345) 2022-12-06 22:34:48 +02:00
Jay 981265dbf4 chore: release notes 2022-12-05 21:43:37 +02:00
Jay 1fd79d3220 chore: release 1.2.1 2022-12-05 21:36:02 +02:00
Dmitriy Mozgovoy a6efeaf2d9 Change AxiosProgressEvent.event type to any; (#5308)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 21:03:58 +02:00
Zachary Lysobey 6d367b9e2c docs: remove README link to non-existent upgrade guide (#5307)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 20:52:42 +02:00
Kevin Ennis 26874603b3 feat: export mergeConfig (#5151)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 20:41:57 +02:00
Philipp Loose 6f59cdbac9 refactor: add missing types for static AxiosError.from method (#4956)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 20:36:42 +02:00
secondl1ght e1a4efe638 Fix typo in issue template name (#5159)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 19:29:17 +02:00
wenzheng e3d759491c fix: exception to sending formdata in webworker (#5139)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 19:15:23 +02:00
Dmitriy Mozgovoy 9041c7d272 Fixed decompression for responses without Content-Length header (#5306)
* Fixed decompression for responses without `content-length` header;

* Add Brotli encoding to the `Accept-Encoding` header only if it is supported.

* `content-length` header transformation moved up;

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 16:22:20 +02:00
Ivan Barsukov 786b113a40 fix: removing multiple/trailing/leading whitespaces (#5022)
* fix: removing multiple/trailing/leading whitespaces

* Reverting changes in the dist directory

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-25 15:56:31 +02:00
Arthur Fiorette cac6cfa6f6 fix: include config on new CancelledError (#4922)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-25 15:46:49 +02:00
Jay f92e167f76 chore(release): 1.2.0 2022-11-22 20:59:45 +02:00
Jay bc09c90e79 chore(docs): updated changelog 2022-11-22 20:55:05 +02:00
Dmitriy Mozgovoy d032edda08 Refactored adapters loader; (#5277)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-22 20:53:56 +02:00
Dmitriy Mozgovoy a3d901777b Fixed Z_BUF_ERROR when content-encoding is set but the response body is empty; (#5250)
Fixed download progress capturing for compressed responses;

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-22 20:49:26 +02:00
Dmitriy Mozgovoy b7ee49f637 Added toJSONObject util; (#5247)
Fixed AxiosError.toJSON method to avoid circular references;

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-22 20:44:24 +02:00
relbns a372b4ce4b update readme (#5261) 2022-11-22 20:39:49 +02:00
AZM e05fe7c42b Update the link (#5265)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-22 20:36:58 +02:00
HaiTao 7a4c0ea72b __dirname is not defined (#5269)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-22 20:33:49 +02:00
Frazer Smith 86eeff0e68 ci: remove git credentials after checkout (#5235)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-22 20:28:47 +02:00
dependabot[bot] 2c83d47e37 chore(deps): bump loader-utils from 1.4.1 to 1.4.2 (#5295)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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-11-22 20:23:57 +02:00
dependabot[bot] f79cf7bfa9 chore(deps): bump actions/dependency-review-action from 2 to 3 (#5266)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v2...v3)

---
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>

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-11-22 20:16:31 +02:00
dependabot[bot] e1989e91de chore(deps): bump engine.io from 6.2.0 to 6.2.1 (#5294)
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.2.0...6.2.1)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

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>
2022-11-22 19:56:32 +02:00
Jay 3a7c363e54 chore: v1.2.0 pre-release 2022-11-10 20:59:51 +02:00
Jay bb59a737bb chore: release v1.2.0 2022-11-10 20:55:34 +02:00
Jay 073f727ef0 chore: updated release notes 2022-11-10 20:50:28 +02:00
Jay 4d43cdb8af chore: switch around order of changelog 2022-11-10 20:26:36 +02:00
Remco Haszing abf954185a fix: fix TypeScript type definitions for commonjs (#5196)
This is done by duplicating `index.d.ts` into `index.d.cts`, and
modifying it for CommonJS. The same was done for type tests.

Unfortunately I was unable to find a way to re-use types without
drastically changing the code base.

To test this, a minimum TypeScript version of 4.7 is needed, so it has
been updated. The old types still work with older TypeScript versions.

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-10 20:23:02 +02:00
dependabot[bot] 7f0fc69569 chore(deps): bump loader-utils from 1.4.0 to 1.4.1 (#5245)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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>
2022-11-10 14:02:26 +02:00
dependabot[bot] 0da6db7995 chore(deps): bump socket.io-parser from 4.0.4 to 4.0.5 (#5241)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.0.4...4.0.5)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

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>
2022-11-10 13:56:52 +02:00
Dmitriy Mozgovoy ab77a40e1c Fixed & Imporoved AxiosHeaders class (#5224)
* Refactored AxiosHeaders class;

* Added support for instances of AxiosHeaders as a value for the headers option;

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-07 21:11:42 +02:00
Dmitriy Mozgovoy c0a723ab6c Added support for Axios to be loaded with require('axios').default; (#5225)
Added module import tests;

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-07 20:32:24 +02:00
Dmitriy Mozgovoy 9452f06aa9 Force CI restart;
Force CI restart;
2022-11-07 20:24:23 +02:00