@antora/asciidoc-loader
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
@@ -103,3 +103,3 @@ 'use strict' | ||
const idx = tagStack.findIndex(([name]) => name === thisTag) | ||
if (idx !== -1) { | ||
if (~idx) { | ||
tagStack.splice(idx, 1) | ||
@@ -106,0 +106,0 @@ //console.warn(`line ${lineNum}: mismatched end tag in include: expected ${activeTag}, found ${thisTag}`) |
'use strict' | ||
const path = require('path') | ||
const { posix: path } = require('path') | ||
const splitOnce = require('../util/split-once') | ||
@@ -5,0 +5,0 @@ |
@@ -13,3 +13,3 @@ 'use strict' | ||
const createExtensionRegistry = require('./create-extension-registry') | ||
const path = require('path') | ||
const { posix: path } = require('path') | ||
const resolveIncludeFile = require('./include/resolve-include-file') | ||
@@ -16,0 +16,0 @@ |
'use strict' | ||
const path = require('path') | ||
const { posix: path } = require('path') | ||
@@ -5,0 +5,0 @@ /** |
{ | ||
"name": "@antora/asciidoc-loader", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0-alpha.2", | ||
"description": "Loads AsciiDoc content into an Asciidoctor Document object (AST) for use in an Antora documentation pipeline.", | ||
"license": "MPL-2.0", | ||
"author": { | ||
"name": "OpenDevise Inc.", | ||
"url": "https://opendevise.com" | ||
}, | ||
"author": "OpenDevise Inc. (https://opendevise.com)", | ||
"contributors": [ | ||
"Dan Allen <dan@opendevise.com>", | ||
"Sarah White <sarah@opendevise.com>" | ||
], | ||
"homepage": "https://antora.org", | ||
@@ -11,0 +12,0 @@ "repository": "gitlab:antora/antora", |
22191
21