Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/koajs/router

Router middleware for Koa. Maintained by @forwardemail and @ladjs.
https://github.com/koajs/router

Add support for path prefixes.

- Resolves #105

2a1ca9690e2f3e9a912b7c373f119acc6425096a authored over 9 years ago by Nicholas Young <[email protected]>
Run route middleware if any route is matched. Fixes #104.

ffde94ae4f20105bbe3dd99ae81f9ba9b8b1d3f1 authored over 9 years ago by Alex Mingoia <[email protected]>
Update docs.

eeb317942b7e286f1a2cc48af6e83caaf2c6f155 authored over 9 years ago by Alex Mingoia <[email protected]>
4.2.0

18462f4ad95b17766b9a58f927ef93826eb6f1cd authored over 9 years ago by Alex Mingoia <[email protected]>
Update documentation.

90a4ade37bb52f8720b61ecf7f6de9478c42f00d authored over 9 years ago by Alex Mingoia <[email protected]>
Router.url - new static method to generate url from url pattern and data

da14bd5a7d34f3bf1d052cc7a195906d6c8eab00 authored over 9 years ago by Mikalai_Sauchanka <[email protected]>
4.1.0

9d3183b1a8c0d586e09befb2531bc2b0c4c071ff authored over 9 years ago by Alex Mingoia <[email protected]>
Add release history.

bc0618a6919dbe2acdfbec084df2e9a7131f4bfe authored over 9 years ago by Alex Mingoia <[email protected]>
Separate context decoration from route matching.

- Resolves #98

e948f74d0490614f38c36e1b00be4ed80791b226 authored over 9 years ago by Alex Mingoia <[email protected]>
4.0.1

9ca7c22f415f16f571f45fb9f39cdf32b42acc08 authored over 9 years ago by Alex Mingoia <[email protected]>
0.4.1

6bc33ddfca7a1631a0773ff8407efc70eb32cf1c authored over 9 years ago by Alex Mingoia <[email protected]>
Move development dependencies into devDependencies.

fe391fc8a17e50b4cdceba56b33007a870ee783b authored over 9 years ago by Alex Mingoia <[email protected]>
Update docs.

2feedefa15bbe30d00fe6b2227113b46e8f4f0af authored over 9 years ago by Alex Mingoia <[email protected]>
4.0.0

8df65262b3f0b3e6d96c5c46aa8b33809c5501c3 authored over 9 years ago by Alex Mingoia <[email protected]>
Include only necessary files in package.json

5aac69290e7ea43b48a8520dc1e22c3fbe65fdd5 authored over 9 years ago by Alex Mingoia <[email protected]>
Generate docs with gulp and jsdoc2md.

d088caed9a15d78aba4d4206236a57097f053b70 authored over 9 years ago by Alex Mingoia <[email protected]>
Add Router#use() to compose router middleware.

798a1ea532f300458f0574d89321685d61343e20 authored over 9 years ago by Alex Mingoia <[email protected]>
Move 405, 501, and OPTIONS responses into router.allowedMethods() middleware.

- Fixes #97
- Fixes #94
- Resolves #92

229ba520d667bf0156eaf82ae45ac114bc6c487e authored over 9 years ago by Alex Mingoia <[email protected]>
Move regexp captures from `ctx.params` to `ctx.captures`.

- Fixes #87

1532fc48f0c8929f41102cb18b179469502137c0 authored over 9 years ago by Alex Mingoia <[email protected]>
Update koa dependency.

a0f6176abd784f8a54e4322584654357de5c6477 authored over 9 years ago by Alex Mingoia <[email protected]>
3.8.0

4ca5d57bb1d20ec7f1ab908d1cf9feee90f24a4e authored almost 10 years ago by Alex Mingoia <[email protected]>
Add assertion that response body is empty.

11507fa210bdcade3b86c8c07e9537d59681d78b authored almost 10 years ago by Alex Mingoia <[email protected]>
Add expect.js

320c3e9481b91ac6117910cdd185b51458286614 authored almost 10 years ago by Alex Mingoia <[email protected]>
handle head method when get is defined

72e28345cbf794c91b136dfff0e3f10ad30f203d authored almost 10 years ago by haoxin <[email protected]>
3.7.0

0a61cb2fd1d929556b4c61c17fcfbdf30951acb0 authored almost 10 years ago by Alex Mingoia <[email protected]>
Update dependencies.

2de9e2e6b509dde268914c686efb5bc4030d68a7 authored almost 10 years ago by Alex Mingoia <[email protected]>
Run parameter middleware in order of URL appearance. Closes #86.

f5727c66eada0576fd7150de11eced4e03c100dd authored almost 10 years ago by Alex Mingoia <[email protected]>
Merge remote-tracking branch 'fengmk2/custom-router-path'

Conflicts:
package.json

8761374f67743bc155682282cc220b7e92a12c2a authored almost 10 years ago by Alex Mingoia <[email protected]>
3.6.0

a6592008cad5097e4f54f5a83c613da4359577d7 authored almost 10 years ago by Alex Mingoia <[email protected]>
Merge remote-tracking branch 'coderhaoxin/options'

a3ad3d149b084c37e39cf31c7d89158a97403bf9 authored almost 10 years ago by Alex Mingoia <[email protected]>
delete unused url.parse

1fa728003e50bd0f2bd1d897798ed51f51ce2708 authored almost 10 years ago by suzuki_yudai <[email protected]>
add a opts param, pass to path-to-regexp

3eae00c1ed9dd86a85b5b23b9592adac7e5cc390 authored almost 10 years ago by haoxin <[email protected]>
3.5.0

5eb145c958192a9a2ed80be955951986eb4de0eb authored almost 10 years ago by Alex Mingoia <[email protected]>
Use alias instead of getter.

76fdbbf045f65aac954d47211224ba867e8e0c82 authored almost 10 years ago by Alex Mingoia <[email protected]>
app.getRouter() returns the instance

26fd3cf4a8e7a3800fb46cc910114f76f4f473fc authored almost 10 years ago by Laci Szűcs <[email protected]>
Update router.js

app.getMatchedRoutes(this.url) returns koa-router's matching routes' internal representation. It...

e5ec53b95d6cbe3d2a7c3974d52bdd92d10fde9c authored almost 10 years ago by Laci Szűcs <[email protected]>
3.4.0

500679ca4eae728454e6a22b84f2f85607250882 authored about 10 years ago by Alex Mingoia <[email protected]>
Update debug and koa dependencies.

9bfdd10f9ce682f4df14390fb383e4b93634981c authored about 10 years ago by Alex Mingoia <[email protected]>
yield use generator delegation. Fixes #79

044ea7f32034b8e619dc934201c8acf5be68f01e authored about 10 years ago by yiminghe <[email protected]>
use generator delegation

59c4d9f443e2c52ccc55a61e79e4f99ad360442a authored about 10 years ago by yiminghe <[email protected]>
3.3.1

3c319fbcf215e7c0389781904ac5783f5a8a059f authored about 10 years ago by Alex Mingoia <[email protected]>
Fix an issue with unmatched param.

5554b8bd6cbe1c6278aff056cc6feb35312f6c3d authored about 10 years ago by Meo <[email protected]>
3.3.0

3a9698cb8dfd22a5790c24908f2e98bbd8eec811 authored about 10 years ago by Alex Mingoia <[email protected]>
Add Router#param() for named parameter middleware.

Closes #74 and #58.

44d97adea0408d4277afd304720e7d869a6db8b1 authored about 10 years ago by Alex Mingoia <[email protected]>
Fix chaining when using app methods.

b650935a9d048265f953e73ef015650b0d98943a authored about 10 years ago by Alex Mingoia <[email protected]>
supports custom routing detect path: ctx.routerPath

a6ce0a11f35446fd016c0ea09566c0e66b26507d authored about 10 years ago by fengmk2 <[email protected]>
3.2.3

69fed96062c4a61c3803390797b8f70b3b8e8fb4 authored about 10 years ago by Alex Mingoia <[email protected]>
Check if named route path is RegExp or String. Fixes #72.

78cee5c44666e95eff6dcd7cc2c8e41cc39efa38 authored about 10 years ago by Alex Mingoia <[email protected]>
3.2.2

951d0ac98b055eedeacb3867a19e30c717f14993 authored about 10 years ago by Alex Mingoia <[email protected]>
Move error message for undefined middleware to Route constructor.

1341c6bebb4fd8410724cb6e48ea46521cb5b8fc authored about 10 years ago by Alex Mingoia <[email protected]>
Show friendly error message when usage wrong.

`app.get('/foo', notexistHandle)` should throw error message like:
'register get `/foo` router e...

77dbb526b8a0f4415f20b90a5a6f2a6d5bfa7203 authored over 10 years ago by fengmk2 <[email protected]>
3.2.1

4fb72367e5b3cce9208e3b68c8e4d17122760f87 authored over 10 years ago by Alex Mingoia <[email protected]>
Disable Travis CI email notifications.

fc3e5283426cfaead1f02baf044c58f962a8e111 authored over 10 years ago by Alex Mingoia <[email protected]>
Update dependencies.

5104a6af9631d917712389f46c642923e8e62133 authored over 10 years ago by Alex Mingoia <[email protected]>
3.2.0

012012fd5c88c43632bdfe6d8872f4f580e45d9c authored over 10 years ago by Alex Mingoia <[email protected]>
Expose route via `ctx.route`.

67cd91e749fc8f6bf97d9ca2f8226e87151396e9 authored over 10 years ago by Alex Mingoia <[email protected]>
Improve multiple routers example. Closes #68.

a068ea4614184ee5f73e6f6485c976a65c96597f authored over 10 years ago by Alex Mingoia <[email protected]>
3.1.4

170ed6ed3331505a7c1cd4f15e0a8db039b1ffcd authored over 10 years ago by Alex Mingoia <[email protected]>
Update koa-compose dependency.

20631ec9ee9befcc86657fe806479ec2a802f9a6 authored over 10 years ago by Alex Mingoia <[email protected]>
Merge pull request #65 from mzyy94/fix_wrong_code_in_readme

Fix sample code in README.md

3b13e05258a6f578d1b9dd85caf2200d71553601 authored over 10 years ago by Alex Mingoia <[email protected]>
fix sample code

5bc6aa8ccbdacce1e8a353f25e3e7440d2aaffed authored over 10 years ago by Yuki MIZUNO <[email protected]>
3.1.3

94817ba26dd039dbc2187323146a0033cd58eb4c authored over 10 years ago by Alex Mingoia <[email protected]>
If `decodeURIComponent` error happen, just return the original value.

We need to catch decodeURIComponent() error, otherise it easy to make attack
request by `GET htt...

d8f425854425e3a0ec16a9f4aeed6530b1d1066d authored over 10 years ago by fengmk2 <[email protected]>
fix spec

b431acea482a7597a371146ac57742e5ba3e79c9 authored over 10 years ago by Dmitry Mazuro <[email protected]>
bump version to 3.1.2

e299520416f75b5422d6a713cf9743e5c63125b7 authored over 10 years ago by Alex Mingoia <[email protected]>
Do not normalize optional captures as empty string.

317b7d344c39f24c874386f29fcc59d933077144 authored over 10 years ago by Alex Mingoia <[email protected]>
if capture is undefiend, do not decodeURIComponent

a0a37ab69c3a13efe2fe7d9f2911c64ebae2f69b authored over 10 years ago by dead_horse <[email protected]>
Bump version to 3.1.1

8b602139ffd1b8ed49d70c29f08052194a24a501 authored over 10 years ago by Alex Mingoia <[email protected]>
Merge remote-tracking branch 'ryankask/fix-redirect-with-route-names2'

395ba7db014613601fb31249e809e4987f15f07a authored over 10 years ago by Alex Mingoia <[email protected]>
Decode Route#params. Closes #45.

9da0c34d00ad3ef481b2a1d758c70ca7b3dbdfc5 authored over 10 years ago by Alex Mingoia <[email protected]>
Fix whitespace.

069654fad7d1598472f08f2efa2938a6859b2121 authored over 10 years ago by Alex Mingoia <[email protected]>
Fix redirecting with route names.

7f6073fed6c246ba0be6890195a082fed8630104 authored over 10 years ago by Ryan Kaskel <[email protected]>
Bump version to 3.1.0

4bc6682ccc1cf9de65e145f1d6f2becb00bd26b6 authored over 10 years ago by Alex Mingoia <[email protected]>
readme update

98feb4f9a84cf5bc6dd4d0b4a311e6f8dda402cf authored over 10 years ago by Hunter Loftis <[email protected]>
docs for chaining

06a6dd3268f66b3f395f0c9b873a540f03930652 authored over 10 years ago by Hunter Loftis <[email protected]>
enabled route chaining and updated tests

d42441f648a4fe6cb421cb1faad31fc8bf5184a8 authored over 10 years ago by Hunter Loftis <[email protected]>
Bump version to 3.0.2

967e145306557e4c12ce304595baa1d87e8b219e authored over 10 years ago by Alex Mingoia <[email protected]>
Updated comments

790af2cc456e6cef888f2d33a1c0c06a7127a464 authored over 10 years ago by Rich <[email protected]>
Updated route matching so route params no longer leak between matched routes with different methods.

For example, given the routes:

-> app.get('/:category/:title')
-> app.put('/:category/not-a...

581fb27260177dfc3d0a0809f3240602e396416f authored over 10 years ago by Rich <[email protected]>
Add missing dev dependency.

3092a269dcff14a6762e04441c5c41d8106c3fff authored over 10 years ago by Alex Mingoia <[email protected]>
Bump version to 3.0.1

f9e454b31ff07328bf11ccb1bb5c9a9dd1363656 authored over 10 years ago by Alex Mingoia <[email protected]>
Add test for extending app with router methods.

076c94ac26d66dd3786d840194b25ac5e3b454c5 authored over 10 years ago by Alex Mingoia <[email protected]>
make available on app

99f8149017c205913f2b926f559734c520c8ab11 authored over 10 years ago by Mike Frey <[email protected]>
Merge pull request #48 from jeromew/patch-2

Clarify comments in dispatch*

88f5f057472824a451daaeaa473b9c8d8eb6ee7a authored over 10 years ago by Alex Mingoia <[email protected]>
Clarify comments in dispatch*

e34e2cf88e19d80bc825949962afe99703dfec8d authored over 10 years ago by jeromew <[email protected]>
Bump version to 3.0.0

ff86959672337846d7d6da53865c447eca8af3f0 authored over 10 years ago by Alex Mingoia <[email protected]>
Update documentation.

ece1e27f5b11f04f3efc73c2137679040901608f authored over 10 years ago by Alex Mingoia <[email protected]>
Add named routes and URL generation (closes #35).

52dc1643e94393a5086a5d3548323a7eed5d4812 authored over 10 years ago by Alex Mingoia <[email protected]>
Update documentation.

32462e6e2afdc0445525f339e2ab0f6a66de30e5 authored over 10 years ago by Alex Mingoia <[email protected]>
Support OPTIONS and 405 and 501 status codes (closes #7 and #43).

632c9d3f47a6a7375d7993d6185aae555cf589a6 authored over 10 years ago by Alex Mingoia <[email protected]>
Do not match multiple routes.

02219c55cec1f129b6c721fadbacca8e53bcc0bf authored over 10 years ago by Alex Mingoia <[email protected]>
Remove Resource (closes #42).

b04fa6744be9875b44a56d3818e1285dbc4e3888 authored over 10 years ago by Alex Mingoia <[email protected]>
Update koa-compose dependency.

f912c94a212555e22f9c5f04259833085181464d authored over 10 years ago by Alex Mingoia <[email protected]>
Bump version to 2.4.4

d1d5736d026e3fcba0c90886ceae8ec06dd08f29 authored over 10 years ago by Alex Mingoia <[email protected]>
Fix population of ctx.params for regexp routes (fixes #21).

5eb9d2f1cf47a00f77f5fd259f3a4704c2199d6a authored over 10 years ago by Alex Mingoia <[email protected]>
Bump version to 2.4.3

db203e0d925c383006c0ed51b142cd872464d338 authored over 10 years ago by Alex Mingoia <[email protected]>
Bump version to 2.4.2

d03dd35eeddd596ea162f9590a0331f00886df89 authored over 10 years ago by Alex Mingoia <[email protected]>
Fix top-level resource routing and add test case. Closes #37.

9ab451f19a2df43bfb83703f55fc719f699784b5 authored over 10 years ago by Alex Mingoia <[email protected]>
Fix version inconsistency.

8ec69841b0b92f89624ed028a117d2ecffac2326 authored over 10 years ago by Alex Mingoia <[email protected]>
Bump version to 2.3.2

2985844a245813e47451917a52b8cf3c3a20d477 authored over 10 years ago by Alex Mingoia <[email protected]>