Skip to content
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

ref(replay): Use rrweb for slow click detection #9408

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Oct 30, 2023

This refactors the slow/rage click detection to use rrweb events instead of adding our own event listeners.

  • We look for incremental snapshot events, and update the _lastMutation and _lastScroll properties based on them.
  • If a full snapshot happens, we interpret it as a mutation. this is not necessarily correct, but we don't know any different. also this shouldn't matter much because a full snapshot only happens in error mode, in which case things that happened before the full checkout should be discarded anyhow, so 🤷

Integration tests for this are still passing, so it seems to me to be a good change. Hopefully this:

  1. Decreases perf overhead by only using a single instrumentation instead of multiple overlapping ones
  2. Increases consistency by ensuring that whatever we see changing in the replay will also be considered the same way for slow/rage click detection.

@mydea mydea added the CI-Overhead-Measurements Add this label to run SDK overhead measurements on a PR label Oct 30, 2023
@mydea mydea requested review from billyvg and c298lee October 30, 2023 09:24
@mydea mydea self-assigned this Oct 30, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 30, 2023

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 70.94 KB (+0.2% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 56.15 KB (+0.25% 🔺)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 30.97 KB (0%)
@sentry/browser - Webpack (gzipped) 21.29 KB (0%)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.33 KB (+0.22% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.09 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped) 21.23 KB (0%)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.21 KB (+0.16% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.28 KB (0%)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.28 KB (0%)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.8 KB (0%)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 71.28 KB (+0.18% 🔺)
@sentry/react - Webpack (gzipped) 21.34 KB (0%)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.75 KB (+0.15% 🔺)
@sentry/nextjs Client - Webpack (gzipped) 47.86 KB (0%)

@github-actions
Copy link
Contributor

github-actions bot commented Oct 30, 2023

Replay SDK metrics 🚀

    Plain +Sentry +Replay
Revision Value Value Diff Ratio Value Diff Ratio
LCP This PR 250e67c 70.45 ms 79.46 ms +9.01 ms +12.78 % 64.61 ms -5.84 ms -8.29 %
Baseline 4babd02 49.64 ms 52.92 ms +3.28 ms +6.60 % 56.13 ms +6.49 ms +13.06 %
CLS This PR 250e67c 0.25 ms 0.25 ms -0.00 ms -0.53 % 0.25 ms +0.00 ms +0.10 %
Baseline 4babd02 0.26 ms 0.23 ms -0.02 ms -8.40 % 0.26 ms +0.00 ms +1.21 %
CPU This PR 250e67c 20.37 % 22.96 % +2.58 pp +12.69 % 46.63 % +26.26 pp +128.88 %
Baseline 4babd02 15.10 % 17.01 % +1.91 pp +12.68 % 37.70 % +22.60 pp +149.73 %
JS heap avg This PR 250e67c 3.87 MB 6.57 MB +2.69 MB +69.61 % 7.2 MB +3.33 MB +85.98 %
Baseline 4babd02 3.91 MB 7.31 MB +3.4 MB +87.03 % 7.16 MB +3.26 MB +83.34 %
JS heap max This PR 250e67c 5.01 MB 8.48 MB +3.47 MB +69.24 % 13.91 MB +8.9 MB +177.60 %
Baseline 4babd02 4.94 MB 8.72 MB +3.78 MB +76.44 % 14.36 MB +9.42 MB +190.54 %
netTx This PR 250e67c 0 B 321.66 kB +321.66 kB n/a 37.78 kB +37.78 kB n/a
Baseline 4babd02 0 B 360.59 kB +360.59 kB n/a 100.41 kB +100.41 kB n/a
netRx This PR 250e67c 0 B 41 B +41 B n/a 41 B +41 B n/a
Baseline 4babd02 0 B 41 B +41 B n/a 41 B +41 B n/a
netCount This PR 250e67c 0 1 +1 n/a 1 +1 n/a
Baseline 4babd02 0 1 +1 n/a 1 +1 n/a
netTime This PR 250e67c 0.00 ms 163.55 ms +163.55 ms n/a 125.16 ms +125.16 ms n/a
Baseline 4babd02 0.00 ms 71.18 ms +71.18 ms n/a 37.35 ms +37.35 ms n/a

Baseline results on branch: develop

RevisionLCPCLSCPUJS heap avgJS heap maxnetTxnetRxnetCountnetTime
b2a56bc-10.32 ms+0.00 ms+23.11 pp+3.32 MB+9.19 MB+30.07 kB+41 B+1+121.95 ms
2ec3582+5.99 ms+0.01 ms+21.29 pp+3.36 MB+7.93 MB+49.55 kB+41 B+1+110.53 ms
a8cf899-20.39 ms+0.01 ms+24.21 pp+3.36 MB+7.47 MB+104.09 kB+41 B+1+106.98 ms
4371b2c-19.42 ms+0.01 ms+27.63 pp+3.51 MB+7.49 MB+104.28 kB+82 B+2+155.48 ms
4fc18b9-6.40 ms-0.00 ms+27.01 pp+3.37 MB+7.5 MB+104.19 kB+66 B+1.6+119.34 ms
a5e8424-0.27 ms+0.02 ms+25.67 pp+3.34 MB+8.17 MB+49.6 kB+41 B+1+95.57 ms
700d280+3.74 ms+0.02 ms+26.36 pp+3.4 MB+7.85 MB+10.52 kB+41 B+1+66.55 ms
700d280-10.82 ms-0.01 ms+29.34 pp+3.57 MB+7.56 MB+103.92 kB+82 B+2+201.17 ms
2685b0c-22.18 ms-0.01 ms+28.66 pp+3.54 MB+7.38 MB+104.19 kB+82 B+2+176.40 ms

Previous results on branch: fn/rage-click-use-replay

RevisionLCPCLSCPUJS heap avgJS heap maxnetTxnetRxnetCountnetTime
4babd02+6.49 ms+0.00 ms+22.60 pp+3.26 MB+9.42 MB+100.41 kB+41 B+1+37.35 ms
b2a56bc-10.32 ms+0.00 ms+23.11 pp+3.32 MB+9.19 MB+30.07 kB+41 B+1+121.95 ms
2ec3582+5.99 ms+0.01 ms+21.29 pp+3.36 MB+7.93 MB+49.55 kB+41 B+1+110.53 ms
a8cf899-20.39 ms+0.01 ms+24.21 pp+3.36 MB+7.47 MB+104.09 kB+41 B+1+106.98 ms
4371b2c-19.42 ms+0.01 ms+27.63 pp+3.51 MB+7.49 MB+104.28 kB+82 B+2+155.48 ms
4fc18b9-6.40 ms-0.00 ms+27.01 pp+3.37 MB+7.5 MB+104.19 kB+66 B+1.6+119.34 ms
a5e8424-0.27 ms+0.02 ms+25.67 pp+3.34 MB+8.17 MB+49.6 kB+41 B+1+95.57 ms
700d280+3.74 ms+0.02 ms+26.36 pp+3.4 MB+7.85 MB+10.52 kB+41 B+1+66.55 ms
700d280-10.82 ms-0.01 ms+29.34 pp+3.57 MB+7.56 MB+103.92 kB+82 B+2+201.17 ms
2685b0c-22.18 ms-0.01 ms+28.66 pp+3.54 MB+7.38 MB+104.19 kB+82 B+2+176.40 ms

*) pp - percentage points - an absolute difference between two percentages.
Last updated: Thu, 02 Nov 2023 12:28:28 GMT

Copy link
Member

@billyvg billyvg left a comment

Choose a reason for hiding this comment

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

IIRC, we decided to implement using separate listeners in case we wanted to promote this detection to the core SDK. We've seen that these issues can be a bit noisy, so we're keeping them Replay specific.

/** Update the click detector based on a recording event of rrweb. */
export function updateClickDetectorForRecordingEvent(clickDetector: ReplayClickDetector, event: RecordingEvent): void {
try {
// We interpret a full snapshot as a mutation (this may not be true, but there is no way for us to know)
Copy link
Member

Choose a reason for hiding this comment

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

I think this is fine - we've thought about doing a full snapshot at a timed interval so lessen the effects of a corrupted segment. Though we haven't done anything with that idea.

Copy link
Member Author

Choose a reason for hiding this comment

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

After talking about this, maybe we should just ignore full snapshots.
There is a small possibility that this leads to a false positive (e.g. a click leads to a change that is only reflected in the full snapshot, but not in any incremental snapshot). But probably in reality the chances of this are pretty slim 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

@billyvg so I changed this to ignore full snapshots, and also added integration tests for these scenarios:

  1. a click triggers an error and no mutation - slow click is captured ✔️
  2. a click triggers an error and a mutation - slow click is not captured ✔️

@mydea mydea force-pushed the fn/rage-click-use-replay branch 2 times, most recently from 281ba15 to b311d7e Compare October 31, 2023 08:31
@mydea mydea requested a review from billyvg October 31, 2023 08:31
@mydea mydea force-pushed the fn/rage-click-use-replay branch 2 times, most recently from 2509ad1 to 80153ba Compare October 31, 2023 12:51
@mydea mydea merged commit d8beaa0 into develop Nov 2, 2023
82 checks passed
@mydea mydea deleted the fn/rage-click-use-replay branch November 2, 2023 13:11
ccomb pushed a commit to MTES-MCT/ecobalyse that referenced this pull request Nov 30, 2023
<p>This PR was automatically created by Snyk using the credentials of a
real user.</p><br /><h3>Snyk has created this PR to upgrade
@sentry/tracing from 7.77.0 to 7.78.0.</h3>

:information_source: 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.
<hr/>

- The recommended version is **1 version** ahead of your current
version.
- The recommended version was released **21 days ago**, on 2023-11-08.


<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>@sentry/tracing</b></summary>
    <ul>
      <li>
<b>7.78.0</b> - <a
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/releases/tag/7.78.0">2023-11-08</a></br><h3>Important
Changes</h3>
<ul>
<li><strong>Replay Bundle Size improvements</strong></li>
</ul>
<p>We've dramatically decreased the bundle size of our Replay package,
reducing the minified &amp; gzipped bundle size by ~20 KB!<br>
This was possible by extensive use of tree shaking and a host of small
changes to reduce our footprint:</p>
<ul>
<li>feat(replay): Update rrweb to 2.2.0 (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="1969840261" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9414"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9414/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9414">#9414</a>)</li>
<li>ref(replay): Use fflate instead of pako for compression (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1973888368" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9436"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9436/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9436">#9436</a>)</li>
</ul>
<p>By using <a
href="https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/"
rel="nofollow">tree shaking</a> it is possible to shave off up to 10
additional KB of the bundle.</p>
<h4>Other Changes</h4>
<ul>
<li>feat(astro): Add Sentry middleware (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="1975970592" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9445"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9445/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9445">#9445</a>)</li>
<li>feat(feedback): Add "outline focus" and "foreground hover" vars (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1980194755" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9462"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9462/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9462">#9462</a>)</li>
<li>feat(feedback): Add <code>openDialog</code> and
<code>closeDialog</code> onto integration interface (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1980365149" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9464"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9464/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9464">#9464</a>)</li>
<li>feat(feedback): Implement new user feedback embeddable widget (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1935671114" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9217"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9217/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9217">#9217</a>)</li>
<li>feat(nextjs): Add automatic sourcemapping for edge part of the SDK
(<a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1978949258" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9454"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9454/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9454">#9454</a>)</li>
<li>feat(nextjs): Add client routing instrumentation for app router (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1975986800" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9446"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9446/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9446">#9446</a>)</li>
<li>feat(node-experimental): Add hapi tracing support (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1976171644" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9449"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9449/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9449">#9449</a>)</li>
<li>feat(replay): Allow to configure <code>beforeErrorSampling</code>
(<a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1981293109" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9470"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9470/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9470">#9470</a>)</li>
<li>feat(replay): Stop fixing truncated JSONs in SDK (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1974067491" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9437"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9437/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9437">#9437</a>)</li>
<li>fix(nextjs): Fix sourcemaps resolving for local dev when basePath is
set (<a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1979432990" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9457"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9457/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9457">#9457</a>)</li>
<li>fix(nextjs): Only inject basepath in dev mode (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="1980792362" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9465"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9465/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9465">#9465</a>)</li>
<li>fix(replay): Ensure we stop for rate limit headers (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1970781544" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9420"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9420/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9420">#9420</a>)</li>
<li>ref(feedback): Add treeshaking for logger statements (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1981622966" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9475"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9475/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9475">#9475</a>)</li>
<li>ref(replay): Use rrweb for slow click detection (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1967891591" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9408"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9408/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9408">#9408</a>)</li>
<li>build(polyfills): Remove output format specific logic (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1980848552" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9467"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9467/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9467">#9467</a>)</li>
</ul>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)</td>
<td>65.24 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking
flags (gzipped)</td>
<td>55.48 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - Webpack (gzipped)</td>
<td>30.97 KB</td>
</tr>
<tr>
<td>@ sentry/browser - Webpack (gzipped)</td>
<td>21.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle
(gzipped)</td>
<td>61.82 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)</td>
<td>29.09 KB</td>
</tr>
<tr>
<td>@ sentry/browser - ES6 CDN Bundle (gzipped)</td>
<td>21.23 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified
&amp; uncompressed)</td>
<td>194.87 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified &amp;
uncompressed)</td>
<td>88.28 KB</td>
</tr>
<tr>
<td>@ sentry/browser - ES6 CDN Bundle (minified &amp; uncompressed)</td>
<td>63.28 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)</td>
<td>31.8 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing, Replay) - Webpack (gzipped)</td>
<td>65.61 KB</td>
</tr>
<tr>
<td>@ sentry/react - Webpack (gzipped)</td>
<td>21.34 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs Client (incl. Tracing, Replay) - Webpack
(gzipped)</td>
<td>82.34 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs Client - Webpack (gzipped)</td>
<td>48.12 KB</td>
</tr>
<tr>
<td>@ sentry-internal/feedback - Webpack (gzipped)</td>
<td>15.81 KB</td>
</tr>
</tbody>
</table>
      </li>
      <li>
        <b>7.77.0</b> - 2023-10-31
      </li>
    </ul>
from <a
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/releases">@sentry/tracing
GitHub release notes</a>
  </details>
</details>
<hr/>

**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: <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJhMDNmMTYzYi04NzI1LTQ3ZGUtODQ3Yy1iMWU4YzdjMGYwODkiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImEwM2YxNjNiLTg3MjUtNDdkZS04NDdjLWIxZThjN2MwZjA4OSJ9fQ=="
width="0" height="0"/>

🧐 [View latest project
report](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)

🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)

🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6/settings/integration?pkg&#x3D;@sentry/tracing&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

<!---
(snyk:metadata:{"prId":"a03f163b-8725-47de-847c-b1e8c7c0f089","prPublicId":"a03f163b-8725-47de-847c-b1e8c7c0f089","dependencies":[{"name":"@sentry/tracing","from":"7.77.0","to":"7.78.0"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"8a1190df-0364-4a9a-93bd-a9f28b54daf6","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2023-11-08T10:34:00.370Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]})
--->

Co-authored-by: snyk-bot <[email protected]>
ccomb pushed a commit to MTES-MCT/ecobalyse that referenced this pull request Nov 30, 2023
<p>This PR was automatically created by Snyk using the credentials of a
real user.</p><br /><h3>Snyk has created this PR to upgrade
@sentry/browser from 7.77.0 to 7.78.0.</h3>

:information_source: 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.
<hr/>

- The recommended version is **1 version** ahead of your current
version.
- The recommended version was released **21 days ago**, on 2023-11-08.


<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>@sentry/browser</b></summary>
    <ul>
      <li>
<b>7.78.0</b> - <a
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/releases/tag/7.78.0">2023-11-08</a></br><h3>Important
Changes</h3>
<ul>
<li><strong>Replay Bundle Size improvements</strong></li>
</ul>
<p>We've dramatically decreased the bundle size of our Replay package,
reducing the minified &amp; gzipped bundle size by ~20 KB!<br>
This was possible by extensive use of tree shaking and a host of small
changes to reduce our footprint:</p>
<ul>
<li>feat(replay): Update rrweb to 2.2.0 (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="1969840261" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9414"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9414/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9414">#9414</a>)</li>
<li>ref(replay): Use fflate instead of pako for compression (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1973888368" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9436"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9436/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9436">#9436</a>)</li>
</ul>
<p>By using <a
href="https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/"
rel="nofollow">tree shaking</a> it is possible to shave off up to 10
additional KB of the bundle.</p>
<h4>Other Changes</h4>
<ul>
<li>feat(astro): Add Sentry middleware (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="1975970592" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9445"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9445/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9445">#9445</a>)</li>
<li>feat(feedback): Add "outline focus" and "foreground hover" vars (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1980194755" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9462"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9462/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9462">#9462</a>)</li>
<li>feat(feedback): Add <code>openDialog</code> and
<code>closeDialog</code> onto integration interface (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1980365149" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9464"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9464/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9464">#9464</a>)</li>
<li>feat(feedback): Implement new user feedback embeddable widget (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1935671114" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9217"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9217/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9217">#9217</a>)</li>
<li>feat(nextjs): Add automatic sourcemapping for edge part of the SDK
(<a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1978949258" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9454"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9454/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9454">#9454</a>)</li>
<li>feat(nextjs): Add client routing instrumentation for app router (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1975986800" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9446"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9446/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9446">#9446</a>)</li>
<li>feat(node-experimental): Add hapi tracing support (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1976171644" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9449"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9449/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9449">#9449</a>)</li>
<li>feat(replay): Allow to configure <code>beforeErrorSampling</code>
(<a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1981293109" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9470"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9470/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9470">#9470</a>)</li>
<li>feat(replay): Stop fixing truncated JSONs in SDK (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1974067491" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9437"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9437/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9437">#9437</a>)</li>
<li>fix(nextjs): Fix sourcemaps resolving for local dev when basePath is
set (<a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1979432990" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9457"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9457/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9457">#9457</a>)</li>
<li>fix(nextjs): Only inject basepath in dev mode (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="1980792362" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9465"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9465/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9465">#9465</a>)</li>
<li>fix(replay): Ensure we stop for rate limit headers (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1970781544" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9420"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9420/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9420">#9420</a>)</li>
<li>ref(feedback): Add treeshaking for logger statements (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1981622966" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9475"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9475/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9475">#9475</a>)</li>
<li>ref(replay): Use rrweb for slow click detection (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1967891591" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9408"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9408/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9408">#9408</a>)</li>
<li>build(polyfills): Remove output format specific logic (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1980848552" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9467"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9467/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9467">#9467</a>)</li>
</ul>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)</td>
<td>65.24 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking
flags (gzipped)</td>
<td>55.48 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - Webpack (gzipped)</td>
<td>30.97 KB</td>
</tr>
<tr>
<td>@ sentry/browser - Webpack (gzipped)</td>
<td>21.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle
(gzipped)</td>
<td>61.82 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)</td>
<td>29.09 KB</td>
</tr>
<tr>
<td>@ sentry/browser - ES6 CDN Bundle (gzipped)</td>
<td>21.23 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified
&amp; uncompressed)</td>
<td>194.87 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified &amp;
uncompressed)</td>
<td>88.28 KB</td>
</tr>
<tr>
<td>@ sentry/browser - ES6 CDN Bundle (minified &amp; uncompressed)</td>
<td>63.28 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)</td>
<td>31.8 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing, Replay) - Webpack (gzipped)</td>
<td>65.61 KB</td>
</tr>
<tr>
<td>@ sentry/react - Webpack (gzipped)</td>
<td>21.34 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs Client (incl. Tracing, Replay) - Webpack
(gzipped)</td>
<td>82.34 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs Client - Webpack (gzipped)</td>
<td>48.12 KB</td>
</tr>
<tr>
<td>@ sentry-internal/feedback - Webpack (gzipped)</td>
<td>15.81 KB</td>
</tr>
</tbody>
</table>
      </li>
      <li>
        <b>7.77.0</b> - 2023-10-31
      </li>
    </ul>
from <a
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/releases">@sentry/browser
GitHub release notes</a>
  </details>
</details>
<hr/>

**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: <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIzMTg1YmNlNC00NzhlLTQzN2YtOWEyZC0zNDRhNDU4YTk4MzIiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjMxODViY2U0LTQ3OGUtNDM3Zi05YTJkLTM0NGE0NThhOTgzMiJ9fQ=="
width="0" height="0"/>

🧐 [View latest project
report](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)

🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)

🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6/settings/integration?pkg&#x3D;@sentry/browser&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

<!---
(snyk:metadata:{"prId":"3185bce4-478e-437f-9a2d-344a458a9832","prPublicId":"3185bce4-478e-437f-9a2d-344a458a9832","dependencies":[{"name":"@sentry/browser","from":"7.77.0","to":"7.78.0"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"8a1190df-0364-4a9a-93bd-a9f28b54daf6","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2023-11-08T10:32:57.066Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]})
--->

Co-authored-by: snyk-bot <[email protected]>
ccomb added a commit to MTES-MCT/ecobalyse that referenced this pull request Nov 30, 2023
<p>This PR was automatically created by Snyk using the credentials of a
real user.</p><br /><h3>Snyk has created this PR to upgrade @sentry/node
from 7.77.0 to 7.78.0.</h3>

:information_source: 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.
<hr/>

- The recommended version is **1 version** ahead of your current
version.
- The recommended version was released **21 days ago**, on 2023-11-08.


<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>@sentry/node</b></summary>
    <ul>
      <li>
<b>7.78.0</b> - <a
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/releases/tag/7.78.0">2023-11-08</a></br><h3>Important
Changes</h3>
<ul>
<li><strong>Replay Bundle Size improvements</strong></li>
</ul>
<p>We've dramatically decreased the bundle size of our Replay package,
reducing the minified &amp; gzipped bundle size by ~20 KB!<br>
This was possible by extensive use of tree shaking and a host of small
changes to reduce our footprint:</p>
<ul>
<li>feat(replay): Update rrweb to 2.2.0 (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="1969840261" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9414"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9414/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9414">#9414</a>)</li>
<li>ref(replay): Use fflate instead of pako for compression (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1973888368" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9436"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9436/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9436">#9436</a>)</li>
</ul>
<p>By using <a
href="https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/"
rel="nofollow">tree shaking</a> it is possible to shave off up to 10
additional KB of the bundle.</p>
<h4>Other Changes</h4>
<ul>
<li>feat(astro): Add Sentry middleware (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="1975970592" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9445"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9445/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9445">#9445</a>)</li>
<li>feat(feedback): Add "outline focus" and "foreground hover" vars (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1980194755" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9462"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9462/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9462">#9462</a>)</li>
<li>feat(feedback): Add <code>openDialog</code> and
<code>closeDialog</code> onto integration interface (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1980365149" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9464"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9464/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9464">#9464</a>)</li>
<li>feat(feedback): Implement new user feedback embeddable widget (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1935671114" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9217"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9217/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9217">#9217</a>)</li>
<li>feat(nextjs): Add automatic sourcemapping for edge part of the SDK
(<a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1978949258" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9454"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9454/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9454">#9454</a>)</li>
<li>feat(nextjs): Add client routing instrumentation for app router (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1975986800" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9446"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9446/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9446">#9446</a>)</li>
<li>feat(node-experimental): Add hapi tracing support (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1976171644" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9449"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9449/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9449">#9449</a>)</li>
<li>feat(replay): Allow to configure <code>beforeErrorSampling</code>
(<a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1981293109" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9470"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9470/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9470">#9470</a>)</li>
<li>feat(replay): Stop fixing truncated JSONs in SDK (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1974067491" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9437"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9437/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9437">#9437</a>)</li>
<li>fix(nextjs): Fix sourcemaps resolving for local dev when basePath is
set (<a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1979432990" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9457"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9457/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9457">#9457</a>)</li>
<li>fix(nextjs): Only inject basepath in dev mode (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="1980792362" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9465"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9465/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9465">#9465</a>)</li>
<li>fix(replay): Ensure we stop for rate limit headers (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1970781544" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9420"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9420/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9420">#9420</a>)</li>
<li>ref(feedback): Add treeshaking for logger statements (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1981622966" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9475"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9475/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9475">#9475</a>)</li>
<li>ref(replay): Use rrweb for slow click detection (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1967891591" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9408"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9408/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9408">#9408</a>)</li>
<li>build(polyfills): Remove output format specific logic (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1980848552" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#9467"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/9467/hovercard"
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/pull/9467">#9467</a>)</li>
</ul>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)</td>
<td>65.24 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking
flags (gzipped)</td>
<td>55.48 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - Webpack (gzipped)</td>
<td>30.97 KB</td>
</tr>
<tr>
<td>@ sentry/browser - Webpack (gzipped)</td>
<td>21.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle
(gzipped)</td>
<td>61.82 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)</td>
<td>29.09 KB</td>
</tr>
<tr>
<td>@ sentry/browser - ES6 CDN Bundle (gzipped)</td>
<td>21.23 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified
&amp; uncompressed)</td>
<td>194.87 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified &amp;
uncompressed)</td>
<td>88.28 KB</td>
</tr>
<tr>
<td>@ sentry/browser - ES6 CDN Bundle (minified &amp; uncompressed)</td>
<td>63.28 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)</td>
<td>31.8 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing, Replay) - Webpack (gzipped)</td>
<td>65.61 KB</td>
</tr>
<tr>
<td>@ sentry/react - Webpack (gzipped)</td>
<td>21.34 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs Client (incl. Tracing, Replay) - Webpack
(gzipped)</td>
<td>82.34 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs Client - Webpack (gzipped)</td>
<td>48.12 KB</td>
</tr>
<tr>
<td>@ sentry-internal/feedback - Webpack (gzipped)</td>
<td>15.81 KB</td>
</tr>
</tbody>
</table>
      </li>
      <li>
        <b>7.77.0</b> - 2023-10-31
      </li>
    </ul>
from <a
href="https://snyk.io/redirect/github/getsentry/sentry-javascript/releases">@sentry/node
GitHub release notes</a>
  </details>
</details>
<hr/>

**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: <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIwMzZiODVlMy0yYTA4LTQ4NTgtOTczNy0wOTQ5ZTRjMjU5ZmMiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjAzNmI4NWUzLTJhMDgtNDg1OC05NzM3LTA5NDllNGMyNTlmYyJ9fQ=="
width="0" height="0"/>

🧐 [View latest project
report](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)

🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)

🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6/settings/integration?pkg&#x3D;@sentry/node&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

<!---
(snyk:metadata:{"prId":"036b85e3-2a08-4858-9737-0949e4c259fc","prPublicId":"036b85e3-2a08-4858-9737-0949e4c259fc","dependencies":[{"name":"@sentry/node","from":"7.77.0","to":"7.78.0"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"8a1190df-0364-4a9a-93bd-a9f28b54daf6","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2023-11-08T10:33:00.392Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]})
--->

Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Christophe Combelles <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-Overhead-Measurements Add this label to run SDK overhead measurements on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants