-
Notifications
You must be signed in to change notification settings - Fork 377
chore(deps): update dependency @rollup #11626
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
Open
Mash707
wants to merge
2
commits into
patternfly:main
Choose a base branch
from
Mash707:update-rollup-dependency
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+40
−36
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
@rollup/plugin-commonjs version 28 breaking changes migration guide💡 Result:
Web search failed: Server error: no LLM provider could handle the message
🌐 Web query:
@rollup/plugin-node-resolve version 16 breaking changes migration guide💡 Result:
Summary of breaking change (v16)
What this can break
Migration steps / quick fixes
Audit packages with conditional exports
Explicitly set exportConditions in node-resolve config to reproduce previous behavior
nodeResolve({ exportConditions: ['default','module','import'] })
Control dev vs prod choice via NODE_ENV (if you rely on the plugin's default)
Note small API/typing additions
Where to read the authoritative details
If you want, I can:
🌐 Web query:
@rollup/plugin-replace version 6 breaking changes migration guide💡 Result:
Summary — breaking change in v6
What that means (short)
Quick migration steps
References
Would you like me to: (a) scan your rollup config for uses of objectGuards and suggest exact changes, or (b) fetch the related PR/issue (#1764) and show the discussion?
🏁 Script executed:
Repository: patternfly/patternfly-react
Length of output: 2318
🏁 Script executed:
Repository: patternfly/patternfly-react
Length of output: 132
🏁 Script executed:
Repository: patternfly/patternfly-react
Length of output: 1374
🌐 Web query:
@rollup/plugin-commonjs v28 v27 breaking changes changelog💡 Result:
Summary of breaking changes:
Sources: [1] v28 changelog, [2] v27/v28 release notes, [3] packaged CHANGELOG.
Citations:
🌐 Web query:
@rollup/plugin-commonjs v26 to v28 migration guide💡 Result:
Short migration checklist (v26 → v28)
References
Sources
[1] @rollup/plugin-commonjs changelog / release notes.
[2] v27 release notes / changelog entries.
[3] v28 patch release notes (v28.0.2–v28.0.6).
[4] Rollup migration docs.
🏁 Script executed:
Repository: patternfly/patternfly-react
Length of output: 163
🏁 Script executed:
Repository: patternfly/patternfly-react
Length of output: 204
🏁 Script executed:
Repository: patternfly/patternfly-react
Length of output: 1962
Configuration updates required for Rollup plugin major version upgrades.
Breaking changes have been confirmed in two of the three updated plugins that require config changes:
@rollup/plugin-node-resolve v16 (from v15.3.1):
./packages/rollup.base.mjsline 30 usesnodeResolve()with noexportConditionsspecifiedexportConditionsin config (e.g.,nodeResolve({ exportConditions: ['default','module','import'] })) to preserve v15 behavior@rollup/plugin-commonjs v28 (from v26.0.3):
strictRequiresdefaults to true (was false); top-levelthisreplacement behavior changedcommonjs()with no optionsthissemantics, builds may breakrequire()patterns and top-levelthisusage; setstrictRequires: falseif needed to restore v26 behavior, or update code to match new semantics@rollup/plugin-replace v6 (from v5.0.7):
objectGuardsno longer treats property reads as side effectsreplace({ 'process.env.NODE_ENV': ... })withoutobjectGuards, so this change has minimal impactRun full test suite on each package in
./packagesafter applying config updates to verify no regressions in output bundles or module resolution.🤖 Prompt for AI Agents