- Replace mz with custom promisified wrappers (#140)
- fix(jsdoc): send return type (#141)
- fix extensions options on windows machines (#79) (#122)
- Revert "Using RegExp replace loop in isPathHidden (#109)" (#138)
- Using RegExp replace loop in isPathHidden (#109)
- Clean up / Pipeline update ... (#135)
- Update .travis.yml
- Fix Tests & coverage (#132)
- Fix license (#134)
- travis: add node@11
- bump deps
- fix bug that set Content-Type not working. (#105)
- Fix issue with dots in path when using extensions array (#92)
- Fix brotli support, closes #83
- Fix tests
- Add support for Cache-Control: immutable with a new "immutable" option
- Added serving of brotli versions of files
- throw error if file not exists, closes #43
- remove co, use async function
- bump deps
- add extensions option
- bump deps
- add setHeaders option
- bump deps
- simplify scripts
- return a promise instead of a generator
- fix: split path by path.sep instead of slash
- fix: strip root correctly on windows
- tests: resolve paths for windows
- fix stats info when path does not finish with slash and format is enabled, closes #34
- bump deps
- format option defaults to true
- fix: enable format only index exists
- simplify the declarations of
format
,gzip
- fix judgement of trailing slash
- serve directories without a trailing slash, closes #27
- when .hidden option is set, also check hidden directories, closes #17
- bump deps: mz@2, mocha@2, koa@1
- use resolve-path, closes #9
- gzip version of file should not be automatically sent
- fix test: gzip.json.gz is not valid json data
- add .maxAge alias
- add automatically check and serve
.gz
files - remove
finished
dependency - refactor with
mz
- fix malicious path in windows
- update finished
- make assert message better
- fix: ignore directories instead of crashing koa
- add
content-length
header
- add
maxage
option
- replace deprecated ctx.error() with ctx.throw()
- use: on-socket-error
- add:
send
now returns the file path if sent - add: destroy streams on socket errors to prevent fd leaks