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

@types/http-errors

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/http-errors - npm Package Compare versions

Comparing version 1.6.3 to 1.8.0

8

http-errors/index.d.ts

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

// Type definitions for http-errors 1.6
// Type definitions for http-errors 1.8
// Project: https://github.com/jshttp/http-errors

@@ -10,3 +10,5 @@ // Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>

declare const createHttpError: createHttpError.CreateHttpError & createHttpError.NamedConstructors;
declare const createHttpError: createHttpError.CreateHttpError & createHttpError.NamedConstructors & {
isHttpError: createHttpError.IsHttpError
};

@@ -30,2 +32,4 @@ declare namespace createHttpError {

type IsHttpError = (error: unknown) => error is HttpError;
type NamedConstructors = {

@@ -32,0 +36,0 @@ [code: string]: HttpErrorConstructor;

{
"name": "@types/http-errors",
"version": "1.6.3",
"version": "1.8.0",
"description": "TypeScript definitions for http-errors",

@@ -27,4 +27,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "2c47d02e158fb74058d2f54804728805fae067cafa130447d99a4495534fd759",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "61c68cc213bf1a21d07bfac01c18754adea53b40a66a043c89fb6a35957ac0c9",
"typeScriptVersion": "3.0"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 19 Nov 2019 19:44:53 GMT
* Last updated: Fri, 10 Jul 2020 14:16:15 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Tanguy Krotoff (https://github.com/tkrotoff), and BendingBender (https://github.com/BendingBender).
These definitions were written by [Tanguy Krotoff](https://github.com/tkrotoff), and [BendingBender](https://github.com/BendingBender).

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