sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

fix(normalize): Treat Infinity as NaN both are non-serializable numbers

Open krystofwoldrich opened this issue 1 year ago • 1 comments

RN SDK uses the normalize function before passing data over the RN Bridge, which only accepts serializable data.

Infinity causes -> https://github.com/getsentry/sentry-react-native/issues/4024

krystofwoldrich avatar Aug 16 '24 14:08 krystofwoldrich

size-limit report 📦

Path Size % Change Change
@sentry/browser 22.52 KB - -
@sentry/browser - with treeshaking flags 21.3 KB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing) 34.79 KB +0.01% +3 B 🔺
@sentry/browser (incl. Tracing, Replay) 71.24 KB +0.01% +3 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.67 KB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 75.58 KB +0.01% +2 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 88.3 KB +0.01% +2 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 90.14 KB +0.01% +1 B 🔺
@sentry/browser (incl. metrics) 26.83 KB - -
@sentry/browser (incl. Feedback) 39.6 KB - -
@sentry/browser (incl. sendFeedback) 27.19 KB -0.01% -1 B 🔽
@sentry/browser (incl. FeedbackAsync) 31.91 KB +0.02% +4 B 🔺
@sentry/react 25.28 KB +0.01% +1 B 🔺
@sentry/react (incl. Tracing) 37.75 KB +0.01% +1 B 🔺
@sentry/vue 26.72 KB +0.01% +1 B 🔺
@sentry/vue (incl. Tracing) 36.67 KB -0.01% -1 B 🔽
@sentry/svelte 22.66 KB +0.01% +1 B 🔺
CDN Bundle 23.77 KB -0.01% -1 B 🔽
CDN Bundle (incl. Tracing) 36.5 KB - -
CDN Bundle (incl. Tracing, Replay) 70.91 KB -0.01% -2 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 76.22 KB -0.01% -1 B 🔽
CDN Bundle - uncompressed 69.65 KB +0.05% +29 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 108.28 KB +0.03% +29 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 219.94 KB +0.02% +29 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 233.14 KB +0.02% +29 B 🔺
@sentry/nextjs (client) 37.51 KB -0.01% -1 B 🔽
@sentry/sveltekit (client) 35.36 KB +0.01% +1 B 🔺
@sentry/node 120.45 KB -0.01% -1 B 🔽
@sentry/node - without tracing 92.72 KB +0.01% +3 B 🔺
@sentry/aws-serverless 102.43 KB +0.01% +2 B 🔺

View base workflow run

github-actions[bot] avatar Aug 16 '24 14:08 github-actions[bot]

@krystofwoldrich this was released with https://github.com/getsentry/sentry-javascript/releases/tag/8.31.0

AbhiPrasad avatar Sep 23 '24 13:09 AbhiPrasad