Skip to content

chore(deps): bump sharp and looks-same - #39

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-569d673990
Open

chore(deps): bump sharp and looks-same#39
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-569d673990

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps sharp and looks-same. These dependencies needed to be updated together.
Updates sharp from 0.34.3 to 0.35.3

Release notes

Sourced from sharp's releases.

v0.35.3

  • Tighten verification of text dimensions, TIFF tile dimensions and extend values.

  • Improve code bundler support by resolving path to libvips binary.

  • Increase default concurrency when use of MALLOC_ARENA_MAX is detected.

  • Emit warning about binaries provided by Electron for use on Linux.

  • Add hasAlpha property to output info. #4500

  • TypeScript: Return more precise Buffer<ArrayBuffer> from toBuffer. #4520 @​Andarist

  • Bound clahe width and height to avoid signed overflow. #4551 @​metsw24-max

  • Bound trim margin to avoid signed overflow. #4552 @​metsw24-max

  • Reject infinite values when validating numbers. #4553 @​metsw24-max

  • Bound extract region to libvips coordinate limit. #4555 @​metsw24-max

  • Verify background colour values are numbers. #4556 @​metsw24-max

  • Bound create and raw input dimensions to coordinate limit. #4558 @​metsw24-max

  • Tighten recomb and affine matrix verification. #4560 @​chatman-media

  • Verify cache memory limit to avoid overflow. #4561 @​metsw24-max

v0.35.3-rc.2

  • Tighten verification of text dimensions, TIFF tile dimensions and extend values.

... (truncated)

Commits
  • 1018449 Release v0.35.3
  • ba303a7 Prerelease v0.35.3-rc.2
  • 4f94fc5 Upgrade to sharp-libvips v1.3.2
  • c5e7a3f Bump devDeps, fix Deno/Windows smoke tests
  • 9a8d002 Docs: Add changelog entry and note about transferable #4520
  • 8694db0 TypeScript: Return more precise Buffer\<ArrayBuffer> from toBuffer (#4520)
  • e000d0b Prerelease v0.35.3-rc.1
  • 9554ca9 Prerelease v0.35.3-rc.0
  • 6a29fd5 Emit warning about native binaries on Linux Electron
  • 540d2ea Increase default concurrency when use of MALLOC_ARENA_MAX detected
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for sharp since your current version.


Updates looks-same from 9.0.0 to 10.0.1

Release notes

Sourced from looks-same's releases.

v10.0.0

What's new

  • In this release, we got rid of sharp. Now "looks-same" package has no compiled dependencies, so there should be no errors trying to install looks-same version on old/new version of node.js.
  • Increased performance when comparing images with lots of different pixels (up to 3x)
  • Improved result difference images compression
  • Reduced total "node_modules" size (41M -> 660K)

💣 Breaking changes

  • formats, other than png, are not supported

Dependencies size change:

Before:

❯ pnpm add looks-same@9
Packages: +65
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 65, reused 50, downloaded 15, added 65, done
node_modules/.pnpm/sharp@0.32.6/node_modules/sharp: Running install script, done in 2.7s

dependencies:

  • looks-same 9.0.1

Done in 5s

❯ du -cksh *(D) | sort -hr
 41M	total
 41M	node_modules
 16K	pnpm-lock.yaml
4.0K	package.json

After:

❯ pnpm add looks-same@10
Packages: +7
+++++++
Progress: resolved 7, reused 5, downloaded 2, added 7, done

dependencies:

  • looks-same 10.0.0

Done in 1.3s

❯ du -cksh *(D) | sort -hr
668K	total
660K	node_modules
</tr></table> 

... (truncated)

Changelog

Sourced from looks-same's changelog.

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

10.0.0 (2025-08-18)

⚠ BREAKING CHANGES

  • migrate sharp -> jsquash/png
  • node versions less than 18.0.0 are no longer supported

Features

  • drop node versions less than 18 (1f0097c)

Bug Fixes

9.0.1 (2024-08-09)

Bug Fixes

  • remove async from index.d.ts (59a6a1c)
Commits
  • aa0be37 10.0.1
  • be61eec Merge pull request #115 from gemini-testing/TESTPLANE-653.refactor
  • fb640e9 refactor: use buffer subarrays
  • 7e12fe8 chore(release): 10.0.0
  • 07665fc Merge pull request #114 from gemini-testing/TRIVIAL.remove_extra_deps
  • 28533c1 chore: remove extra deps
  • fbd86df Merge pull request #113 from gemini-testing/TESTPLANE-653.bin
  • 982b367 docs(benchmark): update benchmarks
  • 89cf122 chore!: migrate sharp -> jsquash/png
  • ea3dc47 chore: reduce deps size
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by CodeRabbit

  • Chores
    • Updated image-processing and visual-comparison dependencies to newer versions.
    • No user-facing features or behavior changes.

Bumps [sharp](https://github.com/lovell/sharp) and [looks-same](https://github.com/gemini-testing/looks-same). These dependencies needed to be updated together.

Updates `sharp` from 0.34.3 to 0.35.3
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](lovell/sharp@v0.34.3...v0.35.3)

Updates `looks-same` from 9.0.0 to 10.0.1
- [Release notes](https://github.com/gemini-testing/looks-same/releases)
- [Changelog](https://github.com/gemini-testing/looks-same/blob/master/CHANGELOG.md)
- [Commits](gemini-testing/looks-same@v9.0.0...v10.0.1)

---
updated-dependencies:
- dependency-name: sharp
  dependency-version: 0.35.3
  dependency-type: direct:production
- dependency-name: looks-same
  dependency-version: 10.0.1
  dependency-type: direct:development
...

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

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Changes

Dependency version updates

Layer / File(s) Summary
Package dependency ranges
package.json
Updates looks-same to ^10.0.1 and sharp to ^0.35.3.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A bunny checks the package nest,
Two fresh versions pass the test.
Looks-same hops, sharp shines bright,
Tiny bumps make builds feel light.
The lockstep garden grows just right.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: bumping the sharp and looks-same dependencies.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/multi-569d673990

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

package.json

Oops! Something went wrong! :(

ESLint: 8.57.1

Error: ESLint configuration in --config is invalid:

  • Unexpected top-level property "__esModule".

    at ConfigValidator.validateConfigSchema (/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2177:19)
    at ConfigArrayFactory._normalizeConfigData (/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3019:19)
    at ConfigArrayFactory._loadConfigData (/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2984:21)
    at ConfigArrayFactory.loadFile (/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2850:40)
    at createCLIConfigArray (/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3660:35)
    at new CascadingConfigArrayFactory (/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3735:29)
    at new CLIEngine (/node_modules/eslint/lib/cli-engine/cli-engine.js:617:36)
    at new ESLint (/node_modules/eslint/lib/eslint/eslint.js:430:27)
    at Object.execute (/node_modules/eslint/lib/cli.js:410:24)
    at async main (/node_modules/eslint/bin/eslint.js:152:22)


Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 99: Update the package.json engines.node requirement from Node.js >=18 to
>=20.9.0 to match sharp@0.35.3, while preserving the existing sharp dependency
declaration.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 893f65e0-30e4-4f54-b821-fff7ad172c83

📥 Commits

Reviewing files that changed from the base of the PR and between c526a91 and c0d6179.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"color-string": "^1.9.1",
"js-base64": "^3.7.7",
"sharp": "^0.34.3"
"sharp": "^0.35.3"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
npm view sharp@0.35.3 engines --json
rg -n '"node"\s*:' package.json

Repository: Short-io/qreator

Length of output: 394


Raise the Node.js engine to match sharp@0.35.3.

sharp@0.35.3 requires Node.js >=20.9.0, but this package still advertises >=18. Node 18 consumers can pass the engine check and then fail to install or load sharp.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 99, Update the package.json engines.node requirement
from Node.js >=18 to >=20.9.0 to match sharp@0.35.3, while preserving the
existing sharp dependency declaration.

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

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants