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

@asciidoctor/gulp-asciidoctor

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asciidoctor/gulp-asciidoctor - npm Package Compare versions

Comparing version 2.2.3 to 2.2.5

11

index.js

@@ -8,3 +8,6 @@ 'use strict'

var asciidoctor = require('@asciidoctor/core')()
const docbookConverter = require('@asciidoctor/docbook-converter')
docbookConverter.register()
/**

@@ -24,2 +27,5 @@ * Test is the given object is a class

var extension = options.extension || '.html'
if (options.backend === 'docbook5') {
extension = options.extension || '.xml'
}

@@ -30,3 +36,4 @@ // AsciiDoctor options

asciidoctorOptions.attributes = options.attributes || ['showtitle']
asciidoctorOptions.backend = options.backed || 'html5' // defaults to html5
// Fixed typo for issue #29
asciidoctorOptions.backend = options.backend || 'html5' // defaults to html5
asciidoctorOptions.doctype = options.doctype || 'article' // defaults to article

@@ -42,3 +49,2 @@

delete asciidoctorOptions.header_footer
// Extension is only used by gulp

@@ -90,3 +96,2 @@ delete asciidoctorOptions.extension

// never forget callback to indicate that the file has been processed.
var data = asciidoctor.convert(file.contents.toString(),

@@ -93,0 +98,0 @@ asciidoctorOptions)

{
"name": "@asciidoctor/gulp-asciidoctor",
"version": "2.2.3",
"version": "2.2.5",
"description": "Gulp Asciidoctor plugin",

@@ -40,2 +40,3 @@ "license": "MIT",

"@asciidoctor/core": "^2.2.0",
"@asciidoctor/docbook-converter": "^2.0.0",
"plugin-error": "^1.0.1",

@@ -42,0 +43,0 @@ "replace-ext": "^2.0.0",

# gulp-asciidoctor
[![Build](https://github.com/asciidoctor/gulp-asciidoctor/workflows/Build/badge.svg)](https://github.com/asciidoctor/gulp-asciidoctor/actions?query=workflow%3ABuild)
[![npm version](https://img.shields.io/npm/v/gulp-asciidoctor.svg)](https://www.npmjs.org/package/@asciidoctor/gulp-asciidoctor)
[![npm version](https://img.shields.io/npm/v/@asciidoctor/gulp-asciidoctor.svg)](https://www.npmjs.org/package/@asciidoctor/gulp-asciidoctor)

@@ -6,0 +6,0 @@ A [gulp](https://gulpjs.com) plugin to support Asciidoctor processing in gulp tasks.

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