@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.
@@ -458,7 +458,12 @@ function isRequireEsmRefusal(error) {
458
458
  }
459
459
  function loadPeer(specifier, host) {
460
460
  if (host.resolve === void 0) return host.require(specifier);
461
- const entry = url.fileURLToPath(host.resolve(specifier));
461
+ let entry;
462
+ try {
463
+ entry = url.fileURLToPath(host.resolve(specifier));
464
+ } catch {
465
+ return host.require(specifier);
466
+ }
462
467
  try {
463
468
  return host.require(entry);
464
469
  } catch (error) {