@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.
@@ -569,7 +569,12 @@ function isRequireEsmRefusal(error) {
569
569
  }
570
570
  function loadPeer(specifier, host) {
571
571
  if (host.resolve === void 0) return host.require(specifier);
572
- const entry = url.fileURLToPath(host.resolve(specifier));
572
+ let entry;
573
+ try {
574
+ entry = url.fileURLToPath(host.resolve(specifier));
575
+ } catch {
576
+ return host.require(specifier);
577
+ }
573
578
  try {
574
579
  return host.require(entry);
575
580
  } catch (error) {