@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.
@@ -544,7 +544,12 @@ function isRequireEsmRefusal(error) {
544
544
  }
545
545
  function loadPeer(specifier, host) {
546
546
  if (host.resolve === void 0) return host.require(specifier);
547
- const entry = fileURLToPath(host.resolve(specifier));
547
+ let entry;
548
+ try {
549
+ entry = fileURLToPath(host.resolve(specifier));
550
+ } catch {
551
+ return host.require(specifier);
552
+ }
548
553
  try {
549
554
  return host.require(entry);
550
555
  } catch (error) {