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

707 Commits

Author SHA1 Message Date
Punit Gupta 423923217e Fixing interface of axios instance 2017-11-20 21:53:47 +05:30
Nick Uraltsev d7f021b8d4 Merge pull request #1177 from dhcmrlchtdj/fix-typing
Fixing typing issues #1154 #1147
2017-11-11 21:28:23 -08:00
niris f0293696e7 Fixing typing issues #1154 #1147 2017-11-12 12:30:02 +08:00
Nick Uraltsev ad1195f070 Releasing 0.17.1 2017-11-11 15:24:16 -08:00
Nick Uraltsev 599eb9890c Updating changelog 2017-11-11 15:22:47 -08:00
Nick Uraltsev 587f0210ce Updating changelog 2017-11-11 15:21:46 -08:00
Nick Uraltsev b7d8d126da Removing unnecessary condition 2017-11-11 15:09:02 -08:00
Nick Uraltsev 1fa01fd674 Merge pull request #1160 from owap/undefined-window
Move window defined check before window.XMLHttpRequest check
2017-11-11 14:14:20 -08:00
Nick Uraltsev 026db2140d Merge pull request #1165 from psachs21/patch-1
Updating typings
2017-11-11 12:20:54 -08:00
Nick Uraltsev 7ea8f3d9f7 Merge pull request #1173 from posva/patch-1
security: upgrade follow-redirects
2017-11-11 12:09:40 -08:00
Eduardo San Martin Morote 1e58b69df1 security: upgrade follow-redirects
This would prevent tools like nsp to complain about a security issue from axios. It's something that got fixed in the package debug, and in order to benefit from that fix, it's necessary to upgrade to at least follow-redirects@1.2.5
2017-11-07 18:00:42 +01:00
Paul Sachs 1005e3bf14 Updating typings
The first argument in `axios.interceptors.response.use` is optional, in the case that you just want to intercept an error.

Ex:

```ts
axios.interceptors.response.use(undefined, error => {
...
});
```
2017-11-03 11:57:12 -04:00
Andrew J. Pierce 468e90993d Move window defined check before window.XMLHttpRequest check 2017-11-02 18:57:12 -04:00
Nick Uraltsev 1ee5494038 Merge pull request #1156 from clarkdo/master
refactor: !isArray(obj) is always true
2017-11-01 09:38:39 -07:00
Clark Du 63548c00c0 refactor: !isArray(obj) is always true 2017-11-01 15:47:58 +08:00
Nick Uraltsev fbb5d4d0d1 Merge pull request #1080 from MarshallOfSound/patch-1
Allow overriding the used transport
2017-10-24 07:58:13 -07:00
Nick Uraltsev 8bea343f3d Merge pull request #1125 from keenondrums/master
Update AxiosTransformer type in index.d.ts
2017-10-24 07:51:08 -07:00
Nick Uraltsev 3f90738f48 Merge pull request #1131 from jmmk/axios-response-request
Add request field to AxiosResponse type definition
2017-10-24 07:47:16 -07:00
Nick Uraltsev 2c0e318321 Releasing 0.17.0 2017-10-21 11:00:45 -07:00
Nick Uraltsev c24b1cc5de Updating changelog 2017-10-21 10:57:53 -07:00
Nick Uraltsev add023c25c Update build status badge URL 2017-10-20 08:02:01 -07:00
Nick Uraltsev ada06d1522 Merge branch 'master' of github.com:axios/axios 2017-10-20 07:31:26 -07:00
Nick Uraltsev 94f1e21ba3 Fix SauceLabs config 2017-10-20 07:31:15 -07:00
Nick Uraltsev 7133141cb9 Merge pull request #1061 from d-fischer/ts-generic-response
Update TypeScript typings with generic type parameters
2017-10-20 07:16:23 -07:00
Nick Uraltsev 638804aa2c Merge pull request #1135 from kuitos/master
Adding axios-extensions to the ecosystem
2017-10-17 21:22:42 -07:00
Kuitos f06ee7390f Adding axios-extensions to the ecosystem 2017-10-18 11:26:49 +08:00
Michael McLellan 48ece5adbd Add request field to AxiosResponse type 2017-10-14 23:25:37 -04:00
Andrei Goncharov 1f333ca645 Update index.d.ts 2017-10-11 15:12:51 -06:00
Nick Uraltsev 26b06391f8 Update links 2017-09-28 21:09:47 -07:00
Nick Uraltsev 17e44c8ec9 Merge pull request #982 from ibci/use-XMLHttpRequest-for-IE10+
Use XMLHttpRequest in IE10+ instead of XDomainRequest
2017-09-27 21:22:09 -07:00
Nick Uraltsev 51b3ad6526 Merge pull request #987 from siddharthkp/master
Add bundlesize to test
2017-09-27 20:53:40 -07:00
Nick Uraltsev ab974a708d Merge pull request #1055 from fridzema/patch-1
Tiny fix
2017-09-27 20:51:51 -07:00
Nick Uraltsev 7f60dd8441 Merge pull request #1056 from jin5354/patch-1
Update ECOSYSTEM.md
2017-09-27 20:50:53 -07:00
Samuel Attard b01ce193a5 Allow overriding the used transport
This allows users of axios inside `electron` to provide the [`net`](https://electron.atom.io/docs/api/net/) module as the http transport instead of using nodes http/https modules.  This gives a whole bunch of things to Electron users including automatic proxy resolution.
2017-09-10 02:04:00 +10:00
Daniel Fischer b0dccc6f16 Updated TypeScript typings with generic type parameters for request methods & AxiosResponse 2017-08-29 20:53:49 +02:00
An Yan b26f351b6d Update ECOSYSTEM.md
add axios-cache-plugin to ECOSYSTEM.md
2017-08-22 10:48:25 +08:00
Robert Fridzema 69d5a4c2c0 Tiny fix 2017-08-21 14:56:27 +02:00
Julien Roncaglia 07a7b7c84c Adding a way to disable all proxy processing (#691)
* Adding a way to disable all proxy processing

When the proxy field in configuration is === false all proxy processing is
disabled. This specifically disable the 'http_proxy' environment variable
handling.

Fixes #635
Related to #434

* Change readme wording

From review comment on PR (#691)
2017-08-14 13:38:44 +02:00
George Chung 62db26b588 add axiosist to ECOSYSTEM.md (#963) 2017-08-13 17:30:27 +02:00
Ken Mayer db4acb2ec9 Documentation change for transformRequest (#955) 2017-08-12 15:02:43 +02:00
Thomas Landauer a7c9742942 Added link to caniuse.com (#954) 2017-08-12 15:02:22 +02:00
jdrydn b9ad308879 Update ECOSYSTEM.md (#941) 2017-08-12 15:01:05 +02:00
Tyler Brown fb08e95603 Duplicate header handling (#874)
* Update parseHeaders to match node http behavior

Node ignores duplicate entries for certain HTTP headers.

It also always converts the `set-cookie` header into an array.

* add tests for new duplicate header handling

* clarify comment
2017-08-12 14:58:10 +02:00
Haven 2b8562694e Fixing baseURL not working in interceptors (#950)
* Fixing baseURL not working in interceptors

* add test for  modify base URL in request interceptor
2017-08-12 14:15:27 +02:00
Michael Marvick 6508280bbf Updating Typescript typing for AxiosError to include request? param (#1015) 2017-08-12 13:12:20 +02:00
Raymond Rutjes f1fb3de38f refactor(http): use ClientRequest "aborted" value (#966) 2017-07-10 09:50:43 +02:00
Siddharth Kshetrapal 4c54a9265a Add bundlesize to test 2017-07-01 19:03:17 +05:30
ibci e8edb1e29a Update xhr.js 2017-06-27 13:20:45 -07:00
Nick Uraltsev 46e275c407 Releasing 0.16.2 2017-06-03 12:28:26 -07:00
Nick Uraltsev e040815977 Updating Changelog 2017-06-03 12:26:34 -07:00