Skip to content

Bump percollate from 2.2.0 to 4.0.2#286

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/percollate-4.0.2
Closed

Bump percollate from 2.2.0 to 4.0.2#286
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/percollate-4.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2023

Copy link
Copy Markdown
Contributor

Bumps percollate from 2.2.0 to 4.0.2.

Release notes

Sourced from percollate's releases.

v4.0.2

Bug fixes

Further improvements to detecting and bundling images re: #141 (which should have really been part of v4.0.1, had the necessary insight not manifested exactly five seconds after publishing said version).

v4.0.1

Bug fixes

Thank you @​vongrad for contributing two fixes to this release:

  • Fixes regression in --inline failing to base64-encode images (#154)
  • Fixes heuristic in imagesAtFullSize() DOM enhancement to exclude non-English Wikipedia URLs that look like they point to images but are in fact HTML pages (eg. wiki/File: URLs in English) (#156, #141)

v4.0.0

Breaking changes

This release changes how Percollate interprets operands (See #150): when no operand is provided, an implicit - (stdin) is assumed. This makes it nicer to pipe data into percollate from an external tool.

Although not part of the public API, Percollate's logging has largely shifted from stdout to stderr, to allow html and md to be piped to an external tool.

New features

  • Support for Markdown output with percollate md (#93)
  • html and md commands can output to stdout with the -o - / --output=- flag (#150). When used in combination with the --individual flag, all results are concatenated to stdout.

v3.0.0

⚠️ Breaking changes

Node 14 required

Node.js 14.17 or later is required to run Percollate 3.0.0. Users on Node.js 12.x can continue using Percollate 2.x by installing it with:

npm install -g percollate@2

Programmatic API breaking changes

Note: The programmatic API is not currently part of the public, documented API.

fetchContent(), which used to return the page content as a string decoded to 'utf-8', will now return an object of the shape { buffer: ArrayBuffer, contentType: string? }. Consequently, calls to pdf(), epub() and html() will return on the .originalContent this new structure as well. See Programmatic API migration for details below.

New features

Experimental Firefox support for PDF rendering

Added experimental Firefox Nightly support for rendering PDFs, via the percollate pdf --browser=firefox option. To fetch Firefox Nightly, perform the following installation steps:

# fetches Chrome
</tr></table> 

... (truncated)

Commits
  • 107c132 4.0.2
  • 61fa5b9 Further unifying of image-matching code paths, added note to self and posteri...
  • 2667b44 Unify regexes matching image URLs, fixes case sensitivity causing some images...
  • 6315c15 4.0.1
  • 743f20b (chore): update dependencies
  • e5fd8f1 Add tests for imagesAtFullSize() Wikipedia 'File:' page exclusion. Expand lis...
  • 7d23597 import 'node:url' instead of 'url'
  • 44386ef Fix regex to exclude Wikipedia links to image file pages (#156)
  • 1d1e54e Fixed issue with converting ArrayBuffer to base64 (#154)
  • dabeecd 4.0.0
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [percollate](https://github.com/danburzo/percollate) from 2.2.0 to 4.0.2.
- [Release notes](https://github.com/danburzo/percollate/releases)
- [Changelog](https://github.com/danburzo/percollate/blob/main/CHANGELOG.md)
- [Commits](danburzo/percollate@v2.2.0...v4.0.2)

---
updated-dependencies:
- dependency-name: percollate
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2023
@dependabot @github

dependabot Bot commented on behalf of github Oct 1, 2023

Copy link
Copy Markdown
Contributor Author

Superseded by #292.

@dependabot dependabot Bot closed this Oct 1, 2023
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/percollate-4.0.2 branch October 1, 2023 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants