Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 5, 2021

Bumps html-to-text from 5.1.1 to 7.1.1.

Changelog

Sourced from html-to-text's changelog.

Version 7.1.1

Regenerate package-lock.json.

Version 7.1.0

Dependency updates

  • htmlparser2 updated from 6.0.0 to 6.1.0 (Release notes);
  • dev dependencies are bumped.

Version 7.0.0

Node version

Required Node version is now >=10.23.2.

Dependency updates

  • lodash dependency is removed;
  • htmlparser2 updated from 4.1.0 to 6.0.0 (Release notes, also domhandler). There is a slim chance you can run into some differences in case you're relying on it heavily in your custom formatters;
  • dev dependencies are bumped.

Custom formatters API change

BlockTextBuilder methods now accept option objects for optional arguments. This improves client code readability and allows to introduce extra options with ease. It will see some use in future updates.

Positional arguments introduced in version 6.0.0 are now deprecated. Formatters written for the version 6.0.0 should keep working for now but the compatibility layer is rather inconvenient and will be removed with the next major version.

See the commit f50f10f. Changes in lib/formatter.js file are illustrative for how to migrate to the new API.

And more

  • Bunch of documentation and test updates.

All commits: 6.0.0...7.0.0

Version 7 roadmap issue: #222

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.

... (truncated)

Commits
  • 5ac1e87 Regenerate package-lock
  • c309d69 Split coverage report into separate action
  • 6d32a1c .gitattributes to keep line endings consistent
  • 8c85673 Replace Travis with GitHub Actions
  • edbf0d5 Bump dependencies
  • 90395a3 Create FUNDING.yml
  • 08d9ff7 Version bumped to 7.0.0, package-lock.json regenerated
  • 10a4342 Readme and changelog update
  • 46bcdfc Update htmlparser2 options
  • b472cf0 Don't need eslint-plugin-you-dont-need-lodash-underscore anymore
  • 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 @github
Copy link
Author

dependabot bot commented on behalf of github May 5, 2021

The following labels could not be found: 3. to review, dependencies.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 12, 2021

Superseded by #32.

@dependabot dependabot bot closed this Jun 12, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/html-to-text-7.1.1 branch June 12, 2021 01:17
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