Skip to content
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

1.11.1 breaks rollup-plugin-node-resolve #194

Closed
bterlson opened this issue Jun 12, 2019 · 8 comments
Closed

1.11.1 breaks rollup-plugin-node-resolve #194

bterlson opened this issue Jun 12, 2019 · 8 comments
Assignees

Comments

@bterlson
Copy link

A recent change to handling shadowed modules has broken rollup-plugin-node-resolve. I filed an issue on the plugin to adapt to the new version as I agree the fix is the right thing to do long term.

However, before a fix to the plugin materializes, we might be able to prevent more people tumbling down this rabbit hole by making sure people aren't broken in the meantime. I think a breaking change like this should be done in a major version. Can I suggest either reverting this fix and releasing 1.11.2 or moving the next pointer back to 1.11.0? The revert seems cleaner to me, and more likely to get people out of a broken state by simply updating their packages, though I'm not entirely sure how moving the next pointer impacts users who have already upgraded to 1.11.1.

@ljharb
Copy link
Member

ljharb commented Jun 12, 2019

As a short-term fix, I've set 1.11.0 as "latest" (1.11.1 is now "next"), so that fresh installs shouldn't run into the problem.

Certainly anyone who's already depending on ^1.11.1, or who has it in a lockfile, likely will hit this problem unless they manually downgrade - that's the group who a 1.11.2 would benefit.

If the rollup plugin doesn't get a fix in very soon, I'll probably do the revert, but it'd be really nice to avoid having to revert a legitimate bugfix just because someone is relying on the broken behavior :-/

@bterlson
Copy link
Author

@ljharb please re-enable spacebar heating.

@bterlson
Copy link
Author

Just FYI, rollup/rollup-plugin-node-resolve#222 was fixed with rollup/rollup-plugin-node-resolve#223. Once that's released, you could probably move latest up again 😊

@ljharb
Copy link
Member

ljharb commented Jun 14, 2019

@bterlson v5.0.2 is released; can you confirm that even with v1.11.1 installed, the bug is fixed?

@ljharb
Copy link
Member

ljharb commented Jun 21, 2019

Closing pending further reports.

@ljharb ljharb closed this as completed Jun 21, 2019
@mikeharder
Copy link

@ljharb: Sorry for the delay getting back to you. We have verified that rollup-plugin-node-resolve@5.0.2 is compatible with rollup@1.11.1 in a minimal repro project.

We are still working to update our full repo to rollup-plugin-node-resolve@5.0.2 and rollup@1.11.1. Once this is done, we will re-open this issue if there are problems.

Are you going to move the latest pointer back to 1.11.1?

@ljharb
Copy link
Member

ljharb commented Jun 21, 2019

@mikeharder now that i have a confirmation, yes :-)
update: done

@ljharb
Copy link
Member

ljharb commented Jun 25, 2019

sigh, looks like it broke another rollup package: rollup/rollup-plugin-commonjs#394

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants