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 2.0.15 to 2.0.16

2

dist/format.d.ts
/// <reference types="node" />
import { IncomingMessage as I } from 'http';
import type { Res } from './redirect';
import type { Res } from './redirect.js';
export declare type FormatProps = {

@@ -5,0 +5,0 @@ default?: () => void;

export * from '@tinyhttp/send';
export * from './cookie';
export * from './cookie.js';
export { setContentType, setHeader, setLinksHeader, setLocationHeader, setVaryHeader, getResponseHeader } from './headers';
export type { FormatProps, FormatError } from './format';
export { formatResponse } from './format';
export { redirect } from './redirect';
export * from './download';
export { append } from './append';
export type { FormatProps, FormatError } from './format.js';
export { formatResponse } from './format.js';
export { redirect } from './redirect.js';
export * from './download.js';
export { append } from './append.js';
{
"name": "@tinyhttp/res",
"version": "2.0.15",
"version": "2.0.16",
"type": "module",

@@ -28,8 +28,8 @@ "description": "response extensions for tinyhttp",

"dependencies": {
"@tinyhttp/content-disposition": "2.0.5",
"@tinyhttp/cookie": "2.0.3",
"@tinyhttp/cookie-signature": "2.0.3",
"@tinyhttp/encode-url": "2.0.4",
"@tinyhttp/req": "2.0.12",
"@tinyhttp/send": "2.0.4",
"@tinyhttp/content-disposition": "2.0.6",
"@tinyhttp/cookie": "2.0.4",
"@tinyhttp/cookie-signature": "2.0.4",
"@tinyhttp/encode-url": "2.0.5",
"@tinyhttp/req": "2.0.13",
"@tinyhttp/send": "2.0.5",
"es-escape-html": "^0.1.1",

@@ -41,4 +41,3 @@ "es-mime-types": "^0.1.4",

"build": "rollup -c"
},
"readme": "# @tinyhttp/res\n\n[![npm (scoped)][npm-badge]](https://npmjs.com/package/@tinyhttp/res) [![npm][dl-badge]](https://npmjs.com/package/@tinyhttp/res) [![][web-badge]](https://tinyhttp.v1rtl.site/mw/res)\n\nResponse extensions for tinyhttp collected in one package. This module itself depends on other modules, such as [`@tinyhttp/send`](/packages/send).\n\n## Install\n\n```sh\npnpm i @tinyhttp/res\n```\n\n## API\n\n[tinyhttp Response docs](https://tinyhttp.v1rtl.site/docs#response).\n\n[npm-badge]: https://img.shields.io/npm/v/@tinyhttp/res?style=flat-square\n[dl-badge]: https://img.shields.io/npm/dt/@tinyhttp/res?style=flat-square\n[web-badge]: https://img.shields.io/badge/website-visit-hotpink?style=flat-square\n"
}
}
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