Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 7, 2025

This PR contains the following updates:

Package Change Age Confidence
entities 4.5.0 -> 7.0.0 age confidence

Release Notes

fb55/entities (entities)

v7.0.0

Compare Source

No changes in public API; a lot of internals changed though, for faster encoding & decoding and reduced memory usage.

Improvements

Reduced length of the encoded trie by 21% for HTML (from 15,242 words (uint16) to 12075), by:

  • Adding a semicolon flag on value nodes, which means semicolons don't have to be encoded anymore.
  • Compacting dict keys: two keys are now stored in each word, instead of one
  • Compacting runs of 3 or more characters: successive characters are now also stored as two characters per word

Also reduces the size of the encoded table by 32% (after the previous change) by encoding it as base64.

Encodes the encode trie as a string, with a simple parser turning it into the previous structure on load. This leads to a 44% decrease in file size (from 24,034 to 13,392 bytes).

Uses bitmaps to replace regex when looking for ASCII code points that should be replaced with entities. Leads to a ~1.6x speed up for encodeHTML.

Miscellaneous

New Contributors

Full Changelog: fb55/entities@v6.0.1...v7.0.0

v6.0.1

Compare Source

What's Changed

Full Changelog: fb55/entities@v6.0.0...v6.0.1

v6.0.0

Compare Source

Features

  • Improved bundler tree shaking by adding pure annotations by @​Gravitonic in #​1501
  • BREAKING: Simplified deep import paths, to make entities work in old NodeJS versions by @​fb55 in #​1531
    • If you are using deep imports, you will have to update them. Instead of importing entities/dist/decode.js, import entities/decode. The same applies to escape.
  • Automated publishes by @​fb55 in #​1532
    • entities is now available on both npm and JSR
  • Enabled isolated declarations by @​fb55 in #​1522

Full Changelog: fb55/entities@v5.0.0...v6.0.0

v5.0.0

Compare Source

What's Changed

  • Improved code style (based on eslint-plugin-unicorn) #​1496
  • Upgraded toolchain (to tshy, vitest, and tsx) #​1497

Breaking Changes

  • ⚠️ BREAKING: The lib directory was renamed to dist in #​1497. Deep imports will have to be updated.

Full Changelog: fb55/entities@v4.5.0...v5.0.0


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/entities-7.x branch 6 times, most recently from 32af669 to fc4ada0 Compare September 15, 2025 05:56
@renovate renovate bot force-pushed the renovate/entities-7.x branch 11 times, most recently from 21190f4 to 9da3b69 Compare September 23, 2025 05:57
@renovate renovate bot force-pushed the renovate/entities-7.x branch 5 times, most recently from 894048c to cbb773b Compare September 29, 2025 09:48
@renovate renovate bot force-pushed the renovate/entities-7.x branch 7 times, most recently from 5480cb5 to eaeabc1 Compare October 6, 2025 04:57
@renovate renovate bot force-pushed the renovate/entities-7.x branch from eaeabc1 to a7047e2 Compare October 9, 2025 05:58
@renovate renovate bot force-pushed the renovate/entities-7.x branch 7 times, most recently from 83600bd to 9759f7a Compare October 15, 2025 09:14
@renovate renovate bot force-pushed the renovate/entities-7.x branch 13 times, most recently from c5970c9 to f956af7 Compare October 27, 2025 05:06
@renovate renovate bot force-pushed the renovate/entities-7.x branch 6 times, most recently from 7160e5f to 10f9553 Compare November 1, 2025 10:35
@renovate renovate bot force-pushed the renovate/entities-7.x branch from 10f9553 to 01cc130 Compare November 2, 2025 06:13
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.

0 participants