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

circe-on-error

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

circe-on-error - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

dist/index.d.ts
/// <reference types="koa" />
import * as Koa from 'koa';
export declare type OnErrorHandler = (err: Error, ctx: any) => void;
export declare type OnErrorHandler = (err: Error, ctx: Koa.Context) => void;
export default function onErrorMiddleware(handler: OnErrorHandler): Koa.Middleware;
{
"name": "circe-on-error",
"version": "0.0.2",
"version": "0.0.3",
"description": "",

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

import * as Koa from 'koa'
export type OnErrorHandler = (err: Error, ctx: any) => void
export type OnErrorHandler = (err: Error, ctx: Koa.Context) => void

@@ -5,0 +5,0 @@ export default function onErrorMiddleware (handler: OnErrorHandler): Koa.Middleware {

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