Socket
Socket
Sign inDemoInstall

rjweb-server

Package Overview
Dependencies
Maintainers
1
Versions
373
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rjweb-server - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

lib/classes/routeList.d.ts

@@ -30,3 +30,3 @@ import { types as typesInterface } from "../interfaces/types";

/** The Path on which this will be available */ path: string,
/** The Async Code to run on a Request */ code: (ctr: ctr) => Promise<void>): void;
/** The Async Code to run on a Request */ code: (ctr: ctr) => Promise<any>): void;
/** Serve Static Files */

@@ -33,0 +33,0 @@ static(

{
"name": "rjweb-server",
"version": "1.2.1",
"version": "1.2.2",
"description": "Easy and Lightweight Way to create a Web Server in Node.js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -43,3 +43,3 @@ import { getAllFiles, getAllFilesFilter } from "../misc/getAllFiles"

/** The Path on which this will be available */ path: string,
/** The Async Code to run on a Request */ code: (ctr: ctr) => Promise<void>
/** The Async Code to run on a Request */ code: (ctr: ctr) => Promise<any>
) {

@@ -46,0 +46,0 @@ if (!types.includes(type)) throw TypeError(`No Valid Request Type: ${type}\nPossible Values: ${types.join(', ')}`)

Sorry, the diff of this file is not supported yet

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