Conversation
|
I am 👍 to esm only |
|
@fb55 if i can get a thumbs up from you too, ill merge and publish this under a new major version |
|
I am unable to go ESM-only with Cheerio right now, so would prefer to keep the CJS build |
are you on node also, unless you see us adding features, you could just stick to the current version, no? it seems unlikely we'd change API, so won't have anything in the new major that the old one doesn't have already |
|
@fb55 can we discuss this? I'm in the process of migrating a lot of other packages I maintain to esm-only. so it'd be good to wrap this one up one way or another if you still need CJS, that's what the old version is for since its unlikely we'll add any features any time soon. if somehow there is a fix, we can backport it if needed we don't need to be afraid of major versions. its ok to continue using the previous one in cheerio |
|
Also #1410 is now unblocked and could land in the current major, so in addition to feature parity, the dependencies won't stay behind. |
|
@fb55 maybe lets revisit this? my plan would be this now:
|
Switches the 3 remaining dual packages to ESM only: - `parse5-htmlparser2-tree-adapter` - `parse5-parser-stream` - `parse5`
|
we actually fixed the entities problem and the other internal issue without having to change esm/CJS in the end so this should be unblocked now! if I can get the go ahead from you @fb55 , I'll catch this up and sort out a new major etc |
|
@fb55 any chance we can get your thoughts on this one? would be good to figure out if we can move it forward or if it is blocked |
|
awesome 🎉 doing one last check over it - we will need to also release a new major of i do wonder if it should be a peer instead (but would still need a new major to change that) |
|
ok cool i just tried it inside lit and all seems good! ill get this released |
Switches the 3 remaining dual packages to ESM only:
parse5-htmlparser2-tree-adapterparse5-parser-streamparse5NOTE: we still haven't decided if we are ready to do this yet. just leaving this draft here for when we do one day