@tinyhttp/res
Advanced tools
Comparing version 2.0.15 to 2.0.16
/// <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" | ||
} | ||
} |
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
14480
+ Added@tinyhttp/accepts@2.0.6(transitive)
+ Added@tinyhttp/content-disposition@2.0.6(transitive)
+ Added@tinyhttp/cookie@2.0.4(transitive)
+ Added@tinyhttp/cookie-signature@2.0.4(transitive)
+ Added@tinyhttp/encode-url@2.0.5(transitive)
+ Added@tinyhttp/etag@2.0.4(transitive)
+ Added@tinyhttp/req@2.0.13(transitive)
+ Added@tinyhttp/send@2.0.5(transitive)
+ Added@tinyhttp/type-is@2.0.5(transitive)
+ Added@tinyhttp/url@2.0.6(transitive)
- Removed@tinyhttp/accepts@2.0.5(transitive)
- Removed@tinyhttp/content-disposition@2.0.5(transitive)
- Removed@tinyhttp/cookie@2.0.3(transitive)
- Removed@tinyhttp/cookie-signature@2.0.3(transitive)
- Removed@tinyhttp/encode-url@2.0.4(transitive)
- Removed@tinyhttp/etag@2.0.3(transitive)
- Removed@tinyhttp/req@2.0.12(transitive)
- Removed@tinyhttp/send@2.0.4(transitive)
- Removed@tinyhttp/type-is@2.0.4(transitive)
- Removed@tinyhttp/url@2.0.5(transitive)
Updated@tinyhttp/cookie@2.0.4
Updated@tinyhttp/encode-url@2.0.5
Updated@tinyhttp/req@2.0.13
Updated@tinyhttp/send@2.0.5