Skip to content

chore(deps): replace dependency rollup-plugin-terser with @rollup/plugin-terser ^0.1.0#104

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/rollup-plugin-terser-replacement
Open

chore(deps): replace dependency rollup-plugin-terser with @rollup/plugin-terser ^0.1.0#104
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/rollup-plugin-terser-replacement

Conversation

@renovate

@renovate renovate Bot commented Mar 14, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

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


Configuration

📅 Schedule: (UTC)

  • 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

coderabbitai Bot commented Apr 14, 2024

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

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

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4cd43243-ad3e-480b-b445-16e8831bba2b

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

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! 🐇✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/rollup-plugin-terser-replacement

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

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)

Comment thread package.json
"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
Copy Markdown

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
@renovate
renovate Bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 2c1eade to 0adb5e6 Compare January 19, 2026 18:31
@renovate
renovate Bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 0adb5e6 to e3688fa Compare March 5, 2026 14:13
@renovate
renovate Bot force-pushed the renovate/rollup-plugin-terser-replacement branch from e3688fa to 6b4618b Compare March 27, 2026 13:05
@renovate
renovate Bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 6b4618b to a60b21f Compare April 29, 2026 19:04
@renovate
renovate Bot force-pushed the renovate/rollup-plugin-terser-replacement branch from a60b21f to faf0b27 Compare May 12, 2026 14:39
@renovate
renovate Bot force-pushed the renovate/rollup-plugin-terser-replacement branch from faf0b27 to 8bb3337 Compare May 28, 2026 16:43
@renovate
renovate Bot force-pushed the renovate/rollup-plugin-terser-replacement branch from 8bb3337 to fe0f8b1 Compare July 12, 2026 10:03
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.

0 participants