Skip to content

chore(deps): update dependency @portabletext/test to v3 - #14

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-3-portabletext
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-3-portabletext

Conversation

@renovate

@renovate renovate Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@portabletext/test (source) ^2.1.3 → ^3.0.0 age confidence

Release Notes

portabletext/editor (@​portabletext/test)

v3.0.0

Compare Source

Major Changes
  • #​3717 4d5e694 Thanks @​christianhg! - fix(test)!: use @​textspec/notation 2.0.0

    toTextspec writes an empty text block as B: instead of B: , with or without attributes, for example B style="h1":, and at any depth inside containers. Expected strings that end a block with B: (followed by the end of the string, a line break, ;; or }) need the space removed. An empty block that holds the caret is still B: |.

    In multiline output, when a text block's line ends in a space, that last space is written as \s: B: foo \nB: bar becomes B: foo\s\nB: bar. Single-line output ({singleLine: true}) keeps a final content space as a plain space.

    fromTextspec and selectionFromTextspec accept both B: and B: for an empty text block. A block type followed by : with no indented children, such as CALLOUT:, is now read as an empty text block instead of failing with "Container has no children".

v2.1.4

Compare Source

Patch Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekday"
  • Automerge
    • At any time (no schedule defined)

🚦 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.


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

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@socket-security

socket-security Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​portabletext/​test@​2.1.3 ⏵ 3.0.076 +1100100 +198 +1100

View full report

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Bundle Stats

✅ No significant changes.

All scenario measurements (1)

🗺️ View treemap · Artifacts

Scenario Kind Bundle (raw / gzip) Gzip change Import time Import change
⚪ @portabletext/plugin-sdk-value export 242.1 KB / 32.8 KB None None None

Significant means at least 1.0 KB and 1% gzip, or at least 5 ms and 10% import time.

@renovate
renovate Bot force-pushed the renovate/major-3-portabletext branch from 51ebc7e to b54c496 Compare November 20, 2026 17:54

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ 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.

Comment thread package.json
"@portabletext/editor": "^8.2.14",
"@portabletext/schema": "^3.1.0",
"@portabletext/test": "^2.1.3",
"@portabletext/test": "^3.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b54c496. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants