jekyll / jemoji

GitHub-flavored emoji plugin for Jekyll
http://rubygems.org/gems/jemoji
MIT License
556 stars 61 forks source link

Update html-pipeline requirement from ~> 2.2 to >= 2.2, < 4.0 #147

Open dependabot[bot] opened 10 months ago

dependabot[bot] commented 10 months ago

Updates the requirements on html-pipeline to permit the latest version.

Changelog

Sourced from html-pipeline's changelog.

v2.14.3 (2022-10-14)

Full Changelog

Closed issues:

  • Allow vertical-align #366
  • Since bump 2.14.2 builds are failing #363

Merged pull requests:

  • Replace EscapeUtils.escape_html with CGI.escape_html #365 (ramhoj)

v2.14.2 (2022-06-12)

Full Changelog

Merged pull requests:

  • handle invalid data urls in absolute source filter #361 (glaszig)

v2.14.1 (2022-03-31)

Full Changelog

Closed issues:

  • 2.14.0 is disconnected #358
  • I would love to use the vscode codicon.ttf in my readme.md #356
  • Html-pipeline #355
  • Canalizacion de HTML #354
  • Change branch name off of master #340
  • New feature request: team mention filter #311
  • code in header produce invalid anchor #308
  • Stop "camo"ing "github.io" #305
  • A filter to produce diffs with syntax highlighting in html, maybe. #270
  • Require pygments.rb or remove Pygments references #235
  • Allow ᴀʀɪᴀ attributes for blind people. #219
  • 'lexer' is removed from github-linguist #217
  • Please document how to use the html-pipeline binary without command‐line arguments! #213
  • PHP syntax highlight #212

v2.13.2 (2020-12-04)

Full Changelog

Merged pull requests:

  • Fix custom renderer with unsafe option missing pre lang #341 (kazk)

... (truncated)

Commits
  • 84c75b3 :gem: bump to 2.14.3
  • 03ae30d Merge pull request #365 from ramhoj/use-cgi-escape-html
  • 807c23c Replace EscapeUtils.escape_html with CGI.escape_html
  • 32a21be :gem: bump to 2.14.2
  • 578f958 Merge pull request #361 from glaszig/data-url
  • 3cbad68 handle invalid data urls in absolute source filter
  • 4f1aab0 Properly release v2.14.x
  • 0e3d84e :gem: bump to 2.13.2
  • f378099 Merge pull request #341 from kazk/fix-unsafe-custom-renderer-missing-pre-lang
  • b717f31 Fix custom renderer with unsafe option missing pre lang
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
parkr commented 10 months ago

These two versions require in two different ways, so a try...LoadError will need to be added.

parkr commented 10 months ago

I took a swing at this. It's much more complicated than changing the require statement:

  1. EmojiFilter has become a NodeFilter, and HTMLPipeline.new has changed its initialization procedure.
  2. The tests use just EmojiFilter.call but the README indicates that I should be initializing the EmojiFilter when adding it to the list of node_filters, so EmojiFilter.new.call.

I don't have enough time to fix this now, but given the huge differences, I'd recommend not trying to support the old and the new like this PR suggests. Just upgrade to 3.0 and call it done.