Repository navigation
fix(deps): upgrade next to 15.5.28 in docs - #534
Conversation
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]>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThe 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
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
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-ai review |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Documentation build overview
43 files changed ·
|
|
Merging, overruling @sourcery-ai because it keeps on raising the same issues that were already rejected twice as not applicable here. |
Summary
Upgrades
nextin 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.@next/font/google(fails with Next.js 15) with the built-innext/font/google, and drop the@next/fontdependency. Nextra 2.13.4 andnextra-theme-docssupport Next.js 15 (peernext >=9.5.3), as does@lit-labs/nextjs(13 || 14 || 15), so no Nextra migration is needed.next-env.d.tson 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), ascreate-next-appdoes. Also split theout.nextline of the docs'.eslintignore(missing line break) intooutand.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 devreachable from an untrusted network.No docs change: no documentation mentions the Next.js version,
@next/fontornext-env.d.ts.Closes #533
Verification
npx turbo run build --filter=ecc-docs...: passes (47 static pages), also withREADTHEDOCS_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.dev: all pages 200, same headings, allecc-*custom elements defined with shadow roots. The home page throwsgetSelectId is not a functionthree 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.turbobuild of the docs.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
.eslintignorenow also ignores the generated file (it applies when ESLint runs from the repo root). Declined (low):next/font/googleimport of_app.tsx: the line already used them before; kept to keep the diff minimal (Prettier is off for the docs app).nextto~15.5.28because Nextra 2 is unmaintained: the lockfile pins the version, and^matches the repo's other ranges and Dependabot's update.sharpbinaries in the lockfile: npm's default for optional platform packages; unused by the static export.@img/sharp-*/ libvips binaries, optional dependencies of Next.js 15). Answered and resolved: libvips is a dynamically loaded shared library, and nothing fromsharpis distributed (static export withimages.unoptimized: true; Read the Docs and the nginx image ship onlyapps/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:
Enhancements: