Commit Graph

148 Commits

Author SHA1 Message Date
Justin Beckwith 1fe1358642 test: enable --throw-deprecation for tests (#625) 2019-05-01 11:15:05 +08:00
Justin Beckwith a35dcd14a3 chore(deps): address deprecated url-search-params package (#622) 2019-05-01 11:14:11 +08:00
David Frank b3ecba5e81
2.4.1 release (#619)
* changelog update
* package.json update
2019-04-27 14:50:25 +08:00
David Frank c9805a2868
2.4.0 release (#616)
* changelog update
* package.json update
2019-04-27 01:20:20 +08:00
David Frank 05f5ac12a2
Node 12 compatibility (#614)
* dev package bump
* test invalid header differently as node 12 no longer accepts invalid headers in response
* add node v10 in travis test list as node 12 has been released
2019-04-27 00:11:52 +08:00
David Frank 5367fe6a97
v2.3.0 (#548)
* doc update
* handle corrupted location header during redirect
2018-11-13 14:35:09 +08:00
Joseph Nields ecd3d52c55 Add support for AbortSignal to cancel requests (#539)
Thx @jnields @FrogTheFrog @TimothyGu for their work!
2018-11-13 12:40:11 +08:00
David Frank 1daae67e9e
Fix import style to workaround node < 10 and webpack issues. (#544)
* fix import rule for stream PassThrough

* avoid named export for compatibility below node 10

* compress flag should not overwrite accept encoding header

* doc update

* 2.2.1
2018-11-05 17:42:51 +08:00
David Frank 8cc909f5ee
update readme to add credits and call for collaborators (#540)
* also pin chai-string to ~1.3.0 as chai-string 1.5.0 introduce a breaking change that breaks our node v4 CI.
2018-10-24 14:44:16 +08:00
Timothy Gu 09ef40e8a8 2.2.0 2018-07-22 14:31:00 -07:00
Timothy Gu 1d4ab5a0de Switch to .mjs for ES module output for Node.js compat
This also reverts commit 60cf26c2f3.
2018-07-22 14:06:25 -07:00
Timothy Gu 6d7daa27c7
Migrate from mocha --compilers (#491) 2018-07-22 14:05:40 -07:00
Timothy Gu de66b388ac
Update dependencies (#488) 2018-07-22 09:22:10 -07:00
Timothy Gu b80c2f56a0
v2.1.2 2018-03-25 13:55:02 -07:00
Timothy Gu fb86ab34a6
v2.1.1 2018-03-04 20:44:09 -08:00
Timothy Gu ccaeae096f
v2.1.0 2018-03-04 20:41:56 -08:00
Gregor Martynus fc539951ca Support ArrayBuffer as body (#408) 2018-03-04 16:40:39 -08:00
Timothy Gu c0950b7b9f
v2.0.0 2018-02-03 12:34:24 -08:00
Timothy Gu 5774bf4229
Update dependencies 2018-02-03 11:19:31 -08:00
David Frank d1a3b1ee34 2.0.0-alpha.9
* changelog update
2017-09-24 13:46:17 +08:00
Johnny Hauser e2603d31c7 add browser.js to npm published files (#343) 2017-09-20 01:18:49 -07:00
Timothy Gu e7c1ef88ed Update deps (#320) 2017-07-28 12:12:54 +08:00
David Frank ec852307f2 prepare next release, and start to take note in changelog on what each alpha release fixes 2017-07-27 00:43:40 +08:00
Timothy Gu 60cf26c2f3
Use require() for Node.js core modules
Fixes: #318
2017-07-27 00:15:32 +08:00
David Frank 2edb4c0266 2.0.0-alpha.7 2017-07-25 12:10:11 +08:00
David Frank 70cd403914 do not make request to example.com, use local server instead, avoid UnhandledPromiseRejectionWarning altogether 2017-07-22 21:04:59 +08:00
David Frank a89bd94545 Merge pull request #308 from jkantr/exclude-node-5
explicitly exclude node 5 from engines directive
2017-07-22 20:39:12 +08:00
David Frank 2b359c1ea1 V2 alpha.6 (#313)
2.0.0-alpha.6

* changelog update for new release
* version bump
2017-07-22 01:59:59 +08:00
jared kantrowitz 76506a8b2b explicitly exclude node 5 from engines directive 2017-07-07 14:04:30 -04:00
Jared Kantrowitz 432cd8a31e remove `encoding` as a dependency, throw detailed Error if not installed (#302)
* remove `encoding` as a dependency, throw descriptive Error if textConverted() is used without it in env

* remove rollup ext dep resolution since we don't need it

* switch to programmer error, rm unneeded test conditions, bump timeout for slow CI

* more kill `encoding` dep PR changes

keep blank "dependencies" prop in package.json so rollup's external config func doesn't seize
add ext dep checks back to the rollup config
no implicit var
clarify test comment

* [squash] alter travis cfg to test with and without `encoding`, various

fix devDeps
separate `encoding` tests to their own block

* [squash] fixing nits

* [squash] ci: full matrix of form-data versions and encoding existence

and nits
2017-07-02 12:32:48 -04:00
Jared Kantrowitz 553d50e804 Accept URLSearchParams as body (#297)
Fixes: #296
2017-06-12 13:29:50 +08:00
David Frank 062763a110 2.0.0-alpha.5 2017-06-03 18:47:44 +08:00
David Frank a2b032c0df switch from prepublish to prepare in package.json, also ignore npm 5 lock file 2017-06-03 17:59:26 +08:00
David Frank 2d986a7999 get ready for alpha 4 release 2017-05-15 19:47:12 +08:00
David Frank a170290460 Use full filename at browser field 2017-05-12 13:04:51 +08:00
Johnny Hauser 5f02f36500 use browser natives when bundled for the browser 2017-04-09 13:42:50 -05:00
Timothy Gu 047799b742 Remove babel-plugin-transform-runtime 2017-02-26 21:56:29 -08:00
Timothy Gu eb1959ed09 Drop babel-runtime
Fixes #243.
2017-02-26 21:46:53 -08:00
Tino Vyatkin f0d0675d00 Remove unneeded is-stream and buffer-to-arraybuffer (#241) 2017-02-26 18:29:57 -08:00
Timothy Gu b899649c32 Remove bluebird 2017-02-26 14:42:46 -08:00
Timothy Gu 56f786f896 Update deps and remove 0.12 compat 2017-02-26 14:12:45 -08:00
Tino Vyatkin edb28a6c50 Drop Node.js v0.12 support (#240) 2017-02-26 13:17:47 -08:00
Timothy Gu 560d5d6a02 2.0.0-alpha.3 2017-01-29 10:35:31 -08:00
Timothy Gu 95bf356c4d Use babel-preset-env 2017-01-22 17:14:55 -08:00
Timothy Gu 908f661664 2.0.0-alpha.1
Fixes #8.
Fixes #209.
Fixes #222.
2017-01-14 21:36:08 -08:00
Timothy Gu 151de2bdfb Use ES2015 export syntax (#212)
* Implement Rollup's external module check

* Use ES2015 export syntax

More friendly to ES2015 environments.
2017-01-14 20:50:10 -08:00
Timothy Gu 7f92825411 Upgrade Rollup 2016-12-14 13:54:31 -08:00
Timothy Gu 385ca6b2b0 To 100% branches coverage 2016-12-05 19:48:59 -08:00
Timothy Gu 049585be11 Revert to cross-env 2.0.1
The Object.assign used in that module is not polyfilled.
2016-11-23 11:43:51 -08:00
Timothy Gu a355664e64 Update packages 2016-11-23 11:30:01 -08:00
Timothy Gu 31bc2835dd Start using Rollup
Smaller distributed tarball.
2016-11-23 11:18:02 -08:00
Timothy Gu 5fe80dba06 Remove dependency on babel-polyfill
This way the tests can better emulate the real Node.js environment.
2016-11-05 10:26:30 -07:00
Timothy Gu 76cb57cace Support WHATWG URL objects
Fixes #175.
2016-10-15 10:19:52 -07:00
Timothy Gu ea111626e9 Switch to Codecov
Fixes #186.
2016-10-13 00:32:52 -07:00
Timothy Gu c2c6550e54 Use loose mode when compiling Babel 2016-10-12 18:18:37 -07:00
Timothy Gu 0f65af3fd8 Split Headers iterable test into four 2016-10-12 17:29:33 -07:00
Timothy Gu c3a121a360 Add support for Body#arrayBuffer 2016-10-12 17:29:33 -07:00
Timothy Gu 838071247d Convert all files to ES2015 (#182)
Elements of this commit come from #140 by @gwicke.
2016-10-10 11:50:04 -07:00
Timothy Gu 2874af4218 Use cross-env@2.0.1 to support Node.js < v4 2016-10-04 03:07:44 -07:00
Timothy Gu 7c26fa9479 Add Babel infrastructure
No actual code has been changed yet.
2016-10-04 02:59:46 -07:00
David Frank 3c053ce327 1.6.3 2016-09-26 14:16:41 +08:00
David Frank 2af4c00a67 be more open in form-data dependency 2016-09-26 14:16:32 +08:00
David Frank 523a6920aa testing both form-data 1.x and 2.x support 2016-09-26 12:58:04 +08:00
David Frank b2e6cca648 1.6.2 2016-09-24 17:53:11 +08:00
David Frank 3e53f0c2c8 1.6.1 2016-09-11 23:37:00 +08:00
David Frank 4e455a4185 1.6.0 2016-08-03 18:08:24 +08:00
David Frank b46c5ea9ee 1.5.3 2016-05-26 02:54:22 +08:00
David Frank e1fcc2315a 1.5.2 2016-05-06 20:02:14 +08:00
David Frank 3f24c09005 1.5.1 2016-04-13 02:58:35 +08:00
David Frank 321d800750 1.5.0 2016-04-06 03:00:04 +08:00
David Frank 98b167c35d 1.4.1 2016-03-23 15:33:01 +08:00
David Frank 2dd4ee5838 1.4.0 2016-03-19 19:02:12 +08:00
David Frank 362aa087ca clone method support 2016-03-19 18:06:33 +08:00
David Frank 79d2e2cc37 bump dependencies and fix incompatible tests 2016-03-19 14:41:19 +08:00
David Frank fd3f89fcd9 1.3.3 2015-09-28 23:09:59 +08:00
David Frank 129d9338a9 1.3.2 2015-07-22 15:51:49 +08:00
David Frank 565ec4b35a additional tests for the new form-data integration 2015-07-22 15:40:52 +08:00
Dylan Piercey ffac4177b0 Automatically pull headers from node-form-data. 2015-07-22 02:05:06 +00:00
David Frank b5579eb34d 1.3.1 2015-07-11 19:44:43 +08:00
David Frank 32b6063443 1.3.0 2015-06-04 12:42:43 +08:00
David Frank 177d42e001 1.2.1 2015-05-04 12:07:56 +08:00
David Frank 60f819f0a0 1.2.0 2015-05-03 18:07:34 +08:00
David Frank 377bce655f 1.1.2 2015-04-29 12:17:26 +08:00
David Frank c02cb4229d 1.1.1 2015-04-22 23:36:21 +08:00
David Frank c363782b0a 1.1.0 2015-04-17 13:32:25 +08:00
David Frank f04609055c 1.0.6 2015-03-24 12:31:29 +08:00
David Frank 220506757b 1.0.5 2015-03-20 00:57:41 +08:00
David Frank 6172067d1e 1.0.4 2015-02-06 19:16:46 +08:00
David Frank f2984cb854 iojs support 2015-02-06 19:15:37 +08:00
David Frank 6705b3cdaf 1.0.3 2015-01-28 22:58:55 +08:00
David Frank f0bca7ee66 1.0.2 2015-01-28 13:01:32 +08:00
David Frank 4532ad699e 1.0.1 2015-01-28 02:02:33 +08:00
David Frank 95ad88e527 1.0.0 2015-01-28 01:35:06 +08:00
David Frank ff81206c4a better test coverage 2015-01-28 01:00:53 +08:00
David Frank 53a763beab more tests 2015-01-27 23:33:06 +08:00
David Frank af21ae6c1c basic refactor done 2015-01-27 21:11:26 +08:00
David Frank 75699bb467 basic http added 2015-01-26 18:15:07 +08:00
David Frank 9c472a52f2 setup repo 2015-01-26 17:02:34 +08:00