@tinyhttp/app
Advanced tools
Comparing version 1.2.23 to 1.2.24
@@ -53,2 +53,3 @@ import { STATUS_CODES, createServer } from 'http'; | ||
const onErrorHandler = (err, _req, res) => { | ||
console.error(err); | ||
const code = err.code in STATUS_CODES ? err.code : err.status; | ||
@@ -55,0 +56,0 @@ if (typeof err === 'string' || Buffer.isBuffer(err)) |
{ | ||
"name": "@tinyhttp/app", | ||
"version": "1.2.23", | ||
"version": "1.2.24", | ||
"description": "0-legacy, tiny & fast web framework as a replacement of Express", | ||
@@ -44,4 +44,4 @@ "type": "module", | ||
"dependencies": { | ||
"@tinyhttp/cookie": "1.2.5", | ||
"@tinyhttp/proxy-addr": "1.2.2", | ||
"@tinyhttp/cookie": "1.2.6", | ||
"@tinyhttp/proxy-addr": "1.2.3", | ||
"@tinyhttp/req": "1.2.8", | ||
@@ -48,0 +48,0 @@ "@tinyhttp/res": "1.2.15", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39143
955
+ Added@tinyhttp/cookie@1.2.6(transitive)
+ Added@tinyhttp/proxy-addr@1.2.3(transitive)
- Removed@tinyhttp/proxy-addr@1.2.2(transitive)
Updated@tinyhttp/cookie@1.2.6
Updated@tinyhttp/proxy-addr@1.2.3