Skip to content

chore(deps): Bump sharp to ^0.35.4 to resolve security alert - #6711

Merged
antonis merged 1 commit into
mainfrom
chore/bump-sharp-security
Sep 14, 2026
Merged

antonis merged 1 commit into
mainfrom
chore/bump-sharp-security

Conversation

@antonis

@antonis antonis commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Bumps the existing sharp resolution in the root package.json from ^0.35.0 to ^0.35.4, deduping the transitive copy (pulled via @appium/support) to a patched version (0.35.4).

💡 Motivation and Context

Resolves a high-severity Dependabot alert affecting sharp < 0.35.4:

sharp is a dev/build/test-only transitive dependency — it is not a dependency of packages/core and is not shipped in the published @sentry/react-native package, so there is no exposure for SDK consumers.

💚 How did you test it?

  • yarn install — resolves cleanly; sharp dedupes to 0.35.4.

📝 Checklist

  • I added tests to verify changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed. (n/a — dev tooling only)
  • I updated the wizard if needed. (n/a)
  • All tests passing.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec. (n/a — no API change)
  • No breaking changes.

🔮 Next steps

  • Separate PRs cover the js-yaml, morgan, smol-toml, and joi Dependabot alerts.

🤖 Generated with Claude Code

Bumps the existing sharp resolution from ^0.35.0 to ^0.35.4, deduping
the transitive copy (pulled via @appium/support) to a patched version
(0.35.4), resolving a high-severity Dependabot alert for libheif
vulnerabilities bundled in sharp (GHSA-g89c-p67h-r497,
GHSA-2jg2-4ch7-h545).

sharp is a dev/build/test-only transitive dependency; it is not a
dependency of packages/core and is not shipped in @sentry/react-native.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

⚪ None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): Bump sharp to ^0.35.4 to resolve security alert by antonis in #6711
  • fix(core): Fix process.exit typo in debugid script by friederbluemle in #6707
  • chore(ci): Only build production builds for visionOS and tvOS by antonis in #6700
  • chore(deps): update Sentry Android Gradle Plugin to v6.22.0 by github-actions in #6699

🤖 This preview updates automatically when you update the PR.

@antonis antonis added the ready-to-merge Triggers the full CI test suite label Sep 14, 2026
@antonis
antonis marked this pull request as ready for review September 14, 2026 07:25
@github-actions

Copy link
Copy Markdown
Contributor

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 3873.50 ms 1240.18 ms -2633.32 ms
Size 5.15 MiB 6.89 MiB 1.74 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
7a89652+dirty 3861.46 ms 1229.61 ms -2631.85 ms
eb55864+dirty 3869.04 ms 1241.75 ms -2627.29 ms
5b7e8a7+dirty 3851.22 ms 1223.79 ms -2627.43 ms
5fe1c6c+dirty 1220.79 ms 1217.63 ms -3.16 ms
fa21fca+dirty 3840.43 ms 1224.42 ms -2616.02 ms
580fb5c+dirty 3836.13 ms 1218.72 ms -2617.41 ms
94af3bd+dirty 3849.30 ms 1235.15 ms -2614.15 ms
a2585ce+dirty 3822.57 ms 1221.30 ms -2601.27 ms
f3215d3+dirty 3842.73 ms 1219.33 ms -2623.40 ms
a216cb9+dirty 3839.33 ms 1225.26 ms -2614.07 ms

App size

Revision Plain With Sentry Diff
7a89652+dirty 5.15 MiB 6.70 MiB 1.55 MiB
eb55864+dirty 5.15 MiB 6.88 MiB 1.73 MiB
5b7e8a7+dirty 5.15 MiB 6.70 MiB 1.54 MiB
5fe1c6c+dirty 3.38 MiB 4.77 MiB 1.39 MiB
fa21fca+dirty 4.98 MiB 6.55 MiB 1.57 MiB
580fb5c+dirty 4.98 MiB 6.46 MiB 1.48 MiB
94af3bd+dirty 5.15 MiB 6.69 MiB 1.53 MiB
a2585ce+dirty 4.98 MiB 6.55 MiB 1.57 MiB
f3215d3+dirty 5.15 MiB 6.67 MiB 1.52 MiB
a216cb9+dirty 4.98 MiB 6.51 MiB 1.53 MiB

@github-actions

Copy link
Copy Markdown
Contributor

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 426.62 ms 450.50 ms 23.88 ms
Size 50.56 MiB 56.49 MiB 5.93 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
f3215d3+dirty 411.11 ms 454.38 ms 43.27 ms
af33f3b+dirty 434.90 ms 506.14 ms 71.24 ms
c2e182c+dirty 471.64 ms 553.59 ms 81.95 ms
5ca03f9+dirty 423.30 ms 467.00 ms 43.70 ms
a5d243c+dirty 424.52 ms 485.18 ms 60.66 ms
bc8f61e+dirty 442.98 ms 506.56 ms 63.58 ms
c823bb5+dirty 409.87 ms 478.57 ms 68.70 ms
d387874+dirty 438.69 ms 453.77 ms 15.08 ms
b0d3373+dirty 557.66 ms 579.42 ms 21.76 ms
0bd8916+dirty 412.77 ms 451.31 ms 38.54 ms

App size

Revision Plain With Sentry Diff
f3215d3+dirty 48.30 MiB 53.49 MiB 5.19 MiB
af33f3b+dirty 49.74 MiB 55.09 MiB 5.35 MiB
c2e182c+dirty 49.74 MiB 54.85 MiB 5.11 MiB
5ca03f9+dirty 49.74 MiB 55.26 MiB 5.52 MiB
a5d243c+dirty 48.30 MiB 53.54 MiB 5.23 MiB
bc8f61e+dirty 49.74 MiB 55.09 MiB 5.35 MiB
c823bb5+dirty 48.30 MiB 53.58 MiB 5.28 MiB
d387874+dirty 49.74 MiB 55.44 MiB 5.70 MiB
b0d3373+dirty 48.30 MiB 53.58 MiB 5.28 MiB
0bd8916+dirty 48.30 MiB 53.57 MiB 5.26 MiB

@github-actions

Copy link
Copy Markdown
Contributor

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 417.35 ms 468.42 ms 51.07 ms
Size 50.56 MiB 56.49 MiB 5.93 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
ae37560+dirty 428.96 ms 456.86 ms 27.90 ms
d7d54c6+dirty 423.54 ms 498.56 ms 75.02 ms
5ca03f9+dirty 412.83 ms 459.40 ms 46.57 ms
44abcc2+dirty 554.18 ms 578.85 ms 24.66 ms
8929511+dirty 469.49 ms 502.65 ms 33.16 ms
0a147b2+dirty 442.80 ms 522.24 ms 79.44 ms
09a902f+dirty 423.02 ms 472.18 ms 49.16 ms
18a8255+dirty 410.50 ms 444.35 ms 33.85 ms
eb93136+dirty 500.37 ms 532.58 ms 32.21 ms
890d145+dirty 486.42 ms 514.85 ms 28.43 ms

App size

Revision Plain With Sentry Diff
ae37560+dirty 48.30 MiB 53.60 MiB 5.29 MiB
d7d54c6+dirty 49.74 MiB 55.09 MiB 5.34 MiB
5ca03f9+dirty 49.74 MiB 55.26 MiB 5.52 MiB
44abcc2+dirty 49.74 MiB 55.36 MiB 5.62 MiB
8929511+dirty 43.94 MiB 49.02 MiB 5.08 MiB
0a147b2+dirty 49.74 MiB 55.08 MiB 5.34 MiB
09a902f+dirty 49.74 MiB 54.81 MiB 5.07 MiB
18a8255+dirty 49.74 MiB 55.38 MiB 5.64 MiB
eb93136+dirty 48.30 MiB 53.58 MiB 5.28 MiB
890d145+dirty 43.94 MiB 49.00 MiB 5.06 MiB

@github-actions

Copy link
Copy Markdown
Contributor

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 3862.40 ms 1236.53 ms -2625.87 ms
Size 5.15 MiB 6.89 MiB 1.74 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
5fe1c6c+dirty 1201.36 ms 1209.15 ms 7.78 ms
7c6200e+dirty 3828.16 ms 1217.20 ms -2610.95 ms
41d6254+dirty 3849.78 ms 1233.91 ms -2615.86 ms
5789645+dirty 3841.36 ms 1214.81 ms -2626.55 ms
a9df5ce+dirty 3856.02 ms 1225.22 ms -2630.80 ms
9c84b9a+dirty 3833.41 ms 1221.79 ms -2611.62 ms
1a2e7e0+dirty 3852.95 ms 1233.78 ms -2619.18 ms
a636fa4+dirty 3846.16 ms 1210.10 ms -2636.05 ms
9b5615c+dirty 3837.21 ms 1215.33 ms -2621.89 ms
3d31fcf+dirty 3857.46 ms 1237.17 ms -2620.29 ms

App size

Revision Plain With Sentry Diff
5fe1c6c+dirty 3.38 MiB 4.77 MiB 1.39 MiB
7c6200e+dirty 5.08 MiB 6.68 MiB 1.60 MiB
41d6254+dirty 5.15 MiB 6.70 MiB 1.54 MiB
5789645+dirty 4.98 MiB 6.50 MiB 1.52 MiB
a9df5ce+dirty 4.98 MiB 6.55 MiB 1.57 MiB
9c84b9a+dirty 4.98 MiB 6.55 MiB 1.57 MiB
1a2e7e0+dirty 4.98 MiB 6.46 MiB 1.49 MiB
a636fa4+dirty 4.98 MiB 6.55 MiB 1.57 MiB
9b5615c+dirty 4.98 MiB 6.51 MiB 1.53 MiB
3d31fcf+dirty 4.98 MiB 6.56 MiB 1.58 MiB

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The failed checks are unrelated and should be fixed with #6719

@antonis
antonis merged commit 23bb28a into main Sep 14, 2026
128 of 136 checks passed
@antonis
antonis deleted the chore/bump-sharp-security branch September 14, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants