Open smurrayatwork opened 4 years ago
Interesting, that's not expected. Will dig in to see why this is happening. Thanks for reporting!
Investigated a little; it looks like our installer (esinstall
) correctly grabs the right version, but I believe when resolving, the CDN points to the wrong version of dom-helpers
like @smurrayatwork says
Just wanted to give an update on this. This isn‘t outlined anywhere, but dom-helpers
is one of our “special” packages, because it’s a utility library. Much like how if a library uses a single lodash
function, it’s better to simply inline that one function than make a new request to the entire library, we do the same with dom-helpers
. However in this scenario we include a more recent version than your package is expecting. We are looking to address this with our next major update to the CDN.
A package I support, @massds/mayflower-react currently depends on the specific package dom-helpers@3.4.0.
When using the skypack cdn, we're seeing an error reporting that mayflower react is unable to be built due to not being able to resolve
dom-helpers/style
.dom-helpers/style
is removed in the latest version of thedom-helpers
package, but we're not yet on that. Our package.json file for mayflower react is specifically set to 3.4.0 fordom-helpers
, but it appears that skypack is trying to grab the latest version of the dependency instead. Can someone help with this?Thanks!