Skip to content

Conversation

@suejung-sentry
Copy link
Contributor

@suejung-sentry suejung-sentry commented Nov 14, 2024

Resolve vulnerability in rollup (resolved versions - 4.22.4, 3.29.5)

Closes https://github.com/codecov/internal-issues/issues/931

@codecov-notifications
Copy link

codecov-notifications bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Components Coverage Δ
Plugin core 97.06% <ø> (ø)
Rollup plugin 10.81% <ø> (ø)
Vite plugin 11.02% <ø> (ø)
Webpack plugin 49.88% <ø> (ø)

📢 Thoughts on this report? Let us know!

@codecov
Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.08%. Comparing base (6552110) to head (46ebcc7).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
Components Coverage Δ
Plugin core 97.06% <ø> (ø)
Rollup plugin 10.81% <ø> (ø)
Vite plugin 11.02% <ø> (ø)
Webpack plugin 49.88% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov-staging
Copy link

codecov-staging bot commented Nov 14, 2024

Bundle Report

Changes will decrease total bundle size by 42.02kB (-1.51%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@codecov/bundler-plugin-core-esm 12.29kB 40.83kB (-76.87%) ⬇️
@codecov/nextjs-webpack-plugin-esm 1.11kB 753 bytes (-40.33%) ⬇️
@codecov/solidstart-plugin-esm 949 bytes 142 bytes (-13.02%) ⬇️
@codecov/example-rollup-app-iife 95.16kB 302 bytes (-0.32%) ⬇️

@codecov
Copy link

codecov bot commented Nov 14, 2024

Bundle Report

Changes will increase total bundle size by 43.11kB (0.75%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@codecov/vite-plugin-esm 2.32kB 1.08kB (87.41%) ⬆️
@codecov/remix-vite-plugin-esm 957 bytes 133 bytes (-12.2%) ⬇️
@codecov/example-rollup-app-iife 95.16kB 302 bytes (-0.32%) ⬇️
@codecov/bundler-plugin-core-esm 53.11kB 40.83kB (332.34%) ⬆️
@codecov/rollup-plugin-esm 2.32kB 1.02kB (78.42%) ⬆️
@codecov/example-solidstart-app-esm 33.7kB 67 bytes (-0.2%) ⬇️
@codecov/example-sveltekit-app-client-esm 715.09kB 2 bytes (-0.0%) ⬇️
@codecov/example-sveltekit-app-server-esm 974.29kB 1 bytes (-0.0%) ⬇️
@codecov/example-solidstart-app-server-esm 78.93kB 66 bytes (-0.08%) ⬇️
@codecov/nextjs-webpack-plugin-esm 1.87kB 753 bytes (67.59%) ⬆️

},
"peerDependencies": {
"rollup": "3.x || 4.x"
"rollup": ">=3.29.5 <4.0.0 || >=4.22.4 <5.0.0"

Choose a reason for hiding this comment

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

@suejung-sentry are we able to rollback to the prior implementation of peer deps declarations?

With these changes, we'd have to move from a patch to a major release as we're requiring users to update their version of rollup. If they don't, peer dep resolution would fail while they try to install the plugin.

Copy link
Contributor Author

@suejung-sentry suejung-sentry Nov 15, 2024

Choose a reason for hiding this comment

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

good catch - fixed!

{
"gzipSize": 98808,
"name": "main-H2_1FSsQ.js",
"name": "main-Bz9ahex4.js",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

looks like these chunk names get regenerated with the new version of rollup

Copy link

@nicholas-codecov nicholas-codecov left a comment

Choose a reason for hiding this comment

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

Awesome work 👍

@suejung-sentry suejung-sentry merged commit ab1385e into main Nov 15, 2024
62 checks passed
@suejung-sentry suejung-sentry deleted the sshin/chore/vuln-rollup branch November 15, 2024 17:16
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