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

create-boom-error

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-boom-error - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

5

index.d.ts
import { Boom } from '@hapi/boom';
declare class DecoratedBoom extends Boom<any> {
constructor(...args: any[])
name: string;

@@ -9,2 +12,2 @@ code: string;

export declare function isDecoratedBoom(err: unknown): err is DecoratedBoom;
export declare function createBoomError(name: string, statusCode: number, message?: string | ((...args: unknown[]) => string), code?: string): typeof DecoratedBoom;
export declare function createBoomError(name: string, statusCode: number, message?: string | ((...args: any[]) => string), code?: string): typeof DecoratedBoom<T>;

2

package.json
{
"name": "create-boom-error",
"version": "3.0.0",
"version": "3.0.1",
"description": "Simply create sub-classed Boom errors for Hapi applications.",

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

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