Ecosyste.ms: OpenCollective

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

github.com/koajs/send

Transfer static files
https://github.com/koajs/send

chore: fix typo on readme file

52ca51de190950bcd13eff4788f41faacb777e63 authored over 1 year ago by Imed Jaberi <[email protected]>
feat: re-write @koa/send with typescript (#147)

* chore: sync history.md

* feat: re-write with ts

* setup: setup build and linter

* fea...

61f8be38e662cc7ffbf550c13f49fbfe495e5826 authored over 1 year ago by Imed Jaberi <[email protected]>
Update .travis.yml

527048b6280d1c1f50b554317a248cc2d8151be8 authored about 4 years ago by haoxin <[email protected]>
5.0.1

e9c33460ac6d41512661d44c4ca445199bdafaa1 authored over 4 years ago by niftylettuce <[email protected]>
Replace mz with custom promisified wrappers (#140)

util.promisify is supported since node v8
https://nodejs.org/api/util.html#util_util_promisify_...

c3218a98317d7f0cc135360be81d737557d18991 authored over 4 years ago by Bogdan Chadkin <[email protected]>
fix(jsdoc): send return type (#141)

2430e38ef90a28f458c6d4f1a3e8e416fa137cab authored over 4 years ago by zacanger <[email protected]>
fix extensions options on windows machines (#79) (#122)

805413e53305998d118b9d35d243d2d3bd216c0a authored over 4 years ago by David Valachovic <[email protected]>
Revert "Using `RegExp` replace loop in `isHidden` (#109)" (#138)

This reverts commit 83300283a6b890d94c8c96b19c9d1425c945e10e.

2cb7888682f4a249d1e4563fc8dcb939046e85a9 authored over 4 years ago by niftylettuce <[email protected]>
Using `RegExp` replace loop in `isHidden` (#109)

* Using `RegExp` replace loop in `isHidden`

* Update index.js

* fix: move into function

83300283a6b890d94c8c96b19c9d1425c945e10e authored over 4 years ago by 贾顺名(Jarvis) <[email protected]>
Clean up / Pipeline update ... (#135)

* update .gitignore file 🐞 ..

* remove file: repeated example ❌ ..

* linting --eslint 🔬 .....

1f41139751b785afb6f7a6d2df950fb726a1e997 authored over 4 years ago by imed jaberi <[email protected]>
Update .travis.yml

f93573dfb4e1d6b5549ac926b96f5dc38a02a831 authored over 4 years ago by haoxin <[email protected]>
Fix Tests & coverage (#132)

* fix the failed test case 🩺..

* add coverage package + config & updated yarn.lock 📦 ..

...

8d5955d69d836c101d3523c091ff0cce5bb5c97c authored over 4 years ago by imed jaberi <[email protected]>
Fix license (#134)

* update README.md 📇 ..

* add LICENSE 🔏 ..

* fix typo ☑️ ..

f56a959e5b8d5e6aedbb10277f908fa00796064b authored over 4 years ago by imed jaberi <[email protected]>
travis: add node@11

dc3182a1206a220a35dc24cfcabf86afed209b31 authored almost 6 years ago by haoxin <[email protected]>
5.0.0

2ce173293d0e8ff02ea42ad844ce797799a4834f authored over 6 years ago by haoxin <[email protected]>
bump deps

f0d97d688f064d8039a6a3ccc6cea0e9c25d3fd1 authored over 6 years ago by haoxin <[email protected]>
travis: add node@10

78a087b7406a46c31903fc381d11741c17a9f422 authored over 6 years ago by haoxin <[email protected]>
fix bug that set Content-Type not working. (#105)

5fadd484a5d7fc4abf380bd2fb636534e14b4a91 authored over 6 years ago by 张伟杰 <[email protected]>
4.1.3

0ce9e23edbfddba604048f3adfc27b0508d020bc authored over 6 years ago by jongleberry <[email protected]>
:arrow_up: resolve-path@^1.4.0 (#95)

86c9cb27dbe9ba793619bc412504a1734ad6b1a9 authored over 6 years ago by jongleberry <[email protected]>
4.1.2

a9d2c72e4058860a09a5b14637ad843b316254d2 authored almost 7 years ago by haoxin <[email protected]>
chore - disable package-lock; lint

828933c1ac35a6e2a24f51fa52640c8146423122 authored almost 7 years ago by haoxin <[email protected]>
Fix issue with dots in path when using extensions array (#92)

* Fix issue with dots in path when using extensions array

* Add missing fixture

c5afc41953ecf0623546e520d8701c7175b8cf20 authored almost 7 years ago by John Sanderson <[email protected]>
4.1.1

0910621619d8fdb136555858b7b03dadc9b4a75d authored about 7 years ago by haoxin <[email protected]>
fix tests

6b9a748d41f6ad65d8e7e3763808c746c275ee5e authored about 7 years ago by haoxin <[email protected]>
Fix brotli support

closes #83

2f2776967e5d363c0f788f76175fb50398088983 authored about 7 years ago by Björn Bredthauer <[email protected]>
gitignore: add package-lock.json

f60852297cee1f08c38e5de0495301190e77c57e authored about 7 years ago by haoxin <[email protected]>
travis: test on node@8

e2e9cc4b482fa66d2635c680893e04f25ab55ca4 authored about 7 years ago by haoxin <[email protected]>
Add info about `index` option to the readme (#88)

a4eda2f7fcaf5747243c296ca3660bfc2d398f4c authored about 7 years ago by kjendrzyca <[email protected]>
4.1.0

44090017d7f95bf90d1673f5e29c28fea6cf90e9 authored over 7 years ago by haoxin <[email protected]>
lint

cbf0610f2619a844f9f68b24eba0c39d6b76a2ae authored over 7 years ago by haoxin <[email protected]>
Add support for Cache-Control: immutable with a new "immutable" option

More browsers are starting to support Cache-Control: immutable (see: https://hacks.mozilla.org/2...

737193c01ed2b07d9b3d90ca0d8ea2a2d49da80c authored over 7 years ago by James Ide <[email protected]>
Added serving of brotli versions of files

closes #76

1045a226fb2938dc2d8b0859e57247f1ea03c09a authored over 7 years ago by Jack Moore <[email protected]>
4.0.0

c7449f20cc30f6b7484700f8c9fbb4c8a1f57c54 authored over 7 years ago by haoxin <[email protected]>
package: add engines

e90b0f046e17b025bc4ff13c0f86f9c883092b0a authored over 7 years ago by haoxin <[email protected]>
throw error if file not exists

closes #43

b7400201d4aa20fdc0dd27ed83334050afec1da0 authored over 7 years ago by haoxin <[email protected]>
update readme

92fd0b0d353b7d9e7aa1e282f304160f72acb75a authored over 7 years ago by haoxin <[email protected]>
remove co, use async function

ace5419501b062c03306e4f6d6b17a326ab4f154 authored over 7 years ago by haoxin <[email protected]>
update tests

bba8aff5b006ee5f739ff63973537edb5109cd59 authored over 7 years ago by haoxin <[email protected]>
update example

22bf78a4c186f77b983da9c7e91ddbaecb8bbbf5 authored over 7 years ago by haoxin <[email protected]>
travis: test node@7 only

735edfb2a174d261e94f2815123a9dab581e138f authored over 7 years ago by haoxin <[email protected]>
bump deps

3c9f9eb60266f42645e7954a73d4444308c87932 authored over 7 years ago by haoxin <[email protected]>
fix tests

9013eca99abeb80ebdd049cc00b618b5eea02bfe authored almost 8 years ago by haoxin <[email protected]>
3.3.0

134a6f62464286e4c3109086fb73b6cc052daf78 authored almost 8 years ago by haoxin <[email protected]>
bump deps

e6c6a55a7519ebcd6f1a94cfe1c3a5016932e0f4 authored almost 8 years ago by haoxin <[email protected]>
travis: node@4, 6, 7

d5e7b1bceb47772b880f4833f387d1229a09b4d2 authored almost 8 years ago by haoxin <[email protected]>
add extensions option

tests: style refactor (spaces after comma, spaces after and before curly brackets

tests: fixed ...

24cfb972656ebc1d0ac7bc840197893eb7c00be7 authored almost 8 years ago by Necromos <[email protected]>
3.2.0

c756b3648c71011f4d709fdd5e92377a09c936c8 authored over 8 years ago by haoxin <[email protected]>
add setHeaders option

ref https://github.com/koajs/send/issues/56

fixup! add setHeaders option

fmt

697594751e82c0c83b87c21b9a0fef57053a0d52 authored over 8 years ago by sinewyk <[email protected]>
3.1.1

0e2fe7613891fdbcc0382106e1965c3cac05f9f3 authored over 8 years ago by haoxin <[email protected]>
simplify scripts

3800338131d21cdcc0036ebb5a6f1e799f9e5ccf authored over 8 years ago by haoxin <[email protected]>
bump deps

fa0c89e9f99b481aeafe2a58d62818c33be6dfe5 authored over 8 years ago by haoxin <[email protected]>
Updating examples to remove invalid use of absolute paths.

closes #45
closes #46

58bf426ddd366818a8261df6f5ed17773ad3860e authored almost 9 years ago by Jonathan <[email protected]>
doc: Add example for Koa@2

closes #42

35cced5e1183f76dc6367b6944089db5385eddc7 authored almost 9 years ago by Bazyli Brzóska <[email protected]>
add node 5 to travis ci

f0d9c0398a8398d24093b1e3066267e699cd8c04 authored almost 9 years ago by Tejas Manohar <[email protected]>
3.1.0

d4525019ef69a6576e926c07889f69db4da46444 authored almost 9 years ago by haoxin <[email protected]>
Split path by path.sep instead of slash

51248d239ceaa00eb7d1b17c1c892b3f7b8571c6 authored almost 9 years ago by Felix Becker <[email protected]>
Strip root correctly on Windows

d45affb683454e203d1cf32c79e3658a50e06542 authored almost 9 years ago by haoxin <[email protected]>
tests: resolve paths for windows

b47fc03662958bf39705c1547ccb36a50307938e authored almost 9 years ago by Jonathan Ong <[email protected]>
Merge pull request #37 from felixfbecker/26-promise

Return a promise

f858b06385ae4b6204740bcccbe73c92505e95d2 authored almost 9 years ago by jongleberry <[email protected]>
3.0.1

cad465b26bec0aa6299da4f163483a8242109376 authored almost 9 years ago by haoxin <[email protected]>
fixes stats info when path does not finish with slash and format is enabled

Fixes #34

d2a5a9f87a6575948c6872b7913977d4050b4dd7 authored almost 9 years ago by Felix Becker <[email protected]>
Return a promise

cc8162a1ae66356cac978a30f587f290a1e70d77 authored almost 9 years ago by Felix Becker <[email protected]>
3.0.0

056cb0001b1d9ff80843b5abf69b16b2aa2d3f87 authored almost 9 years ago by haoxin <[email protected]>
bump deps

becfb728e7f4dc1cfc8a33fd297ef82843caa558 authored almost 9 years ago by haoxin <[email protected]>
simplify the declarations of `format`, `gzip`

986f82ad2df7e90e174b227cbfc3c79c4be36983 authored almost 9 years ago by haoxin <[email protected]>
fix: enable format only index exists

e7ffbdf08c301781d66de660884489476c86b280 authored almost 9 years ago by haoxin <[email protected]>
Format option defaults to true #29

5184d0d5ccc74f1e27fbce0150f699acf0606218 authored almost 9 years ago by pierreburgy <[email protected]>
2.0.1

e5d85103e43690548a1e88d65548a6f3403621f1 authored about 9 years ago by haoxin <[email protected]>
fix judgement of trailing slash

ed01c335f6d976924e521778c1183fc501affdc7 authored about 9 years ago by haoxin <[email protected]>
2.0.0

6c75e4237f68c724c3de2ef1678fff3c4cc3e8dd authored about 9 years ago by haoxin <[email protected]>
Revert "1.4.0"

This reverts commit 2ba67bab5c38d03197f8d9ad79e3dad042cf3a1f.

c6d0cb95acded816f2fb6946e0f3613c13eeafb0 authored about 9 years ago by haoxin <[email protected]>
1.4.0

2ba67bab5c38d03197f8d9ad79e3dad042cf3a1f authored about 9 years ago by haoxin <[email protected]>
Directories without a trailing slash

closes #27

bfd4cbcb9e51ff5f40ad786a26a32e17140efd2a authored about 9 years ago by pierreburgy <[email protected]>
when .hidden option is set, also check hidden directories

closes #17

d6b859d8af35f07318b25f4aa86433d64cdb5286 authored about 9 years ago by Andy Hu <[email protected]>
:arrow_up: mz@2

92520465dd161a6a986454e0e28d942efcb1ec1f authored about 9 years ago by jongleberry <[email protected]>
:arrow_up: mocha@2

8b7e0c7f3f3671bfa755ab3daa1795acd6153d5b authored about 9 years ago by jongleberry <[email protected]>
pin: koa@1

4e8d33826991ffeece8cc07388c36d4fca3f0c98 authored about 9 years ago by jongleberry <[email protected]>
travis: test on node@4

4009cdcc0c71ed390414bdcd0e34f22d6a6eafcc authored about 9 years ago by jongleberry <[email protected]>
use resolve-path

closes #9

31c6a5e7dd08ac80555f0f5a1cb7b3cd97ff527e authored over 9 years ago by haoxin <[email protected]>
gzip version of file should not be automatically sent

Update index.js

Update index.js

Update index.js

Update index.js

add tests for gzip option

78be346cbe35a7f1496ee20c6a535f7026753aa5 authored over 9 years ago by Andy Hu <[email protected]>
fix test: gzip.json.gz is not valid json data

3e9bc125c56dbad0f0498520ea764dc6dde45ea3 authored over 9 years ago by haoxin <[email protected]>
1.3.1

e86357b061ac7ccb810a0b209cd035e6867f478a authored about 10 years ago by Jonathan Ong <[email protected]>
add .maxAge alias

closes koajs/static#30

5cd76224b8d45bca11a77708572052f24be15109 authored about 10 years ago by Jonathan Ong <[email protected]>
1.3.0

2031477fd29bd2f2ee04797d321d564891c6d942 authored about 10 years ago by Jonathan Ong <[email protected]>
add badges

81fa4e83c323ebdc8bd83c78127a6b015e5a0f01 authored about 10 years ago by Jonathan Ong <[email protected]>
add coverage

2796e06c1e26472a980f49e65c41532fb5cb48ed authored about 10 years ago by Jonathan Ong <[email protected]>
use mz for fs shims

61389c0a718262524aa2fcb46c45813dafae5c7a authored about 10 years ago by Jonathan Ong <[email protected]>
lint

a1a22638650bd375de27677a8a96812dbf60bf25 authored about 10 years ago by Jonathan Ong <[email protected]>
remove unnecessary finished dependency

4e2c7e93172f7d466a6a9c8d1d37b74cd9d20bf8 authored about 10 years ago by Jonathan Ong <[email protected]>
support for serving .gz version of a file

9ef3cd5e81858de2baebd44f39887c19b2b3aec9 authored about 10 years ago by xpeper <[email protected]>
1.2.4

e285736e9002ba97c4c81f20dbd872ae684c87e1 authored about 10 years ago by Jonathan Ong <[email protected]>
bump deps

38959cdc9ffb05267d92041eba04b6f9fec715fb authored about 10 years ago by Jonathan Ong <[email protected]>
fix tests

1774a4e7a71424f5052163a7c6f3573c8d27ff4b authored about 10 years ago by Jonathan Ong <[email protected]>
Merge pull request #11 from pepkin88/patch-1

Changed `this` to `ctx`

07c056f200c754f897aab8f6bdb4c9822d9d8bf8 authored about 10 years ago by Jonathan Ong <[email protected]>
Changed `this` to `ctx`

This worked only in cases, when previously registered middlewares were corectly passing the Koa ...

7372db19e92d7a992f1067664eb5f213f74fca9a authored over 10 years ago by pepkin88 <[email protected]>
Update History.md

bab1faec69ce9102a93847b1ee1025e3139742d3 authored over 10 years ago by Jonathan Ong <[email protected]>
1.2.3

18a8a0e665c73d1411d09bf2d85950e1b5c0984d authored over 10 years ago by Jonathan Ong <[email protected]>
Merge pull request #6 from mysticatea/fix/noworks-on-windows

send not works on Windows

7ba7cc340a7eec10fe2921dbf9e149cbdec43a00 authored over 10 years ago by Jonathan Ong <[email protected]>
bump finished

820dbf2470741e5acbdc97a011159c3f4c71ae31 authored almost 11 years ago by Jonathan Ong <[email protected]>