Socket
Socket
Sign inDemoInstall

@antora/asciidoc-loader

Package Overview
Dependencies
Maintainers
2
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/asciidoc-loader - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

12

lib/logger/adapter.js

@@ -40,2 +40,4 @@ 'use strict'

Opal.defn(classDef, '$add', function add (severity, message, progname) {
const block = add.$$p
add.$$p = null
if (severity < this.level) {

@@ -45,11 +47,3 @@ if (severity >= this.failureLevel) this.delegate.setFailOnExit()

}
if (message === Opal.nil) {
const block = add.$$p
if (block) {
message = block()
add.$$p = null
} else {
message = progname
}
}
if (message === Opal.nil) message = block ? block() : progname
if (message.$$is_hash) message = Object.assign({}, message.$$smap)

@@ -56,0 +50,0 @@ const logMethod = severityMap.get(severity) || 'info'

{
"name": "@antora/asciidoc-loader",
"version": "3.1.0",
"version": "3.1.1",
"description": "Loads AsciiDoc content into an Asciidoctor Document object (AST) for use in an Antora documentation pipeline.",

@@ -22,2 +22,3 @@ "license": "MPL-2.0",

"./config/collate-asciidoc-attributes": "./lib/config/collate-asciidoc-attributes.js",
"./include/resolve-include-file": "./lib/include/resolve-include-file.js",
"./util/compute-relative-url-path": "./lib/util/compute-relative-url-path.js",

@@ -27,3 +28,3 @@ "./package.json": "./package.json"

"dependencies": {
"@antora/logger": "3.1.0",
"@antora/logger": "3.1.1",
"@antora/user-require-helper": "~2.0",

@@ -30,0 +31,0 @@ "@asciidoctor/core": "~2.2"

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