feat: Use proper object serializer to handle cyclical objects#1410
Merged
Conversation
dac50f0 to
f9b4a21
Compare
Codecov Report
@@ Coverage Diff @@
## master #1410 +/- ##
=========================================
Coverage ? 84.89%
=========================================
Files ? 33
Lines ? 788
Branches ? 125
=========================================
Hits ? 669
Misses ? 112
Partials ? 7
Continue to review full report at Codecov.
|
HazAT
approved these changes
Jun 25, 2018
Member
HazAT
left a comment
There was a problem hiding this comment.
Approved, only missed minor thing.
| const orig = source[name]; | ||
| source[name] = replacement(orig); | ||
| // tslint:disable:no-unsafe-any | ||
| source[name].__raven__ = true; |
Member
There was a problem hiding this comment.
I missed this in a prev PR, but can we rename this to __sentry__ 😬
chargome
added a commit
that referenced
this pull request
May 4, 2026
…abilities Bumps testem to 3.20.0 in @sentry/ember and updates the lockfile entry for @xmldom/xmldom@^0.8.0 to 0.8.13 to fix four high-severity XML serialization vulnerabilities (CVE-2026-41673, CVE-2026-41672, CVE-2026-41674, CVE-2026-41675). Fixes Dependabot alerts #1413, #1412, #1411, #1410. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We don't really need a "deserializer" for cyclic states and we never had it for raven-js.
However, if we'll ever need it, we should use https://github.com/WebReflection/circular-json/ or https://github.com/WebReflection/flatted