From a99788da2762863eebcb374f2b1bc248f9d86a77 Mon Sep 17 00:00:00 2001 From: Tristan Robert Date: Fri, 21 Jul 2023 06:16:19 +0200 Subject: [PATCH] [Snyk] Upgrade @sentry/tracing from 7.56.0 to 7.57.0 (#325) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit

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


Snyk has created this PR to upgrade @sentry/tracing from 7.56.0 to 7.57.0.

: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.
- The recommended version is **2 versions** ahead of your current version. - The recommended version was released **23 days ago**, on 2023-06-28.
Release notes
Package name: @sentry/tracing
  • 7.57.0 - 2023-06-28

    Important Changes

    • build: Update typescript from 3.8.3 to 4.9.5 (#8255)

    This release version bumps the internally used typescript version from 3.8.x to 4.9.x.
    We use ds-downlevel to generate two versions of our types, one for >=3.8, one for >=4.9.
    This means that this change should be fully backwards compatible and not have any noticable user impact,
    but if you still encounter issues please let us know.

    • feat(types): Add tracePropagationTargets to top level options (#8395)

    Instead of passing tracePropagationTargets to the BrowserTracing integration, you can now define them on the top level:

    Sentry.init({
    tracePropagationTargets: ['api.site.com'],
    });
    • fix(angular): Filter out TryCatch integration by default (#8367)

    The Angular and Angular-ivy SDKs will not install the TryCatch integration anymore by default.
    This integration conflicted with the SentryErrorHander, sometimes leading to duplicated errors and/or missing data on events.

    • feat(browser): Better event name handling for non-Error objects (#8374)

    When capturing non-errors via Sentry.captureException(), e.g. Sentry.captureException({ prop: "custom object" }),
    we now generate a more helpful value for the synthetic exception. Instead of e.g. Non-Error exception captured with keys: currentTarget, isTrusted, target, type, you'll now get messages like:

    Object captured as exception
    with keys: prop1, prop2
    Event `MouseEvent` (type=click) captured as exception
    Event `ErrorEvent` captured as exception with message `Script error.`
    

    Other Changes

    • feat(browser): Send profiles in same envelope as transactions (#8375)
    • feat(profiling): Collect timings on profiler stop calls (#8409)
    • feat(replay): Do not capture replays < 5 seconds (GA) (#8277)
    • feat(tracing): Add experiment to capture http timings (#8371)
    • feat(tracing): Add http.response.status_code to span.data (#8366)
    • fix(angular): Stop routing spans on navigation cancel and error events (#8369)
    • fix(core): Only start spans in trace if tracing is enabled (#8357)
    • fix(nextjs): Inject init calls via loader instead of via entrypoints (#8368)
    • fix(replay): Mark ui.slowClickDetected clickCount as optional (#8376)
    • fix(serverless): Export autoDiscoverNodePerformanceMonitoringIntegrations from SDK (#8382)
    • fix(sveltekit): Check for cached requests in client-side fetch instrumentation (#8391)
    • fix(sveltekit): Only instrument SvelteKit fetch if the SDK client is valid (#8381)
    • fix(tracing): Instrument Prisma client in constructor of integration (#8383)
    • ref(replay): More graceful sessionStorage check (#8394)
    • ref(replay): Remove circular dep in replay eventBuffer (#8389)

    Bundle size 📦

    Path Size
    @ sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.49 KB
    @ sentry/browser - ES5 CDN Bundle (minified) 67.59 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.82 KB
    @ sentry/browser - ES6 CDN Bundle (minified) 58.9 KB
    @ sentry/browser - Webpack (gzipped + minified) 21.43 KB
    @ sentry/browser - Webpack (minified) 69.87 KB
    @ sentry/react - Webpack (gzipped + minified) 21.46 KB
    @ sentry/nextjs Client - Webpack (gzipped + minified) 49.81 KB
    @ sentry/browser + @ sentry/tracing - ES5 CDN Bundle (gzipped + minified) 29.39 KB
    @ sentry/browser + @ sentry/tracing - ES6 CDN Bundle (gzipped + minified) 27.48 KB
    @ sentry/replay ES6 CDN Bundle (gzipped + minified) 49.34 KB
    @ sentry/replay - Webpack (gzipped + minified) 43.11 KB
    @ sentry/browser + @ sentry/tracing + @ sentry/replay - ES6 CDN Bundle (gzipped + minified) 68.82 KB
    @ sentry/browser + @ sentry/replay - ES6 CDN Bundle (gzipped + minified) 61.38 KB
  • 7.57.0-beta.0 - 2023-06-21

    This beta version bumps the internally used typescript version from 3.8.x to 4.9.x.
    We use ds-downlevel to generate two versions of our types, one for >=3.8, one for >=4.9.
    This means that this change should be fully backwards compatible and not have any noticable user impact.

    However, since this touches the whole code base, we decided to release this as a beta first in order to ensure this is fully stable.

    Other Changes

    • feat(replay): Do not capture replays < 5 seconds (GA) (#8277)

    Bundle size 📦

    Path Size
    @ sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.38 KB
    @ sentry/browser - ES5 CDN Bundle (minified) 67.24 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.72 KB
    @ sentry/browser - ES6 CDN Bundle (minified) 58.61 KB
    @ sentry/browser - Webpack (gzipped + minified) 21.34 KB
    @ sentry/browser - Webpack (minified) 69.53 KB
    @ sentry/react - Webpack (gzipped + minified) 21.37 KB
    @ sentry/nextjs Client - Webpack (gzipped + minified) 49.29 KB
    @ sentry/browser + @ sentry/tracing - ES5 CDN Bundle (gzipped + minified) 29.03 KB
    @ sentry/browser + @ sentry/tracing - ES6 CDN Bundle (gzipped + minified) 27.04 KB
    @ sentry/replay ES6 CDN Bundle (gzipped + minified) 49.34 KB
    @ sentry/replay - Webpack (gzipped + minified) 43.08 KB
    @ sentry/browser + @ sentry/tracing + @ sentry/replay - ES6 CDN Bundle (gzipped + minified) 68.37 KB
    @ sentry/browser + @ sentry/replay - ES6 CDN Bundle (gzipped + minified) 61.27 KB
  • 7.56.0 - 2023-06-19
from @sentry/tracing 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](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/mtes-mct/project/8a1190df-0364-4a9a-93bd-a9f28b54daf6/settings/integration?utm_source=github&utm_medium=referral&page=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=@sentry/tracing&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) Co-authored-by: snyk-bot --- package-lock.json | 57 ++++++++++++++++++++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 53 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index f346d5421..e2474b177 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@parcel/transformer-sass": "^2.9.3", "@sentry/browser": "^7.57.0", "@sentry/node": "^7.56.0", - "@sentry/tracing": "^7.56.0", + "@sentry/tracing": "^7.57.0", "bootstrap": "^5.3.0", "cors": "^2.8.5", "elm": "^0.19.1-5", @@ -3045,11 +3045,58 @@ } }, "node_modules/@sentry/tracing": { - "version": "7.56.0", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.56.0.tgz", - "integrity": "sha512-Qy7lJdC2YBk9T8JFt4da7xHB3pTZH6yUiIwo5edmSBv2cY6MQ0QZgLzsjJurjf47+/WecVYYKdye9q4twsBlDA==", + "version": "7.57.0", + "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.57.0.tgz", + "integrity": "sha512-D8eKJMYN529mDP9lsOLyhe0Rf9Qiexo7Ul4+MQwDlwRr9c9tc0AdGwFlnKGvCMDh7ucITzvZkMZDHBapU3WHNQ==", + "dependencies": { + "@sentry-internal/tracing": "7.57.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@sentry/tracing/node_modules/@sentry-internal/tracing": { + "version": "7.57.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.57.0.tgz", + "integrity": "sha512-tpViyDd8AhQGYYhI94xi2aaDopXOPfL2Apwrtb3qirWkomIQ2K86W1mPmkce+B0cFOnW2Dxv/ZTFKz6ghjK75A==", "dependencies": { - "@sentry-internal/tracing": "7.56.0" + "@sentry/core": "7.57.0", + "@sentry/types": "7.57.0", + "@sentry/utils": "7.57.0", + "tslib": "^2.4.1 || ^1.9.3" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@sentry/tracing/node_modules/@sentry/core": { + "version": "7.57.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.57.0.tgz", + "integrity": "sha512-l014NudPH0vQlzybtXajPxYFfs9w762NoarjObC3gu76D1jzBBFzhdRelkGpDbSLNTIsKhEDDRpgAjBWJ9icfw==", + "dependencies": { + "@sentry/types": "7.57.0", + "@sentry/utils": "7.57.0", + "tslib": "^2.4.1 || ^1.9.3" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@sentry/tracing/node_modules/@sentry/types": { + "version": "7.57.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.57.0.tgz", + "integrity": "sha512-D7ifoUfxuVCUyktIr5Gc+jXUbtcUMmfHdTtTbf1XCZHua5mJceK9wtl3YCg3eq/HK2Ppd52BKnTzEcS5ZKQM+w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/@sentry/tracing/node_modules/@sentry/utils": { + "version": "7.57.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.57.0.tgz", + "integrity": "sha512-YXrkMCiNklqkXctn4mKYkrzNCf/dfVcRUQrkXjeBC+PHXbcpPyaJgInNvztR7Skl8lE3JPGPN4v5XhLxK1bUUg==", + "dependencies": { + "@sentry/types": "7.57.0", + "tslib": "^2.4.1 || ^1.9.3" }, "engines": { "node": ">=8" diff --git a/package.json b/package.json index 71c012904..2ad19afc6 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@parcel/transformer-sass": "^2.9.3", "@sentry/browser": "^7.57.0", "@sentry/node": "^7.56.0", - "@sentry/tracing": "^7.56.0", + "@sentry/tracing": "^7.57.0", "bootstrap": "^5.3.0", "cors": "^2.8.5", "elm": "^0.19.1-5",