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

1346 Commits

Author SHA1 Message Date
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
Csaba Maulis 56fd6ba821 Remove \b from filename (#5207) 2022-11-02 20:17:17 +02:00
MoPaMo 7c4e4fd9c2 fix punctation in README.md (#5197)
(In order to do x, do y)

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-11-02 20:16:16 +02:00
Claudio Busatto 02af86becd docs: fix broken links (#5218) 2022-11-02 20:15:52 +02:00
Daniel Fjeldstad 2750eb0771 docs: Update Resources links in README (#5119)
* docs: Fix broken changelog link

* docs: Fix rest of links in Resources

* docs: Undo change

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-30 19:43:54 +02:00
윤세영 bbee032b79 Update and rename UPGRADE_GUIDE.md to MIGRATION_GUIDE.md (#5170)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-30 19:39:12 +02:00
Frieder Bluemle 8a709b25f4 Fix typos (#5184)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-30 19:33:06 +02:00
Shreem Asati 34811cbb4f typo fix #800 (#5193)
spelling correction

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-30 19:29:36 +02:00
Shreem Asati c16fe222c4 typo fix line #856 and #920 (#5194)
punctuation missing

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-30 19:26:03 +02:00
Geeth Gunnampalli 6a548bfaf3 Update Sandbox UI/UX (#5205)
I updated the Sandbox UI for a better user experience. Now users do not have to scroll down to view the data they requested. The form is on the left and the response is on the right.

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-30 19:20:58 +02:00
Ikko Ashimine 179a0c80a8 Update get/index.html (#5116)
Github -> GitHub

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-30 19:14:27 +02:00
ecyrbe 983a66408d Update ECOSYSTEM.md (#5077)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-30 19:10:02 +02:00
Amit Saini 448e1fcdec Fixed type definition of use method on AxiosInterceptorManager to match the the README (#5071)
* fixed type definition use method on AxiosInterceptorManager to match the README

* fixed parentheses issues with type

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-30 19:06:29 +02:00
Maddy Miller ae31394848 chore: add sideEffects false to package.json (#5025)
* chore: add sideEffects false to package.json

This flag within the package.json file allows marking that a package does not make use of side effects, as documented here: https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free

* Fixed a typo and removed EOL

There was no EOL in the original, so removing it to minimise diff

* Update package.json

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-30 19:00:29 +02:00
Dmitriy Mozgovoy 0c3a1e9fde Refactored module exports; (#5162)
* Refactored build pipeline;
Added module exports tests;
Added missing ESM export for parity with Axios factory;
Added `toFormData`, `formToJSON`, `isAxiosError`, `spread`, `isCancel`, `all` as named export to `index.d.ts`;

* Added ESM entry test;

* Updated README.md `installing` section;

* Added TypeScript importing test;
Added missed `CanceledError` & `AxiosHeaders` to `AxiosStatic` interface;

* Exclude `/test/module/` from tslint;
2022-10-30 18:46:17 +02:00
Adrien Brunet 5666ee498a Update CHANGELOG.md (#5137) 2022-10-27 13:20:55 +02:00
Jay 9bd53214f6 chore: release 1.1.3 2022-10-15 15:43:01 +02:00
ChronosMasterOfAllTime b0ebf9fcac Fix: Don't add null values to query string. (#5108)
* feat: add  boolean flag to mimic pre 1.x behavior for paramsSerializer custom function

* chore: update ParamsSerializer Readme

* fix: dont slice hash off URL if not appending params

* Omit nulls from formData serialization

* fix: dont add nulls or undefined values to arrays either

* readme update

* fix test

* chore: documentation

* chore: do TS properly

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-15 15:01:59 +02:00
littledian ef1c48a476 fix: eep top-level export same with static properties (#5109)
* chore: add necessary devDependencies for rollup build

* fix: keep top-level export same with static properties(#5031)

Co-authored-by: ronggui.shu <ronggui.shu@sci-inv.com>
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-13 22:17:06 +02:00
Dmitriy Mozgovoy 9d4b016dde feat: added custom params serializer support; (#5113)
* Added custom params serializer support;

* Added missed semicolon;
Fixed allowUnknown option;

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-13 22:12:10 +02:00
Salman Shaikh ed19414b33 fix: added AxiosHeaders in AxiosHeaderValue (#5103)
fixes issue #5034

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-13 22:00:05 +02:00
Patrick Petrovic 717f476b0f fix: restore proxy config backwards compatibility with 0.x (#5097)
* fix: restore proxy config backwards compatibility with 0.x

* Formatting

Co-authored-by: Patrick Petrovic <patrick@Air-de-Patrick.lan>
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-13 21:55:20 +02:00
Dmitriy Mozgovoy 83454a55f6 chore: added progress capturing section to the docs; (#5084)
Added rate limiting section to the docs;

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-13 21:47:23 +02:00
Félix Legrelle e7b3f553e9 chore: update issue template (#5061)
* chore: update issue template

* fix: fix bug report template

* fix: fix feature request template

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-13 21:29:23 +02:00
Arvindh eedd9aafa5 chore: fixing comments typo (#5054)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-13 21:20:41 +02:00
Dmitriy Mozgovoy 110ae9ae61 fix: handling of array values for AxiosHeaders (#5085)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-13 21:11:01 +02:00
Lenz Weber-Tronic 85740c3e7a pin CDN install instructions to a specific version (#5060) 2022-10-13 21:05:15 +02:00
scarf b733f36c2a docs: match badge style, add link to them (#5046)
codetriage and snyk could not be styled because the former does not have api; snyk api is charged.

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-08 20:25:37 +02:00
Jay 1b29f4e98e chore: release v1.1.2 2022-10-07 12:09:17 +02:00
Jay 1315e2282f chore: release v1.1.1 2022-10-07 11:08:35 +02:00
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