Skip to content

Bump html-to-text from 5.1.1 to 6.0.0#76

Closed
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/html-to-text-6.0.0
Closed

Bump html-to-text from 5.1.1 to 6.0.0#76
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/html-to-text-6.0.0

Conversation

@dependabot-preview
Copy link
Copy Markdown
Contributor

Bumps html-to-text from 5.1.1 to 6.0.0.

Changelog

Sourced from html-to-text's changelog.

Version 6.0.0

This is a major update. No code left untouched. While the goal was to keep as much compatibility as possible, some client-facing changes were unavoidable.

fromString() is deprecated in favor of htmlToText()

Since the library has the only exported function, it is now self-titled.

Inline and block-level tags, HTML whitespace

Formatting code was rewritten almost entirely to make it aware of block-level tags and to handle HTML whitespace properly. One of popular requests was to support divs, and it is here now, after a lot of effort.

Options reorganized

Options are reorganized to make room for some extra format options while making everything more structured. Now tag-specific options live within that tag configuration.

For the majority of changed options there is a compatibility layer that will remain until next major release. But you are encouraged to explore new options since they provide a bit more flexibility.

Custom formatters are different now

Because formatters are integral part of the formatting code (as the name suggests), it wasn't possible to provide a compatibility layer.

Please refer to the Readme to see how things are wired now, in case you were using them for anything othen than dealing with the lack of block-level tags support.

Tables support was improved

Cells can make use of extra space with colspan and rowspan attributes. Max column width is defined separately from global wordwrap limit.

Limits

Multiple options to cut content in large HTML documents.

By default, any input longer than 16 million characters will be truncated.

Node and dependencies

Required Node version is now >=8.10.0.

Dependency versions are bumped.

Repository is moved to it's own organization

https://github.com/html-to-text/node-html-to-text is the new home.

GitHub should handle all redirects from the old url, so it shouldn't break anything, even if you have a local fork pointing at the old origin. But it is still a good idea to update the url.

And more

Version 6 roadmap issue: #200

Commits
  • f277a07 Version bumped to 6.0.0
  • ecf344c Tidy up the changelog [ci skip]
  • b5ec48c npm badges [ci skip]
  • 9987864 Codeclimate - don't use eslint plugin at all [ci skip]
  • e5912e7 Update Travis config
  • 8fb71fc Codeclimate - attempt 4 to fix eslint checks [ci skip]
  • f41d013 Codeclimate - attempt 3 to fix eslint checks [ci skip]
  • 6c7526b Codeclimate - attempt 2 to fix eslint checks [ci skip]
  • f87c5af Codeclimate - attempt to fix eslint checks [ci skip]
  • e8e5fe5 Codeclimate - eslint version [ci skip]
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by killy.mxi, a new releaser for html-to-text since your current version.


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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Nov 2, 2020
@dependabot-preview
Copy link
Copy Markdown
Contributor Author

Superseded by #90.

@dependabot-preview dependabot-preview Bot deleted the dependabot/npm_and_yarn/html-to-text-6.0.0 branch February 12, 2021 17:13
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants