bitfab 0.54.14 → 0.57.1

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BitfabError
3
- } from "./chunk-N7ZNDZLR.js";
3
+ } from "./chunk-4NPJ3DSE.js";
4
4
 
5
5
  // src/codeChange.ts
6
6
  var NUL = String.fromCharCode(0);
@@ -231,7 +231,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
231
231
  sessionId: seedCase.sessionId
232
232
  })
233
233
  );
234
- const { flushTraces: flushTraces2 } = await import("./http-ZXMIZQV5.js");
234
+ const { flushTraces: flushTraces2 } = await import("./http-EAWR6TM7.js");
235
235
  await flushTraces2(3e4);
236
236
  return { pipeline, traceFunctionKey, traceIds };
237
237
  }
@@ -691,7 +691,8 @@ async function runReplayCli(registry, argv = typeof process === "undefined" ? []
691
691
  }
692
692
 
693
693
  // src/registryCommand.ts
694
- import { tsImport } from "tsx/esm/api";
694
+ import { register } from "tsx/esm/api";
695
+ var isTypeScriptLoaderRegistered = false;
695
696
  async function parseRegistryCommandArgs(argv, usage2) {
696
697
  if (argv.some((value) => value === "--help" || value === "-h") && !argv.includes("--registry")) {
697
698
  throw new ReplayCliHelp(usage2);
@@ -712,7 +713,11 @@ async function parseRegistryCommandArgs(argv, usage2) {
712
713
  }
713
714
  async function importRegistry(path) {
714
715
  const { pathToFileURL } = await import("url");
715
- return tsImport(pathToFileURL(path).href, import.meta.url);
716
+ if (!isTypeScriptLoaderRegistered) {
717
+ register();
718
+ isTypeScriptLoaderRegistered = true;
719
+ }
720
+ return import(pathToFileURL(path).href);
716
721
  }
717
722
  function resolveRegistry(moduleValue, path) {
718
723
  if (typeof moduleValue !== "object" || moduleValue === null) {
@@ -774,4 +779,4 @@ export {
774
779
  runRegistryMain,
775
780
  runIfEntrypoint
776
781
  };
777
- //# sourceMappingURL=chunk-3FL22BEM.js.map
782
+ //# sourceMappingURL=chunk-HYKP33MS.js.map