New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

koatty_core

Package Overview
Dependencies
Maintainers
0
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koatty_core - npm Package Compare versions

Comparing version 1.10.0-18 to 1.10.0-19

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

## [1.10.0-19](https://github.com/koatty/koatty_core/compare/v1.10.0-18...v1.10.0-19) (2024-11-11)
## [1.10.0-18](https://github.com/koatty/koatty_core/compare/v1.10.0-17...v1.10.0-18) (2024-11-11)

@@ -7,0 +9,0 @@

23

dist/index.d.ts
/*!
* @Author: richen
* @Date: 2024-11-11 12:18:43
* @Date: 2024-11-11 13:44:47
* @License: BSD (3-Clause)

@@ -255,3 +255,3 @@ * @Copyright (c) - <richenlin(at)gmail.com>

*/
createContext(req: RequestType, res: ResponseType, protocol?: KoattyProtocol): any;
createContext(req: RequestType, res: ResponseType, protocol?: string): any;
/**

@@ -274,3 +274,3 @@ * listening and start server

*/
callback(protocol?: KoattyProtocol, reqHandler?: (ctx: KoattyContext) => Promise<any>): (req: RequestType, res: ResponseType) => Promise<any>;
callback(protocol?: string, reqHandler?: (ctx: KoattyContext) => Promise<any>): (req: RequestType, res: ResponseType) => Promise<any>;
/**

@@ -353,3 +353,3 @@ * Handle request in callback.

*/
readonly createContext: (req: any, res: any, protocol?: KoattyProtocol) => KoattyContext;
readonly createContext: (req: any, res: any, protocol?: string) => KoattyContext;
/**

@@ -367,3 +367,3 @@ * Listening and start server

*/
readonly callback: (protocol?: KoattyProtocol, reqHandler?: (ctx: KoattyContext) => Promise<any>) => {
readonly callback: (protocol?: string, reqHandler?: (ctx: KoattyContext) => Promise<any>) => {
(req: RequestType, res: ResponseType): Promise<any>;

@@ -529,15 +529,2 @@ };

/**
* @description: koatty server protocol
* @return {*}
*/
export declare enum KoattyProtocol {
HTTP = "http",
HTTPS = "https",
HTTP2 = "http2",
GRPC = "grpc",
WS = "ws",
WSS = "wss"
}
/**
* Router interface

@@ -544,0 +531,0 @@ *

{
"name": "koatty_core",
"version": "1.10.0-18",
"version": "1.10.0-19",
"description": "Koatty framework core",

@@ -5,0 +5,0 @@ "scripts": {

{
"name": "koatty_core",
"version": "1.10.0-18",
"version": "1.10.0-19",
"description": "Koatty framework core",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

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