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