@cosyte/synth 0.1.7 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -865,7 +865,12 @@ function isRequireEsmRefusal(error) {
865
865
  }
866
866
  function loadPeer(specifier, host) {
867
867
  if (host.resolve === void 0) return host.require(specifier);
868
- const entry = url.fileURLToPath(host.resolve(specifier));
868
+ let entry;
869
+ try {
870
+ entry = url.fileURLToPath(host.resolve(specifier));
871
+ } catch {
872
+ return host.require(specifier);
873
+ }
869
874
  try {
870
875
  return host.require(entry);
871
876
  } catch (error) {