Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

[Snyk] Upgrade @sentry/browser from 7.71.0 to 7.72.0 #733

Closed
wants to merge 1 commit into from

Conversation

Coteh
Copy link
Owner

@Coteh Coteh commented Oct 21, 2023

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @sentry/browser from 7.71.0 to 7.72.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 1 version ahead of your current version.
  • The recommended version was released 25 days ago, on 2023-09-26.
Release notes
Package name: @sentry/browser
  • 7.72.0 - 2023-09-26

    Important Changes

    • feat(node): App Not Responding with stack traces (#9079)

    This release introduces support for Application Not Responding (ANR) errors for Node.js applications.
    These errors are triggered when the Node.js main thread event loop of an application is blocked for more than five seconds.
    The Node SDK reports ANR errors as Sentry events and can optionally attach a stacktrace of the blocking code to the ANR event.

    To enable ANR detection, import and use the enableANRDetection function from the @ sentry/node package before you run the rest of your application code.
    Any event loop blocking before calling enableANRDetection will not be detected by the SDK.

    Example (ESM):

    import * as Sentry from "@ sentry/node";

    Sentry.init({
    dsn: "PUBLIC_DSN",
    tracesSampleRate: 1.0,
    });

    await Sentry.enableANRDetection({ captureStackTrace: true });
    // Function that runs your app
    runApp();

    Example (CJS):

    const Sentry = require("@ sentry/node");

    Sentry.init({
    dsn: "PUBLIC_DSN",
    tracesSampleRate: 1.0,
    });

    Sentry.enableANRDetection({ captureStackTrace: true }).then(() => {
    // Function that runs your app
    runApp();
    });

    Other Changes

    • fix(nextjs): Filter RequestAsyncStorage locations by locations that webpack will resolve (#9114)
    • fix(replay): Ensure replay_id is not captured when session is expired (#9109)

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.58 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.46 KB
    @ sentry/browser - Webpack (gzipped) 22.06 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.28 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.57 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 20.65 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 222.21 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.57 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.42 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.43 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.61 KB
    @ sentry/react - Webpack (gzipped) 22.09 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.48 KB
    @ sentry/nextjs Client - Webpack (gzipped) 51.04 KB
  • 7.71.0 - 2023-09-25
    • feat(bun): Instrument Bun.serve (#9080)
    • fix(core): Ensure global event processors are always applied to event (#9064)
    • fix(core): Run client eventProcessors before global ones (#9032)
    • fix(nextjs): Use webpack module paths to attempt to resolve internal request async storage module (#9100)
    • fix(react): Add actual error name to boundary error name (#9065)
    • fix(react): Compare location against basename-prefixed route. (#9076)
    • ref(browser): Refactor browser integrations to use processEvent (#9022)

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

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.58 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.46 KB
    @ sentry/browser - Webpack (gzipped) 22.06 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.57 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 20.64 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 222.17 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.57 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.42 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.43 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.6 KB
    @ sentry/react - Webpack (gzipped) 22.09 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.48 KB
    @ sentry/nextjs Client - Webpack (gzipped) 51.04 KB
from @sentry/browser GitHub release notes

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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@socket-security
Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@sentry/browser 7.71.0...7.72.0 None +5/-5 6.47 MB sentry-bot

@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (26ef586) 82.89% compared to head (e622e21) 82.89%.
Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #733   +/-   ##
=======================================
  Coverage   82.89%   82.89%           
=======================================
  Files          31       31           
  Lines        1222     1222           
=======================================
  Hits         1013     1013           
  Misses        209      209           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

stale bot commented Dec 20, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Dec 20, 2023
@stale stale bot closed this Dec 27, 2023
@Coteh Coteh deleted the snyk-upgrade-cd26992ff2e648894778fcbec33caa7f branch December 25, 2024 03:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants