Skip to content

feat(utils): Kill SyncPromise.reject and SyncPromise.resolve #4329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 20, 2021

Conversation

mitsuhiko
Copy link
Contributor

reject and resolve do not need to be public API and that makes maintainability easier and also gives us a tiny bit of savings. Additionally we can refactor the promise buffer slightly which should also give us some tiny savings.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 17, 2021

size-limit report

Path Base Size (7f1fe2d) Current Size Change
@sentry/browser - CDN Bundle (gzipped) 20.35 KB 20.33 KB -0.11% 🔽
@sentry/browser - CDN Bundle (minified) 64.99 KB 64.82 KB -0.27% 🔽
@sentry/browser - Webpack 22.35 KB 22.32 KB -0.14% 🔽
@sentry/browser - Webpack - gzip = false 76.5 KB 76.35 KB -0.2% 🔽
@sentry/react - Webpack 22.38 KB 22.35 KB -0.14% 🔽
@sentry/nextjs Client - Webpack 46.49 KB 46.48 KB -0.03% 🔽
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.51 KB 28.47 KB -0.14% 🔽

@mitsuhiko mitsuhiko merged commit c497238 into master Dec 20, 2021
@mitsuhiko mitsuhiko deleted the feature/kill-sync-promise-resolve branch December 20, 2021 11:44
@AbhiPrasad AbhiPrasad added this to the Treeshaking / Bundle Size milestone Dec 20, 2021
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.

2 participants