@antora/document-converter
Advanced tools
Comparing version 3.2.0-alpha.1 to 3.2.0-alpha.2
'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). |
8246
134
12
+ Added@antora/asciidoc-loader@3.2.0-alpha.2(transitive)
+ Added@antora/logger@3.2.0-alpha.2(transitive)
- Removed@antora/asciidoc-loader@3.2.0-alpha.1(transitive)
- Removed@antora/logger@3.2.0-alpha.1(transitive)