Socket
Socket
Sign inDemoInstall

@antora/logger

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/logger - npm Package Compare versions

Comparing version 3.2.0-alpha.2 to 3.2.0-alpha.3

8

lib/logger.js

@@ -153,3 +153,3 @@ 'use strict'

},
ignore: 'hint',
ignore: 'hint,hostname', // ignore hostname in case it's set on an error object
messageFormat: (log, msgKey) => {

@@ -181,3 +181,2 @@ let hint, msg

if (msg === undefined) msg = message
if (message && message === msg) err.message = undefined
if ((stack = err.backtrace)) {

@@ -193,4 +192,5 @@ stack = ['Error', ...stack.slice(1)].join('\n')

if (prettyPrint) {
const { message: _discard, ...flatErr } = prettyPrint(err)
err = Object.assign(flatErr, { type: 'Error' })
delete (err = Object.assign(prettyPrint(err), { type: 'Error' })).message
} else if (message && message === msg) {
err.message = ''
}

@@ -197,0 +197,0 @@ return [err, msg]

{
"name": "@antora/logger",
"version": "3.2.0-alpha.2",
"version": "3.2.0-alpha.3",
"description": "The logger for Antora.",

@@ -23,5 +23,5 @@ "license": "MPL-2.0",

"@antora/expand-path-helper": "~2.0",
"pino": "~8.7",
"pino-pretty": "~9.1",
"sonic-boom": "~3.2"
"pino": "~8.14",
"pino-pretty": "~10.0",
"sonic-boom": "~3.3"
},

@@ -45,5 +45,5 @@ "engines": {

"test": "_mocha",
"prepublishOnly": "node $npm_config_local_prefix/npm/prepublishOnly.js",
"postpublish": "node $npm_config_local_prefix/npm/postpublish.js"
"prepublishOnly": "npx -y downdoc@latest --prepublish",
"postpublish": "npx -y downdoc@latest --postpublish"
}
}

@@ -15,2 +15,2 @@ # Antora Logger

Use of this software is granted under the terms of the [Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/) (MPL-2.0).
Use of this software is granted under the terms of the [Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/) (MPL-2.0).
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