- deps:
- debug@^4.4.3
- statuses@^2.0.2
- update engines field in the package.json to reflect the current compatibility (Node <18). See: 2.0.0
- Minor changes (package metadata)
- deps:
- use caret notation for dependency versions
- encodeurl@^2.0.0
- debug@^4.4.0
- remove
ServerResponse.headersSentsupport check - remove setImmediate support check
- update test dependencies
- remove unnecessary devDependency
safe-buffer - remove
unpipepackage and use nativeunpipe()method - remove unnecessary devDependency
readable-stream - refactor: use object spread to copy error headers
- refactor: use replaceAll instead of replace with a regex
- refactor: replace setHeaders function with optimized inline header setting
- drop support for node <18
- ignore status message for HTTP/2 (#53)
- deps: use tilde notation for dependencies
- deps: statuses@~2.0.2
- deps: encodeurl@~2.0.0
- ignore status message for HTTP/2 (#53)
- Gracefully handle when handling an error and socket is null
- Remove set content headers that break response
- deps: on-finished@2.4.1
- deps: statuses@2.0.1
- Rename
425 Unordered Collectionto standard425 Too Early
- Rename
- Set stricter
Content-Security-Policyheader - deps: parseurl@~1.3.3
- deps: statuses@~1.5.0
- Fix 404 output for bad / missing pathnames
- deps: encodeurl@~1.0.2
- Fix encoding
%as last character
- Fix encoding
- deps: statuses@~1.4.0
- Use
res.headersSentwhen available
- deps: debug@2.6.9
- deps: parseurl@~1.3.2
- perf: reduce overhead for full URLs
- perf: unroll the "fast-path"
RegExp
- deps: debug@2.6.8
- deps: debug@2.6.7
- deps: ms@2.0.0
- deps: debug@2.6.4
- deps: ms@0.7.3
- Fix missing
</html>in HTML document - deps: debug@2.6.3
- Fix:
DEBUG_MAX_ARRAY_LENGTH
- Fix:
- Fix exception when
errcannot be converted to a string - Fully URL-encode the pathname in the 404 message
- Only include the pathname in the 404 message
- Send complete HTML document
- Set
Content-Security-Policy: default-src 'self'header - deps: debug@2.6.1
- Allow colors in workers
- Deprecated
DEBUG_FDenvironment variable set to3or higher - Fix error when running under React Native
- Use same color for same namespace
- deps: ms@0.7.2
- Fix exception when
err.headersis not an object - deps: statuses@~1.3.1
- perf: hoist regular expressions
- perf: remove duplicate validation path
- Change invalid or non-numeric status code to 500
- Overwrite status message to match set status code
- Prefer
err.statusCodeiferr.statusis invalid - Set response headers from
err.headersobject - Use
statusesinstead ofhttpmodule for status messages- Includes all defined status messages
- deps: escape-html@~1.0.3
- perf: enable strict mode
- perf: optimize string replacement
- perf: use faster string coercion
- Fix a false-positive when unpiping in Node.js 0.8
- Support
statusCodeproperty onErrorobjects - Use
unpipemodule for unpiping requests - deps: escape-html@1.0.2
- deps: on-finished@~2.3.0
- Add defined behavior for HTTP
CONNECTrequests - Add defined behavior for HTTP
Upgraderequests - deps: ee-first@1.1.1
- Add defined behavior for HTTP
- perf: enable strict mode
- perf: remove argument reassignment
- deps: debug@~2.2.0
- deps: ms@0.7.1
- deps: on-finished@~2.2.1
- Fix
isFinished(req)when data buffered
- Fix
- deps: debug@~2.1.3
- Fix high intensity foreground color for bold
- deps: ms@0.7.0
- deps: debug@~2.1.1
- deps: on-finished@~2.2.0
- deps: on-finished@~2.1.1
- Fix handling of pipelined requests
- deps: debug@~2.1.0
- Implement
DEBUG_FDenv variable support
- Implement
- Terminate in progress response only on error
- Use
on-finishedto determine request status
- Set
X-Content-Type-Options: nosniffheader - deps: debug@~2.0.0
- Respond after request fully read
- prevents hung responses and socket hang ups
- deps: debug@1.0.4
- deps: debug@1.0.3
- Add support for multiple wildcards in namespaces
- Handle invalid status codes
- deps: debug@1.0.2
- Extracted from connect/express