@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.
- package/CHANGELOG.md +8 -0
- package/dist/astm/index.cjs +6 -1
- package/dist/astm/index.cjs.map +1 -1
- package/dist/astm/index.mjs +6 -1
- package/dist/astm/index.mjs.map +1 -1
- package/dist/ccda/index.cjs +6 -1
- package/dist/ccda/index.cjs.map +1 -1
- package/dist/ccda/index.mjs +6 -1
- package/dist/ccda/index.mjs.map +1 -1
- package/dist/deid/index.cjs +6 -1
- package/dist/deid/index.cjs.map +1 -1
- package/dist/deid/index.mjs +6 -1
- package/dist/deid/index.mjs.map +1 -1
- package/dist/fhir/index.cjs +6 -1
- package/dist/fhir/index.cjs.map +1 -1
- package/dist/fhir/index.mjs +6 -1
- package/dist/fhir/index.mjs.map +1 -1
- package/dist/hl7/index.cjs +6 -1
- package/dist/hl7/index.cjs.map +1 -1
- package/dist/hl7/index.mjs +6 -1
- package/dist/hl7/index.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/ncpdp/index.cjs +6 -1
- package/dist/ncpdp/index.cjs.map +1 -1
- package/dist/ncpdp/index.mjs +6 -1
- package/dist/ncpdp/index.mjs.map +1 -1
- package/dist/x12/index.cjs +6 -1
- package/dist/x12/index.cjs.map +1 -1
- package/dist/x12/index.mjs +6 -1
- package/dist/x12/index.mjs.map +1 -1
- package/package.json +12 -4
package/dist/deid/index.cjs
CHANGED
|
@@ -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
|
-
|
|
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) {
|