DataDog / browser-sdk

Datadog Browser SDK
Apache License 2.0
279 stars 130 forks source link

👷 Resolve ws package to vulnerability-free version #2827

Closed N-Boutaib closed 1 week ago

N-Boutaib commented 1 week ago

Motivation

This PR addresses the following vulnerability https://github.com/DataDog/browser-sdk/security/dependabot/82

Changes

Upgrading packages and resolving those with old version to the new one

Testing


I have gone over the contributing documentation.

cit-pr-commenter[bot] commented 1 week ago

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 0 B 160.50 KiB 160.50 KiB N/A%
Logs 0 B 58.09 KiB 58.09 KiB N/A%
Rum Slim 0 B 109.02 KiB 109.02 KiB N/A%
Worker 0 B 25.21 KiB 25.21 KiB N/A%

🚀 CPU Performance | Action Name | Base Average Cpu Time (ms) | Local Average Cpu Time (ms) | 𝚫 | | --- | --- | --- | --- | | addglobalcontext | N/A | 0.001 | 0.001 | | addaction | N/A | 0.031 | 0.031 | | adderror | N/A | 0.032 | 0.032 | | addtiming | N/A | 0.001 | 0.001 | | startview | N/A | 0.888 | 0.888 | | startstopsessionreplayrecording | N/A | 0.820 | 0.820 | | logmessage | N/A | 0.019 | 0.019 |
🧠 Memory Performance | Action Name | Base Consumption Memory (bytes) | Local Consumption Memory (bytes) | 𝚫 (bytes) | | --- | --- | --- | --- | | addglobalcontext | NaN KiB | 20.63 KiB | NaN KiB | | addaction | NaN KiB | 69.42 KiB | NaN KiB | | adderror | NaN KiB | 87.57 KiB | NaN KiB | | addtiming | NaN KiB | 20.64 KiB | NaN KiB | | startview | NaN KiB | 320.19 KiB | NaN KiB | | startstopsessionreplayrecording | NaN KiB | 15.42 KiB | NaN KiB | | logmessage | NaN KiB | 71.43 KiB | NaN KiB |

🔗 RealWorld

codecov-commenter commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.11%. Comparing base (52ee526) to head (508ba89).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2827 +/- ## ========================================== + Coverage 93.10% 93.11% +0.01% ========================================== Files 246 246 Lines 7247 7247 Branches 1626 1626 ========================================== + Hits 6747 6748 +1 + Misses 500 499 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.