serve-handler
serve-handler copied to clipboard
The foundation of `serve`
Currently if there is a dangling symlink the server crashes. This makes dangling symlinks to return 404s
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1. Commits f545bdb 3.0.1 c57d4c2 fix a few old XO issues for backport 419250f Fix potential ReDoS (#37) See full diff in compare view [ from 1.3.5 to 1.3.8. Commits a2c5da8 1.3.8 af5c6bb Do not use Object.create(null) 8b648a1 don't test where our devdeps don't even work c74c8af 1.3.7 024b8b5 update deps, add linting...
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines) from 1.0.1 to 1.0.3. Commits c3b28d3 1.0.3 6226c95 Merge pull request #4 from Trott/fix-it-again c77691d fix: remediate ReDOS further 76ca93c chore: pin mocha to version that works with...
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1. Release notes Sourced from dot-prop's releases. v4.2.1 Backport https://github.com/sindresorhus/dot-prop/commit/3039c8c07f6fdaa8b595ec869ae0895686a7a0f2 to the v4.x release line. Commits c914124 feat: patch 4.2.0 with fixes for CVE-2020-8116 See...
# [Codecov](https://codecov.io/gh/zeit/serve-handler/pull/75?src=pr&el=h1) Report > Merging [#75](https://codecov.io/gh/zeit/serve-handler/pull/75?src=pr&el=desc) into [master](https://codecov.io/gh/zeit/serve-handler/commit/ce35fcd4e1c67356348f4735eed88fb084af9b43?src=pr&el=desc) will **decrease** coverage by `4.03%`. > The diff coverage is `37.5%`. [](https://codecov.io/gh/zeit/serve-handler/pull/75?src=pr&el=tree) ```diff @@ Coverage Diff @@ ## master...
When a file url has certain symbols like number sign (#), it doesn't encode them, which makes the browser fail to navigate to the file, thinking it is a document...
Attempt to fix the encoding for paths with special characters. Related to https://github.com/vercel/serve-handler/pull/209 The PR is work in progress as the breadcrumb does not fully work yet and not everything...
Run with configured redirects with the specified port: ``` "redirects": [ { "source": "/api/endpoint", "destination": "http://redirect-url:20000/endpoint" } ] ``` Fails with: ``` INFO Gracefully shutting down. Please wait... /Users/crbx/Library/pnpm/store/v3/tmp/dlx-35334/node_modules/.pnpm/[email protected]/node_modules/path-to-regexp/index.js:194 throw...