egg-logger
Advanced tools
Comparing version 2.6.0 to 2.6.1
2.6.1 / 2021-04-07 | ||
================== | ||
**fixes** | ||
* [[`0d3d4e4`](http://github.com/eggjs/egg-logger/commit/0d3d4e461d802340ec989897694c9f9af07b4f3e)] - fix: use FrameworkBaseError.isFrameworkError to judge (#71) (mansonchor.github.com <<mansonchor1987@gmail.com>>) | ||
2.6.0 / 2021-03-23 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -138,3 +138,3 @@ 'use strict'; | ||
function formatError(err) { | ||
if (err instanceof FrameworkBaseError) { | ||
if (FrameworkBaseError.isFrameworkError(err)) { | ||
return FrameworkErrorFormater.format(err); | ||
@@ -141,0 +141,0 @@ } |
{ | ||
"name": "egg-logger", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "egg logger", | ||
@@ -23,3 +23,2 @@ "main": "index.js", | ||
"egg-bin": "^4.9.0", | ||
"egg-ci": "^1.18.0", | ||
"eslint": "^5.11.1", | ||
@@ -54,3 +53,3 @@ "eslint-config-egg": "^7.1.0", | ||
"engines": { | ||
"node": ">=6.0.0" | ||
"node": ">=8.0.0" | ||
}, | ||
@@ -63,10 +62,5 @@ "files": [ | ||
"ci": { | ||
"version": "8, 10, 12, 14", | ||
"type": "github", | ||
"os": { | ||
"github": "linux, macos" | ||
}, | ||
"license": true | ||
"version": "8, 10, 12, 14" | ||
}, | ||
"license": "MIT" | ||
} |
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
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
51838
18
1