Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 14, 2024

This PR contains the following updates:

Package Type Update Change
rollup-plugin-terser@rollup/plugin-terser devDependencies replacement ^7.0.0^0.1.0

This is a special PR that replaces rollup-plugin-terser with the community suggested minimal stable replacement version.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 5eda6a1 to 088fad9 Compare April 14, 2024 12:35
@coderabbitai
Copy link

coderabbitai bot commented Apr 14, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The project has transitioned from using rollup-plugin-terser to @rollup/plugin-terser in the package.json file. This change includes an update in the versioning from ^7.0.0 to ^0.1.0, reflecting a shift to a scoped package that may involve differences in implementation and compatibility with Rollup or Svelte.

Changes

File Change Summary
package.json Replaced "rollup-plugin-terser": "^7.0.0" with "@rollup/plugin-terser": "^0.1.0"

Poem

In a patch of code where bunnies play,
A new plugin hops in to save the day.
Terser now scoped, oh what a delight,
Optimizations dance in the moonlight.
With every change, our builds will gleam,
Hopping along, we chase the dream! 🐇✨


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 088fad9 to 71a93ec Compare April 25, 2024 08:28
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 71a93ec to f605875 Compare June 4, 2024 11:46
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from f605875 to db117f8 Compare July 21, 2024 12:13
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from db117f8 to 5d69a1e Compare August 28, 2024 06:33
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 40faa2d and 5d69a1e.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • package.json (1 hunks)
Additional comments not posted (2)
package.json (2)

21-21: Verify version number for @rollup/plugin-terser.

The version ^0.1.0 seems unusually low for a replacement of rollup-plugin-terser which was at ^7.0.0. This could be a major version downgrade or a reset in version numbering due to the rebranding under a scoped package. Please confirm that this version is correct and that it contains all necessary features and compatibility with the current Rollup version used in the project (^3.0.0).


21-21: Ensure compatibility with existing Rollup configuration and plugins.

Given the significant version change, it's crucial to ensure that @rollup/plugin-terser integrates well with the existing Rollup version (^3.0.0) and other plugins like rollup-plugin-svelte (^7.0.0). Review the plugin's documentation for any breaking changes or new configurations required.

@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 5d69a1e to fa211ee Compare September 18, 2024 09:39
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from fa211ee to 8f4582d Compare October 9, 2024 08:00
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 8f4582d to 009da7f Compare December 2, 2024 12:07
@renovate renovate bot changed the title chore(deps): replace dependency rollup-plugin-terser with @rollup/plugin-terser ^0.1.0 chore(deps): replace dependency rollup-plugin-terser with @rollup/plugin-terser ^0.1.0 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/rollup-plugin-terser-replacement branch December 8, 2024 18:54
@renovate renovate bot changed the title chore(deps): replace dependency rollup-plugin-terser with @rollup/plugin-terser ^0.1.0 - autoclosed chore(deps): replace dependency rollup-plugin-terser with @rollup/plugin-terser ^0.1.0 Dec 8, 2024
@renovate renovate bot reopened this Dec 8, 2024
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch 2 times, most recently from 009da7f to 16f2bf3 Compare December 9, 2024 01:26
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 16f2bf3 to a557006 Compare January 23, 2025 21:44
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from a557006 to ca03e68 Compare February 9, 2025 12:45
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from ca03e68 to b14e9f1 Compare March 3, 2025 15:06
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from b14e9f1 to 8711c01 Compare March 11, 2025 11:40
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5d69a1e and 8711c01.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (1)
  • package.json (1 hunks)

"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "^7.0.0",
"rollup-plugin-terser": "^7.0.0",
"@rollup/plugin-terser": "^0.1.0",
Copy link

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Dependency Update: Verify Compatibility of New Terser Plugin

The dependency update to "@rollup/plugin-terser": "^0.1.0" replaces the older "rollup-plugin-terser": "^7.0.0". Please ensure that the Rollup configuration is updated accordingly, as the API for the new plugin might differ from the old one. It is recommended to verify that all build configurations and any custom terser options are still valid with the new dependency.


Please run the above script to verify that:

  • All references to "rollup-plugin-terser" have been removed.
  • The new dependency "@rollup/plugin-terser" is in use in both the package configuration and any relevant Rollup config files.

Once you confirm these checks, we can safely conclude that the updated dependency is implemented correctly.


🏁 Script executed:

#!/bin/bash
echo "Verifying dependency updates in the codebase..."

echo -e "\nSearching for references to the old dependency 'rollup-plugin-terser':"
rg "rollup-plugin-terser" .

echo -e "\nSearching for references to the new dependency '@rollup/plugin-terser':"
rg "@rollup/plugin-terser" .

Length of output: 1035


Action Required: Update Rollup Configuration for New Terser Plugin

The new dependency "@rollup/plugin-terser": "^0.1.0" has been added to package.json and is correctly reflected in yarn.lock. However, our search revealed that references to the old dependency (rollup-plugin-terser) still exist in the codebase:

  • In rollup.config.js, the code still imports terser as follows:
    import { terser } from 'rollup-plugin-terser';
  • In scripts/setupTypeScript.js, there is a reference that manipulates the old dependency string.

Next Steps:

  • Update rollup.config.js to import terser from "@rollup/plugin-terser", adapting any API changes if necessary.
  • Revise scripts/setupTypeScript.js to remove or update references to "rollup-plugin-terser" in favor of the new plugin.

Please ensure that all build configurations and custom terser options are compatible with the new dependency.

@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 8711c01 to 71bdd3f Compare May 19, 2025 20:41
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 71bdd3f to 698a088 Compare May 28, 2025 14:22
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 698a088 to 2a1874d Compare June 6, 2025 00:13
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 2a1874d to 14c1fcd Compare June 22, 2025 13:15
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 14c1fcd to e96a4fd Compare July 2, 2025 15:27
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from e96a4fd to 046b1f1 Compare August 13, 2025 14:45
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 046b1f1 to 1378aa4 Compare September 25, 2025 15:05
@renovate renovate bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 1378aa4 to 2c1eade Compare November 11, 2025 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant