Skip to content

[Snyk] Upgrade @sentry/browser from 9.10.0 to 9.17.0 #386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2025

Conversation

reisene
Copy link
Owner

@reisene reisene commented May 30, 2025

reisene Powered by Pull Request Badge

snyk-top-banner

Snyk has created this PR to upgrade @sentry/browser from 9.10.0 to 9.17.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 9 versions ahead of your current version.

  • The recommended version was released 22 days ago.

Release notes
Package name: @sentry/browser
  • 9.17.0 - 2025-05-08
    • feat(node): Migrate to @ fastify/otel (#15542)

    Bundle size 📦

    Path Size
    @ sentry/browser 23.35 KB
    @ sentry/browser - with treeshaking flags 23.19 KB
    @ sentry/browser (incl. Tracing) 37.25 KB
    @ sentry/browser (incl. Tracing, Replay) 74.47 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.34 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 79.12 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 90.93 KB
    @ sentry/browser (incl. Feedback) 39.75 KB
    @ sentry/browser (incl. sendFeedback) 27.98 KB
    @ sentry/browser (incl. FeedbackAsync) 32.74 KB
    @ sentry/react 25.16 KB
    @ sentry/react (incl. Tracing) 39.24 KB
    @ sentry/vue 27.63 KB
    @ sentry/vue (incl. Tracing) 39.01 KB
    @ sentry/svelte 23.38 KB
    CDN Bundle 24.55 KB
    CDN Bundle (incl. Tracing) 37.29 KB
    CDN Bundle (incl. Tracing, Replay) 72.33 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 77.64 KB
    CDN Bundle - uncompressed 71.62 KB
    CDN Bundle (incl. Tracing) - uncompressed 110.34 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 221.63 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.15 KB
    @ sentry/nextjs (client) 40.84 KB
    @ sentry/sveltekit (client) 37.73 KB
    @ sentry/node 151.37 KB
    @ sentry/node - without tracing 95.77 KB
    @ sentry/aws-serverless 120.16 KB
  • 9.16.1 - 2025-05-07
    • fix(core): Make sure logs get flushed in server-runtime-client (#16222)
    • ref(node): Remove vercel flushing code that does nothing (#16217)

    Bundle size 📦

    Path Size
    @ sentry/browser 23.35 KB
    @ sentry/browser - with treeshaking flags 23.19 KB
    @ sentry/browser (incl. Tracing) 37.25 KB
    @ sentry/browser (incl. Tracing, Replay) 74.47 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.34 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 79.12 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 90.93 KB
    @ sentry/browser (incl. Feedback) 39.75 KB
    @ sentry/browser (incl. sendFeedback) 27.98 KB
    @ sentry/browser (incl. FeedbackAsync) 32.74 KB
    @ sentry/react 25.16 KB
    @ sentry/react (incl. Tracing) 39.24 KB
    @ sentry/vue 27.63 KB
    @ sentry/vue (incl. Tracing) 39.01 KB
    @ sentry/svelte 23.38 KB
    CDN Bundle 24.55 KB
    CDN Bundle (incl. Tracing) 37.29 KB
    CDN Bundle (incl. Tracing, Replay) 72.33 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 77.64 KB
    CDN Bundle - uncompressed 71.62 KB
    CDN Bundle (incl. Tracing) - uncompressed 110.34 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 221.63 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.15 KB
    @ sentry/nextjs (client) 40.84 KB
    @ sentry/sveltekit (client) 37.73 KB
    @ sentry/node 143.93 KB
    @ sentry/node - without tracing 95.77 KB
    @ sentry/aws-serverless 120.16 KB
  • 9.16.0 - 2025-05-07

    Important changes

    • feat: Create a Vite plugin that injects sentryConfig into the global config (#16197)

    Add a new plugin makeConfigInjectorPlugin within our existing vite plugin that updates the global vite config with sentry options

    • feat(browser): Add option to sample linked traces consistently (#16037)

    This PR implements consistent sampling across traces as outlined in (#15754)

    • feat(cloudflare): Add support for durable objects (#16180)

    This PR introduces a new instrumentDurableObjectWithSentry method to the SDK, which instruments durable objects. We capture both traces and errors automatically.

    • feat(node): Add Prisma integration by default (#16073)

    Prisma integration is enabled by default, it should work for both ESM and CJS.

    • feat(react-router): Add client-side router instrumentation (#16185)

    Adds client-side instrumentation for react router's HydratedRouter. To enable it, simply replace browserTracingIntegration() with reactRouterTracingIntegration() in your client-side init call.

    • fix(node): Avoid double-wrapping http module (#16177)

    When running your application in ESM mode, there have been scenarios that resulted in the http/https emitting duplicate spans for incoming requests. This was apparently caused by us double-wrapping the modules for incoming request isolation.

    In order to solve this problem, the modules are no longer monkey patched by us for request isolation. Instead, we register diagnosticschannel hooks to handle request isolation now.
    While this is generally not expected to break anything, there is one tiny change that _may
    affect you if you have been relying on very specific functionality:

    The ignoreOutgoingRequests option of httpIntegration receives the RequestOptions as second argument. This type is not changed, however due to how the wrapping now works, we no longer pass through the full RequestOptions, but re-construct this partially based on the generated request. For the vast majority of cases, this should be fine, but for the sake of completeness, these are the only fields that may be available there going forward - other fields that may have existed before may no longer be set:

    ignoreOutgoingRequests(url: string, {
      method: string;
      protocol: string;
      host: string;
      hostname: string; // same as host
      path: string;
      headers: OutgoingHttpHeaders;
    })

    Other changes

    • feat(cloudflare): Add logs exports (#16165)
    • feat(vercel-edge): Add logs export (#16166)
    • feat(cloudflare): Read SENTRY_RELEASE from env (#16201)
    • feat(node): Drop http.server spans with 404 status by default (#16205)
    • fix(browser): Respect manually set sentry tracing headers in XHR requests (#16184)
    • fix(core): Respect manually set sentry tracing headers in fetch calls (#16183)
    • fix(feedback): Prevent removeFromDom() from throwing (#16030)
    • fix(node): Use class constructor in docstring for winston transport (#16167)
    • fix(node): Fix vercel flushing logic & add test for it (#16208)
    • fix(node): Fix 404 route handling in express 5 (#16211)
    • fix(logs): Ensure logs can be flushed correctly (#16216)
    • ref(core): Switch to standardized log envelope (#16133)

    Bundle size 📦

    Path Size
    @ sentry/browser 23.35 KB
    @ sentry/browser - with treeshaking flags 23.19 KB
    @ sentry/browser (incl. Tracing) 37.25 KB
    @ sentry/browser (incl. Tracing, Replay) 74.47 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.34 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 79.12 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 90.93 KB
    @ sentry/browser (incl. Feedback) 39.75 KB
    @ sentry/browser (incl. sendFeedback) 27.98 KB
    @ sentry/browser (incl. FeedbackAsync) 32.74 KB
    @ sentry/react 25.16 KB
    @ sentry/react (incl. Tracing) 39.24 KB
    @ sentry/vue 27.63 KB
    @ sentry/vue (incl. Tracing) 39.01 KB
    @ sentry/svelte 23.38 KB
    CDN Bundle 24.55 KB
    CDN Bundle (incl. Tracing) 37.29 KB
    CDN Bundle (incl. Tracing, Replay) 72.33 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 77.64 KB
    CDN Bundle - uncompressed 71.62 KB
    CDN Bundle (incl. Tracing) - uncompressed 110.34 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 221.63 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.15 KB
    @ sentry/nextjs (client) 40.84 KB
    @ sentry/sveltekit (client) 37.73 KB
    @ sentry/node 144.43 KB
    @ sentry/node - without tracing 96.3 KB
    @ sentry/aws-serverless 120.66 KB
  • 9.15.0 - 2025-04-29

    Important Changes

    • feat: Export wrapMcpServerWithSentry from server packages (#16127)

    Exports the wrapMcpServerWithSentry which is our MCP server instrumentation from all the server packages.

    • feat(core): Associate resource/tool/prompt invocations with request span instead of response span (#16126)

    Adds a best effort mechanism to associate handler spans for resource, tool and prompt with the incoming message requests instead of the outgoing SSE response.

    Other Changes

    • fix: Vercel ai ESM patching (#16152)
    • fix(node): Update version range for module.register (#16125)
    • fix(react-router): Spread unstable_sentryVitePluginOptions correctly (#16156)
    • fix(react): Fix Redux integration failing with reducer injection (#16106)
    • fix(remix): Add ESM-compatible exports (#16124)
    • fix(remix): Avoid rewrapping root loader. (#16136)

    Work in this release was contributed by @ AntoineDuComptoirDesPharmacies. Thank you for your contribution!

    Bundle size 📦

    Path Size
    @ sentry/browser 23.28 KB
    @ sentry/browser - with treeshaking flags 23.1 KB
    @ sentry/browser (incl. Tracing) 36.93 KB
    @ sentry/browser (incl. Tracing, Replay) 74.1 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.47 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 78.76 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 90.58 KB
    @ sentry/browser (incl. Feedback) 39.68 KB
    @ sentry/browser (incl. sendFeedback) 27.9 KB
    @ sentry/browser (incl. FeedbackAsync) 32.67 KB
    @ sentry/react 25.09 KB
    @ sentry/react (incl. Tracing) 38.93 KB
    @ sentry/vue 27.5 KB
    @ sentry/vue (incl. Tracing) 38.69 KB
    @ sentry/svelte 23.31 KB
    CDN Bundle 24.49 KB
    CDN Bundle (incl. Tracing) 36.96 KB
    CDN Bundle (incl. Tracing, Replay) 72 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 77.3 KB
    CDN Bundle - uncompressed 71.5 KB
    CDN Bundle (incl. Tracing) - uncompressed 109.33 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 220.62 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 233.15 KB
    @ sentry/nextjs (client) 40.51 KB
    @ sentry/sveltekit (client) 37.41 KB
    @ sentry/node 143.4 KB
    @ sentry/node - without tracing 96.49 KB
    @ sentry/aws-serverless 120.81 KB
  • 9.14.0 - 2025-04-23
  • 9.13.0 - 2025-04-16
  • 9.12.0 - 2025-04-08
  • 9.11.0 - 2025-04-03
  • 9.10.1 - 2025-03-28
  • 9.10.0 - 2025-03-27
from @sentry/browser GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Podsumowanie od Sourcery

Prace porządkowe:

  • Aktualizacja @sentry/browser z wersji 9.10.0 do 9.17.0 w zależnościach i pliku blokady (lockfile)
Original summary in English

Summary by Sourcery

Chores:

  • Bump @sentry/browser from 9.10.0 to 9.17.0 in dependencies and lockfile

Snyk has created this PR to upgrade @sentry/browser from 9.10.0 to 9.17.0.

See this package in npm:
@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/reisene/project/3b48baaa-833b-4239-b348-16091472ee83?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link
Contributor

aviator-app bot commented May 30, 2025

Aviator Changeset actions:

Copy link
Contributor

aviator-app bot commented May 30, 2025

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.


See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

Copy link

semanticdiff-com bot commented May 30, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  package-lock.json  41% smaller
  package.json  0% smaller

Copy link

Please follow naming conventions! 😿

Copy link
Contributor

coderabbitai bot commented May 30, 2025

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

snyk-io bot commented May 30, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

Copy link
Contributor

sourcery-ai bot commented May 30, 2025

Przewodnik Recenzenta

Zaktualizuj zależność @sentry/browser z wersji 9.10.0 do 9.17.0, aktualizując wersję w pliku package.json i regenerując plik blokady, aby uchwycić nowe rozwiązanie zależności.

Diagram Sekwencji: Raportowanie Telemetrii z Zaktualizowanym @sentry/browser

sequenceDiagram
    participant UserApp as "Aplikacja Użytkownika"
    participant SentryLib as "@sentry/browser v9.17.0"
    participant SentryService as "Usługa Sentry"

    UserApp->>SentryLib: captureException(error)
    activate SentryLib
    SentryLib->>SentryService: Przesyłanie Danych o Błędach (potencjalnie z ulepszeniami/poprawkami v9.17.0)
    activate SentryService
    SentryService-->>SentryLib: Potwierdzenie
    deactivate SentryService
    SentryLib-->>UserApp: Powrót
    deactivate SentryLib

    UserApp->>SentryLib: startTransaction(context)
    activate SentryLib
    SentryLib->>SentryService: Przesyłanie Danych o Wydajności (potencjalnie z ulepszeniami/poprawkami v9.17.0)
    activate SentryService
    SentryService-->>SentryLib: Potwierdzenie
    deactivate SentryService
    SentryLib-->>UserApp: Powrót
    deactivate SentryLib
Loading

Zmiany na Poziomie Pliku

Zmiana Szczegóły Pliki
Aktualizacja wersji @sentry/browser
  • Zaktualizowano wpis @sentry/browser w package.json z ^9.10.0 na ^9.17.0
package.json
Regeneracja wpisów pliku blokady
  • Odświeżono package-lock.json, aby odzwierciedlał zaktualizowaną wersję @sentry/browser i jej drzewo zależności
package-lock.json

Wskazówki i polecenia

Interakcja z Sourcery

  • Uruchom nową recenzję: Skomentuj @sourcery-ai review w żądaniu pull request.
  • Kontynuuj dyskusje: Odpowiadaj bezpośrednio na komentarze recenzji Sourcery.
  • Wygeneruj zgłoszenie GitHub z komentarza recenzji: Poproś Sourcery o utworzenie
    zgłoszenia z komentarza recenzji, odpowiadając na niego. Możesz również odpowiedzieć na
    komentarz recenzji za pomocą @sourcery-ai issue, aby utworzyć z niego zgłoszenie.
  • Wygeneruj tytuł żądania pull request: Napisz @sourcery-ai w dowolnym miejscu w tytule
    żądania pull request, aby wygenerować tytuł w dowolnym momencie. Możesz również skomentować
    @sourcery-ai title w żądaniu pull request, aby (ponownie) wygenerować tytuł w dowolnym momencie.
  • Wygeneruj podsumowanie żądania pull request: Napisz @sourcery-ai summary w dowolnym miejscu
    w treści żądania pull request, aby wygenerować podsumowanie PR w dowolnym momencie, dokładnie tam, gdzie
    chcesz. Możesz również skomentować @sourcery-ai summary w żądaniu pull request, aby
    (ponownie) wygenerować podsumowanie w dowolnym momencie.
  • Wygeneruj przewodnik recenzenta: Skomentuj @sourcery-ai guide w żądaniu pull
    request, aby (ponownie) wygenerować przewodnik recenzenta w dowolnym momencie.
  • Rozwiąż wszystkie komentarze Sourcery: Skomentuj @sourcery-ai resolve w żądaniu
    pull request, aby rozwiązać wszystkie komentarze Sourcery. Przydatne, jeśli już
    odniosłeś się do wszystkich komentarzy i nie chcesz ich więcej widzieć.
  • Odrzuć wszystkie recenzje Sourcery: Skomentuj @sourcery-ai dismiss w żądaniu pull
    request, aby odrzucić wszystkie istniejące recenzje Sourcery. Szczególnie przydatne, jeśli
    chcesz zacząć od nowa z nową recenzją - nie zapomnij skomentować
    @sourcery-ai review, aby uruchomić nową recenzję!

Dostosowywanie Doświadczenia

Uzyskaj dostęp do swojego panelu, aby:

  • Włączyć lub wyłączyć funkcje recenzji, takie jak podsumowanie żądania pull request
    wygenerowane przez Sourcery, przewodnik recenzenta i inne.
  • Zmienić język recenzji.
  • Dodawać, usuwać lub edytować niestandardowe instrukcje recenzji.
  • Dostosować inne ustawienia recenzji.

Uzyskiwanie Pomocy

Original review guide in English

Reviewer's Guide

Upgrade the @sentry/browser dependency from 9.10.0 to 9.17.0 by updating the version in package.json and regenerating the lockfile to capture the new dependency resolution.

Sequence Diagram: Telemetry Reporting with Updated @sentry/browser

sequenceDiagram
    participant UserApp as "User Application"
    participant SentryLib as "@sentry/browser v9.17.0"
    participant SentryService as "Sentry Service"

    UserApp->>SentryLib: captureException(error)
    activate SentryLib
    SentryLib->>SentryService: Transmit Error Data (potentially with v9.17.0 enhancements/fixes)
    activate SentryService
    SentryService-->>SentryLib: Acknowledgment
    deactivate SentryService
    SentryLib-->>UserApp: Return
    deactivate SentryLib

    UserApp->>SentryLib: startTransaction(context)
    activate SentryLib
    SentryLib->>SentryService: Transmit Performance Data (potentially with v9.17.0 enhancements/fixes)
    activate SentryService
    SentryService-->>SentryLib: Acknowledgment
    deactivate SentryService
    SentryLib-->>UserApp: Return
    deactivate SentryLib
Loading

File-Level Changes

Change Details Files
Bump @sentry/browser version
  • Updated the @sentry/browser entry in package.json from ^9.10.0 to ^9.17.0
package.json
Regenerate lockfile entries
  • Refreshed package-lock.json to reflect the upgraded @sentry/browser version and its dependency tree
package-lock.json

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

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Hello @reisene, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

Hello team, gemini-code-assist here with a summary of this pull request. This PR, automatically generated by Snyk, aims to upgrade the @sentry/browser dependency from version 9.10.0 to 9.17.0. This is a significant version jump, covering 9 minor releases, and includes various fixes, features, and internal dependency updates as detailed in the Snyk description's release notes. The primary goal is to keep the project's dependencies up-to-date, which helps in addressing existing vulnerabilities and quickly identifying new ones.

Highlights

  • Dependency Upgrade: The core change is the upgrade of the @sentry/browser package from version 9.10.0 to 9.17.0.
  • Internal Dependency Updates: Related internal Sentry packages (@sentry-internal/browser-utils, @sentry-internal/feedback, @sentry-internal/replay, @sentry-internal/replay-canvas, @sentry/core) are also updated to version 9.17.0.
  • Dependency Tree Cleanup: The package-lock.json shows the removal of nested @sentry/core entries under other Sentry packages (@sentry/node, @sentry/opentelemetry, @sentry/profiling-node), suggesting a potential flattening or optimization of the dependency tree.

Changelog

  • package-lock.json
    • Updated @sentry/browser version and integrity hash.
    • Updated versions and integrity hashes for internal Sentry dependencies (@sentry-internal/browser-utils, @sentry-internal/feedback, @sentry-internal/replay, @sentry-internal/replay-canvas, @sentry/core).
    • Removed nested @sentry/core entries under @sentry/node, @sentry/opentelemetry, and @sentry/profiling-node.
  • package.json
    • Updated the dependency range for @sentry/browser from ^9.10.0 to ^9.17.0.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


A version jumps ahead,
New features now are spread.
Check the lock file,
Stay a while,
Ensure no bugs are bred.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/@sentry-internal/browser-utils 9.17.0 🟢 5.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 29 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
License🟢 10license file detected
Security-Policy🟢 10security policy file detected
Branch-Protection🟢 4branch protection is not maximal on development and all release branches
Binary-Artifacts🟢 9binaries present in source code
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 7SAST tool detected but not run on all commits
Vulnerabilities⚠️ 072 existing vulnerabilities detected
npm/@sentry-internal/feedback 9.17.0 🟢 5.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 29 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
License🟢 10license file detected
Security-Policy🟢 10security policy file detected
Branch-Protection🟢 4branch protection is not maximal on development and all release branches
Binary-Artifacts🟢 9binaries present in source code
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 7SAST tool detected but not run on all commits
Vulnerabilities⚠️ 072 existing vulnerabilities detected
npm/@sentry-internal/replay 9.17.0 🟢 5.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 29 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
License🟢 10license file detected
Security-Policy🟢 10security policy file detected
Branch-Protection🟢 4branch protection is not maximal on development and all release branches
Binary-Artifacts🟢 9binaries present in source code
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 7SAST tool detected but not run on all commits
Vulnerabilities⚠️ 072 existing vulnerabilities detected
npm/@sentry-internal/replay-canvas 9.17.0 🟢 5.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 29 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
License🟢 10license file detected
Security-Policy🟢 10security policy file detected
Branch-Protection🟢 4branch protection is not maximal on development and all release branches
Binary-Artifacts🟢 9binaries present in source code
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 7SAST tool detected but not run on all commits
Vulnerabilities⚠️ 072 existing vulnerabilities detected
npm/@sentry/browser 9.17.0 🟢 5.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 29 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
License🟢 10license file detected
Security-Policy🟢 10security policy file detected
Branch-Protection🟢 4branch protection is not maximal on development and all release branches
Binary-Artifacts🟢 9binaries present in source code
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 7SAST tool detected but not run on all commits
Vulnerabilities⚠️ 072 existing vulnerabilities detected
npm/@sentry/browser ^9.17.0 🟢 5.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 29 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
License🟢 10license file detected
Security-Policy🟢 10security policy file detected
Branch-Protection🟢 4branch protection is not maximal on development and all release branches
Binary-Artifacts🟢 9binaries present in source code
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 7SAST tool detected but not run on all commits
Vulnerabilities⚠️ 072 existing vulnerabilities detected

Scanned Files

  • package-lock.json
  • package.json

Copy link
Contributor

aviator-app bot commented May 30, 2025

Skipping bot pull request creation because the queue is empty and this pull request is up to date with main.

Copy link
Contributor

mergify bot commented May 30, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Do not merge outdated PRs

Wonderful, this rule succeeded.

Make sure PRs are almost up to date before merging

  • #commits-behind <= 10

Copy link
Contributor

deepsource-io bot commented May 30, 2025

Here's the code health analysis summary for commits 7728b01..841140f. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗
DeepSource PHP LogoPHP✅ SuccessView Check ↗
DeepSource Test coverage LogoTest coverage⚠️ Artifact not reportedTimed out: Artifact was never reportedView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

@aviator-app aviator-app bot merged commit 0cb81b2 into main May 30, 2025
28 of 47 checks passed
@aviator-app aviator-app bot deleted the snyk-upgrade-19595c86e2940ff67d3dc75dd654ff07 branch May 30, 2025 06:30
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request, automatically generated by Snyk, upgrades the @sentry/browser package from version 9.10.0 to 9.17.0. This is a beneficial update for keeping dependencies current.

The changes primarily involve updates to package.json and package-lock.json to reflect the new version and its transitive dependencies. Notably, this upgrade also brings @sentry/core to version 9.17.0. This core package is utilized by other Sentry libraries in your project, such as @sentry/node (currently at 9.0.1) and @sentry/profiling-node (at 9.17.0).

The update to package-lock.json indicates that npm has successfully deduplicated @sentry/core, ensuring a single version (9.17.0) is used across these Sentry packages. This is generally a positive outcome for consistency and potentially for bundle size.

Given the jump of several minor versions for @sentry/browser and the critical role of @sentry/core, thorough testing is highly recommended. This testing should cover Sentry's error reporting functionality in both browser-side code (e.g., src/js/script.js) and any Node.js contexts where Sentry is used (e.g., gulpfile.js). Please pay attention to any behavioral changes noted in the Sentry release notes for versions 9.10.1 through 9.17.0, particularly for @sentry/core and @sentry/node if applicable to your usage.

Summary of Findings

  • Comprehensive Testing for Sentry Core Upgrade: The upgrade to @sentry/[email protected] also upgrades the shared @sentry/core to 9.17.0. This core library is used by other Sentry packages in the project, including @sentry/[email protected]. Due to this shared dependency and the version jump, comprehensive testing is crucial to ensure continued compatibility and no regressions in error reporting across all parts of the application using Sentry (both browser and Node.js contexts).

Merge Readiness

This PR upgrades @sentry/browser and its core dependencies, which is a positive step for maintaining an up-to-date and secure codebase. The package version changes appear correct. The most important consideration is the potential impact of upgrading @sentry/core across multiple Sentry packages used in the project.

I recommend that this PR be merged after thorough testing has been conducted to validate Sentry's functionality in both browser and Node.js environments, ensuring no regressions or unexpected behaviors are introduced. Please refer to the Sentry release notes for any pertinent changes.

As an AI reviewer, I am not authorized to approve pull requests. Please ensure this change is reviewed and approved by a human maintainer after successful testing.

Comment on lines +4712 to +4714
"version": "9.17.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-9.17.0.tgz",
"integrity": "sha512-9f1A93/kY9lLH06L1thPx94IhyLjEP3aRxYAtjtBfzId8UtubSpwP92sbxgslodD73R4tURwWJj7nYZ9HLYBUg==",

Choose a reason for hiding this comment

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

medium

The @sentry/core package has been upgraded from 9.10.0 to 9.17.0 as a result of the @sentry/browser upgrade. This is a significant jump for a core library.

Could you confirm that thorough testing will be performed to ensure this update doesn't introduce regressions or unexpected behavior? Specifically:

  1. Browser Context: Verify error reporting via @sentry/browser in src/js/script.js continues to function as expected.
  2. Node.js Context: Since @sentry/[email protected] will now also be used by @sentry/[email protected] (as used in gulpfile.js), please test Sentry functionality in this environment too. While Sentry aims for backward compatibility within major versions, changes in core can sometimes have subtle impacts.

Reviewing the release notes for @sentry/core between these versions for any breaking changes or significant behavioral modifications would also be prudent.

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

Successfully merging this pull request may close these issues.

2 participants