Skip to content

fix(deps): upgrade next to 15.5.28 in docs - #534

Merged
uniqueg merged 3 commits into
devfrom
fix/next-15-docs
Nov 1, 2026
Merged

uniqueg merged 3 commits into
devfrom
fix/next-15-docs

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Upgrades next in the docs app (apps/documentation) from 14.2.35 to 15.5.28, which fixes all 25 open Next.js advisories (50 Dependabot alerts, 4 critical). No 14.2.x release fixes any of them. Supersedes Dependabot PR #483, which failed because the build broke on @next/font.

  • Replace the deprecated @next/font/google (fails with Next.js 15) with the built-in next/font/google, and drop the @next/font dependency. Nextra 2.13.4 and nextra-theme-docs support Next.js 15 (peer next >=9.5.3), as does @lit-labs/nextjs (13 || 14 || 15), so no Nextra migration is needed.
  • Next.js 15 regenerates next-env.d.ts on every build with a triple-slash reference that fails linting: stop tracking the generated file and ignore it in git and ESLint (root and docs ignore files), as create-next-app does. Also split the out.next line of the docs' .eslintignore (missing line break) into out and .next.

Reachability (details in #533): the docs are a static export served by Read the Docs and by the nginx image, so no advisory applies to the deployed docs; a few could only matter for a contributor's next dev reachable from an untrusted network.

No docs change: no documentation mentions the Next.js version, @next/font or next-env.d.ts.

Closes #533

Verification

  • npx turbo run build --filter=ecc-docs...: passes (47 static pages), also with READTHEDOCS_CANONICAL_URL=https://cloud-components.readthedocs.io/en/999/ (asset and link paths under /en/999/).
  • npm run lint: passes (19/19 tasks).
  • node --test scripts/release.test.js: passes.
  • Rendering: a headless Chromium check (Playwright) of 9 pages of the static output (home, introduction, installation, design button and table, WES runs, providers, contact, TRS-Filer tool create) gives the same result for this branch as for a Next.js 14.2.35 baseline build from dev: all pages 200, same headings, all ecc-* custom elements defined with shadow roots. The home page throws getSelectId is not a function three times in both builds (pre-existing, not caused by this change).
  • npm run test: not run completely locally (only Chromium installed; the design tests load a worker from jsDelivr, which the sandbox blocks). The change touches only the docs app; CI runs the full suite.
  • Docker image build: not run locally (disk space); it uses the same turbo build of the docs.
  • CI: all checks pass (Lint, Test on Node 22 and 24, CodeQL, codecov, CI passed); the Read the Docs preview builds: https://cloud-components--534.org.readthedocs.build/en/534/

Declined review findings

Both reviewers found no high or medium findings. Fixed: the root .eslintignore now also ignores the generated file (it applies when ESLint runs from the repo root). Declined (low):

  • Double quotes in the next/font/google import of _app.tsx: the line already used them before; kept to keep the diff minimal (Prettier is off for the docs app).
  • Pin next to ~15.5.28 because Nextra 2 is unmaintained: the lockfile pins the version, and ^ matches the repo's other ranges and Dependabot's update.
  • Both glibc and musl sharp binaries in the lockfile: npm's default for optional platform packages; unused by the static export.
  • Sourcery: 14 license findings (LGPL-3.0 @img/sharp-* / libvips binaries, optional dependencies of Next.js 15). Answered and resolved: libvips is a dynamically loaded shared library, and nothing from sharp is distributed (static export with images.unoptimized: true; Read the Docs and the nginx image ship only apps/documentation/out). The Sourcery check stays red because of them; it is not a required check.

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Upgrade the documentation app to Next.js 15.5.28 and update its font and generated-file handling for compatibility.

Bug Fixes:

  • Upgrade the documentation app to Next.js 15.5.28 to address the current Next.js security advisories.

Enhancements:

  • Replace the deprecated Next.js font package with the built-in font integration and align generated environment metadata with Next.js 15.
  • Resolves 12/25 issues in next

uniqueg and others added 2 commits November 1, 2026 09:53
Next.js 14.2.35 has 25 open advisories, none fixed in 14.2.x. Upgrade
the docs app to 15.5.28, which fixes all of them. Nextra 2 supports
Next.js 15. Replace the deprecated @next/font package, which fails
the build with Next.js 15, with the built-in next/font.

Refs #533

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Next.js 15 rewrites next-env.d.ts on every build and dev start, with a
triple-slash reference that fails linting. Stop tracking the file and
ignore it in git and in the root and docs ESLint ignore files, as
create-next-app does. Also split the out and .next entries in the docs
ESLint ignore file, which a missing line break had merged.

Refs #533

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

sourcery-ai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

The PR upgrades the static documentation app from Next.js 14.2.35 to 15.5.28, replacing the incompatible deprecated font package with Next.js’s built-in font integration and updating generated-file ignore rules so Next.js 15 builds and linting remain clean. The lockfile is regenerated, with build, lint, CI, static rendering, and Read the Docs preview validation reported as passing.

File-Level Changes

Change Details Files
Upgrade the documentation app to Next.js 15 and remove the deprecated font package.
  • Update the docs app’s Next.js dependency from 14.2.35 to 15.5.28.
  • Remove @next/font and switch the Inter import to next/font/google.
  • Refresh the lockfile for the dependency upgrade and its transitive packages.
apps/documentation/package.json
apps/documentation/pages/_app.tsx
package-lock.json
Exclude Next.js-generated environment metadata from source control and linting.
  • Ignore next-env.d.ts in the repository and docs app ESLint configurations.
  • Stop tracking the generated next-env.d.ts file.
  • Split the malformed docs ESLint ignore entry into separate out and .next entries.
.eslintignore
.gitignore
apps/documentation/.eslintignore
apps/documentation/next-env.d.ts

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.89%. Comparing base (8cf2f7a) to head (3c5fc11).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #534   +/-   ##
=======================================
  Coverage   70.89%   70.89%           
=======================================
  Files          23       23           
  Lines        5638     5638           
  Branches      190      190           
=======================================
  Hits         3997     3997           
  Misses       1636     1636           
  Partials        5        5           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@uniqueg
uniqueg marked this pull request as ready for review November 1, 2026 09:51
@uniqueg
uniqueg requested a review from anuragxxd as a code owner November 1, 2026 09:51

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've found 14 security issues

Security issues:

  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later AND MIT: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)

Fixed security issues:

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="package-lock.json" line_range="3149-3164" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-darwin-arm64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 2
<location path="package-lock.json" line_range="3165-3180" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-darwin-x64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 3
<location path="package-lock.json" line_range="3181-3196" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-arm):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 4
<location path="package-lock.json" line_range="3197-3212" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-arm64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 5
<location path="package-lock.json" line_range="3213-3228" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-ppc64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 6
<location path="package-lock.json" line_range="3229-3244" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-riscv64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 7
<location path="package-lock.json" line_range="3245-3260" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-s390x):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 8
<location path="package-lock.json" line_range="3261-3276" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-x64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 9
<location path="package-lock.json" line_range="3277-3292" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linuxmusl-arm64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 10
<location path="package-lock.json" line_range="3293-3308" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linuxmusl-x64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 11
<location path="package-lock.json" line_range="3485-3500" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-wasm32):** Apache-2.0 AND LGPL-3.0-or-later AND MIT: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later AND MIT` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 12
<location path="package-lock.json" line_range="3520-3538" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-win32-arm64):** Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 13
<location path="package-lock.json" line_range="3539-3557" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-win32-ia32):** Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 14
<location path="package-lock.json" line_range="3558-3576" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-win32-x64):** Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

Linked issues

#533 Upgrade Next.js in the docs app to 15.5.28 · 4 of 4 met

# Requirement Status Notes
1 Upgrade next to ^15.5.28. ✅ Met The docs package and lockfile use Next.js 15.5.28.
2 Replace @next/font/google with next/font/google and drop @next/font. ✅ Met The import uses the built-in font module, and @next/font is no longer a docs dependency.
3 Stop tracking generated next-env.d.ts and ignore it. ✅ Met The generated file is absent; git and both root and docs ESLint ignore files exclude it. The docs ESLint ignore entries also separate out and .next.
4 Check that the static export builds, including with the Read the Docs base path, and renders. ✅ Met The PR reports successful builds with and without the Read the Docs base path, plus a Chromium rendering check of nine pages.

Sourcery assessment

Approval pending. 14 findings to address first.

Blocking findings: package-lock.json:3164, package-lock.json:3180, package-lock.json:3196, package-lock.json:3212, package-lock.json:3228, and 9 more


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
@uniqueg

uniqueg commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

@sourcery-ai review

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've found 14 security issues

Security issues:

  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later AND MIT: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)

Fixed security issues:

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="package-lock.json" line_range="3149-3164" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-darwin-arm64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 2
<location path="package-lock.json" line_range="3165-3180" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-darwin-x64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 3
<location path="package-lock.json" line_range="3181-3196" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-arm):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 4
<location path="package-lock.json" line_range="3197-3212" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-arm64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 5
<location path="package-lock.json" line_range="3213-3228" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-ppc64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 6
<location path="package-lock.json" line_range="3229-3244" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-riscv64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 7
<location path="package-lock.json" line_range="3245-3260" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-s390x):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 8
<location path="package-lock.json" line_range="3261-3276" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-x64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 9
<location path="package-lock.json" line_range="3277-3292" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linuxmusl-arm64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 10
<location path="package-lock.json" line_range="3293-3308" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linuxmusl-x64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 11
<location path="package-lock.json" line_range="3485-3500" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-wasm32):** Apache-2.0 AND LGPL-3.0-or-later AND MIT: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later AND MIT` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 12
<location path="package-lock.json" line_range="3520-3538" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-win32-arm64):** Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 13
<location path="package-lock.json" line_range="3539-3557" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-win32-ia32):** Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 14
<location path="package-lock.json" line_range="3558-3576" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-win32-x64):** Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

Linked issues

#533 Upgrade Next.js in the docs app to 15.5.28 · 4 of 4 met

# Requirement Status Notes
1 Upgrade the docs app to Next.js ^15.5.28. ✅ Met The docs package declares ^15.5.28, and the lockfile resolves Next.js to 15.5.28.
2 Replace @next/font/google with next/font/google and drop @next/font. ✅ Met The app imports from next/font/google, and no @next/font references remain.
3 Stop tracking generated next-env.d.ts and ignore it in git and ESLint. ✅ Met The generated file is absent; gitignore and both root and docs ESLint ignore files exclude it.
4 Check the static export build, including with the Read the Docs base path, and render the output. ✅ Met The PR reports successful builds with and without the Read the Docs base path, plus a browser comparison of nine rendered pages.

Sourcery assessment

Approval pending. 14 findings to address first.

Blocking findings: package-lock.json:3164, package-lock.json:3180, package-lock.json:3196, package-lock.json:3212, package-lock.json:3228, and 9 more


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've found 14 security issues

Security issues:

  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later AND MIT: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)
  • Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source (link)

Fixed security issues:

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="package-lock.json" line_range="3149-3164" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-darwin-arm64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 2
<location path="package-lock.json" line_range="3165-3180" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-darwin-x64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 3
<location path="package-lock.json" line_range="3181-3196" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-arm):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 4
<location path="package-lock.json" line_range="3197-3212" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-arm64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 5
<location path="package-lock.json" line_range="3213-3228" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-ppc64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 6
<location path="package-lock.json" line_range="3229-3244" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-riscv64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 7
<location path="package-lock.json" line_range="3245-3260" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-s390x):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 8
<location path="package-lock.json" line_range="3261-3276" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linux-x64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 9
<location path="package-lock.json" line_range="3277-3292" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linuxmusl-arm64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 10
<location path="package-lock.json" line_range="3293-3308" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-libvips-linuxmusl-x64):** LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 11
<location path="package-lock.json" line_range="3485-3500" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-wasm32):** Apache-2.0 AND LGPL-3.0-or-later AND MIT: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later AND MIT` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 12
<location path="package-lock.json" line_range="3520-3538" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-win32-arm64):** Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 13
<location path="package-lock.json" line_range="3539-3557" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-win32-ia32):** Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

### Comment 14
<location path="package-lock.json" line_range="3558-3576" />
<code_context>

</code_context>
<issue_to_address>
**security (license/@img/sharp-win32-x64):** Apache-2.0 AND LGPL-3.0-or-later: Open-source license can require releasing the entire application source

This `Apache-2.0 AND LGPL-3.0-or-later` open-source license can impose strong copyleft or non-commercial obligations that may require releasing your full application source code or restrict commercial use, depending on how the code is used or distributed

*Source: trivy*
</issue_to_address>

Linked issues

#533 Upgrade Next.js in the docs app to 15.5.28 · 4 of 4 met

# Requirement Status Notes
1 Upgrade next to ^15.5.28. ✅ Met The docs package and lockfile specify Next.js 15.5.28.
2 Replace @next/font/google with next/font/google and drop @next/font. ✅ Met The app imports from next/font/google, and @next/font is removed from its dependencies.
3 Stop tracking next-env.d.ts and ignore it. ✅ Met The file is ignored by Git and by both the root and docs ESLint ignore files.
4 Check that the static export builds with and without the Read the Docs base path, and renders. ✅ Met The PR reports successful builds in both configurations and a headless Chromium rendering check of nine pages.

Sourcery assessment

Approval pending. 14 findings to address first.

Blocking findings: package-lock.json:3164, package-lock.json:3180, package-lock.json:3196, package-lock.json:3212, package-lock.json:3228, and 9 more


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
Comment thread package-lock.json Resolved
@uniqueg

uniqueg commented Nov 1, 2026 •

Copy link
Copy Markdown
Member Author

Merging, overruling @sourcery-ai because it keeps on raising the same issues that were already rejected twice as not applicable here.

@uniqueg
uniqueg merged commit 5395979 into dev Nov 1, 2026
18 of 19 checks passed
@uniqueg
uniqueg deleted the fix/next-15-docs branch November 1, 2026 13:28
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.

Upgrade Next.js in the docs app to 15.5.28

1 participant