All notable changes to the package will be documented in this file. This project adheres to Semantic Versioning.
- Async helper functions
failOnResolve
andfailOnTimeout
.
- Updated dependency version for
selfsigned
(used when generating certificates for HTTPS testing) to 2.x.
The 2.1.0 release was damaged and did not contain source files. 2.1.1 is a rerelease containing the same functionality.
- You can optionally specify a port for an HTTP server to listen on, instead of letting it automatically pick a port.
TestHttpHandlers.sseStream
was incorrectly writingevent: undefined
if you omitted the event type, instead of completely omitting that line.
- Minimum Node version is now 12.
- Updated many dependencies to newer versions.
- Fixed the implementation of
AsyncMutex
which was not behaving as intended when more than two tasks contended for a lock.
AsyncMutex
, a simple async lock implementation for test serialization.
- When generating a self-signed certificate for TLS testing, use a key size of 2048 bits (rather than 1024, the default used by the
selfsigned
module) for maximum cross-platform compatibility.
- Methods in
TestHttpServer
for creating simple proxy servers.
TestHttpServers
, containing the same static factory methods that are inTestHttpServer
. This is a workaround for a transpiler problem that can prevent imports from working correctly for classes that have a constructor as well as static methods.
Initial release.