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

@tinyhttp/app

Package Overview
Dependencies
Maintainers
1
Versions
305
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinyhttp/app - npm Package Compare versions

Comparing version 2.0.32 to 2.0.33

dist/app.d.ts.map

3

dist/app.d.ts

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

/// <reference types="node" />
/// <reference types="node/http.js" />
import { Server } from 'http';

@@ -111,1 +111,2 @@ import type { Request } from './request.js';

}
//# sourceMappingURL=app.d.ts.map

@@ -9,1 +9,2 @@ import { Request } from './request.js';

export declare const extendMiddleware: <EngineOptions>(app: App) => (req: Request, res: Response<EngineOptions, any>, next: NextFunction) => void;
//# sourceMappingURL=extend.d.ts.map

@@ -15,1 +15,2 @@ export { App } from './app.js';

export type { NextFunction, Middleware, Request, Response };
//# sourceMappingURL=index.d.ts.map

@@ -323,3 +323,3 @@ import { STATUS_CODES, createServer } from "http";

*/
listen(port, cb, host = "0.0.0.0") {
listen(port, cb, host) {
return createServer().on("request", this.attach).listen(port, host, cb);

@@ -326,0 +326,0 @@ }

@@ -7,1 +7,2 @@ import type { NextFunction } from '@tinyhttp/router';

export declare const onErrorHandler: ErrorHandler;
//# sourceMappingURL=onError.d.ts.map

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

/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node/http.js" />
import { IncomingMessage } from 'http';

@@ -58,1 +55,2 @@ import { ParsedUrlQuery } from 'querystring';

}
//# sourceMappingURL=request.d.ts.map

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

/// <reference types="node" />
/// <reference types="node/http.js" />
import { ServerResponse } from 'http';

@@ -50,1 +50,2 @@ import type { SerializeOptions } from '@tinyhttp/cookie';

}
//# sourceMappingURL=response.d.ts.map
{
"name": "@tinyhttp/app",
"version": "2.0.32",
"version": "2.0.33",
"description": "0-legacy, tiny & fast web framework as a replacement of Express",

@@ -37,13 +37,12 @@ "type": "module",

"regexparam": "^2.0.1",
"@tinyhttp/res": "2.0.23",
"@tinyhttp/req": "2.0.16",
"@tinyhttp/router": "2.1.0",
"@tinyhttp/proxy-addr": "2.0.7",
"@tinyhttp/cookie": "2.0.6"
"@tinyhttp/cookie": "2.0.7",
"@tinyhttp/proxy-addr": "2.0.8",
"@tinyhttp/req": "2.0.17",
"@tinyhttp/res": "2.0.24",
"@tinyhttp/router": "2.1.1"
},
"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