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

@libj/http-meta

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libj/http-meta - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

52

dist/error/index.js

@@ -25,3 +25,5 @@ "use strict";

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.BAD_REQUEST, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.BAD_REQUEST, options) || this;
_this.name = BadRequestHttpError.name;
return _this;
}

@@ -35,3 +37,5 @@ return BadRequestHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.UNAUTHORIZED, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.UNAUTHORIZED, options) || this;
_this.name = UnauthorizedHttpError.name;
return _this;
}

@@ -45,3 +49,5 @@ return UnauthorizedHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.FORBIDDEN, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.FORBIDDEN, options) || this;
_this.name = ForbiddenHttpError.name;
return _this;
}

@@ -55,3 +61,5 @@ return ForbiddenHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.NOT_FOUND, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.NOT_FOUND, options) || this;
_this.name = NotFoundHttpError.name;
return _this;
}

@@ -65,3 +73,5 @@ return NotFoundHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.METHOD_NOT_ALLOWED, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.METHOD_NOT_ALLOWED, options) || this;
_this.name = MethodNotAllowedHttpError.name;
return _this;
}

@@ -75,3 +85,5 @@ return MethodNotAllowedHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.NOT_ACCEPTABLE, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.NOT_ACCEPTABLE, options) || this;
_this.name = NotAcceptableHttpError.name;
return _this;
}

@@ -85,3 +97,5 @@ return NotAcceptableHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.CONFLICT, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.CONFLICT, options) || this;
_this.name = ConflictHttpError.name;
return _this;
}

@@ -95,3 +109,5 @@ return ConflictHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.PRECONDITION_FAILED, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.PRECONDITION_FAILED, options) || this;
_this.name = PreconditionFailedHttpError.name;
return _this;
}

@@ -105,3 +121,5 @@ return PreconditionFailedHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.INTERNAL_SERVER_ERROR, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.INTERNAL_SERVER_ERROR, options) || this;
_this.name = InternalServerHttpError.name;
return _this;
}

@@ -115,3 +133,5 @@ return InternalServerHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.NOT_IMPLEMENTED, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.NOT_IMPLEMENTED, options) || this;
_this.name = NotImplementedHttpError.name;
return _this;
}

@@ -125,3 +145,5 @@ return NotImplementedHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.BAD_GATEWAY, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.BAD_GATEWAY, options) || this;
_this.name = BadGatewayHttpError.name;
return _this;
}

@@ -135,3 +157,5 @@ return BadGatewayHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.SERVICE_UNAVAILABLE, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.SERVICE_UNAVAILABLE, options) || this;
_this.name = ServiceUnavailableHttpError.name;
return _this;
}

@@ -145,3 +169,5 @@ return ServiceUnavailableHttpError;

if (options === void 0) { options = {}; }
return _super.call(this, HttpStatus_1.HttpStatus.GATEWAY_TIMEOUT, options) || this;
var _this = _super.call(this, HttpStatus_1.HttpStatus.GATEWAY_TIMEOUT, options) || this;
_this.name = GatewayTimeoutHttpError.name;
return _this;
}

@@ -148,0 +174,0 @@ return GatewayTimeoutHttpError;

{
"dependencies": {},
"name": "@libj/http-meta",
"version": "0.2.3",
"version": "0.3.0",
"description": "Http meta kit",

@@ -24,3 +24,3 @@ "author": "Sergey Poskachey <seregynp@gmail.com>",

],
"gitHead": "831daf155bd629061c8ea925ef5444587a8fa885"
"gitHead": "47ecc45e248bfc7d49f07741f4f128caef931019"
}

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