Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.0.0-alpha.1 to 3.0.0-alpha.2

8

lib/include/include-processor.js

@@ -74,10 +74,10 @@ 'use strict'

let to = linedef.substr(delim + 2)
if ((to = parseInt(to) || -1) > 0) {
if ((from = parseInt(from) || -1) > 0) {
if ((to = parseInt(to, 10) || -1) > 0) {
if ((from = parseInt(from, 10) || -1) > 0) {
for (let i = from; i <= to; i++) linenums.push(i)
}
} else if (to === -1 && (from = parseInt(from) || -1) > 0) {
} else if (to === -1 && (from = parseInt(from, 10) || -1) > 0) {
linenums.push(from, Infinity)
}
} else if ((from = parseInt(linedef) || -1) > 0) {
} else if ((from = parseInt(linedef, 10) || -1) > 0) {
linenums.push(from)

@@ -84,0 +84,0 @@ }

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

attrs['page-module'] = module_
attrs['page-relative'] = attrs['page-relative-src-path'] = relative
attrs['page-relative-src-path'] = relative
if (origin) {

@@ -111,0 +111,0 @@ attrs['page-origin-type'] = origin.type

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

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

],
"gitHead": "337ff6d2ed11e1f4d0a8ef993ddc8eaac7a73e9f"
"gitHead": "997231474334311f3e5ff55d68534f5ae6e5d7ee"
}

@@ -19,4 +19,4 @@ # Antora AsciiDoc Loader

Copyright (C) 2017-2020 [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org).
Copyright (C) 2017-present [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org).
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