Skip to content

fix(web-common): add check for possible unsafe json parse#6589

Merged
maryliag merged 4 commits into
open-telemetry:mainfrom
maryliag:parse-local-storage
Apr 14, 2026
Merged

fix(web-common): add check for possible unsafe json parse#6589
maryliag merged 4 commits into
open-telemetry:mainfrom
maryliag:parse-local-storage

remove only from test

226bf37
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 14, 2026 in 0s

95.76% (+0.00%) compared to 36ce569

View this Pull Request on Codecov

95.76% (+0.00%) compared to 36ce569

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.76%. Comparing base (36ce569) to head (226bf37).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6589   +/-   ##
=======================================
  Coverage   95.75%   95.76%           
=======================================
  Files         375      375           
  Lines       12725    12727    +2     
  Branches     3013     3013           
=======================================
+ Hits        12185    12188    +3     
+ Misses        540      539    -1     
Files with missing lines Coverage Δ
...ackages/web-common/src/LocalStorageSessionStore.ts 93.75% <100.00%> (+8.03%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.