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
1
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.6.0 to 1.6.1

2

CHANGELOG.md

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

### [1.6.1](https://github.com/koatty/koatty_core/compare/v1.6.0...v1.6.1) (2022-02-23)
## [1.6.0](https://github.com/koatty/koatty_core/compare/v1.6.0-0...v1.6.0) (2022-02-21)

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

55

dist/index.d.ts
/*!
* @Author: richen
* @Date: 2022-02-21 17:12:25
* @Date: 2022-02-23 14:46:28
* @License: BSD (3-Clause)

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

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

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

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

@@ -326,4 +326,2 @@ * Handle request in callback.

export declare type KoattyProtocol = 'http' | 'https' | 'http2' | 'grpc' | 'ws' | 'wss';
/**

@@ -345,36 +343,2 @@ * Router interface

/**
* KoattyRouterOptions
*
* @export
* @interface KoattyRouterOptions
*/
export declare interface KoattyRouterOptions {
prefix: string;
/**
* Methods which should be supported by the router.
*/
methods?: string[];
routerPath?: string;
/**
* Whether or not routing should be case-sensitive.
*/
sensitive?: boolean;
/**
* Whether or not routes should matched strictly.
*
* If strict matching is enabled, the trailing slash is taken into
* account when matching routes.
*/
strict?: boolean;
/**
* gRPC protocol file
*/
protoFile?: string;
/**
* Other extended configuration
*/
ext?: any;
}
/**
* interface Server

@@ -399,15 +363,2 @@ *

/**
* listening options
*
* @interface ListeningOptions
*/
export declare interface ListeningOptions {
hostname: string;
port: number;
protocol: string;
trace?: boolean;
ext?: any;
}
export { }
/*!
* @Author: richen
* @Date: 2022-02-21 17:11:38
* @Date: 2022-02-23 14:46:15
* @License: BSD (3-Clause)

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

{
"name": "koatty_core",
"version": "1.6.0",
"version": "1.6.1",
"description": "Koatty framework core",

@@ -18,3 +18,2 @@ "scripts": {

"release:minor": "npm run release -- --release-as minor",
"pub": "git push --follow-tags origin && npm publish",
"test": "npm run eslint && jest --passWithNoTests",

@@ -83,2 +82,2 @@ "test:cov": "jest --collectCoverage --detectOpenHandles",

}
}
}
{
"name": "koatty_core",
"version": "1.6.0",
"version": "1.6.1",
"description": "Koatty framework core",

@@ -18,3 +18,2 @@ "scripts": {

"release:minor": "npm run release -- --release-as minor",
"pub": "git push --follow-tags origin && npm publish",
"test": "npm run eslint && jest --passWithNoTests",

@@ -83,2 +82,2 @@ "test:cov": "jest --collectCoverage --detectOpenHandles",

}
}
}

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