Skip to content

chore(deps): bump the npm_and_yarn group across 1 directory with 3 updates#4021

Merged
arii merged 1 commit into
mainfrom
dependabot/npm_and_yarn/npm_and_yarn-5431c3cfac
Jul 26, 2026
Merged

chore(deps): bump the npm_and_yarn group across 1 directory with 3 updates#4021
arii merged 1 commit into
mainfrom
dependabot/npm_and_yarn/npm_and_yarn-5431c3cfac

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 24, 2026

Copy link
Copy Markdown
Contributor

Bumps the npm_and_yarn group with 2 updates in the / directory: sharp and svgo.

Updates sharp from 0.34.5 to 0.35.0

Release notes

Sourced from sharp's releases.

v0.35.0

  • Breaking: Drop support for Node.js 18, now requires Node.js >= 20.9.0.

  • Breaking: Remove install script from package.json file. Compiling from source is now opt-in via the build script.

  • Breaking: Lossy AVIF output is now tuned using SSIMULACRA2-based iq quality metrics.

  • Breaking: Add limitInputChannels with a default value of 5.

  • Breaking: Remove deprecated failOnError constructor property.

  • Breaking: Remove deprecated paletteBitDepth from metadata response.

  • Breaking: Remove deprecated properties from sharpen operation.

  • Breaking: Rename format.jp2k as format.jp2 for API consistency.

  • Upgrade to libvips v8.18.3 for upstream bug fixes.

  • Remove experimental status from WebAssembly binaries.

  • Add prebuilt binaries for FreeBSD (WebAssembly).

  • Deprecate Windows 32-bit (win32-ia32) prebuilt binaries.

  • Ensure TIFF output bitdepth option is limited to 1, 2 or 4.

  • Add AVIF/HEIF tune option for control over quality metrics. #4227

  • Add keepGainMap and withGainMap to process HDR JPEG images with embedded gain maps. #4314

  • Add toUint8Array for output image as a TypedArray backed by a transferable ArrayBuffer. #4355

  • Require prebuilt binaries using static paths to aid code bundling. #4380

  • TypeScript: Ensure FormatEnum keys match reality. #4475

  • Add margin option to trim operation. #4480 @​eddienubes

  • Ensure HEIF primary item is used as default page/frame. #4487

... (truncated)

Commits
  • 2ed5af4 Release v0.35.0
  • 4475cf1 Tests: update locator hash for sharp-libvips v1.3.0
  • deb22dd Upgrade to sharp-libvips v1.3.0
  • 07f1be9 Prerelease v0.35.0-rc.8
  • df1109b Prerelease v0.35.0-rc.7
  • aca49b3 Upgrade to libvips v8.18.3
  • e9e86f5 Type-check density option before range validation (#4536)
  • 2f0bcf0 Docs: update supported image formats
  • 98e03b8 Revert "Guard heif bitdepth property for prebuilt binaries"
  • e4ea2f3 CI: Ignore package minimum age in smoke tests
  • Additional commits viewable in compare view

Updates svgo from 4.0.1 to 4.0.2

Release notes

Sourced from svgo's releases.

v4.0.2

What's Changed

Security

Bug Fixes

Performance

Other Changes

Commits
  • b2309cf chore: sync version with api
  • f529cfc Merge commit from fork
  • 581fe68 performance: speed up mergePath child node removal (#2216)
  • eb4c8b6 docs(removeAttributesBySelector): properly document and check types (#2215)
  • 6fd5872 fix(convertColors): skip convertCase on css custom properties (#2213)
  • 7414f73 fix: properly parse negative (or +) arc radii (#2205)
  • a8c19aa fix: only call encodeSVGDatauri once and add test case (#2053)
  • 65548f4 fix(convertPathData): properly handle consecutive t commands (#2156)
  • a41a7c1 fix(convertPathData): introducing isSafeToRemove (#2164)
  • 38625dd test: handle charm icons (#2203)
  • See full diff in compare view

Updates @hono/node-server from 1.19.14 to 1.19.15

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

…dates

Bumps the npm_and_yarn group with 2 updates in the / directory: [sharp](https://github.com/lovell/sharp) and [svgo](https://github.com/svg/svgo).


Updates `sharp` from 0.34.5 to 0.35.0
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](lovell/sharp@v0.34.5...v0.35.0)

Updates `svgo` from 4.0.1 to 4.0.2
- [Release notes](https://github.com/svg/svgo/releases)
- [Commits](svg/svgo@v4.0.1...v4.0.2)

Updates `@hono/node-server` from 1.19.14 to 1.19.15
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](https://github.com/honojs/node-server/commits)

---
updated-dependencies:
- dependency-name: sharp
  dependency-version: 0.35.0
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: svgo
  dependency-version: 4.0.2
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.15
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies javascript Pull requests that update javascript code labels Jul 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Deployment Details (Last updated: Jul 24, 2026, 10:34 AM PST)

🚀 Pushed to gh-pages; publish in progress

@github-actions

Copy link
Copy Markdown
Contributor

🐙 GitHub Models Code Review

Powered by GitHub Models

Reviewing: PR #4021

Model: gpt-4o-mini

Code Review Feedback

[ARCHITECTURE] Review

The changes in this Pull Request involve updating the versions of two dependencies in the package.json file: sharp and svgo. Here’s the review based on the provided diff:

  1. Correctness:

    • The update of sharp from ^0.34.5 to ^0.35.0 introduces breaking changes as noted in the release notes. Specifically, it drops support for Node.js 18 and requires Node.js >= 20.9.0. This could lead to runtime issues if the current environment does not meet this requirement.
    • The update of svgo from ^4.0.1 to ^4.0.2 appears to be a minor update that includes security fixes and bug improvements. This change should not introduce breaking changes.
  2. Security:

    • The update to svgo addresses security vulnerabilities by improving how it handles JavaScript URIs and other SVG parsing issues. This is a positive change.
  3. Crashes:

    • The update to sharp could potentially cause crashes if the application is still running on Node.js 18 or lower, as it will not be compatible with the new version.
  4. Data Integrity:

    • No immediate concerns regarding data integrity are visible from the diff. However, the breaking changes in sharp could affect how images are processed if the new API is not correctly implemented.
  5. Performance:

    • There are no performance regressions noted in the changes. The updates seem to focus on security and bug fixes.
  6. Maintainability:

    • The updates are straightforward and should not complicate the codebase. However, the breaking changes in sharp will require careful attention to ensure compatibility with the existing code.

Findings

Given the breaking change in sharp, this is a blocking concern that needs to be addressed before merging. The application must ensure it runs on a compatible version of Node.js.

Here’s the JSON output for the findings:

Conclusion

The PR introduces a critical update that requires the application environment to be compatible with the new version of sharp. Therefore, it cannot be merged until this compatibility is ensured.

[PERFORMANCE] Review

The pull request updates the sharp and svgo dependencies in the package.json file. Here are the findings based on the review criteria:

  1. Correctness: The updates to sharp and svgo are minor version bumps and do not introduce breaking changes that would affect the correctness of the application. The new versions are compatible with the existing codebase.

  2. Performance:

    • The update to sharp from 0.34.5 to 0.35.0 includes performance improvements as noted in the release notes. This is a positive change as it may lead to better performance in image processing tasks.
    • The update to svgo from 4.0.1 to 4.0.2 also includes performance enhancements, particularly in the mergePaths plugin, which speeds up child node removal. This is beneficial for optimizing SVG processing.
  3. Maintainability:

    • The updates to both libraries are likely to improve maintainability by ensuring that the project uses the latest features and security patches. Keeping dependencies up to date is a good practice for long-term project health.
  4. Security:

    • The updates do not introduce any new untrusted input paths, and both libraries have addressed security issues in their respective updates, which is a positive aspect.

Overall, the changes made in this pull request are beneficial and do not introduce any blocking issues. The updates are in line with best practices for dependency management.

Here is the JSON output for the findings:

[SECURITY] Review

The changes in this Pull Request involve updating the versions of two dependencies in the package.json file: sharp from 0.34.5 to 0.35.0 and svgo from 4.0.1 to 4.0.2.

Security Review

  1. New Untrusted Input Paths:

    • The update to sharp and svgo does not introduce any new untrusted input paths based on the provided context. Both libraries are widely used and have established security practices. However, it is essential to ensure that any input to these libraries is properly validated and sanitized, especially when dealing with image processing and SVG manipulation.
  2. OWASP Top 10 Considerations:

    • Injection: Ensure that any data passed to sharp or svgo is sanitized to prevent injection attacks. This is particularly relevant for user-uploaded images or SVG files.
    • Sensitive Data Exposure: If these libraries handle sensitive data, ensure that any outputs are appropriately managed to avoid leaks.
  3. Data Validation and Sanitization:

    • While the updates themselves do not introduce new input paths, it is crucial to maintain rigorous validation and sanitization practices for any data processed by these libraries.
  4. Secure Communication:

    • Ensure that any communication with external services (if applicable) is done over HTTPS to protect data in transit.

Findings

No blocking issues were found in the diff regarding security vulnerabilities or new untrusted input paths. The updates appear to be routine dependency bumps without introducing new risks.

Conclusion

The changes in this Pull Request do not introduce any new security concerns or untrusted input paths. It is advisable to continue monitoring the libraries for any future vulnerabilities and ensure that all inputs are validated and sanitized as part of the application’s security practices.

[STYLE] Review

The changes in this Pull Request involve updating the versions of two dependencies in the package.json file: sharp from ^0.34.5 to ^0.35.0 and svgo from ^4.0.1 to ^4.0.2.

Review Findings:

  1. Dependency Bump - sharp

    • Snippet:
      "sharp": "^0.35.0",
    • Issue: The update to sharp introduces breaking changes as noted in the release notes. This could potentially lead to runtime issues if the codebase relies on any of the deprecated features or removed properties.
    • Status: Open
    • Confidence: High
    • Counterexample: If the codebase uses the removed failOnError constructor property or any of the deprecated properties, it will lead to runtime errors.
    • Fix Summary: Ensure that the codebase is updated to accommodate the breaking changes introduced in sharp v0.35.0.
  2. Dependency Bump - svgo

    • Snippet:
      "svgo": "^4.0.2",
    • Issue: The update to svgo includes security improvements and bug fixes. While this is generally positive, it is important to ensure that the new version does not introduce any breaking changes that could affect the current functionality.
    • Status: Open
    • Confidence: Medium
    • Counterexample: If the codebase relies on any specific behavior of the previous version of svgo that has changed in this update, it could lead to unexpected behavior.
    • Fix Summary: Review the release notes for svgo and test the functionality that depends on it to ensure compatibility.

Conclusion:

The updates to the dependencies sharp and svgo may introduce breaking changes that need to be addressed. It is crucial to test the application thoroughly after these updates to ensure that everything functions as expected.


Generated by github-models-code-review

@arii

arii commented Jul 24, 2026

Copy link
Copy Markdown
Owner

🤖 AI Technical Audit

ANTI-AI-SLOP

The automated dependency update successfully passed CI, including E2E and security scans. However, the update to sharp@0.35.0 introduces significant breaking changes that require manual verification of your image processing pipelines. The major version bump includes dropping support for Node.js 18, removing the install script, and renaming format.jp2k to format.jp2. The previous dependency audit was successful, but the deployment impact analysis flagged potential regression risks due to these API changes.

FINAL RECOMMENDATION

Approved with Minor Changes

DEFINITION OF DONE

  • Verify Node.js version in your environment is >= 20.9.0 as per sharp 0.35.0 requirements.
  • Audit codebase for format.jp2k usage and rename to format.jp2.
  • Update sharp constructor logic if failOnError or paletteBitDepth were previously used.
  • Verify tests.
  • Run audit for anti-patterns.
  • Update snapshots if necessary.

Review automatically published via RepoAuditor.

@arii
arii merged commit b5303e7 into main Jul 26, 2026
11 of 12 checks passed
@arii
arii deleted the dependabot/npm_and_yarn/npm_and_yarn-5431c3cfac branch July 26, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved with suggestions dependencies javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant