@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.
@@ -185,7 +185,12 @@ function isRequireEsmRefusal(error) {
185
185
  }
186
186
  function loadPeer(specifier, host) {
187
187
  if (host.resolve === void 0) return host.require(specifier);
188
- const entry = fileURLToPath(host.resolve(specifier));
188
+ let entry;
189
+ try {
190
+ entry = fileURLToPath(host.resolve(specifier));
191
+ } catch {
192
+ return host.require(specifier);
193
+ }
189
194
  try {
190
195
  return host.require(entry);
191
196
  } catch (error) {