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

@tinyhttp/router

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinyhttp/router - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

1

dist/index.d.ts

@@ -39,3 +39,2 @@ export declare type NextFunction = (err?: any) => void;

apps: Record<string, App>;
route(path: string): App;
get(...args: RouterMethodParams<Req, Res>): this;

@@ -42,0 +41,0 @@ post(...args: RouterMethodParams<Req, Res>): this;

@@ -68,7 +68,2 @@ /* HELPER TYPES */

}
route(path) {
const router = new Router();
this.use(path, router);
return router;
}
get(...args) {

@@ -75,0 +70,0 @@ pushMiddleware(this.middleware)({

2

package.json
{
"name": "@tinyhttp/router",
"version": "1.1.1",
"version": "1.1.2",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Router for tinyhttp",

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