Commit Graph

1261 Commits

Author SHA1 Message Date
jongleberry
6cf6a95ac3 fix: Set body to if and @likegun closes #1059 closes #998 2021-08-17 22:12:13 -07:00
jongleberry
94c2ac4f0f fix: set content-Length header on explicit null body response @ognjenjevremovic closes #1528 #1525 2021-08-17 22:06:01 -07:00
jongleberry
eb146dec50 node v12+ only
closes #1487
2021-08-17 21:59:43 -07:00
Matheus Souza
33a8f39407 Fix grammar mistake (#1527)
* Fix grammar mistake

* Simplify correction
2021-08-17 21:56:29 -07:00
Piotr Kuczynski
689c98d9f0 Fix jsdoc types for constructor (#1541)
* Fix jsdoc type for options.proxyIpHeader

* Update application.js
2021-08-17 21:52:27 -07:00
jongleberry
39c0b48a7a fix: Do not response Content-Length if Transfer-Encoding is defined closes #1562 2021-08-17 21:47:13 -07:00
jongleberry
03ff7624d4 history: add a note about koa-convert 2021-08-17 21:41:21 -07:00
jongleberry
e1b9488f9d ⬆️ debug 2021-08-17 21:40:03 -07:00
jongleberry
60c2d30a35 test: remove koa-convert and generators 2021-08-17 21:39:44 -07:00
jongleberry
b747e16d75 breaking: remove koa-convert 2021-08-17 21:37:31 -07:00
jongleberry
e9494b5b3e lint: stick to standard
- less maintenance
- more strict
2021-08-17 21:35:33 -07:00
jongleberry
b37a2d09c1 ⬆️ eslint dependencies 2021-08-17 21:32:39 -07:00
jongleberry
4a410cc2fb migrate assert.deepEqual => .deepStrictEqual 2021-08-17 21:29:16 -07:00
jongleberry
4545b59aa5 test: switch tests to jest 2021-08-17 21:27:08 -07:00
jongleberry
596cfd542c migrate assert.strict => .strictEqual 2021-08-17 20:59:56 -07:00
jongleberry
be3e8b68ab test: switch to github actions 2021-08-17 20:58:45 -07:00
jongleberry
a2570e3ee6 package: update bench scripts 2021-08-17 20:56:41 -07:00
jongleberry
000acf06ab npm: enable package-lock 2021-08-17 20:55:43 -07:00
jongleberry
47fdbca8b1 delete benchmarks 2021-08-17 20:54:48 -07:00
jongleberry
0056f901e8 Create dependabot.yml 2021-08-17 20:26:58 -07:00
Ikko Ashimine
698ce0afbf test: fix typo in status.js
releated -> related
2021-05-21 16:45:35 +02:00
Yiyu He
eb51cf5fb3 doc: app.keys needs to be long enought and random (#1520) 2021-01-18 14:13:32 +08:00
dead-horse
5c32cbf03a Release 2.13.1 2021-01-04 23:11:51 +08:00
miwnwski
b5472f4cbb fix: make ESM transpiled CommonJS play nice for TS folks, fix #1513 (#1518) 2021-01-04 23:10:24 +08:00
Matan Shavit
b4398f5d68 correct verb tense in doc (#1512)
In this sentence, the subject is the word "using," which acts as a gerund, and not "functions."
2020-10-29 09:30:27 -05:00
Hridayesh Sharma
39e1a5a380 fixed multiple grammatical errors in docs. (#1497)
* fixed grammatical errors in faq docs

* fixed grammatical and style issues in error handling docs

* fixed grammatical issues in guide

* fixed grammatical error in error handling docs

* Updated middleware to use plural form to be middleware instead of
middlewares
2020-08-24 16:35:27 -05:00
niftylettuce
68d97d69e4 fix: fixed order of vulnerability disclosure addresses 2020-08-24 04:50:49 -05:00
niftylettuce
aeb5d1984d docs: added niftylettuce@gmail.com to vulnerability disclosure 2020-08-22 15:29:16 -05:00
miwnwski
6e1093be27 docs: remove babel from readme (#1494) 2020-07-30 12:24:15 +08:00
AlbertAZ1992
38cb591254 docs: update specific for auto response status 2020-07-27 09:52:31 +02:00
Imed Jaberi
2224cd9b6a docs: remove babel ref. (#1488) 2020-07-21 18:56:38 +08:00
Imed Jaberi
d51f98328c docs: fix assert example for response (#1489) 2020-07-21 18:55:35 +08:00
Matt Kubej
f8b49b8593 chore: fix grammatical and spelling errors in comments and tests (#1490) 2020-07-21 18:54:44 +08:00
imed jaberi
d1c92638c9 deps: update depd >> v2.0.0 (#1482) 2020-07-14 20:41:46 +08:00
dead-horse
af3a1fd9b8 Release 2.13.0 2020-06-21 23:57:18 +08:00
dead-horse
20e58cf3e4 test: imporve coverage to 100% 2020-06-21 23:56:31 +08:00
dead-horse
4a40d633c4 build: use prepare instead of prepublish 2020-06-21 23:26:06 +08:00
dead-horse
226ba8c8e8 build: use prepublish instead of prepack 2020-06-21 23:20:08 +08:00
ZYSzys
bbcde76f5c feat: support esm (#1474) 2020-06-21 22:26:48 +08:00
dead-horse
b7d8c97f49 Release 2.12.1 2020-06-13 23:11:04 +08:00
Julien Wajsberg
e2030c7249 fix: Improve checks for Error in onerror handlers (#1468)
Fixes #1466
2020-06-13 23:09:43 +08:00
Mike Vosseller
5208c5e15d chore: Use single console.error() statement in error handler (#1471) 2020-06-13 23:05:58 +08:00
dead-horse
9ee65843d9 Release 2.12.0 2020-05-18 00:02:11 +08:00
Vijay Krishnavanshi
0d2f421c26 feat: error handler treat err.statusCode as the same as err.status (#1460) 2020-05-17 23:49:44 +08:00
Konstantin Vyatkin
faeaff5c14 fox: remove error-inject and fix error handling (#1409) 2020-05-16 16:40:34 +08:00
Paul Annekov
f7c732fd06 docs: fixed incorrect onerror example (#1459) 2020-05-16 16:33:29 +08:00
Yazan Medanat
143d8f72f2 Always use strict equality. (#1225) 2020-05-15 12:12:12 -05:00
ejose19
8d52105a34 feat: allow bodyless responses for non empty status codes (#1447)
Co-authored-by: Eladio Mora <eladio@atlasmarket.io>
2020-04-27 20:30:51 -07:00
Zac Anger
6b6b0ddf7a docs(api): add app.use chainability note (#1449) 2020-04-25 14:40:32 +08:00
Marc-Aurèle DARCHE
8ddab48cbd docs: Document response status with empty body (#1445)
Co-authored-by: Marc-Aurèle DARCHE <madarche@users.noreply.github.com>
2020-04-18 22:54:46 +08:00