Commit Graph

99 Commits

Author SHA1 Message Date
David Frank 0c2294ec48
2.5.0 release (#630)
* redirected property
* changelog update
* readme update
* 2.5.0
2019-05-01 13:05:32 +08:00
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