Ecosyste.ms: OpenCollective

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

github.com/lukeed/polka

A micro web server so fast, it'll make you dance! :dancers:
https://github.com/lukeed/polka

chore: add `with-server-sent-events` example (#204)

* docs: add server-sent events example

* fix: use sirv instead of serve-static and use single...

a72e13cf3f674760ffa15ad3700aa1251f77795e authored 11 months ago by Antoine Coulon <[email protected]>
chore(polka): comment typo (#203)

* fix(polka): typo

* fix: typo

58cb4f76fa38df203b660f658be19b038a493775 authored 11 months ago by Yu Le <[email protected]>
chore(send): readme typo (#202)

937e86783867d24d0de4f26bec90f2a93092f596 authored 11 months ago by Yu Le <[email protected]>
fix(send-type): apply custom headers when passed a stream (#198)

* Fixes #197: apply custom headers when passed a stream

* Use setHeader instead of writeHead ...

1cf649c5d6e3924a41a42097156145b0daafc957 authored about 1 year ago by Aral Balkan <[email protected]>
fix: remove `err` param from `.listen()` callback;

- Closes #120, #163

2ce10df97921126ffcc43e23aa14af18f93f49e1 authored over 3 years ago by Luke Edwards <[email protected]>
chore(examples): bump `node-fetch` version (#147)

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 1.7.3 to 2.6.1.
- [Release notes]...

52d5902dd11f2fb5962a439ef47799c83ba397ac authored over 4 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chore(examples): bump `node-fetch` version (#146)

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 1.7.3 to 2.6.1.
- [Release notes]...

565fb307c0f01dc17f40bf5b94f006475fb37603 authored over 4 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chore: enable sponsor button

376a4d4c84f6c499bf2f2e891b24c3399b294382 authored over 4 years ago by Luke Edwards <[email protected]>
chore: add readme banner

88f380272973019df5dc7c37611ac987bcd67d47 authored over 4 years ago by Luke Edwards <[email protected]>
fix(polka): explicit check in `onError` for Buffer|string (#121)

* fix(polka): Use Buffer.isBuffer for type check

* fix: handle strings again

Co-authored-b...

55d6d2b29aed493f53eb58db89bd96b042785fb9 authored almost 5 years ago by Jim van der Voort <[email protected]>
fix(action): add "pull_request" trigger

7076175d32702c2b3c871eb0b612c546b4d3ebab authored almost 5 years ago by Luke Edwards <[email protected]>
chore(deps): bump `axios` version (#111)

Bumps [axios](https://github.com/axios/axios) from 0.17.1 to 0.19.0.
- [Release notes](https://...

502bb4c91cfbaf168e03f771066ca697f0a3ea88 authored about 5 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chore(action): simplify events & codecov

7ea8548ea89f18f12ce97eebe991eb3b1f8a2907 authored over 5 years ago by Luke Edwards <[email protected]>
chore: remove TravisCI config

3da421b1096d37292593dd25a6e2743ebeb41016 authored over 5 years ago by Luke Edwards <[email protected]>
fix(polka): always push `onNoMatch` on stack

255491d1261a84dc06a32f3a11d217a5d2ceba7d authored over 5 years ago by Luke Edwards <[email protected]>
debug(action): attempt "Report" conditional

93b4ecb7136a5782a220891ab49d9ac95b39b255 authored over 5 years ago by Luke Edwards <[email protected]>
fix(action): import `nyc` script for master

76e7a44ee20bd98f90a97b93bd9245b0d68aaa2f authored over 5 years ago by Luke Edwards <[email protected]>
chore: setup CI via GitHub Action

347208292eee8aec40bf5d941e97228b02ef49ca authored over 5 years ago by Luke Edwards <[email protected]>
chore(examples): bump `with-nextjs` versions

95b13c567bbebd44f2a5fa227326691c2aab8510 authored over 5 years ago by Luke Edwards <[email protected]>
chore: remove "height" on README logo (#91)

fd7363432f869b64c5d9d2ecc9bb6397a302c782 authored over 5 years ago by Daniel Ruf <[email protected]>
v0.5.2

302d74a2cbb66d9a20cdbe0c08bbd68ffba3ae46 authored almost 6 years ago by Luke Edwards <[email protected]>
test(send-type): update mock & assert respected headers

c327f1c43525d52b49cc58947c5f69693db7b1ed authored almost 6 years ago by Luke Edwards <[email protected]>
chore(send-type): update docs

a066f40b86248adb2dd02474f435e2061f5f28e5 authored almost 6 years ago by Luke Edwards <[email protected]>
fix(send-type): set “application/json” as fallback

- thank you @TehShrike

0a81fcae756155ab596bc3bd7f85d68bb8d2f1d5 authored almost 6 years ago by Luke Edwards <[email protected]>
fix(send-type): fallback `type` to existing value

- thank you @TehShrike

459c0ea5ae0ffeb17acb854a87c7f7e440a4b4a4 authored almost 6 years ago by Luke Edwards <[email protected]>
fix(examples): update listen() calls (#76)

e7aa451fe311dae1915d043ee95a2dd1a75343ff authored about 6 years ago by béla <[email protected]>
bench: fix Polka import (#74)

75d975053962a7235b6d4c20b68c40e822dd90b3 authored about 6 years ago by Icebob <[email protected]>
v0.5.1

d1f36951a259fad5bb21f2e7b623a1aa6834c620 authored about 6 years ago by Luke Edwards <[email protected]>
update root benchmarks

84eb998df1e9ec1035ccf16d14e9db60591dc4b3 authored about 6 years ago by Luke Edwards <[email protected]>
test: running sub-app & middleware together;

- Closes #70

9ad38605dcebd638dd2a6b8ee63bd62fa1165d3f authored about 6 years ago by Luke Edwards <[email protected]>
test: assert the thrown Error message exists

2da1bd0c0bea46128fcffa423174f7bd7b83aa46 authored about 6 years ago by Luke Edwards <[email protected]>
overload `add()` to throw Error message;

This ONLY happens when attempting to add a `method()` handler on a (base)path that already posse...

2ed6efd2ac1d3998c38a8dbfe360d6cd31a39701 authored about 6 years ago by Luke Edwards <[email protected]>
chore: shuffle

1c8bfce66ac604682e08a8611938b1288fd3a92c authored about 6 years ago by Luke Edwards <[email protected]>
fix: remove `method()` handler priority treatment;

- any `use()` middleware on the same (base)path should still run

4e9b63c24d2d4a20970fe26a92592c5eed8d5b50 authored about 6 years ago by Luke Edwards <[email protected]>
test: route-handler should run ambiguous parents

287c66c40b37f43e7a9a18556c3975bcdbd82013 authored about 6 years ago by Luke Edwards <[email protected]>
test: shared `use()` and `method()` path sequence

12eafae8eb28515bf5657a627291b88cf172d506 authored about 6 years ago by Luke Edwards <[email protected]>
travis: nyc (take 3)

00eeeddaf209451a127d17775aeae98087c5fd32 authored over 6 years ago by Luke Edwards <[email protected]>
travis: fix nyc reporter?

dc9ffe17f190f473e488fc4ed2b816b7d2f169cf authored over 6 years ago by Luke Edwards <[email protected]>
tests: cover `use(“/foo”)` scenario;

- brings to 100% coverage 🎉

22fa75682d50b8f0ca9e7de57bd8043d71365a6a authored over 6 years ago by Luke Edwards <[email protected]>
chore: replace `c8` with `nyc` coverage

ef6f496da27c5138f18a47f8943c1f785f9e11b5 authored over 6 years ago by Luke Edwards <[email protected]>
tests: add `Stream` test for `send-type` pkg;

- bumps coverage to 99.4%

7063065236ae559b5094f06dc606e04152cd38fe authored over 6 years ago by Luke Edwards <[email protected]>
chore: include “text” coverage reporter too

65c2f965eed75e2c5b69c77f8ef60ea86289947e authored over 6 years ago by Luke Edwards <[email protected]>
chore: update gitignore

056635394dd97a33d88f23b0ac11680579ead661 authored over 6 years ago by Luke Edwards <[email protected]>
chore: update badges

667793686eeda4a5c1eaef2a0618dadacca03e7d authored over 6 years ago by Luke Edwards <[email protected]>
chore: attempt `c8` and `codecov` integration

d8406ea2968c7399e97cde73900ed4f1249ef7af authored over 6 years ago by Luke Edwards <[email protected]>
derp.jpg

6ce2efff624b4aec1c77b06bf5ba5c17f10ae00d authored over 6 years ago by Luke Edwards <[email protected]>
docs: update methods link

f3b17fcb7daf31c9762a696d59db10e132442af6 authored over 6 years ago by Luke Edwards <[email protected]>
v0.5.0

58d5858bae885ca97adef29a3605b8317d5b7704 authored over 6 years ago by Luke Edwards <[email protected]>
chore: clone readme

e43bf6f41a96f17f4aaaad45ed5b1d44a6fb4bbc authored over 6 years ago by Luke Edwards <[email protected]>
test: remove async from `listen` util

e34a2a4b1806bd5e6abf96d82d947a1d87fccbbb authored over 6 years ago by Luke Edwards <[email protected]>
remove Promise around `.listen` method;

- Closes #19

dc56b9d52108cf0b4020bb0e7002200105b751b1 authored over 6 years ago by Luke Edwards <[email protected]>
polka: add support for variadic route handlers

- Closes #18

42574ac08440fd575e21d27cc62fde66d0f7eb12 authored over 6 years ago by Luke Edwards <[email protected]>
update readme benchmarks

35fb3d8ba04a1e2103a3d0926b6854cc72c13ab9 authored over 6 years ago by Luke Edwards <[email protected]>
package: add `polka/url`

44a57579516702fb200389a1496284e8cd0e10ff authored over 6 years ago by Luke Edwards <[email protected]>
url: update readme

17c54a7fa1f207f4e3808ea1eb3964f3cced64f4 authored over 6 years ago by Luke Edwards <[email protected]>
add tests for variadic route handlers (#18)

a82f571de3428b335ed8946ffb706e421bc24387 authored over 6 years ago by Luke Edwards <[email protected]>
url: accept pathname as it comes;

- there’ll never be hash attached from server
- non-alphanumerics should properly fail match

87bac82cfb68b583dd87ca34a0d4bbc6633e85d5 authored over 6 years ago by Luke Edwards <[email protected]>
bump to `[email protected]`

6d5d094c6d6802ba139afb5e867b3529cb7e5c4c authored over 6 years ago by Luke Edwards <[email protected]>
test: update `route.handlers` shape

aac1859a36a5705679a7d5431f01d8b348e8106e authored over 6 years ago by Luke Edwards <[email protected]>
test: include `polka/url` suite

da00320745d6cbd495869a02b7581b0d3d83c161 authored over 6 years ago by Luke Edwards <[email protected]>
polka: swap `parseurl` for `polka/url` instead;

- add README note for swapping back

9da7f3b377d60908ebd546fb84f5c57de43fc820 authored over 6 years ago by Luke Edwards <[email protected]>
test: update `isObject` helper

47e886e2fc9588962769645d3e2f90e8a4b82cf1 authored over 6 years ago by Luke Edwards <[email protected]>
test: include Node 10.x in TravisCI (#67)

cf4efa8bff379b0b296ac25c76142441fc33fd6e authored over 6 years ago by Daniel Ruf <[email protected]>
docs: note `polka.handler` == `express()` instead;

- Closes #63

99f4fe94af1a57c672f1dbaaa88ecf8116fc0939 authored over 6 years ago by Luke Edwards <[email protected]>
docs: middleware sequence w/ express differences

d6296ed549b4a1364845a5666a2655242c879b51 authored over 6 years ago by Luke Edwards <[email protected]>
send-type: cast `toLowerCase` before juggling;

Closes #57

83731c5c8386a4506dd06fc6b092a8513b8c1480 authored over 6 years ago by Luke Edwards <[email protected]>
docs: `req.pathname` —> `req.path` (#62)

a4d96b9c5bcb8ef3bc813263eb97e47303d761a4 authored over 6 years ago by Antoine Neff <[email protected]>
example: fix `with-socketio` demo;

- needed update after [email protected]
- the “socket.io” binding needs to come _after_ main server
- ...

a9f0f583d848f1169d07bc89e5c630db6a76452e authored over 6 years ago by Luke Edwards <[email protected]>
docs: update benchmarks;

- use Node 10.4
- include Rayo.js

734ee317866da071b3112991c751ba3b42dc9c81 authored over 6 years ago by Luke Edwards <[email protected]>
examples: apollo & next.js (#48)

* with nextjs example

* with apollo example

* updated readme

* Update index.js

Unuse...

a7a38c4fa6e96367ff841f9c2525bb94867047ba authored over 6 years ago by Jerome Olvera <[email protected]>
v0.4.0

d96afc54e164d4e7bbb1226e686474597d2edc6d authored over 6 years ago by Luke Edwards <[email protected]>
~> copy readme

bb5d2b38755768ee6c7fe0eaf04938695f1c3ad0 authored over 6 years ago by Luke Edwards <[email protected]>
example: sirv (#46)

12846063c606484158f153f376fd912822dbdfee authored over 6 years ago by Luke Edwards <[email protected]>
update tests after [email protected] changes

8af07b5ecbd4022771048e438fbd34a4f0058bd5 authored over 6 years ago by Luke Edwards <[email protected]>
improve `opts.server` tests (#42)

* Add test for options server

* update 'opts.server' tests; remove isString helper

d2f5f96d250f4cb6fe681ba759b3f456d10b4d34 authored over 6 years ago by Cat <[email protected]>
replace `req.pathname` —> `req.path` (Closes #29)

7d467f35e424ea4e3f14965c9a00c02e4484186a authored over 6 years ago by Luke Edwards <[email protected]>
add docs for `server` option

e93ae664b21b560867f0e9bbf95e6886d6fffc0d authored over 6 years ago by Luke Edwards <[email protected]>
fix readme docs: ClientRequest —> IncomingMessage;

- also removed the `getHeader` usage, since that doesn’t exist on IM
- finally got around to this 🙈

46086ae419d6672ee68470e5a2c35494c456e4a3 authored over 6 years ago by Luke Edwards <[email protected]>
rewrite tests w/ async (convenience);

- does not affect core code!
- Polka is still 6.x compatible 👌🏼

c17440f9e9d7788eab32ec67d846748c81e25386 authored over 6 years ago by Luke Edwards <[email protected]>
prevent excess server boots via `server` option

- Closes #33

276056c66aa1215b1a700c3db6b7930a246ea347 authored over 6 years ago by Luke Edwards <[email protected]>
truncate root-assigned mware group to `wares` arr

/cc @Rich-Harris

46285f915ff1e1c388e402e08e06ed4ca80050c6 authored over 6 years ago by Luke Edwards <[email protected]>
fix readme example (#21)

37fe875eafec867cc2e28c3d4365ff745e9afed8 authored over 6 years ago by Steve Anderson <[email protected]>
example: add `with-graphql` starter

- Closes #32

b929adac58f08f6b7a7cbd7bb7139010efc29e90 authored almost 7 years ago by Luke Edwards <[email protected]>
example: nuxt.js (#31)

ff27865c1ad9d637aca9d5bf8cdce2d1d1febf34 authored almost 7 years ago by Luke Edwards <[email protected]>
v0.3.4

0ad69b5acbace2bd3d7079beefa9d5b84b1e9401 authored almost 7 years ago by Luke Edwards <[email protected]>
docs: update benchmark results

606b0cdcabf337bf54d3d3803b7558bcee6e2356 authored almost 7 years ago by Luke Edwards <[email protected]>
test: update `req.originalUrl` value (oops)

dacb2e2c76f6a58660942df3d043d2783b59b92d authored almost 7 years ago by Luke Edwards <[email protected]>
fix: always set `req.originalUrl` value

bb9e36621b97acf84c6540c9952f76ae119bd16b authored almost 7 years ago by Luke Edwards <[email protected]>
fix: ensure `req.query` is always object;

- closes #28

73392ea2e4625a42030323e4976c9db0e42723bf authored almost 7 years ago by Luke Edwards <[email protected]>
test: remove extra line

61c55e16f02a4023f28d81d936cd5c52a231af1a authored almost 7 years ago by Luke Edwards <[email protected]>
v0.3.3

6739b20241b4c40a01a223d9454ad8c9a6767311 authored almost 7 years ago by Luke Edwards <[email protected]>
test: add root-wildcard vs bware tests;

- prevent regressions for #26

f4c83d8048dd275c93d7ff4ba2fca6bd2f1a741a authored almost 7 years ago by Luke Edwards <[email protected]>
tests: fix typo

0baf18f77f723722069a4c452fce14a9b31331c1 authored almost 7 years ago by Luke Edwards <[email protected]>
docs: update readme benchmarks

f1a1372843018034a712638fb9d1c3189b6f7d81 authored almost 7 years ago by Luke Edwards <[email protected]>
prevent root-wilds from taking over sub-groups;

- closes #26

dfac4b4ff26b69bfc3729bfb14ee376259237db6 authored almost 7 years ago by Luke Edwards <[email protected]>
example: razzle + after.js (#25)

* initial razzle/with-afterjs template

@see https://github.com/jaredpalmer/razzle/tree/master...

025614f61f60ae77adc4835dc5ff4d740bf132ed authored almost 7 years ago by Luke Edwards <[email protected]>
v0.3.2

3fff740a78b5ee25551c5ac2ddcbcac8706045a5 authored almost 7 years ago by Luke Edwards <[email protected]>
example: add `with-morgan` demo

e8240a692b96adcddf66452501765970bfe257eb authored almost 7 years ago by Luke Edwards <[email protected]>
test: ensure bware mutations defer until needed

df98c4c144a571b79fa4300b122e6956ee302cc8 authored almost 7 years ago by Luke Edwards <[email protected]>
tests: chain axis calls (easier debug)

b0c9c6ea9cd9464e254b8299f9822545f7710adf authored almost 7 years ago by Luke Edwards <[email protected]>