Commit Graph

26 Commits

Author SHA1 Message Date
Dmitriy Mozgovoy
fe2563060d
Replaced webpack with rollup; (#4596)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-05-03 18:53:02 +02:00
Jay
bc733fec78 Releasing v0.27.2 2022-04-27 11:58:12 +02:00
Remco Haszing
94a9344799
Test types (#4140)
* Distinguish request and response data types

* Fix Axios headers type

`axios.headers` is not of the same type as `request.headers`, so a new type
`AxiosDefaults` was introduced

* Replace grunt-ts with dtslint

This asserts that the type definitions are valid in the specified TypeScript
version and above. This is the same tool that is used by DefinitelyTyped.

* Remove grunt-ts

* Restore typescript dependency

* Fix missing semicolons

Co-authored-by: Claas Augner <github@caugner.de>
Co-authored-by: Jay <jasonsaayman@gmail.com>
2021-10-12 09:53:10 +02:00
Jay
76f09afc03
Release/v0.22.0 (#4107)
* fix/Avoid package.json import; (#4041)

* Added auto-generated config module `env/data.js` for importing package environment vars without importing the whole `package.json`;
Refactored `http.js` to use `env/data.js` instead of package.json;

* Added `env/data.js`;
Added `env/README.md`;

* Feat/export package version constant (#4065)

* Added auto-generated config module `env/data.js` for importing package environment vars without importing the whole `package.json`;
Refactored `http.js` to use `env/data.js` instead of package.json;

* Added `env/data.js`;
Added `env/README.md`;

* Export package version constant;

* Fixed cancelToken leakage; Added AbortController support; (#3305)

* Fixed cancelToken leakage;
Added AbortController support;

* Fixed typings;

* Documented `signal` option;

* Added processing of early cancellation using AbortController without sending a request;

Co-authored-by: Jay <jasonsaayman@gmail.com>

* Updating CI to run on release branches

* Fixed default transitional config for custom Axios instance; (#4052)

Refactored `/core/mergeConfig`;

Co-authored-by: Jay <jasonsaayman@gmail.com>

* Prepping v0.22.0 for release

* Updated date

Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2021-10-01 08:02:13 +02:00
Justin Beckwith
98080381fa
test: use mocha instead of nodeunit (#1655) 2018-07-05 22:41:13 -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
3ddeae60e5 Getting rid of TypeScript output files 2016-10-24 18:24:36 -07:00
Nick Uraltsev
1bd9b195a5 Modifying Gruntfile to install typings before running TypeScript tests 2016-08-18 20:14:13 -07:00
Nick Uraltsev
0664d9895a Adding TypeScript definitions for interceptors 2016-08-16 09:34:23 -07:00
Matt Zabriskie
f269a702fe Automating release process 2016-04-07 14:13:03 -06:00
mzabriskie
4f732e8caa Add banner to all dist/ 2015-09-29 00:43:31 -06:00
mzabriskie
0424d8c2bf Fixing issue with test suite running indefinitely in watch mode 2015-06-18 20:49:08 -06:00
mzabriskie
b745600ab7 Using webpack for testing 2015-03-18 10:45:06 -06:00
mzabriskie
a98c61f458 Adding ESLint 2015-03-17 14:14:26 -06:00
mzabriskie
7b05902b3c Moving webpack config to it's own file 2015-01-23 01:29:05 -07:00
mzabriskie
1b2cc9ffe3 Fixing issue with standalone build
closes #29
2014-12-10 23:51:40 -07:00
Bret Little
7753adde2c Add a TypeScript definition for Axios with included tests 2014-11-18 15:53:04 -07:00
mzabriskie
e0b1bb6d0b Adding banner to all min files 2014-10-05 17:45:40 -06:00
mzabriskie
38d429f6dc Supporting standalone build without bundled es6-promise - #11 2014-09-28 16:11:39 -06:00
mzabriskie
13fb3e80b0 Adding descriptions to grunt tasks 2014-09-18 13:01:25 -06:00
mzabriskie
399f87ea05 Fixing build problem causing ridiculous file sizes 2014-09-12 16:56:36 -06:00
Matt Zabriskie
2fb81d805f Adding banner 2014-08-28 15:56:32 -06:00
Matt Zabriskie
6bd8c3a493 Fixing minification 2014-08-28 13:13:31 -06:00
Matt Zabriskie
cec3482ff7 Moving utility functions into utils 2014-08-28 12:33:53 -06:00
Matt Zabriskie
0d0b837020 Adding nodeunit 2014-08-27 01:03:49 -06:00
Matt Zabriskie
729404dff5 Adding project files 2014-08-18 17:25:07 -06:00