rollup / plugins

🍣 The one-stop shop for official Rollup plugins
MIT License
3.62k stars 580 forks source link

fix(babel): Update Rollup dependency #1732

Closed ESnark closed 2 months ago

ESnark commented 3 months ago

Rollup Plugin Name: babel

This PR contains:

Are tests included?

Breaking Changes?

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

@rollup/plugin-babel@^6.0.4 peer depends on rollup@^4.0.0 but @rollup/pluginutils@5.0.1 doesn't. Because @rollup/plugin-babel includes @rollup/pluginutils, it interteres with upgrading rollup.

This PR resolves a peer-requirements issue for projects using @rollup/plugin-babel.

Andarist commented 3 months ago

This should be OK but to be fair - this is not a fixed range so ur package manager should already be able to install that new version of the utils package. You might have to force an update of the transitive dependency somehow though.

ESnark commented 3 months ago

This should be OK but to be fair - this is not a fixed range so ur package manager should already be able to install that new version of the utils package. You might have to force an update of the transitive dependency somehow though.

I found out ur right, my yarn package manager handle this well and there is no problem (still, I don't understand why yarn complains about it)