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

package: remove html-entities #6074

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 21, 2024

Bumps html-entities from 1.4.0 to 2.5.2.

Release notes

Sourced from html-entities's releases.

v2.3.3

package.json: specify sideEffects: false

v2.3.2

Minimize data files, remove unnecessary files.

v2.3.1

  • Improve performance of encode(), decode() and decodeEntity() by using function inlining.
  • Fix decoding HEX HTML entities in some cases.

v2.3.0

Add flow types.

v2.2.0

A fast decodeEntity() method to decode a single HTML entity.

v2.1.1

  • Speed up both encode() and decode() methods.

v2.1.0

  • Add extensive mode to encode() method. This mode encodes all non-printable characters, non-ASCII characters and all characters with named references.

v2.0.6

  • Handle invalid numeric HTML entities: mimic browser behaviour.

v2.0.5

  • Handling behaviour of ambiguous ampersands.

v2.0.4

  • Fix webpack build warning.

v2.0.3

  • Handle invalid numeric HTML entities.

v2.0.2

  • Handle null and undefined text values.

v2.0.1

  • Fix decoding numeric HTML entities.

v2.0.0

  • Performance was greatly improved.

  • New API: simpler and more flexible.

    htmlEntitiesInstance.encode(text) -> encode(text)

    Before:

    import {AllHtmlEntities} from 'html-entities';

... (truncated)

Changelog

Sourced from html-entities's changelog.

2.5.0

  • Include source maps into the npm package.

2.4.0

  • Introduce nonAsciiPrintableOnly mode.

2.3.5

  • Reduce unnecessarily long RegExps.

2.3.4

  • Fix the problem decoding HTML5 entities those names are part of HTML4 entities.

2.3.3

  • package.json: specify sideEffects: false

2.3.2

  • Minimize data files, remove unnecessary files.

2.3.1

  • Improve performance of encode(), decode() and decodeEntity() by using function inlining.
  • Fix decoding HEX HTML entities in some cases.

2.3.0

  • Add flow types.

2.2.0

  • A fast decodeEntity() method to decode a single HTML entity.

2.1.1

  • Speed up both encode() and decode() methods.

... (truncated)

Commits

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 show <dependency name> 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 21, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/html-entities-2.5.2 branch 2 times, most recently from ac5e53f to 91321e5 Compare August 21, 2024 15:23
@danstarns
Copy link
Member

@artf is this package used? I tired searching for html-entities in the codebase and only found in pkg json files, can we remove it?

@artf
Copy link
Member

artf commented Aug 23, 2024

I'm not sure if it was added to fix some dependency conflict 😅

Screenshot 2024-08-23 at 16 45 38

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/html-entities-2.5.2 branch 2 times, most recently from 02b3b88 to 100611c Compare August 26, 2024 18:09
Bumps [html-entities](https://github.com/mdevils/html-entities) from 1.4.0 to 2.5.2.
- [Release notes](https://github.com/mdevils/html-entities/releases)
- [Changelog](https://github.com/mdevils/html-entities/blob/master/CHANGELOG.md)
- [Commits](mdevils/html-entities@v1.4.0...v2.5.2)

---
updated-dependencies:
- dependency-name: html-entities
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/html-entities-2.5.2 branch from 100611c to 9d73ab9 Compare August 26, 2024 18:52
@danstarns danstarns changed the title Bump html-entities from 1.4.0 to 2.5.2 package: remove html-entities Aug 30, 2024
@danstarns
Copy link
Member

I'm not sure if it was added to fix some dependency conflict 😅

Screenshot 2024-08-23 at 16 45 38

Seems all good if I remove, going to merge in favor of fewer dependencies.

@danstarns danstarns self-requested a review August 30, 2024 04:33
@danstarns danstarns merged commit b6076b7 into dev Aug 30, 2024
2 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/html-entities-2.5.2 branch August 30, 2024 04:33
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.

2 participants