Repository navigation
chore(deps): update dependency @portabletext/test to v3 - #14
renovate[bot] wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Bundle Stats✅ No significant changes. All scenario measurements (1)🗺️ View treemap · Artifacts
Significant means at least 1.0 KB and 1% gzip, or at least 5 ms and 10% import time. |
51ebc7e to
b54c496
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b54c496. Configure here.
| "@portabletext/editor": "^8.2.14", | ||
| "@portabletext/schema": "^3.1.0", | ||
| "@portabletext/test": "^2.1.3", | ||
| "@portabletext/test": "^3.0.0", |
There was a problem hiding this comment.
toTextspec trailing space assertion outdated
Medium Severity
Bumping @portabletext/test to v3 makes default toTextspec write a trailing content space as \s. The staging-span check still compares against a literal trailing space after A:, so that assertion no longer matches the serialized editor value.
Reviewed by Cursor Bugbot for commit b54c496. Configure here.


This PR contains the following updates:
^2.1.3→^3.0.0Release Notes
portabletext/editor (@portabletext/test)
v3.0.0Compare Source
Major Changes
#3717
4d5e694Thanks @christianhg! - fix(test)!: use @textspec/notation 2.0.0toTextspecwrites an empty text block asB:instead ofB:, with or without attributes, for exampleB style="h1":, and at any depth inside containers. Expected strings that end a block withB:(followed by the end of the string, a line break,;;or}) need the space removed. An empty block that holds the caret is stillB: |.In multiline output, when a text block's line ends in a space, that last space is written as
\s:B: foo \nB: barbecomesB: foo\s\nB: bar. Single-line output ({singleLine: true}) keeps a final content space as a plain space.fromTextspecandselectionFromTextspecaccept bothB:andB:for an empty text block. A block type followed by:with no indented children, such asCALLOUT:, is now read as an empty text block instead of failing with "Container has no children".v2.1.4Compare Source
Patch Changes
#3714
5251365Thanks @christianhg! - fix(test): point the npm homepage to www.portabletext.orgThe package's npm page now links to https://www.portabletext.org.
Updated dependencies [
4b15514]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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