@teko-builder/utils
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -162,3 +162,3 @@ import pino from 'pino'; | ||
logger.error(err); | ||
return { code: 404 }; | ||
return err.response ? err.response : { code: 404 }; | ||
} | ||
@@ -165,0 +165,0 @@ }; |
@@ -171,3 +171,3 @@ 'use strict'; | ||
logger.error(err); | ||
return { code: 404 }; | ||
return err.response ? err.response : { code: 404 }; | ||
} | ||
@@ -174,0 +174,0 @@ }; |
{ | ||
"name": "@teko-builder/utils", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Utility functions", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -18,3 +18,3 @@ import { Api } from './api'; | ||
logger.error(err); | ||
return { code: 404 }; | ||
return err.response ? err.response : { code: 404 }; | ||
} | ||
@@ -21,0 +21,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
30067
2