Skip to content

ref(replay): Mark all methods & properties as public/private#6734

Merged
mydea merged 1 commit intomasterfrom
fn/replay-public-private
Jan 12, 2023
Merged

ref(replay): Mark all methods & properties as public/private#6734
mydea merged 1 commit intomasterfrom
fn/replay-public-private

Conversation

@mydea
Copy link
Copy Markdown
Member

@mydea mydea commented Jan 11, 2023

Enable the @typescript-eslint/explicit-member-accessibility eslint rule & ensure we mark everything as private/public in replay.

This also required renaming all the private stuff with _XXX.

ref: #6323

@mydea mydea requested review from Lms24 and billyvg January 11, 2023 13:52
@mydea mydea self-assigned this Jan 11, 2023
@mydea mydea force-pushed the fn/replay-public-private branch from d0b28e3 to 49c7d30 Compare January 11, 2023 13:55
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 11, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.84 KB (-0.01% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 61.46 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.62 KB (+0.02% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 55 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 20.38 KB (0%)
@sentry/browser - Webpack (minified) 66.55 KB (0%)
@sentry/react - Webpack (gzipped + minified) 20.4 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 47.63 KB (0%)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.82 KB (+0.02% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.25 KB (-0.01% 🔽)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 42.95 KB (-0.43% 🔽)
@sentry/replay - Webpack (gzipped + minified) 38.33 KB (-0.01% 🔽)

Comment thread packages/replay/src/replay.ts Outdated
@mydea mydea force-pushed the fn/replay-public-private branch from 49c7d30 to 7e27a75 Compare January 11, 2023 15:30
Copy link
Copy Markdown
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@mydea mydea force-pushed the fn/replay-public-private branch from 7e27a75 to cbbc97e Compare January 12, 2023 09:46
@mydea mydea merged commit f432d09 into master Jan 12, 2023
@mydea mydea deleted the fn/replay-public-private branch January 12, 2023 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants