Skip to content

build(deps): bump next from 15.5.11 to 16.1.7 in /scripts/__tests__/integration/fixtures/lexical-esm-nextjs - #8232

Merged
etrepum merged 1 commit into
mainfrom
dependabot/npm_and_yarn/scripts/__tests__/integration/fixtures/lexical-esm-nextjs/next-16.1.7
Mar 18, 2026
Merged

etrepum merged 1 commit into
mainfrom
dependabot/npm_and_yarn/scripts/__tests__/integration/fixtures/lexical-esm-nextjs/next-16.1.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 17, 2026

Copy link
Copy Markdown
Contributor

Bumps next from 15.5.11 to 16.1.7.

Release notes

Sourced from next's releases.

v16.1.7

[!NOTE] This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • [Cache Components] Prevent streaming fetch calls from hanging in dev (#89194)
  • Apply server actions transform to node_modules in route handlers (#89380)
  • ensure maxPostponedStateSize is always respected (See: CVE-2026-27979)
  • feat(next/image): add lru disk cache and images.maximumDiskCacheSize (See: CVE-2026-27980)
  • Allow blocking cross-site dev-only websocket connections from privacy-sensitive origins (See: CVE-2026-27977)
  • Disallow Server Action submissions from privacy-sensitive contexts by default (See: CVE-2026-27978)
  • fix: patch http-proxy to prevent request smuggling in rewrites (See: CVE-2026-29057)

Credits

Huge thanks to @​unstubbable, @​styfle, @​eps1lon, and @​ztanner for helping!

v16.1.6

[!NOTE] This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • Upgrade to swc 54 (#88207)
  • implement LRU cache with invocation ID scoping for minimal mode response cache (#88509)
  • tweak LRU sentinel key (#89123)

Credits

Huge thanks to @​mischnic, @​wyattjoh, and @​ztanner for helping!

v16.1.5

Please refer the following changelogs for more information about this security release:

https://vercel.com/changelog/summaries-of-cve-2025-59471-and-cve-2025-59472 https://vercel.com/changelog/summary-of-cve-2026-23864

v16.0.11

Please see this changelog for more information about this security patch.

v15.6.0-canary.61

Please refer the following changelogs for more information about this security release:

v15.5.13

[!NOTE] This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • fix: patch http-proxy to prevent request smuggling in rewrites (See: CVE-2026-29057)

... (truncated)

Commits
  • bdf3e35 v16.1.7
  • dc98c04 [backport]: fix: patch http-proxy to prevent request smuggling in rewrites (#...
  • 9023c0a [backport] Disallow Server Action submissions from privacy-sensitive contexts...
  • 36a97b9 Allow blocking cross-site dev-only websocket connections from privacy-sensiti...
  • 93c3993 [backport]: feat(next/image): add lru disk cache and `images.maximumDiskCache...
  • c68d62d Backport documentation fixes for 16.1.x (#90655)
  • 5214ac1 [backport]: ensure maxPostponedStateSize is always respected (#90060) (#90471)
  • c95e357 Backport/docs fixes 16.1.x (#90125)
  • cba6144 [backport] Apply server actions transform to node_modules in route handlers...
  • 3db9063 [backport] [Cache Components] Prevent streaming fetch calls from hanging in d...
  • Additional commits viewable in compare view

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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 17, 2026
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Mar 17, 2026
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Mar 17, 2026
@vercel

vercel Bot commented Mar 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview, Comment Mar 17, 2026 8:22pm
lexical-playground Ready Ready Preview, Comment Mar 17, 2026 8:22pm

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 17, 2026
@etrepum etrepum added the extended-tests Run extended e2e tests on a PR label Mar 18, 2026
@etrepum
etrepum added this pull request to the merge queue Mar 18, 2026
Merged via the queue into main with commit 7ec9f5d Mar 18, 2026
50 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/scripts/__tests__/integration/fixtures/lexical-esm-nextjs/next-16.1.7 branch March 18, 2026 19:32
@etrepum etrepum mentioned this pull request Mar 19, 2026
etrepum pushed a commit to etrepum/lexical that referenced this pull request Oct 31, 2026
…de the edge of a line again, and keep a referenced character inside a bare URL

## Description

On main, the text after a text match is imported on its own, so a delimiter run at its start reads as one at the start of a line. This branch gave that text the match's last character as its neighbour, and the text before a match the match's first character, so that a delimiter run that a match cuts reads as it did in the whole line. For a custom transformer whose syntax ends or starts in a letter, that broke round trips: mention `user:bob` then bold `(admin)` exports as `user:bob**(admin)**`, as before, but re-imported as literal `**(admin)**`, and the exporter cannot put a reference inside transformer output to avoid it.

The text beside a text match now reads the match's edge as the edge of a line again, as on main, unless a delimiter run goes on across the cut. The line's scan is still reused for the text after the match. Such a run can then only differ in whether it opens, since nothing in that text comes before it, and so only in the pair it opens. That pair is found by scanning ever longer prefixes of the text, so finding it costs about as much as the text it holds, instead of a scan of the rest of the line after every match. On a line of 4,000 `user:ab**(x)** ` it imports in about the time the same line with a space before each `**` took before this change. The remaining growth with line length is core `splitText`, as on main.

Export ended a bare URL at any JavaScript whitespace when deciding whether to spoil it, but U+000B, U+2028, U+2029 and U+FEFF are letters for CommonMark, so beside a marker they go out as references, which GFM readers keep in the link: plain `see `, bold `http://x.co/`, then U+2028 and `x` exported as `see **http://x.co/**&#8232;x`, which `@lexical/mdast` read as one link with the bold lost. A character written as a reference now counts as part of the URL, so this exports as `see **http&#58;//x.co/**&meta#8232;x`.

The changeset now gives the import fixes and the export changes paragraphs of their own, and its `Verify:` paragraph names the export snapshots.

## Test plan

Command: `pnpm exec vitest run --project unit packages/lexical-markdown/src/__tests__/unit/LexicalMarkdown.test.ts -t "whose syntax has a letter"`, and `-t "letter only for CommonMark"`

### Before

```
     × reads formatting after a text match whose syntax has a letter beside it 49ms
     × reads formatting before a text match whose syntax has a letter beside it 4ms
     × reads formatting in italic after a text match whose syntax has a letter beside it 4ms
AssertionError: expected [ Array(2) ] to deep equally contain [ '(admin)', 1 ]
AssertionError: expected [ Array(2) ] to deep equally contain [ '(admin)', 1 ]
AssertionError: expected [ [ 'bob', +0 ], [ '*“a”*', +0 ] ] to deep equally contain [ '“a”', 2 ]
      Tests  3 failed | 782 skipped (785)

     × exports formatting beside a URL before a character that is a letter only for CommonMark, which both importers read back 33ms
AssertionError: expected 'see **http://x.co/**&#8232;x' to be 'see **http&#58;//x.co/**&meta#8232;x' // Object.is equality
```

### After

```
$ pnpm exec vitest run --project unit packages/lexical-markdown packages/lexical-mdast packages/lexical-playground/__tests__/unit scripts/__tests__/unit/treeShakingSource.test.ts
 Test Files  46 passed (46)
      Tests  1603 passed (1603)
```

The prefix search was compared with a full scan of the rest after every match on 47,000 random lines of delimiters, code spans, escapes and a letter-ending text match, with no differences. Round trips of 20,000 random paragraphs with links, bare URLs, emails and U+2028 or U+FEFF found none that main reads back correctly and this branch does not, in either importer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — fc75e88c Deployed Mar 17, 2026 by vercel[bot]
Preview – lexical — fc75e88c Deployed Mar 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. dependencies Pull requests that update a dependency file extended-tests Run extended e2e tests on a PR javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant