Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.23 to 2.0.24

dist/append.d.ts.map

3

dist/append.d.ts

@@ -1,3 +0,4 @@

/// <reference types="node" />
/// <reference types="node/http.js" />
import { ServerResponse as Res } from 'http';
export declare const append: <Response_1 extends Res<import("http").IncomingMessage> = Res<import("http").IncomingMessage>>(res: Response_1) => (field: string, value: string | number | string[]) => Response_1;
//# sourceMappingURL=append.d.ts.map

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IncomingMessage as Req, ServerResponse as Res } from 'http';

@@ -10,1 +9,2 @@ import * as cookie from '@tinyhttp/cookie';

export declare const clearCookie: <Request_1 extends Req = Req, Response_1 extends Res<Req> = Res<Req>>(req: Request_1, res: Response_1) => (name: string, options?: cookie.SerializeOptions) => Response_1;
//# sourceMappingURL=cookie.d.ts.map

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IncomingMessage as Req, ServerResponse as Res } from 'http';

@@ -11,1 +10,2 @@ import type { SendFileOptions } from '@tinyhttp/send';

export {};
//# sourceMappingURL=download.d.ts.map

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IncomingMessage as Req, ServerResponse as Res } from 'http';

@@ -14,1 +13,2 @@ export type FormatProps = {

export {};
//# sourceMappingURL=format.d.ts.map

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IncomingMessage as Req, ServerResponse as Res } from 'http';

@@ -11,1 +10,2 @@ export declare const setHeader: <Response_1 extends Res<Req> = Res<Req>>(res: Response_1) => (field: string | Record<string, string | number | string[]>, val?: string | number | readonly string[]) => Response_1;

export declare const setContentType: <Response_1 extends Res<Req> = Res<Req>>(res: Response_1) => (type: string) => Response_1;
//# sourceMappingURL=headers.d.ts.map

@@ -9,1 +9,2 @@ export * from '@tinyhttp/send';

export { append } from './append.js';
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IncomingMessage as Req, ServerResponse as Res } from 'http';

@@ -6,1 +5,2 @@ type next = (err?: any) => void;

export {};
//# sourceMappingURL=redirect.d.ts.map

@@ -10,1 +10,2 @@ export type NormalizedType = {

export declare function normalizeTypes(types: string[]): NormalizedType[];
//# sourceMappingURL=util.d.ts.map
{
"name": "@tinyhttp/res",
"version": "2.0.23",
"version": "2.0.24",
"type": "module",

@@ -31,14 +31,13 @@ "description": "response extensions for tinyhttp",

"es-vary": "^0.1.2",
"@tinyhttp/content-disposition": "2.0.9",
"@tinyhttp/cookie": "2.0.6",
"@tinyhttp/cookie-signature": "2.0.6",
"@tinyhttp/encode-url": "2.0.7",
"@tinyhttp/req": "2.0.16",
"@tinyhttp/send": "2.0.8"
"@tinyhttp/content-disposition": "2.0.10",
"@tinyhttp/cookie": "2.0.7",
"@tinyhttp/cookie-signature": "2.0.7",
"@tinyhttp/encode-url": "2.0.8",
"@tinyhttp/req": "2.0.17",
"@tinyhttp/send": "2.0.9"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"postbuild": "tsc --emitDeclarationOnly"
"build": "vite build"
}
}
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