Security hardening:
- Explicitly reject all HTTP methods that are not `GET` or `POST`.
- Refuse streaming/chunked requests.
- Explicitly set `Content-Length` header on all responses.
New `logger` option:
- Hardcoded `console` calls are removed, preferring bring-your-own `Logger`.
- The previous behavior can be replicated by passing `logger: console`.
- The `--silent`/`-s` option has been removed because the library is now silent by default.
- Added logs at `debug` level to assist troubleshooting.
Other improvements:
- Increased test coverage, now hitting all branches except one.
- Improved JSDoc to use more idiomatic TypeScript types.
- Upgraded dependencies, notably TypeScript to v7.
-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAg4OaSdijsW6raSPK3llrsZIEdtk
SQaGaXESF8DcruCNgAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
AAAAQJUilTp4K0/mRYoUGL3C50YsE4nbReBPjqUHOwmaXx/BdUMhL4j9ZoQdtShQFIxxCo
CTYUGwr9ROkPNhDMfYsAk=
-----END SSH SIGNATURE-----
This page took 0.027345 seconds and 3 git commands to generate.