Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade asciidoctor from 2.2.0 to 2.2.1 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade asciidoctor from 2.2.0 to 2.2.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 21 days ago, on 2020-11-26.
Release notes
Package name: asciidoctor
  • 2.2.1 - 2020-11-26

    Summary

    This release is based on Asciidoctor 2.0.12 and Opal 0.11.99.dev (31d26d69).

    Highlights

    This version includes all the bug fixes and improvements introduced in Asciidoctor Ruby 2.0.11 and 2.0.12 🎉
    It also contains a few bug fixes and improvements related to the Asciidoctor.js API.

    Release meta

    Released on: 2020-11-26
    Released by: @ Mogztter
    Published by: GitHub Actions

    Logs: full diff

    Changelog

    Bug Fixes

    • Pass Opal.nil when title is undefined (#1010)

    Improvements

    • Map AbstractBlock#assignCaption (#1011)
    const doc = asciidoctor.load('= Title')
    const image = asciidoctor.Block.create(doc, 'image', {
      content_model: 'empty',
      attributes: {
        target: `${testOptions.baseDir}/spec/fixtures/images/cat.png[]`,
        format: 'png'
      }
    })
    image.setTitle('A cat')
    image.assignCaption('Figure I. ')
    console.log(image.getCaptionedTitle()) // Figure I. A nice cat'
    • Map positional attributes (#1047)
    const doc = asciidoctor.load('[positional1,positional2,attr=value]\ntext')
    const block = doc.getBlocks()[0]
    const attributes = block.getAttributes()
    console.log(Object.getOwnPropertyNames(attributes)) // ['attr', 'style']
    console.log(Object.getOwnPropertyNames(attributes)) // ['$positional', 'attr', 'style']
    console.log(attributes.$positional) // ['positional1', 'positional2'])

    Infrastructure

    • Build against the latest release of Asciidoctor 2.0.12 (#808)
    • Upgrade development dependencies
      • Bump http-server from 0.12.1 to 0.12.3 in /packages/core (#953)
      • Bump dtslint from 3.4.2 to 3.6.3 in /packages/core (#958) (#971) (#976)
      • Bump puppeteer from 3.0.1 to 3.1.0 in /packages/core (#956) (#961) (#963) (#974)
      • Bump @ types/node from 13.13.4 to 13.13.5 in /packages/core (#960)
      • Bump standard from 14.3.3 to 14.3.4 (#966) (#965)
      • Bump ejs from 3.1.2 to 3.1.3 in /packages/core (#970)
    • Add an explicit dependency on typescript (development dependency)
    • Flag the macos runner as experimental and allow failures (#959)
    • Build against the current Node LTS and the latest stable version (#973)
    • Document how to compile a local asciidoctor Ruby code base - thanks @ djenks (#978)
    • Run npm audit fix
    • Add a test case on externalized footnotes

    📖 API documentation
    📚 User Manual

  • 2.2.0 - 2020-04-28
    Read more
from asciidoctor GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant