@cosyte/synth 0.1.8 → 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.
@@ -862,7 +862,12 @@ function isRequireEsmRefusal(error) {
862
862
  }
863
863
  function loadPeer(specifier, host) {
864
864
  if (host.resolve === void 0) return host.require(specifier);
865
- const entry = fileURLToPath(host.resolve(specifier));
865
+ let entry;
866
+ try {
867
+ entry = fileURLToPath(host.resolve(specifier));
868
+ } catch {
869
+ return host.require(specifier);
870
+ }
866
871
  try {
867
872
  return host.require(entry);
868
873
  } catch (error) {