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

koatty_exception

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koatty_exception - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

2

CHANGELOG.md

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

### [1.2.3](https://github.com/koatty/koatty_exception/compare/v1.2.2...v1.2.3) (2022-03-01)
### [1.2.2](https://github.com/koatty/koatty_exception/compare/v1.2.0...v1.2.2) (2022-02-21)

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

6

dist/index.d.ts
/*!
* @Author: richen
* @Date: 2022-02-21 17:42:05
* @Date: 2022-03-01 18:08:57
* @License: BSD (3-Clause)

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

/**
* Exception handler
* Default exception handler
*

@@ -41,3 +41,3 @@ * @param {KoattyContext} ctx

*/
handler(ctx: any): Promise<any>;
default(ctx: any): Promise<any>;
}

@@ -44,0 +44,0 @@

/*!
* @Author: richen
* @Date: 2022-02-21 17:41:53
* @Date: 2022-03-01 18:08:36
* @License: BSD (3-Clause)

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

/**
* Exception handler
* Default exception handler
*

@@ -677,3 +677,3 @@ * @param {KoattyContext} ctx

*/
async handler(ctx) {
async default(ctx) {
switch (ctx.protocol) {

@@ -680,0 +680,0 @@ case "grpc":

{
"name": "koatty_exception",
"version": "1.2.2",
"version": "1.2.3",
"description": "Exception handler for koatty.",

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

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

window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":0,"numTotalTests":0,"startTime":1645436511133,"success":false,"testResults":[],"wasInterrupted":false,"config":{"bail":0,"changedFilesWithAncestor":false,"collectCoverage":true,"collectCoverageFrom":[],"coverageDirectory":"coverage","coverageProvider":"babel","coverageReporters":["html","lcov","json","text","clover","text-summary"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":7,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"passWithNoTests":true,"projects":[],"reporters":[["default",{}],["/Users/richen/Workspace/nodejs/koatty_exception/node_modules/jest-html-reporters/index.js",{}]],"rootDir":"/Users/richen/Workspace/nodejs/koatty_exception","runTestsByPath":false,"skipFilter":false,"testFailureExitCode":1,"testPathPattern":"","testSequencer":"/Users/richen/Workspace/nodejs/koatty_exception/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"watch":false,"watchAll":false,"watchman":true},"endTime":1645436511177,"_reporterOptions":{"publicPath":"/Users/richen/Workspace/nodejs/koatty_exception","filename":"jest_html_reporters.html","expand":false,"pageTitle":"","hideIcon":false,"testCommand":"npx jest","openReport":false,"failureMessageOnly":false,"enableMergeData":false,"dataMergeLevel":1},"attachInfos":{}})
window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":0,"numTotalTests":0,"startTime":1646129312258,"success":false,"testResults":[],"wasInterrupted":false,"config":{"bail":0,"changedFilesWithAncestor":false,"collectCoverage":true,"collectCoverageFrom":[],"coverageDirectory":"coverage","coverageProvider":"babel","coverageReporters":["html","lcov","json","text","clover","text-summary"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":7,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"passWithNoTests":true,"projects":[],"reporters":[["default",{}],["/Users/richen/Workspace/nodejs/koatty_exception/node_modules/jest-html-reporters/index.js",{}]],"rootDir":"/Users/richen/Workspace/nodejs/koatty_exception","runTestsByPath":false,"skipFilter":false,"testFailureExitCode":1,"testPathPattern":"","testSequencer":"/Users/richen/Workspace/nodejs/koatty_exception/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"watch":false,"watchAll":false,"watchman":true},"endTime":1646129312320,"_reporterOptions":{"publicPath":"/Users/richen/Workspace/nodejs/koatty_exception","filename":"jest_html_reporters.html","expand":false,"pageTitle":"","hideIcon":false,"testCommand":"npx jest","openReport":false,"failureMessageOnly":false,"enableMergeData":false,"dataMergeLevel":1},"attachInfos":{}})
{
"name": "koatty_exception",
"version": "1.2.2",
"version": "1.2.3",
"description": "Exception handler for koatty.",

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

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