Socket
Socket
Sign inDemoInstall

@tinyhttp/res

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinyhttp/res - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

7

CHANGELOG.md
# @tinyhttp/res
## 0.4.2
### Patch Changes
- Updated dependencies [undefined]
- @tinyhttp/send@0.4.2
## 0.4.1

@@ -4,0 +11,0 @@

1

dist/index.js

@@ -153,3 +153,2 @@ import { sendFile } from '@tinyhttp/send';

const u = escapeHtml(address);
console.log('here');
body = `<p>${STATUS_CODES[status]}. Redirecting to <a href="${u}">${u}</a></p>`;

@@ -156,0 +155,0 @@ },

{
"name": "@tinyhttp/res",
"version": "0.4.1",
"version": "0.4.2",
"type": "module",

@@ -44,3 +44,3 @@ "description": "response extensions for tinyhttp",

"@tinyhttp/req": "0.4.0",
"@tinyhttp/send": "0.4.1",
"@tinyhttp/send": "0.4.2",
"es-mime-types": "^0.0.16",

@@ -47,0 +47,0 @@ "es-vary": "^0.0.7",

@@ -25,3 +25,3 @@ import { IncomingMessage as I, ServerResponse as S, STATUS_CODES } from 'http'

const u = escapeHtml(address)
console.log('here')
body = `<p>${STATUS_CODES[status]}. Redirecting to <a href="${u}">${u}</a></p>`

@@ -28,0 +28,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc