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

111 Commits

Author SHA1 Message Date
Xianming Zhong 56b72bbd2c Compatible with follow-redirect aborts the request (#2689)
* Compatible with follow-redirect aborts the request

* Use the error code
2020-02-15 13:41:08 +08:00
JounQin 371d8eac79 chore: add jsdelivr and unpkg support (#2443) 2020-01-31 10:20:12 -08:00
Emily Morehouse 2a0ff479f9 Releasing 0.19.2 2020-01-21 21:24:50 -07:00
Emily Morehouse 960e1c8798 Releasing 0.19.1 2020-01-07 10:21:04 -07:00
Alanscut a17c70cb5a Fix CI build failure (#2570) 2019-11-26 11:09:42 -08:00
Angelos Chalaris 1a32ca0601 Remove dependency on is-buffer (#1816)
* Remove dependency on is-buffer from package.json
2019-11-17 22:53:27 -08:00
Felipe Martins 097948698a Revert "Update Webpack + deps, remove now unnecessary polyfills" (#2479)
* Revert "Update Webpack + deps, remove now unnecessary polyfills (#2410)"

This reverts commit 189b34c45a.

* Fix build (#2496)

* Change syntax to see if build passes

* Test commit

* Test with node 10

* Test adding all browsers in travis

* remove other browsers when running on travis
2019-10-25 11:34:47 -03:00
Avindra Goolcharan 189b34c45a Update Webpack + deps, remove now unnecessary polyfills (#2410)
* Update deps

 * handles webpack 1 -> 4 migration

* remove promise helpers from dev files

assume `Promise` is available, or polyfilled by
the consumer

* Remove isArray util. `isArray` has good coverage, even
   in IE9. So lets remove the custom polyfill.

 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray

also resolves a few lint issues

* Remove trim util

String.protoype.trim has good coverage (including IE9)

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim

Also, the http adapter already uses the native method.
2019-10-21 15:56:29 -03:00
Emily Morehouse 8d0b92b267 Releasing 0.19.0 2019-05-30 10:10:06 -06:00
grumblerchester 2eeb59af4d Fixing Mocha tests by locking follow-redirects version to 1.5.10 (#1993) 2019-02-08 21:27:36 -07:00
Emily Morehouse 527381198e Releasing 0.19.0-beta.1 2018-08-09 12:39:17 -06:00
Justin Beckwith 98080381fa test: use mocha instead of nodeunit (#1655) 2018-07-05 22:41:13 -07:00
Justin Beckwith ae1c2c3006 chore: update to latest version of a few dev dependencies 2018-04-07 15:16:14 -07:00
Justin Beckwith 4d90e231f0 chore: update to latest version of sinon 2018-04-07 15:16:14 -07:00
Justin Beckwith f620a0d4af chore: update to latest version of typescript 2018-04-07 15:16:14 -07:00
Justin Beckwith aa61bc85eb chore: update a few dev dependencies 2018-04-07 15:16:14 -07:00
Justin Beckwith 78926c308e chore: update runtime dependencies 2018-04-07 15:16:14 -07:00
Justin Beckwith aaed16ca3c Revert "fix: update a bunch of dependencies" (#1464)
This change broke the saucelabs tests for IE9.  Instead of updating all the things at once, I'm going to do one PR per dependency, making sure I don't break stuff along the way :) This reverts commit 152b063513.
2018-04-07 14:29:15 -07:00
Justin Beckwith 22c2baf205 chore: upgrade eslint and add fix command 2018-04-06 21:50:26 -07:00
Justin Beckwith 152b063513 fix: update a bunch of dependencies 2018-04-06 21:19:49 -07:00
Emily Morehouse d59c70fdfd Releasing v0.18.0 2018-02-19 16:23:58 -07:00
Emily Morehouse 839b9ab3e7 Fixes #1286 - also updating follow-redirects version in package.json to ensure that maxBodyLength option is supported 2018-02-11 13:27:46 -06:00
38elements ade3c705d4 Removing unused dependencies
PhantomJS is not used in axios.
2017-11-18 00:42:43 +09:00
Nick Uraltsev ad1195f070 Releasing 0.17.1 2017-11-11 15:24:16 -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
Nick Uraltsev 2c0e318321 Releasing 0.17.0 2017-10-21 11:00:45 -07:00
Nick Uraltsev 26b06391f8 Update links 2017-09-28 21:09:47 -07:00
Siddharth Kshetrapal 4c54a9265a Add bundlesize to test 2017-07-01 19:03:17 +05:30
Nick Uraltsev 46e275c407 Releasing 0.16.2 2017-06-03 12:28:26 -07:00
Felix Gnass c82753ce54 Use is-buffer instead of Buffer.isBuffer
The is-buffer module checks if an object is a Buffer without causing
Webpack or Browserify to include the whole Buffer module in the bundle.
2017-05-04 23:41:52 +02:00
Nick Uraltsev 5c8095e483 Releasing 0.16.1 2017-04-08 11:51:20 -07:00
Wyatt Cready df6b46c076 Add caret 2017-04-08 14:15:07 -04:00
Wyatt Cready 04982a2ef9 Update follow-redirects dependency
Using the follow-redirects 1.0.0 causes this reported write after end issue: https://github.com/olalonde/follow-redirects/issues/50. It looks like the problem with follow-redirects was fixed in 1.1.0 https://github.com/olalonde/follow-redirects/commit/9eec6f0fb8d1c51dbd9be732ce1e2c794a01b652 but if axios is going to update the dependency it might as well update to the latest version now.
2017-04-08 11:30:02 -04:00
Nick Uraltsev 19b7948480 Releasing 0.16.0 2017-03-31 19:29:37 -07:00
Nick Uraltsev 3704d57ed4 Removing Promise from axios typings in favor of built-in type declarations 2017-03-14 19:23:05 -07:00
Nick Uraltsev 4976816808 Releasing 0.15.3 2016-11-27 13:52:12 -08:00
Denis 63ee3573c2 Renaming axios.d.ts to index.d.ts 2016-11-09 22:21:56 -08:00
Nick Uraltsev fd13bad53a Updating deps 2016-10-24 18:24:56 -07:00
Nick Uraltsev 3af756049f Releasing 0.15.2 2016-10-17 18:29:32 -07:00
Nick Uraltsev 3f8b128da4 Releasing 0.15.1 2016-10-14 23:35:21 -07:00
Nick Uraltsev e8c5c49ea2 Releasing 0.15.0 2016-10-10 21:39:50 -07:00
Nick Uraltsev c96348660d Releasing 0.14.0 2016-08-27 11:29:52 -07:00
Nick Uraltsev 1bd9b195a5 Modifying Gruntfile to install typings before running TypeScript tests 2016-08-18 20:14:13 -07:00
Nick Uraltsev 5176dfdec5 Converting TypeScript definitions to ES2015 module syntax 2016-08-09 23:17:11 -07:00
Matt Zabriskie 377efb89ae Releasing 0.13.1 2016-07-16 11:13:15 -06:00
Matt Zabriskie ff919487e1 0.13.0 2016-07-13 13:42:23 -06:00
Nick Uraltsev a59fee5346 Updating dev dependencies 2016-06-22 23:25:25 -07:00
Nick Uraltsev 4d1269cb4a Releasing 0.12.0 2016-05-31 22:22:00 -07:00
Matt Zabriskie 112f98dc18 Merge pull request #317 from nickuraltsev/urlsearchparams
Adding support for URLSearchParams
2016-05-24 20:40:25 -06:00
Matt Zabriskie 2e949495f0 0.11.1 2016-05-17 09:59:06 -06:00