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

@springworks/error-factory

Package Overview
Dependencies
Maintainers
1
Versions
434
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@springworks/error-factory - npm Package Compare versions

Comparing version 3002.19.74 to 3002.19.75

3

build/fel.js

@@ -9,2 +9,3 @@ "use strict";

function getStatusCode(code, cause) {
var _a;
if (typeof code === 'number' && code >= 400 && http_1.STATUS_CODES[code]) {

@@ -14,3 +15,3 @@ return code;

if (cause) {
if (cause.output && cause.output.statusCode) {
if ((_a = cause.output) === null || _a === void 0 ? void 0 : _a.statusCode) {
return getStatusCode(cause.output.statusCode, null);

@@ -17,0 +18,0 @@ }

@@ -6,2 +6,10 @@ # Change Log

## 3002.19.75 (2020-07-23)
**Note:** Version bump only for package @springworks/error-factory
## 3002.19.74 (2020-06-29)

@@ -8,0 +16,0 @@

{
"name": "@springworks/error-factory",
"version": "3002.19.74",
"version": "3002.19.75",
"description": "Custom error that makes use of HTTP error codes to identify different error types.",

@@ -16,4 +16,4 @@ "main": "build/main.js",

"@hapi/boom": "^9.0.0",
"@springworks/random-string": "3002.19.74",
"@springworks/swagger-schema-interfaces": "3002.19.74"
"@springworks/random-string": "3002.19.75",
"@springworks/swagger-schema-interfaces": "3002.19.75"
},

@@ -33,3 +33,3 @@ "devDependencies": {

"homepage": "https://github.com/Springworks/m2h-mono/tree/master/packages/error-factory#readme",
"gitHead": "d4cbf452bbc31c283c5a635fabd48eff6b6be675"
"gitHead": "341c049fa253979faa41542cd21f59a64aa9d266"
}
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