Socket
Socket
Sign inDemoInstall

@antora/document-converter

Package Overview
Dependencies
57
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

4

lib/convert-document.js
'use strict'
const $unsafe = Symbol.for('unsafe')
/**

@@ -27,3 +29,3 @@ * Converts the contents on the specified file from AsciiDoc to embedded HTML.

loadAsciiDoc = requireAsciiDocLoader(),
} = this ? this.getFunctions(false) : {}
} = this ? this.getFunctions($unsafe) : {}
const doc = loadAsciiDoc(file, contentCatalog, asciidocConfig)

@@ -30,0 +32,0 @@ if (!file.asciidoc) {

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

const $unsafe = Symbol.for('unsafe')
/**

@@ -33,3 +35,3 @@ * Converts the contents of publishable pages with the media type text/asciidoc

loadAsciiDoc = requireAsciiDocLoader(),
} = this ? this.getFunctions(false) : {}
} = this ? this.getFunctions($unsafe) : {}
const mainAsciiDocConfigs = new Map()

@@ -36,0 +38,0 @@ contentCatalog.getComponents().forEach(({ name: component, versions }) => {

{
"name": "@antora/document-converter",
"version": "3.2.0-alpha.1",
"version": "3.2.0-alpha.2",
"description": "Converts AsciiDoc documents to embeddable HTML for use in an Antora documentation pipeline.",

@@ -24,3 +24,3 @@ "license": "MPL-2.0",

"dependencies": {
"@antora/asciidoc-loader": "3.2.0-alpha.1"
"@antora/asciidoc-loader": "3.2.0-alpha.2"
},

@@ -27,0 +27,0 @@ "engines": {

@@ -12,2 +12,2 @@ # Antora Document Converter

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc