fix(deps): update dependency @portabletext/to-html to v6 - #1907
fix(deps): update dependency @portabletext/to-html to v6#1907squiggler-app[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
✅ E2E Tests🟢 26 passed • view full report • view run Studio: https://plugins-e2e-test-studio-6ragxgel3.sanity.dev Datasets: |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 061ef65. Configure here.
061ef65 to
c9d212d
Compare
c9d212d to
8053cfd
Compare
8053cfd to
e3b04cd
Compare
e3b04cd to
e679c40
Compare
e679c40 to
cde7f70
Compare
cde7f70 to
9b79190
Compare
9b79190 to
52eefad
Compare
52eefad to
98bfe03
Compare
98bfe03 to
fd3f9e3
Compare
fd3f9e3 to
56d88c5
Compare
56d88c5 to
6184ff9
Compare
6184ff9 to
d014c94
Compare
d014c94 to
d83c40d
Compare
d83c40d to
f1b5df9
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
f1b5df9 to
e298e8b
Compare
e298e8b to
23487f2
Compare

This PR contains the following updates:
^5.0.3→^6.0.0Release Notes
portabletext/to-html (@portabletext/to-html)
v6.0.0Compare Source
Major Changes
#220
3e429a5Thanks @rexxars! - Node.js 22.12 or later is now requiredThe previous range also allowed Node.js 20.19 and later. Node.js 20 reached end of life in April 2026, so it is no longer supported here.
If you render on Node.js 20, upgrade to 22.12 or later before taking this version. Installing on an older release will fail the
enginescheck. Nothing changes for browsers or for bundled output.#220
3e429a5Thanks @rexxars! - Lists now nest as deeply as theirlevelsays they doWhen you will see a difference
Only when your content has a list item that starts deeper than level 1, or that jumps more than one level at a time, such as going straight from level 1 to level 3. Lists that start at level 1 and change one level at a time render exactly as before.
Portable Text stores list nesting as a flat
levelnumber on each block, and an editor lets an author produce both of those shapes. Previously the rendered nesting could be shallower thanlevelsaid, and an item returning to a shallower level could start a new list instead of continuing the one it belonged to, which restarts the numbering of an<ol>.What changes
Two list items, the first at level 3 and the second at level 1, used to render as two unrelated lists:
They now render as one list, three levels deep, with the second item as a sibling at the top:
The levels nobody authored have to be filled with something, and HTML can only put a list inside a list item, so they become empty list items. A browser draws a bullet or a number for each of them.
What you may need to do
Snapshot tests and any stored HTML covering lists that start deep or skip levels will need regenerating.
If the empty markers are visible somewhere you do not want them, the durable fix is the content itself, since a list skipping from level 1 to level 3 usually means an authoring mistake. To hide them in the meantime, target list items whose only child is a nested list:
Note that in an
<ol>this hides the number but the item still counts, so the numbering of the items after it is unchanged.Fixes #108
Configuration
📅 Schedule: (UTC)
🚦 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 this update again.
This PR has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here