Skip to content

Conversation

@AaronBuxbaum
Copy link
Contributor

@AaronBuxbaum AaronBuxbaum commented Nov 7, 2020

Here's where the issue I was seeing is -- punycode was covered by Webpack 4 using punycode v1, when that's removed we have to either fix the issue at the importer, or at each consumer.

It's really annoying but the maintainers of the punycode package created v2 without browser support, so it totally breaks everything if you assume you can just upgrade

I think this is technically better done within fetch-mock, but it's using npm rather than yarn, and resolutions still haven't reached url: npm/rfcs#129. Options are to use an npm-force-resolution package, or to switch to yarn, and I'm not sure we want that much movement for this

also note I'm not sure if this is the convention for polyfills -- normally it seems like it's up to the consumer, but this is a nuance that I don't think falls under standard polyfill requirements. Plus, it's our library, presumably we're intending to go to Webpack 5 on all consumers, and this hides that nuance from consumers

Copy link
Member

@itajaja itajaja left a comment

Choose a reason for hiding this comment

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

this seems fair. maybe put a comment as to why

@AaronBuxbaum
Copy link
Contributor Author

this seems fair. maybe put a comment as to why

done

@AaronBuxbaum AaronBuxbaum merged commit 087a288 into master Nov 10, 2020
@AaronBuxbaum AaronBuxbaum deleted the pin-punycode branch November 10, 2020 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants