@storm-software/workspace-tools 1.60.19 → 1.60.21

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/index.js CHANGED
@@ -391305,9 +391305,9 @@ var require_project_name_and_root_utils = __commonJS({
391305
391305
  }
391306
391306
  });
391307
391307
 
391308
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/package.json
391308
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/package.json
391309
391309
  var require_package4 = __commonJS({
391310
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/package.json"(exports2, module2) {
391310
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/package.json"(exports2, module2) {
391311
391311
  module2.exports = {
391312
391312
  name: "@nx/js",
391313
391313
  version: "18.0.4",
@@ -391387,9 +391387,9 @@ var require_package4 = __commonJS({
391387
391387
  }
391388
391388
  });
391389
391389
 
391390
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/versions.js
391390
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/versions.js
391391
391391
  var require_versions2 = __commonJS({
391392
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/versions.js"(exports2) {
391392
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/versions.js"(exports2) {
391393
391393
  "use strict";
391394
391394
  Object.defineProperty(exports2, "__esModule", { value: true });
391395
391395
  exports2.supportedTypescriptVersions = exports2.typescriptVersion = exports2.verdaccioVersion = exports2.typesNodeVersion = exports2.tsLibVersion = exports2.swcNodeVersion = exports2.swcHelpersVersion = exports2.swcCoreVersion = exports2.swcCliVersion = exports2.prettierVersion = exports2.esbuildVersion = exports2.nxVersion = void 0;
@@ -391408,9 +391408,9 @@ var require_versions2 = __commonJS({
391408
391408
  }
391409
391409
  });
391410
391410
 
391411
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/add-tslib-dependencies.js
391411
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/add-tslib-dependencies.js
391412
391412
  var require_add_tslib_dependencies = __commonJS({
391413
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/add-tslib-dependencies.js"(exports2) {
391413
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/add-tslib-dependencies.js"(exports2) {
391414
391414
  "use strict";
391415
391415
  Object.defineProperty(exports2, "__esModule", { value: true });
391416
391416
  exports2.addTsLibDependencies = void 0;
@@ -391425,9 +391425,9 @@ var require_add_tslib_dependencies = __commonJS({
391425
391425
  }
391426
391426
  });
391427
391427
 
391428
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/load-ts-transformers.js
391428
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/load-ts-transformers.js
391429
391429
  var require_load_ts_transformers = __commonJS({
391430
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/load-ts-transformers.js"(exports2, module2) {
391430
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/load-ts-transformers.js"(exports2, module2) {
391431
391431
  "use strict";
391432
391432
  Object.defineProperty(exports2, "__esModule", { value: true });
391433
391433
  exports2.loadTsTransformers = void 0;
@@ -391492,9 +391492,9 @@ var require_load_ts_transformers = __commonJS({
391492
391492
  }
391493
391493
  });
391494
391494
 
391495
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/print-diagnostics.js
391495
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/print-diagnostics.js
391496
391496
  var require_print_diagnostics = __commonJS({
391497
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/print-diagnostics.js"(exports2) {
391497
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/print-diagnostics.js"(exports2) {
391498
391498
  "use strict";
391499
391499
  Object.defineProperty(exports2, "__esModule", { value: true });
391500
391500
  exports2.printDiagnostics = void 0;
@@ -391517,9 +391517,9 @@ var require_print_diagnostics = __commonJS({
391517
391517
  }
391518
391518
  });
391519
391519
 
391520
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/code-frames/identifiers.js
391520
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/code-frames/identifiers.js
391521
391521
  var require_identifiers3 = __commonJS({
391522
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/code-frames/identifiers.js"(exports2) {
391522
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/code-frames/identifiers.js"(exports2) {
391523
391523
  "use strict";
391524
391524
  Object.defineProperty(exports2, "__esModule", { value: true });
391525
391525
  exports2.isKeyword = exports2.isReservedWord = void 0;
@@ -391571,9 +391571,9 @@ var require_identifiers3 = __commonJS({
391571
391571
  }
391572
391572
  });
391573
391573
 
391574
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/code-frames/highlight.js
391574
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/code-frames/highlight.js
391575
391575
  var require_highlight = __commonJS({
391576
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/code-frames/highlight.js"(exports2) {
391576
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/code-frames/highlight.js"(exports2) {
391577
391577
  "use strict";
391578
391578
  Object.defineProperty(exports2, "__esModule", { value: true });
391579
391579
  exports2.highlight = void 0;
@@ -391638,9 +391638,9 @@ var require_highlight = __commonJS({
391638
391638
  }
391639
391639
  });
391640
391640
 
391641
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/ensure-typescript.js
391641
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/ensure-typescript.js
391642
391642
  var require_ensure_typescript = __commonJS({
391643
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/ensure-typescript.js"(exports2) {
391643
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/ensure-typescript.js"(exports2) {
391644
391644
  "use strict";
391645
391645
  Object.defineProperty(exports2, "__esModule", { value: true });
391646
391646
  exports2.ensureTypescript = void 0;
@@ -391653,9 +391653,9 @@ var require_ensure_typescript = __commonJS({
391653
391653
  }
391654
391654
  });
391655
391655
 
391656
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/ts-config.js
391656
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/ts-config.js
391657
391657
  var require_ts_config = __commonJS({
391658
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/ts-config.js"(exports2) {
391658
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/ts-config.js"(exports2) {
391659
391659
  "use strict";
391660
391660
  Object.defineProperty(exports2, "__esModule", { value: true });
391661
391661
  exports2.readTsConfigPaths = exports2.addTsConfigPath = exports2.getRootTsConfigFileName = exports2.getRootTsConfigPath = exports2.getRelativePathToRootTsConfig = exports2.getRootTsConfigPathInTree = exports2.readTsConfig = void 0;
@@ -391739,9 +391739,9 @@ var require_ts_config = __commonJS({
391739
391739
  }
391740
391740
  });
391741
391741
 
391742
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/run-type-check.js
391742
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/run-type-check.js
391743
391743
  var require_run_type_check = __commonJS({
391744
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/run-type-check.js"(exports2) {
391744
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/run-type-check.js"(exports2) {
391745
391745
  "use strict";
391746
391746
  Object.defineProperty(exports2, "__esModule", { value: true });
391747
391747
  exports2.getFormattedDiagnostic = exports2.runTypeCheck = exports2.runTypeCheckWatch = void 0;
@@ -391857,9 +391857,9 @@ var require_run_type_check = __commonJS({
391857
391857
  }
391858
391858
  });
391859
391859
 
391860
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/get-source-nodes.js
391860
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/get-source-nodes.js
391861
391861
  var require_get_source_nodes = __commonJS({
391862
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/get-source-nodes.js"(exports2) {
391862
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/get-source-nodes.js"(exports2) {
391863
391863
  "use strict";
391864
391864
  Object.defineProperty(exports2, "__esModule", { value: true });
391865
391865
  exports2.getSourceNodes = void 0;
@@ -391881,9 +391881,9 @@ var require_get_source_nodes = __commonJS({
391881
391881
  }
391882
391882
  });
391883
391883
 
391884
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/swc/get-swcrc-path.js
391884
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/swc/get-swcrc-path.js
391885
391885
  var require_get_swcrc_path = __commonJS({
391886
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/swc/get-swcrc-path.js"(exports2) {
391886
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/swc/get-swcrc-path.js"(exports2) {
391887
391887
  "use strict";
391888
391888
  Object.defineProperty(exports2, "__esModule", { value: true });
391889
391889
  exports2.getSwcrcPath = void 0;
@@ -391895,9 +391895,9 @@ var require_get_swcrc_path = __commonJS({
391895
391895
  }
391896
391896
  });
391897
391897
 
391898
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/compiler-helper-dependency.js
391898
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/compiler-helper-dependency.js
391899
391899
  var require_compiler_helper_dependency = __commonJS({
391900
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/compiler-helper-dependency.js"(exports2) {
391900
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/compiler-helper-dependency.js"(exports2) {
391901
391901
  "use strict";
391902
391902
  Object.defineProperty(exports2, "__esModule", { value: true });
391903
391903
  exports2.getHelperDependenciesFromProjectGraph = exports2.getHelperDependency = exports2.HelperDependency = void 0;
@@ -391996,9 +391996,9 @@ var require_compiler_helper_dependency = __commonJS({
391996
391996
  }
391997
391997
  });
391998
391998
 
391999
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/create-ts-config.js
391999
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/create-ts-config.js
392000
392000
  var require_create_ts_config = __commonJS({
392001
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/create-ts-config.js"(exports2) {
392001
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/create-ts-config.js"(exports2) {
392002
392002
  "use strict";
392003
392003
  Object.defineProperty(exports2, "__esModule", { value: true });
392004
392004
  exports2.extractTsConfigBase = exports2.tsConfigBaseOptions = void 0;
@@ -392048,9 +392048,9 @@ var require_create_ts_config = __commonJS({
392048
392048
  }
392049
392049
  });
392050
392050
 
392051
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/ast-utils.js
392051
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/ast-utils.js
392052
392052
  var require_ast_utils = __commonJS({
392053
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/typescript/ast-utils.js"(exports2) {
392053
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/typescript/ast-utils.js"(exports2) {
392054
392054
  "use strict";
392055
392055
  Object.defineProperty(exports2, "__esModule", { value: true });
392056
392056
  exports2.findNodes = exports2.findClass = exports2.addMethod = exports2.addParameterToConstructor = exports2.replaceNodeValue = exports2.getImport = exports2.addGlobal = exports2.insertImport = exports2.removeChange = exports2.replaceChange = exports2.insertChange = exports2.resolveModuleByImport = void 0;
@@ -392289,9 +392289,9 @@ ${opts.methodHeader} {}
392289
392289
  }
392290
392290
  });
392291
392291
 
392292
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/watch-for-single-file-changes.js
392292
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/watch-for-single-file-changes.js
392293
392293
  var require_watch_for_single_file_changes = __commonJS({
392294
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/watch-for-single-file-changes.js"(exports2) {
392294
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/watch-for-single-file-changes.js"(exports2) {
392295
392295
  "use strict";
392296
392296
  Object.defineProperty(exports2, "__esModule", { value: true });
392297
392297
  exports2.watchForSingleFileChanges = void 0;
@@ -392315,9 +392315,9 @@ var require_watch_for_single_file_changes = __commonJS({
392315
392315
  }
392316
392316
  });
392317
392317
 
392318
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/get-main-file-dir.js
392318
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/get-main-file-dir.js
392319
392319
  var require_get_main_file_dir = __commonJS({
392320
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/get-main-file-dir.js"(exports2) {
392320
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/get-main-file-dir.js"(exports2) {
392321
392321
  "use strict";
392322
392322
  Object.defineProperty(exports2, "__esModule", { value: true });
392323
392323
  exports2.getRelativeDirectoryToProjectRoot = void 0;
@@ -392332,9 +392332,9 @@ var require_get_main_file_dir = __commonJS({
392332
392332
  }
392333
392333
  });
392334
392334
 
392335
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/package-json/update-package-json.js
392335
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/package-json/update-package-json.js
392336
392336
  var require_update_package_json = __commonJS({
392337
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/package-json/update-package-json.js"(exports2) {
392337
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/package-json/update-package-json.js"(exports2) {
392338
392338
  "use strict";
392339
392339
  Object.defineProperty(exports2, "__esModule", { value: true });
392340
392340
  exports2.getUpdatedPackageJsonContent = exports2.getExports = exports2.updatePackageJson = void 0;
@@ -392492,9 +392492,9 @@ var require_update_package_json = __commonJS({
392492
392492
  }
392493
392493
  });
392494
392494
 
392495
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/buildable-libs-utils.js
392495
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/buildable-libs-utils.js
392496
392496
  var require_buildable_libs_utils = __commonJS({
392497
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/buildable-libs-utils.js"(exports2) {
392497
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/buildable-libs-utils.js"(exports2) {
392498
392498
  "use strict";
392499
392499
  Object.defineProperty(exports2, "__esModule", { value: true });
392500
392500
  exports2.updateBuildableProjectPackageJsonDependencies = exports2.updatePaths = exports2.findMissingBuildDependencies = exports2.checkDependentProjectsHaveBeenBuilt = exports2.createTmpTsConfig = exports2.computeCompilerOptionsPaths = exports2.calculateDependenciesFromTaskGraph = exports2.calculateProjectDependencies = exports2.calculateProjectBuildableDependencies = void 0;
@@ -392818,9 +392818,9 @@ var require_buildable_libs_utils = __commonJS({
392818
392818
  }
392819
392819
  });
392820
392820
 
392821
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/check-dependencies.js
392821
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/check-dependencies.js
392822
392822
  var require_check_dependencies = __commonJS({
392823
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/check-dependencies.js"(exports2) {
392823
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/check-dependencies.js"(exports2) {
392824
392824
  "use strict";
392825
392825
  Object.defineProperty(exports2, "__esModule", { value: true });
392826
392826
  exports2.checkDependencies = void 0;
@@ -392847,9 +392847,9 @@ var require_check_dependencies = __commonJS({
392847
392847
  }
392848
392848
  });
392849
392849
 
392850
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/package-json/index.js
392850
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/package-json/index.js
392851
392851
  var require_package_json2 = __commonJS({
392852
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/package-json/index.js"(exports2) {
392852
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/package-json/index.js"(exports2) {
392853
392853
  "use strict";
392854
392854
  Object.defineProperty(exports2, "__esModule", { value: true });
392855
392855
  exports2.copyPackageJson = void 0;
@@ -396974,9 +396974,9 @@ var require_out8 = __commonJS({
396974
396974
  }
396975
396975
  });
396976
396976
 
396977
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/assets/copy-assets-handler.js
396977
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/assets/copy-assets-handler.js
396978
396978
  var require_copy_assets_handler = __commonJS({
396979
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/assets/copy-assets-handler.js"(exports2) {
396979
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/assets/copy-assets-handler.js"(exports2) {
396980
396980
  "use strict";
396981
396981
  Object.defineProperty(exports2, "__esModule", { value: true });
396982
396982
  exports2.CopyAssetsHandler = exports2.defaultFileEventHandler = void 0;
@@ -397123,9 +397123,9 @@ var require_copy_assets_handler = __commonJS({
397123
397123
  }
397124
397124
  });
397125
397125
 
397126
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/assets/index.js
397126
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/assets/index.js
397127
397127
  var require_assets = __commonJS({
397128
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/assets/index.js"(exports2) {
397128
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/assets/index.js"(exports2) {
397129
397129
  "use strict";
397130
397130
  Object.defineProperty(exports2, "__esModule", { value: true });
397131
397131
  exports2.copyAssets = void 0;
@@ -397155,9 +397155,9 @@ var require_assets = __commonJS({
397155
397155
  }
397156
397156
  });
397157
397157
 
397158
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/package-json/create-entry-points.js
397158
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/package-json/create-entry-points.js
397159
397159
  var require_create_entry_points = __commonJS({
397160
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/package-json/create-entry-points.js"(exports2) {
397160
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/package-json/create-entry-points.js"(exports2) {
397161
397161
  "use strict";
397162
397162
  Object.defineProperty(exports2, "__esModule", { value: true });
397163
397163
  exports2.createEntryPoints = void 0;
@@ -397179,9 +397179,9 @@ var require_create_entry_points = __commonJS({
397179
397179
  }
397180
397180
  });
397181
397181
 
397182
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/minimal-publish-script.js
397182
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/minimal-publish-script.js
397183
397183
  var require_minimal_publish_script = __commonJS({
397184
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/minimal-publish-script.js"(exports2) {
397184
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/minimal-publish-script.js"(exports2) {
397185
397185
  "use strict";
397186
397186
  Object.defineProperty(exports2, "__esModule", { value: true });
397187
397187
  exports2.addMinimalPublishScript = void 0;
@@ -397259,9 +397259,9 @@ execSync(\`npm publish --access public --tag \${tag}\`);
397259
397259
  }
397260
397260
  });
397261
397261
 
397262
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/swc/add-swc-config.js
397262
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/swc/add-swc-config.js
397263
397263
  var require_add_swc_config = __commonJS({
397264
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/swc/add-swc-config.js"(exports2) {
397264
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/swc/add-swc-config.js"(exports2) {
397265
397265
  "use strict";
397266
397266
  Object.defineProperty(exports2, "__esModule", { value: true });
397267
397267
  exports2.addSwcConfig = exports2.defaultExclude = void 0;
@@ -397306,9 +397306,9 @@ var require_add_swc_config = __commonJS({
397306
397306
  }
397307
397307
  });
397308
397308
 
397309
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/swc/add-swc-dependencies.js
397309
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/swc/add-swc-dependencies.js
397310
397310
  var require_add_swc_dependencies = __commonJS({
397311
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/swc/add-swc-dependencies.js"(exports2) {
397311
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/swc/add-swc-dependencies.js"(exports2) {
397312
397312
  "use strict";
397313
397313
  Object.defineProperty(exports2, "__esModule", { value: true });
397314
397314
  exports2.addSwcRegisterDependencies = exports2.addSwcDependencies = void 0;
@@ -397354,9 +397354,9 @@ var require_semver4 = __commonJS({
397354
397354
  }
397355
397355
  });
397356
397356
 
397357
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/init/init.js
397357
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/init/init.js
397358
397358
  var require_init = __commonJS({
397359
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/init/init.js"(exports2) {
397359
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/init/init.js"(exports2) {
397360
397360
  "use strict";
397361
397361
  Object.defineProperty(exports2, "__esModule", { value: true });
397362
397362
  exports2.initGenerator = void 0;
@@ -397463,9 +397463,9 @@ var require_init = __commonJS({
397463
397463
  }
397464
397464
  });
397465
397465
 
397466
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/setup-verdaccio/generator.js
397466
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/setup-verdaccio/generator.js
397467
397467
  var require_generator = __commonJS({
397468
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/setup-verdaccio/generator.js"(exports2) {
397468
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/setup-verdaccio/generator.js"(exports2) {
397469
397469
  "use strict";
397470
397470
  Object.defineProperty(exports2, "__esModule", { value: true });
397471
397471
  exports2.setupVerdaccio = void 0;
@@ -397564,9 +397564,9 @@ var require_add_build_target_defaults = __commonJS({
397564
397564
  }
397565
397565
  });
397566
397566
 
397567
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/utils/flat-config.js
397567
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/utils/flat-config.js
397568
397568
  var require_flat_config = __commonJS({
397569
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/utils/flat-config.js"(exports2) {
397569
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/utils/flat-config.js"(exports2) {
397570
397570
  "use strict";
397571
397571
  Object.defineProperty(exports2, "__esModule", { value: true });
397572
397572
  exports2.useFlatConfig = void 0;
@@ -397577,9 +397577,9 @@ var require_flat_config = __commonJS({
397577
397577
  }
397578
397578
  });
397579
397579
 
397580
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/utils/flat-config/path-utils.js
397580
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/utils/flat-config/path-utils.js
397581
397581
  var require_path_utils = __commonJS({
397582
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/utils/flat-config/path-utils.js"(exports2) {
397582
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/utils/flat-config/path-utils.js"(exports2) {
397583
397583
  "use strict";
397584
397584
  Object.defineProperty(exports2, "__esModule", { value: true });
397585
397585
  exports2.mapFilePath = exports2.updateFiles = void 0;
@@ -397609,9 +397609,9 @@ var require_path_utils = __commonJS({
397609
397609
  }
397610
397610
  });
397611
397611
 
397612
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js
397612
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js
397613
397613
  var require_ast_utils2 = __commonJS({
397614
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js"(exports2) {
397614
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js"(exports2) {
397615
397615
  "use strict";
397616
397616
  Object.defineProperty(exports2, "__esModule", { value: true });
397617
397617
  exports2.generateAst = exports2.mapFilePaths = exports2.generateFlatOverride = exports2.generateRequire = exports2.stringifyNodeList = exports2.generatePluginExtendsElement = exports2.generateSpreadElement = exports2.createNodeList = exports2.addCompatToFlatConfig = exports2.addPluginsToExportsBlock = exports2.removeCompatExtends = exports2.removePlugin = exports2.addBlockToFlatConfigExport = exports2.addImportToFlatConfig = exports2.replaceOverride = exports2.hasOverride = exports2.removeOverridesFromLintConfig = void 0;
@@ -398068,9 +398068,9 @@ const compat = new FlatCompat({
398068
398068
  }
398069
398069
  });
398070
398070
 
398071
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/utils/config-file.js
398071
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/utils/config-file.js
398072
398072
  var require_config_file = __commonJS({
398073
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/utils/config-file.js"(exports2) {
398073
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/utils/config-file.js"(exports2) {
398074
398074
  "use strict";
398075
398075
  Object.defineProperty(exports2, "__esModule", { value: true });
398076
398076
  exports2.isFlatConfig = exports2.findBaseEslintFile = exports2.baseEsLintFlatConfigFile = exports2.baseEsLintConfigFile = exports2.ESLINT_CONFIG_FILENAMES = void 0;
@@ -398109,9 +398109,9 @@ var require_config_file = __commonJS({
398109
398109
  }
398110
398110
  });
398111
398111
 
398112
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/utils/eslint-file.js
398112
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/utils/eslint-file.js
398113
398113
  var require_eslint_file = __commonJS({
398114
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/utils/eslint-file.js"(exports2) {
398114
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/utils/eslint-file.js"(exports2) {
398115
398115
  "use strict";
398116
398116
  Object.defineProperty(exports2, "__esModule", { value: true });
398117
398117
  exports2.getPluginImport = exports2.addIgnoresToLintConfig = exports2.addPluginsToLintConfig = exports2.addExtendsToLintConfig = exports2.replaceOverridesInLintConfig = exports2.lintConfigHasOverride = exports2.updateOverrideInLintConfig = exports2.addOverrideToLintConfig = exports2.updateRelativePathsInConfig = exports2.isEslintConfigSupported = exports2.findEslintFile = void 0;
@@ -398376,9 +398376,9 @@ var require_eslint_file = __commonJS({
398376
398376
  }
398377
398377
  });
398378
398378
 
398379
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/library/library.js
398379
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/library/library.js
398380
398380
  var require_library = __commonJS({
398381
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/library/library.js"(exports2) {
398381
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/library/library.js"(exports2) {
398382
398382
  "use strict";
398383
398383
  Object.defineProperty(exports2, "__esModule", { value: true });
398384
398384
  exports2.addLint = exports2.libraryGeneratorInternal = exports2.libraryGenerator = void 0;
@@ -398933,9 +398933,9 @@ var require_library = __commonJS({
398933
398933
  }
398934
398934
  });
398935
398935
 
398936
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/index.js
398936
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/index.js
398937
398937
  var require_src5 = __commonJS({
398938
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/index.js"(exports2) {
398938
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/index.js"(exports2) {
398939
398939
  "use strict";
398940
398940
  Object.defineProperty(exports2, "__esModule", { value: true });
398941
398941
  exports2.createPackageJson = exports2.getLockFileName = exports2.createLockFile = exports2.initGenerator = exports2.libraryGenerator = void 0;
@@ -400094,9 +400094,9 @@ var require_update_package_scripts = __commonJS({
400094
400094
  }
400095
400095
  });
400096
400096
 
400097
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/package.json
400097
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/package.json
400098
400098
  var require_package5 = __commonJS({
400099
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/package.json"(exports2, module2) {
400099
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/package.json"(exports2, module2) {
400100
400100
  module2.exports = {
400101
400101
  name: "@nx/eslint",
400102
400102
  version: "18.0.4",
@@ -400152,9 +400152,9 @@ var require_package5 = __commonJS({
400152
400152
  }
400153
400153
  });
400154
400154
 
400155
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/utils/versions.js
400155
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/utils/versions.js
400156
400156
  var require_versions3 = __commonJS({
400157
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/utils/versions.js"(exports2) {
400157
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/utils/versions.js"(exports2) {
400158
400158
  "use strict";
400159
400159
  Object.defineProperty(exports2, "__esModule", { value: true });
400160
400160
  exports2.typescriptESLintVersion = exports2.eslintConfigPrettierVersion = exports2.eslintrcVersion = exports2.eslintVersion = exports2.nxVersion = void 0;
@@ -400166,9 +400166,9 @@ var require_versions3 = __commonJS({
400166
400166
  }
400167
400167
  });
400168
400168
 
400169
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/plugins/plugin.js
400169
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/plugins/plugin.js
400170
400170
  var require_plugin = __commonJS({
400171
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/plugins/plugin.js"(exports2) {
400171
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/plugins/plugin.js"(exports2) {
400172
400172
  "use strict";
400173
400173
  Object.defineProperty(exports2, "__esModule", { value: true });
400174
400174
  exports2.createNodes = void 0;
@@ -400260,9 +400260,9 @@ var require_plugin = __commonJS({
400260
400260
  }
400261
400261
  });
400262
400262
 
400263
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/utils/plugin.js
400263
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/utils/plugin.js
400264
400264
  var require_plugin2 = __commonJS({
400265
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/utils/plugin.js"(exports2) {
400265
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/utils/plugin.js"(exports2) {
400266
400266
  "use strict";
400267
400267
  Object.defineProperty(exports2, "__esModule", { value: true });
400268
400268
  exports2.hasEslintPlugin = void 0;
@@ -400275,9 +400275,9 @@ var require_plugin2 = __commonJS({
400275
400275
  }
400276
400276
  });
400277
400277
 
400278
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/init/init.js
400278
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/init/init.js
400279
400279
  var require_init2 = __commonJS({
400280
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/init/init.js"(exports2) {
400280
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/init/init.js"(exports2) {
400281
400281
  "use strict";
400282
400282
  Object.defineProperty(exports2, "__esModule", { value: true });
400283
400283
  exports2.lintInitGenerator = exports2.initEsLint = void 0;
@@ -400369,9 +400369,9 @@ var require_init2 = __commonJS({
400369
400369
  }
400370
400370
  });
400371
400371
 
400372
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js
400372
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js
400373
400373
  var require_global_eslint_config = __commonJS({
400374
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js"(exports2) {
400374
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js"(exports2) {
400375
400375
  "use strict";
400376
400376
  Object.defineProperty(exports2, "__esModule", { value: true });
400377
400377
  exports2.getGlobalFlatEslintConfiguration = exports2.getGlobalEsLintConfiguration = exports2.javaScriptOverride = exports2.typeScriptOverride = void 0;
@@ -400460,9 +400460,9 @@ var require_global_eslint_config = __commonJS({
400460
400460
  }
400461
400461
  });
400462
400462
 
400463
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/init/init-migration.js
400463
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/init/init-migration.js
400464
400464
  var require_init_migration = __commonJS({
400465
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/init/init-migration.js"(exports2) {
400465
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/init/init-migration.js"(exports2) {
400466
400466
  "use strict";
400467
400467
  Object.defineProperty(exports2, "__esModule", { value: true });
400468
400468
  exports2.findLintTarget = exports2.migrateConfigToMonorepoStyle = void 0;
@@ -400575,9 +400575,9 @@ var require_init_migration = __commonJS({
400575
400575
  }
400576
400576
  });
400577
400577
 
400578
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/lint-project/setup-root-eslint.js
400578
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/lint-project/setup-root-eslint.js
400579
400579
  var require_setup_root_eslint = __commonJS({
400580
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/lint-project/setup-root-eslint.js"(exports2) {
400580
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/lint-project/setup-root-eslint.js"(exports2) {
400581
400581
  "use strict";
400582
400582
  Object.defineProperty(exports2, "__esModule", { value: true });
400583
400583
  exports2.setupRootEsLint = void 0;
@@ -400615,9 +400615,9 @@ node_modules
400615
400615
  }
400616
400616
  });
400617
400617
 
400618
- // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js
400618
+ // node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js
400619
400619
  var require_lint_project = __commonJS({
400620
- "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_7aktmktxtgbbkeb4gyh2xljcra/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js"(exports2) {
400620
+ "node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.1_47lwvlodqoflmqpbzda7delm3e/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js"(exports2) {
400621
400621
  "use strict";
400622
400622
  Object.defineProperty(exports2, "__esModule", { value: true });
400623
400623
  exports2.lintProjectGeneratorInternal = exports2.lintProjectGenerator = void 0;
@@ -401041,9 +401041,9 @@ var require_src6 = __commonJS({
401041
401041
  }
401042
401042
  });
401043
401043
 
401044
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/executors/tsc/lib/get-custom-transformers-factory.js
401044
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/executors/tsc/lib/get-custom-transformers-factory.js
401045
401045
  var require_get_custom_transformers_factory = __commonJS({
401046
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/executors/tsc/lib/get-custom-transformers-factory.js"(exports2) {
401046
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/executors/tsc/lib/get-custom-transformers-factory.js"(exports2) {
401047
401047
  "use strict";
401048
401048
  Object.defineProperty(exports2, "__esModule", { value: true });
401049
401049
  exports2.getCustomTrasformersFactory = void 0;
@@ -401060,9 +401060,9 @@ var require_get_custom_transformers_factory = __commonJS({
401060
401060
  }
401061
401061
  });
401062
401062
 
401063
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/assets/assets.js
401063
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/assets/assets.js
401064
401064
  var require_assets2 = __commonJS({
401065
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/utils/assets/assets.js"(exports2) {
401065
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/utils/assets/assets.js"(exports2) {
401066
401066
  "use strict";
401067
401067
  Object.defineProperty(exports2, "__esModule", { value: true });
401068
401068
  exports2.assetGlobsToFiles = void 0;
@@ -401101,9 +401101,9 @@ var require_assets2 = __commonJS({
401101
401101
  }
401102
401102
  });
401103
401103
 
401104
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/executors/tsc/lib/normalize-options.js
401104
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/executors/tsc/lib/normalize-options.js
401105
401105
  var require_normalize_options = __commonJS({
401106
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/executors/tsc/lib/normalize-options.js"(exports2) {
401106
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/executors/tsc/lib/normalize-options.js"(exports2) {
401107
401107
  "use strict";
401108
401108
  Object.defineProperty(exports2, "__esModule", { value: true });
401109
401109
  exports2.normalizeOptions = void 0;
@@ -403526,2412 +403526,6 @@ var require_lib6 = __commonJS({
403526
403526
  }
403527
403527
  });
403528
403528
 
403529
- // node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js
403530
- var require_main2 = __commonJS({
403531
- "node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js"(exports2, module2) {
403532
- "use strict";
403533
- var __defProp4 = Object.defineProperty;
403534
- var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
403535
- var __getOwnPropNames3 = Object.getOwnPropertyNames;
403536
- var __hasOwnProp3 = Object.prototype.hasOwnProperty;
403537
- var __export4 = (target, all) => {
403538
- for (var name in all)
403539
- __defProp4(target, name, { get: all[name], enumerable: true });
403540
- };
403541
- var __copyProps3 = (to3, from, except, desc) => {
403542
- if (from && typeof from === "object" || typeof from === "function") {
403543
- for (let key2 of __getOwnPropNames3(from))
403544
- if (!__hasOwnProp3.call(to3, key2) && key2 !== except)
403545
- __defProp4(to3, key2, { get: () => from[key2], enumerable: !(desc = __getOwnPropDesc3(from, key2)) || desc.enumerable });
403546
- }
403547
- return to3;
403548
- };
403549
- var __toCommonJS2 = (mod) => __copyProps3(__defProp4({}, "__esModule", { value: true }), mod);
403550
- var node_exports = {};
403551
- __export4(node_exports, {
403552
- analyzeMetafile: () => analyzeMetafile,
403553
- analyzeMetafileSync: () => analyzeMetafileSync,
403554
- build: () => build2,
403555
- buildSync: () => buildSync,
403556
- context: () => context,
403557
- default: () => node_default,
403558
- formatMessages: () => formatMessages,
403559
- formatMessagesSync: () => formatMessagesSync,
403560
- initialize: () => initialize,
403561
- stop: () => stop,
403562
- transform: () => transform3,
403563
- transformSync: () => transformSync,
403564
- version: () => version
403565
- });
403566
- module2.exports = __toCommonJS2(node_exports);
403567
- function encodePacket(packet) {
403568
- let visit = (value) => {
403569
- if (value === null) {
403570
- bb.write8(0);
403571
- } else if (typeof value === "boolean") {
403572
- bb.write8(1);
403573
- bb.write8(+value);
403574
- } else if (typeof value === "number") {
403575
- bb.write8(2);
403576
- bb.write32(value | 0);
403577
- } else if (typeof value === "string") {
403578
- bb.write8(3);
403579
- bb.write(encodeUTF8(value));
403580
- } else if (value instanceof Uint8Array) {
403581
- bb.write8(4);
403582
- bb.write(value);
403583
- } else if (value instanceof Array) {
403584
- bb.write8(5);
403585
- bb.write32(value.length);
403586
- for (let item of value) {
403587
- visit(item);
403588
- }
403589
- } else {
403590
- let keys = Object.keys(value);
403591
- bb.write8(6);
403592
- bb.write32(keys.length);
403593
- for (let key2 of keys) {
403594
- bb.write(encodeUTF8(key2));
403595
- visit(value[key2]);
403596
- }
403597
- }
403598
- };
403599
- let bb = new ByteBuffer();
403600
- bb.write32(0);
403601
- bb.write32(packet.id << 1 | +!packet.isRequest);
403602
- visit(packet.value);
403603
- writeUInt32LE(bb.buf, bb.len - 4, 0);
403604
- return bb.buf.subarray(0, bb.len);
403605
- }
403606
- function decodePacket(bytes) {
403607
- let visit = () => {
403608
- switch (bb.read8()) {
403609
- case 0:
403610
- return null;
403611
- case 1:
403612
- return !!bb.read8();
403613
- case 2:
403614
- return bb.read32();
403615
- case 3:
403616
- return decodeUTF8(bb.read());
403617
- case 4:
403618
- return bb.read();
403619
- case 5: {
403620
- let count = bb.read32();
403621
- let value2 = [];
403622
- for (let i3 = 0; i3 < count; i3++) {
403623
- value2.push(visit());
403624
- }
403625
- return value2;
403626
- }
403627
- case 6: {
403628
- let count = bb.read32();
403629
- let value2 = {};
403630
- for (let i3 = 0; i3 < count; i3++) {
403631
- value2[decodeUTF8(bb.read())] = visit();
403632
- }
403633
- return value2;
403634
- }
403635
- default:
403636
- throw new Error("Invalid packet");
403637
- }
403638
- };
403639
- let bb = new ByteBuffer(bytes);
403640
- let id = bb.read32();
403641
- let isRequest = (id & 1) === 0;
403642
- id >>>= 1;
403643
- let value = visit();
403644
- if (bb.ptr !== bytes.length) {
403645
- throw new Error("Invalid packet");
403646
- }
403647
- return { id, isRequest, value };
403648
- }
403649
- var ByteBuffer = class {
403650
- constructor(buf = new Uint8Array(1024)) {
403651
- this.buf = buf;
403652
- this.len = 0;
403653
- this.ptr = 0;
403654
- }
403655
- _write(delta) {
403656
- if (this.len + delta > this.buf.length) {
403657
- let clone = new Uint8Array((this.len + delta) * 2);
403658
- clone.set(this.buf);
403659
- this.buf = clone;
403660
- }
403661
- this.len += delta;
403662
- return this.len - delta;
403663
- }
403664
- write8(value) {
403665
- let offset = this._write(1);
403666
- this.buf[offset] = value;
403667
- }
403668
- write32(value) {
403669
- let offset = this._write(4);
403670
- writeUInt32LE(this.buf, value, offset);
403671
- }
403672
- write(bytes) {
403673
- let offset = this._write(4 + bytes.length);
403674
- writeUInt32LE(this.buf, bytes.length, offset);
403675
- this.buf.set(bytes, offset + 4);
403676
- }
403677
- _read(delta) {
403678
- if (this.ptr + delta > this.buf.length) {
403679
- throw new Error("Invalid packet");
403680
- }
403681
- this.ptr += delta;
403682
- return this.ptr - delta;
403683
- }
403684
- read8() {
403685
- return this.buf[this._read(1)];
403686
- }
403687
- read32() {
403688
- return readUInt32LE(this.buf, this._read(4));
403689
- }
403690
- read() {
403691
- let length = this.read32();
403692
- let bytes = new Uint8Array(length);
403693
- let ptr = this._read(bytes.length);
403694
- bytes.set(this.buf.subarray(ptr, ptr + length));
403695
- return bytes;
403696
- }
403697
- };
403698
- var encodeUTF8;
403699
- var decodeUTF8;
403700
- var encodeInvariant;
403701
- if (typeof TextEncoder !== "undefined" && typeof TextDecoder !== "undefined") {
403702
- let encoder = new TextEncoder();
403703
- let decoder = new TextDecoder();
403704
- encodeUTF8 = (text) => encoder.encode(text);
403705
- decodeUTF8 = (bytes) => decoder.decode(bytes);
403706
- encodeInvariant = 'new TextEncoder().encode("")';
403707
- } else if (typeof Buffer !== "undefined") {
403708
- encodeUTF8 = (text) => Buffer.from(text);
403709
- decodeUTF8 = (bytes) => {
403710
- let { buffer: buffer2, byteOffset, byteLength } = bytes;
403711
- return Buffer.from(buffer2, byteOffset, byteLength).toString();
403712
- };
403713
- encodeInvariant = 'Buffer.from("")';
403714
- } else {
403715
- throw new Error("No UTF-8 codec found");
403716
- }
403717
- if (!(encodeUTF8("") instanceof Uint8Array))
403718
- throw new Error(`Invariant violation: "${encodeInvariant} instanceof Uint8Array" is incorrectly false
403719
-
403720
- This indicates that your JavaScript environment is broken. You cannot use
403721
- esbuild in this environment because esbuild relies on this invariant. This
403722
- is not a problem with esbuild. You need to fix your environment instead.
403723
- `);
403724
- function readUInt32LE(buffer2, offset) {
403725
- return buffer2[offset++] | buffer2[offset++] << 8 | buffer2[offset++] << 16 | buffer2[offset++] << 24;
403726
- }
403727
- function writeUInt32LE(buffer2, value, offset) {
403728
- buffer2[offset++] = value;
403729
- buffer2[offset++] = value >> 8;
403730
- buffer2[offset++] = value >> 16;
403731
- buffer2[offset++] = value >> 24;
403732
- }
403733
- var quote2 = JSON.stringify;
403734
- var buildLogLevelDefault = "warning";
403735
- var transformLogLevelDefault = "silent";
403736
- function validateTarget(target) {
403737
- validateStringValue(target, "target");
403738
- if (target.indexOf(",") >= 0)
403739
- throw new Error(`Invalid target: ${target}`);
403740
- return target;
403741
- }
403742
- var canBeAnything = () => null;
403743
- var mustBeBoolean = (value) => typeof value === "boolean" ? null : "a boolean";
403744
- var mustBeString = (value) => typeof value === "string" ? null : "a string";
403745
- var mustBeRegExp = (value) => value instanceof RegExp ? null : "a RegExp object";
403746
- var mustBeInteger = (value) => typeof value === "number" && value === (value | 0) ? null : "an integer";
403747
- var mustBeFunction = (value) => typeof value === "function" ? null : "a function";
403748
- var mustBeArray = (value) => Array.isArray(value) ? null : "an array";
403749
- var mustBeObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value) ? null : "an object";
403750
- var mustBeEntryPoints = (value) => typeof value === "object" && value !== null ? null : "an array or an object";
403751
- var mustBeWebAssemblyModule = (value) => value instanceof WebAssembly.Module ? null : "a WebAssembly.Module";
403752
- var mustBeObjectOrNull = (value) => typeof value === "object" && !Array.isArray(value) ? null : "an object or null";
403753
- var mustBeStringOrBoolean = (value) => typeof value === "string" || typeof value === "boolean" ? null : "a string or a boolean";
403754
- var mustBeStringOrObject = (value) => typeof value === "string" || typeof value === "object" && value !== null && !Array.isArray(value) ? null : "a string or an object";
403755
- var mustBeStringOrArray = (value) => typeof value === "string" || Array.isArray(value) ? null : "a string or an array";
403756
- var mustBeStringOrUint8Array = (value) => typeof value === "string" || value instanceof Uint8Array ? null : "a string or a Uint8Array";
403757
- var mustBeStringOrURL = (value) => typeof value === "string" || value instanceof URL ? null : "a string or a URL";
403758
- function getFlag(object, keys, key2, mustBeFn) {
403759
- let value = object[key2];
403760
- keys[key2 + ""] = true;
403761
- if (value === void 0)
403762
- return void 0;
403763
- let mustBe = mustBeFn(value);
403764
- if (mustBe !== null)
403765
- throw new Error(`${quote2(key2)} must be ${mustBe}`);
403766
- return value;
403767
- }
403768
- function checkForInvalidFlags(object, keys, where) {
403769
- for (let key2 in object) {
403770
- if (!(key2 in keys)) {
403771
- throw new Error(`Invalid option ${where}: ${quote2(key2)}`);
403772
- }
403773
- }
403774
- }
403775
- function validateInitializeOptions(options8) {
403776
- let keys = /* @__PURE__ */ Object.create(null);
403777
- let wasmURL = getFlag(options8, keys, "wasmURL", mustBeStringOrURL);
403778
- let wasmModule = getFlag(options8, keys, "wasmModule", mustBeWebAssemblyModule);
403779
- let worker = getFlag(options8, keys, "worker", mustBeBoolean);
403780
- checkForInvalidFlags(options8, keys, "in initialize() call");
403781
- return {
403782
- wasmURL,
403783
- wasmModule,
403784
- worker
403785
- };
403786
- }
403787
- function validateMangleCache(mangleCache) {
403788
- let validated;
403789
- if (mangleCache !== void 0) {
403790
- validated = /* @__PURE__ */ Object.create(null);
403791
- for (let key2 in mangleCache) {
403792
- let value = mangleCache[key2];
403793
- if (typeof value === "string" || value === false) {
403794
- validated[key2] = value;
403795
- } else {
403796
- throw new Error(`Expected ${quote2(key2)} in mangle cache to map to either a string or false`);
403797
- }
403798
- }
403799
- }
403800
- return validated;
403801
- }
403802
- function pushLogFlags(flags, options8, keys, isTTY2, logLevelDefault) {
403803
- let color = getFlag(options8, keys, "color", mustBeBoolean);
403804
- let logLevel = getFlag(options8, keys, "logLevel", mustBeString);
403805
- let logLimit = getFlag(options8, keys, "logLimit", mustBeInteger);
403806
- if (color !== void 0)
403807
- flags.push(`--color=${color}`);
403808
- else if (isTTY2)
403809
- flags.push(`--color=true`);
403810
- flags.push(`--log-level=${logLevel || logLevelDefault}`);
403811
- flags.push(`--log-limit=${logLimit || 0}`);
403812
- }
403813
- function validateStringValue(value, what, key2) {
403814
- if (typeof value !== "string") {
403815
- throw new Error(`Expected value for ${what}${key2 !== void 0 ? " " + quote2(key2) : ""} to be a string, got ${typeof value} instead`);
403816
- }
403817
- return value;
403818
- }
403819
- function pushCommonFlags(flags, options8, keys) {
403820
- let legalComments = getFlag(options8, keys, "legalComments", mustBeString);
403821
- let sourceRoot = getFlag(options8, keys, "sourceRoot", mustBeString);
403822
- let sourcesContent = getFlag(options8, keys, "sourcesContent", mustBeBoolean);
403823
- let target = getFlag(options8, keys, "target", mustBeStringOrArray);
403824
- let format3 = getFlag(options8, keys, "format", mustBeString);
403825
- let globalName = getFlag(options8, keys, "globalName", mustBeString);
403826
- let mangleProps = getFlag(options8, keys, "mangleProps", mustBeRegExp);
403827
- let reserveProps = getFlag(options8, keys, "reserveProps", mustBeRegExp);
403828
- let mangleQuoted = getFlag(options8, keys, "mangleQuoted", mustBeBoolean);
403829
- let minify = getFlag(options8, keys, "minify", mustBeBoolean);
403830
- let minifySyntax = getFlag(options8, keys, "minifySyntax", mustBeBoolean);
403831
- let minifyWhitespace = getFlag(options8, keys, "minifyWhitespace", mustBeBoolean);
403832
- let minifyIdentifiers = getFlag(options8, keys, "minifyIdentifiers", mustBeBoolean);
403833
- let lineLimit = getFlag(options8, keys, "lineLimit", mustBeInteger);
403834
- let drop = getFlag(options8, keys, "drop", mustBeArray);
403835
- let dropLabels = getFlag(options8, keys, "dropLabels", mustBeArray);
403836
- let charset = getFlag(options8, keys, "charset", mustBeString);
403837
- let treeShaking = getFlag(options8, keys, "treeShaking", mustBeBoolean);
403838
- let ignoreAnnotations = getFlag(options8, keys, "ignoreAnnotations", mustBeBoolean);
403839
- let jsx = getFlag(options8, keys, "jsx", mustBeString);
403840
- let jsxFactory = getFlag(options8, keys, "jsxFactory", mustBeString);
403841
- let jsxFragment = getFlag(options8, keys, "jsxFragment", mustBeString);
403842
- let jsxImportSource = getFlag(options8, keys, "jsxImportSource", mustBeString);
403843
- let jsxDev = getFlag(options8, keys, "jsxDev", mustBeBoolean);
403844
- let jsxSideEffects = getFlag(options8, keys, "jsxSideEffects", mustBeBoolean);
403845
- let define2 = getFlag(options8, keys, "define", mustBeObject);
403846
- let logOverride = getFlag(options8, keys, "logOverride", mustBeObject);
403847
- let supported = getFlag(options8, keys, "supported", mustBeObject);
403848
- let pure = getFlag(options8, keys, "pure", mustBeArray);
403849
- let keepNames = getFlag(options8, keys, "keepNames", mustBeBoolean);
403850
- let platform = getFlag(options8, keys, "platform", mustBeString);
403851
- let tsconfigRaw = getFlag(options8, keys, "tsconfigRaw", mustBeStringOrObject);
403852
- if (legalComments)
403853
- flags.push(`--legal-comments=${legalComments}`);
403854
- if (sourceRoot !== void 0)
403855
- flags.push(`--source-root=${sourceRoot}`);
403856
- if (sourcesContent !== void 0)
403857
- flags.push(`--sources-content=${sourcesContent}`);
403858
- if (target) {
403859
- if (Array.isArray(target))
403860
- flags.push(`--target=${Array.from(target).map(validateTarget).join(",")}`);
403861
- else
403862
- flags.push(`--target=${validateTarget(target)}`);
403863
- }
403864
- if (format3)
403865
- flags.push(`--format=${format3}`);
403866
- if (globalName)
403867
- flags.push(`--global-name=${globalName}`);
403868
- if (platform)
403869
- flags.push(`--platform=${platform}`);
403870
- if (tsconfigRaw)
403871
- flags.push(`--tsconfig-raw=${typeof tsconfigRaw === "string" ? tsconfigRaw : JSON.stringify(tsconfigRaw)}`);
403872
- if (minify)
403873
- flags.push("--minify");
403874
- if (minifySyntax)
403875
- flags.push("--minify-syntax");
403876
- if (minifyWhitespace)
403877
- flags.push("--minify-whitespace");
403878
- if (minifyIdentifiers)
403879
- flags.push("--minify-identifiers");
403880
- if (lineLimit)
403881
- flags.push(`--line-limit=${lineLimit}`);
403882
- if (charset)
403883
- flags.push(`--charset=${charset}`);
403884
- if (treeShaking !== void 0)
403885
- flags.push(`--tree-shaking=${treeShaking}`);
403886
- if (ignoreAnnotations)
403887
- flags.push(`--ignore-annotations`);
403888
- if (drop)
403889
- for (let what of drop)
403890
- flags.push(`--drop:${validateStringValue(what, "drop")}`);
403891
- if (dropLabels)
403892
- flags.push(`--drop-labels=${Array.from(dropLabels).map((what) => validateStringValue(what, "dropLabels")).join(",")}`);
403893
- if (mangleProps)
403894
- flags.push(`--mangle-props=${mangleProps.source}`);
403895
- if (reserveProps)
403896
- flags.push(`--reserve-props=${reserveProps.source}`);
403897
- if (mangleQuoted !== void 0)
403898
- flags.push(`--mangle-quoted=${mangleQuoted}`);
403899
- if (jsx)
403900
- flags.push(`--jsx=${jsx}`);
403901
- if (jsxFactory)
403902
- flags.push(`--jsx-factory=${jsxFactory}`);
403903
- if (jsxFragment)
403904
- flags.push(`--jsx-fragment=${jsxFragment}`);
403905
- if (jsxImportSource)
403906
- flags.push(`--jsx-import-source=${jsxImportSource}`);
403907
- if (jsxDev)
403908
- flags.push(`--jsx-dev`);
403909
- if (jsxSideEffects)
403910
- flags.push(`--jsx-side-effects`);
403911
- if (define2) {
403912
- for (let key2 in define2) {
403913
- if (key2.indexOf("=") >= 0)
403914
- throw new Error(`Invalid define: ${key2}`);
403915
- flags.push(`--define:${key2}=${validateStringValue(define2[key2], "define", key2)}`);
403916
- }
403917
- }
403918
- if (logOverride) {
403919
- for (let key2 in logOverride) {
403920
- if (key2.indexOf("=") >= 0)
403921
- throw new Error(`Invalid log override: ${key2}`);
403922
- flags.push(`--log-override:${key2}=${validateStringValue(logOverride[key2], "log override", key2)}`);
403923
- }
403924
- }
403925
- if (supported) {
403926
- for (let key2 in supported) {
403927
- if (key2.indexOf("=") >= 0)
403928
- throw new Error(`Invalid supported: ${key2}`);
403929
- const value = supported[key2];
403930
- if (typeof value !== "boolean")
403931
- throw new Error(`Expected value for supported ${quote2(key2)} to be a boolean, got ${typeof value} instead`);
403932
- flags.push(`--supported:${key2}=${value}`);
403933
- }
403934
- }
403935
- if (pure)
403936
- for (let fn6 of pure)
403937
- flags.push(`--pure:${validateStringValue(fn6, "pure")}`);
403938
- if (keepNames)
403939
- flags.push(`--keep-names`);
403940
- }
403941
- function flagsForBuildOptions(callName, options8, isTTY2, logLevelDefault, writeDefault) {
403942
- var _a22;
403943
- let flags = [];
403944
- let entries = [];
403945
- let keys = /* @__PURE__ */ Object.create(null);
403946
- let stdinContents = null;
403947
- let stdinResolveDir = null;
403948
- pushLogFlags(flags, options8, keys, isTTY2, logLevelDefault);
403949
- pushCommonFlags(flags, options8, keys);
403950
- let sourcemap = getFlag(options8, keys, "sourcemap", mustBeStringOrBoolean);
403951
- let bundle = getFlag(options8, keys, "bundle", mustBeBoolean);
403952
- let splitting = getFlag(options8, keys, "splitting", mustBeBoolean);
403953
- let preserveSymlinks = getFlag(options8, keys, "preserveSymlinks", mustBeBoolean);
403954
- let metafile = getFlag(options8, keys, "metafile", mustBeBoolean);
403955
- let outfile = getFlag(options8, keys, "outfile", mustBeString);
403956
- let outdir = getFlag(options8, keys, "outdir", mustBeString);
403957
- let outbase = getFlag(options8, keys, "outbase", mustBeString);
403958
- let tsconfig = getFlag(options8, keys, "tsconfig", mustBeString);
403959
- let resolveExtensions = getFlag(options8, keys, "resolveExtensions", mustBeArray);
403960
- let nodePathsInput = getFlag(options8, keys, "nodePaths", mustBeArray);
403961
- let mainFields = getFlag(options8, keys, "mainFields", mustBeArray);
403962
- let conditions = getFlag(options8, keys, "conditions", mustBeArray);
403963
- let external = getFlag(options8, keys, "external", mustBeArray);
403964
- let packages = getFlag(options8, keys, "packages", mustBeString);
403965
- let alias = getFlag(options8, keys, "alias", mustBeObject);
403966
- let loader2 = getFlag(options8, keys, "loader", mustBeObject);
403967
- let outExtension2 = getFlag(options8, keys, "outExtension", mustBeObject);
403968
- let publicPath = getFlag(options8, keys, "publicPath", mustBeString);
403969
- let entryNames = getFlag(options8, keys, "entryNames", mustBeString);
403970
- let chunkNames = getFlag(options8, keys, "chunkNames", mustBeString);
403971
- let assetNames = getFlag(options8, keys, "assetNames", mustBeString);
403972
- let inject = getFlag(options8, keys, "inject", mustBeArray);
403973
- let banner = getFlag(options8, keys, "banner", mustBeObject);
403974
- let footer = getFlag(options8, keys, "footer", mustBeObject);
403975
- let entryPoints = getFlag(options8, keys, "entryPoints", mustBeEntryPoints);
403976
- let absWorkingDir = getFlag(options8, keys, "absWorkingDir", mustBeString);
403977
- let stdin2 = getFlag(options8, keys, "stdin", mustBeObject);
403978
- let write = (_a22 = getFlag(options8, keys, "write", mustBeBoolean)) != null ? _a22 : writeDefault;
403979
- let allowOverwrite = getFlag(options8, keys, "allowOverwrite", mustBeBoolean);
403980
- let mangleCache = getFlag(options8, keys, "mangleCache", mustBeObject);
403981
- keys.plugins = true;
403982
- checkForInvalidFlags(options8, keys, `in ${callName}() call`);
403983
- if (sourcemap)
403984
- flags.push(`--sourcemap${sourcemap === true ? "" : `=${sourcemap}`}`);
403985
- if (bundle)
403986
- flags.push("--bundle");
403987
- if (allowOverwrite)
403988
- flags.push("--allow-overwrite");
403989
- if (splitting)
403990
- flags.push("--splitting");
403991
- if (preserveSymlinks)
403992
- flags.push("--preserve-symlinks");
403993
- if (metafile)
403994
- flags.push(`--metafile`);
403995
- if (outfile)
403996
- flags.push(`--outfile=${outfile}`);
403997
- if (outdir)
403998
- flags.push(`--outdir=${outdir}`);
403999
- if (outbase)
404000
- flags.push(`--outbase=${outbase}`);
404001
- if (tsconfig)
404002
- flags.push(`--tsconfig=${tsconfig}`);
404003
- if (packages)
404004
- flags.push(`--packages=${packages}`);
404005
- if (resolveExtensions) {
404006
- let values = [];
404007
- for (let value of resolveExtensions) {
404008
- validateStringValue(value, "resolve extension");
404009
- if (value.indexOf(",") >= 0)
404010
- throw new Error(`Invalid resolve extension: ${value}`);
404011
- values.push(value);
404012
- }
404013
- flags.push(`--resolve-extensions=${values.join(",")}`);
404014
- }
404015
- if (publicPath)
404016
- flags.push(`--public-path=${publicPath}`);
404017
- if (entryNames)
404018
- flags.push(`--entry-names=${entryNames}`);
404019
- if (chunkNames)
404020
- flags.push(`--chunk-names=${chunkNames}`);
404021
- if (assetNames)
404022
- flags.push(`--asset-names=${assetNames}`);
404023
- if (mainFields) {
404024
- let values = [];
404025
- for (let value of mainFields) {
404026
- validateStringValue(value, "main field");
404027
- if (value.indexOf(",") >= 0)
404028
- throw new Error(`Invalid main field: ${value}`);
404029
- values.push(value);
404030
- }
404031
- flags.push(`--main-fields=${values.join(",")}`);
404032
- }
404033
- if (conditions) {
404034
- let values = [];
404035
- for (let value of conditions) {
404036
- validateStringValue(value, "condition");
404037
- if (value.indexOf(",") >= 0)
404038
- throw new Error(`Invalid condition: ${value}`);
404039
- values.push(value);
404040
- }
404041
- flags.push(`--conditions=${values.join(",")}`);
404042
- }
404043
- if (external)
404044
- for (let name of external)
404045
- flags.push(`--external:${validateStringValue(name, "external")}`);
404046
- if (alias) {
404047
- for (let old in alias) {
404048
- if (old.indexOf("=") >= 0)
404049
- throw new Error(`Invalid package name in alias: ${old}`);
404050
- flags.push(`--alias:${old}=${validateStringValue(alias[old], "alias", old)}`);
404051
- }
404052
- }
404053
- if (banner) {
404054
- for (let type2 in banner) {
404055
- if (type2.indexOf("=") >= 0)
404056
- throw new Error(`Invalid banner file type: ${type2}`);
404057
- flags.push(`--banner:${type2}=${validateStringValue(banner[type2], "banner", type2)}`);
404058
- }
404059
- }
404060
- if (footer) {
404061
- for (let type2 in footer) {
404062
- if (type2.indexOf("=") >= 0)
404063
- throw new Error(`Invalid footer file type: ${type2}`);
404064
- flags.push(`--footer:${type2}=${validateStringValue(footer[type2], "footer", type2)}`);
404065
- }
404066
- }
404067
- if (inject)
404068
- for (let path32 of inject)
404069
- flags.push(`--inject:${validateStringValue(path32, "inject")}`);
404070
- if (loader2) {
404071
- for (let ext2 in loader2) {
404072
- if (ext2.indexOf("=") >= 0)
404073
- throw new Error(`Invalid loader extension: ${ext2}`);
404074
- flags.push(`--loader:${ext2}=${validateStringValue(loader2[ext2], "loader", ext2)}`);
404075
- }
404076
- }
404077
- if (outExtension2) {
404078
- for (let ext2 in outExtension2) {
404079
- if (ext2.indexOf("=") >= 0)
404080
- throw new Error(`Invalid out extension: ${ext2}`);
404081
- flags.push(`--out-extension:${ext2}=${validateStringValue(outExtension2[ext2], "out extension", ext2)}`);
404082
- }
404083
- }
404084
- if (entryPoints) {
404085
- if (Array.isArray(entryPoints)) {
404086
- for (let i3 = 0, n = entryPoints.length; i3 < n; i3++) {
404087
- let entryPoint = entryPoints[i3];
404088
- if (typeof entryPoint === "object" && entryPoint !== null) {
404089
- let entryPointKeys = /* @__PURE__ */ Object.create(null);
404090
- let input = getFlag(entryPoint, entryPointKeys, "in", mustBeString);
404091
- let output = getFlag(entryPoint, entryPointKeys, "out", mustBeString);
404092
- checkForInvalidFlags(entryPoint, entryPointKeys, "in entry point at index " + i3);
404093
- if (input === void 0)
404094
- throw new Error('Missing property "in" for entry point at index ' + i3);
404095
- if (output === void 0)
404096
- throw new Error('Missing property "out" for entry point at index ' + i3);
404097
- entries.push([output, input]);
404098
- } else {
404099
- entries.push(["", validateStringValue(entryPoint, "entry point at index " + i3)]);
404100
- }
404101
- }
404102
- } else {
404103
- for (let key2 in entryPoints) {
404104
- entries.push([key2, validateStringValue(entryPoints[key2], "entry point", key2)]);
404105
- }
404106
- }
404107
- }
404108
- if (stdin2) {
404109
- let stdinKeys = /* @__PURE__ */ Object.create(null);
404110
- let contents = getFlag(stdin2, stdinKeys, "contents", mustBeStringOrUint8Array);
404111
- let resolveDir = getFlag(stdin2, stdinKeys, "resolveDir", mustBeString);
404112
- let sourcefile = getFlag(stdin2, stdinKeys, "sourcefile", mustBeString);
404113
- let loader22 = getFlag(stdin2, stdinKeys, "loader", mustBeString);
404114
- checkForInvalidFlags(stdin2, stdinKeys, 'in "stdin" object');
404115
- if (sourcefile)
404116
- flags.push(`--sourcefile=${sourcefile}`);
404117
- if (loader22)
404118
- flags.push(`--loader=${loader22}`);
404119
- if (resolveDir)
404120
- stdinResolveDir = resolveDir;
404121
- if (typeof contents === "string")
404122
- stdinContents = encodeUTF8(contents);
404123
- else if (contents instanceof Uint8Array)
404124
- stdinContents = contents;
404125
- }
404126
- let nodePaths = [];
404127
- if (nodePathsInput) {
404128
- for (let value of nodePathsInput) {
404129
- value += "";
404130
- nodePaths.push(value);
404131
- }
404132
- }
404133
- return {
404134
- entries,
404135
- flags,
404136
- write,
404137
- stdinContents,
404138
- stdinResolveDir,
404139
- absWorkingDir,
404140
- nodePaths,
404141
- mangleCache: validateMangleCache(mangleCache)
404142
- };
404143
- }
404144
- function flagsForTransformOptions(callName, options8, isTTY2, logLevelDefault) {
404145
- let flags = [];
404146
- let keys = /* @__PURE__ */ Object.create(null);
404147
- pushLogFlags(flags, options8, keys, isTTY2, logLevelDefault);
404148
- pushCommonFlags(flags, options8, keys);
404149
- let sourcemap = getFlag(options8, keys, "sourcemap", mustBeStringOrBoolean);
404150
- let sourcefile = getFlag(options8, keys, "sourcefile", mustBeString);
404151
- let loader2 = getFlag(options8, keys, "loader", mustBeString);
404152
- let banner = getFlag(options8, keys, "banner", mustBeString);
404153
- let footer = getFlag(options8, keys, "footer", mustBeString);
404154
- let mangleCache = getFlag(options8, keys, "mangleCache", mustBeObject);
404155
- checkForInvalidFlags(options8, keys, `in ${callName}() call`);
404156
- if (sourcemap)
404157
- flags.push(`--sourcemap=${sourcemap === true ? "external" : sourcemap}`);
404158
- if (sourcefile)
404159
- flags.push(`--sourcefile=${sourcefile}`);
404160
- if (loader2)
404161
- flags.push(`--loader=${loader2}`);
404162
- if (banner)
404163
- flags.push(`--banner=${banner}`);
404164
- if (footer)
404165
- flags.push(`--footer=${footer}`);
404166
- return {
404167
- flags,
404168
- mangleCache: validateMangleCache(mangleCache)
404169
- };
404170
- }
404171
- function createChannel(streamIn) {
404172
- const requestCallbacksByKey = {};
404173
- const closeData = { didClose: false, reason: "" };
404174
- let responseCallbacks = {};
404175
- let nextRequestID = 0;
404176
- let nextBuildKey = 0;
404177
- let stdout = new Uint8Array(16 * 1024);
404178
- let stdoutUsed = 0;
404179
- let readFromStdout = (chunk) => {
404180
- let limit = stdoutUsed + chunk.length;
404181
- if (limit > stdout.length) {
404182
- let swap = new Uint8Array(limit * 2);
404183
- swap.set(stdout);
404184
- stdout = swap;
404185
- }
404186
- stdout.set(chunk, stdoutUsed);
404187
- stdoutUsed += chunk.length;
404188
- let offset = 0;
404189
- while (offset + 4 <= stdoutUsed) {
404190
- let length = readUInt32LE(stdout, offset);
404191
- if (offset + 4 + length > stdoutUsed) {
404192
- break;
404193
- }
404194
- offset += 4;
404195
- handleIncomingPacket(stdout.subarray(offset, offset + length));
404196
- offset += length;
404197
- }
404198
- if (offset > 0) {
404199
- stdout.copyWithin(0, offset, stdoutUsed);
404200
- stdoutUsed -= offset;
404201
- }
404202
- };
404203
- let afterClose = (error) => {
404204
- closeData.didClose = true;
404205
- if (error)
404206
- closeData.reason = ": " + (error.message || error);
404207
- const text = "The service was stopped" + closeData.reason;
404208
- for (let id in responseCallbacks) {
404209
- responseCallbacks[id](text, null);
404210
- }
404211
- responseCallbacks = {};
404212
- };
404213
- let sendRequest = (refs, value, callback) => {
404214
- if (closeData.didClose)
404215
- return callback("The service is no longer running" + closeData.reason, null);
404216
- let id = nextRequestID++;
404217
- responseCallbacks[id] = (error, response) => {
404218
- try {
404219
- callback(error, response);
404220
- } finally {
404221
- if (refs)
404222
- refs.unref();
404223
- }
404224
- };
404225
- if (refs)
404226
- refs.ref();
404227
- streamIn.writeToStdin(encodePacket({ id, isRequest: true, value }));
404228
- };
404229
- let sendResponse = (id, value) => {
404230
- if (closeData.didClose)
404231
- throw new Error("The service is no longer running" + closeData.reason);
404232
- streamIn.writeToStdin(encodePacket({ id, isRequest: false, value }));
404233
- };
404234
- let handleRequest = async (id, request) => {
404235
- try {
404236
- if (request.command === "ping") {
404237
- sendResponse(id, {});
404238
- return;
404239
- }
404240
- if (typeof request.key === "number") {
404241
- const requestCallbacks = requestCallbacksByKey[request.key];
404242
- if (!requestCallbacks) {
404243
- return;
404244
- }
404245
- const callback = requestCallbacks[request.command];
404246
- if (callback) {
404247
- await callback(id, request);
404248
- return;
404249
- }
404250
- }
404251
- throw new Error(`Invalid command: ` + request.command);
404252
- } catch (e3) {
404253
- const errors = [extractErrorMessageV8(e3, streamIn, null, void 0, "")];
404254
- try {
404255
- sendResponse(id, { errors });
404256
- } catch {
404257
- }
404258
- }
404259
- };
404260
- let isFirstPacket = true;
404261
- let handleIncomingPacket = (bytes) => {
404262
- if (isFirstPacket) {
404263
- isFirstPacket = false;
404264
- let binaryVersion = String.fromCharCode(...bytes);
404265
- if (binaryVersion !== "0.19.12") {
404266
- throw new Error(`Cannot start service: Host version "${"0.19.12"}" does not match binary version ${quote2(binaryVersion)}`);
404267
- }
404268
- return;
404269
- }
404270
- let packet = decodePacket(bytes);
404271
- if (packet.isRequest) {
404272
- handleRequest(packet.id, packet.value);
404273
- } else {
404274
- let callback = responseCallbacks[packet.id];
404275
- delete responseCallbacks[packet.id];
404276
- if (packet.value.error)
404277
- callback(packet.value.error, {});
404278
- else
404279
- callback(null, packet.value);
404280
- }
404281
- };
404282
- let buildOrContext = ({ callName, refs, options: options8, isTTY: isTTY2, defaultWD: defaultWD2, callback }) => {
404283
- let refCount = 0;
404284
- const buildKey = nextBuildKey++;
404285
- const requestCallbacks = {};
404286
- const buildRefs = {
404287
- ref() {
404288
- if (++refCount === 1) {
404289
- if (refs)
404290
- refs.ref();
404291
- }
404292
- },
404293
- unref() {
404294
- if (--refCount === 0) {
404295
- delete requestCallbacksByKey[buildKey];
404296
- if (refs)
404297
- refs.unref();
404298
- }
404299
- }
404300
- };
404301
- requestCallbacksByKey[buildKey] = requestCallbacks;
404302
- buildRefs.ref();
404303
- buildOrContextImpl(
404304
- callName,
404305
- buildKey,
404306
- sendRequest,
404307
- sendResponse,
404308
- buildRefs,
404309
- streamIn,
404310
- requestCallbacks,
404311
- options8,
404312
- isTTY2,
404313
- defaultWD2,
404314
- (err, res) => {
404315
- try {
404316
- callback(err, res);
404317
- } finally {
404318
- buildRefs.unref();
404319
- }
404320
- }
404321
- );
404322
- };
404323
- let transform22 = ({ callName, refs, input, options: options8, isTTY: isTTY2, fs: fs33, callback }) => {
404324
- const details = createObjectStash();
404325
- let start = (inputPath) => {
404326
- try {
404327
- if (typeof input !== "string" && !(input instanceof Uint8Array))
404328
- throw new Error('The input to "transform" must be a string or a Uint8Array');
404329
- let {
404330
- flags,
404331
- mangleCache
404332
- } = flagsForTransformOptions(callName, options8, isTTY2, transformLogLevelDefault);
404333
- let request = {
404334
- command: "transform",
404335
- flags,
404336
- inputFS: inputPath !== null,
404337
- input: inputPath !== null ? encodeUTF8(inputPath) : typeof input === "string" ? encodeUTF8(input) : input
404338
- };
404339
- if (mangleCache)
404340
- request.mangleCache = mangleCache;
404341
- sendRequest(refs, request, (error, response) => {
404342
- if (error)
404343
- return callback(new Error(error), null);
404344
- let errors = replaceDetailsInMessages(response.errors, details);
404345
- let warnings = replaceDetailsInMessages(response.warnings, details);
404346
- let outstanding = 1;
404347
- let next = () => {
404348
- if (--outstanding === 0) {
404349
- let result = {
404350
- warnings,
404351
- code: response.code,
404352
- map: response.map,
404353
- mangleCache: void 0,
404354
- legalComments: void 0
404355
- };
404356
- if ("legalComments" in response)
404357
- result.legalComments = response == null ? void 0 : response.legalComments;
404358
- if (response.mangleCache)
404359
- result.mangleCache = response == null ? void 0 : response.mangleCache;
404360
- callback(null, result);
404361
- }
404362
- };
404363
- if (errors.length > 0)
404364
- return callback(failureErrorWithLog("Transform failed", errors, warnings), null);
404365
- if (response.codeFS) {
404366
- outstanding++;
404367
- fs33.readFile(response.code, (err, contents) => {
404368
- if (err !== null) {
404369
- callback(err, null);
404370
- } else {
404371
- response.code = contents;
404372
- next();
404373
- }
404374
- });
404375
- }
404376
- if (response.mapFS) {
404377
- outstanding++;
404378
- fs33.readFile(response.map, (err, contents) => {
404379
- if (err !== null) {
404380
- callback(err, null);
404381
- } else {
404382
- response.map = contents;
404383
- next();
404384
- }
404385
- });
404386
- }
404387
- next();
404388
- });
404389
- } catch (e3) {
404390
- let flags = [];
404391
- try {
404392
- pushLogFlags(flags, options8, {}, isTTY2, transformLogLevelDefault);
404393
- } catch {
404394
- }
404395
- const error = extractErrorMessageV8(e3, streamIn, details, void 0, "");
404396
- sendRequest(refs, { command: "error", flags, error }, () => {
404397
- error.detail = details.load(error.detail);
404398
- callback(failureErrorWithLog("Transform failed", [error], []), null);
404399
- });
404400
- }
404401
- };
404402
- if ((typeof input === "string" || input instanceof Uint8Array) && input.length > 1024 * 1024) {
404403
- let next = start;
404404
- start = () => fs33.writeFile(input, next);
404405
- }
404406
- start(null);
404407
- };
404408
- let formatMessages2 = ({ callName, refs, messages: messages2, options: options8, callback }) => {
404409
- if (!options8)
404410
- throw new Error(`Missing second argument in ${callName}() call`);
404411
- let keys = {};
404412
- let kind = getFlag(options8, keys, "kind", mustBeString);
404413
- let color = getFlag(options8, keys, "color", mustBeBoolean);
404414
- let terminalWidth = getFlag(options8, keys, "terminalWidth", mustBeInteger);
404415
- checkForInvalidFlags(options8, keys, `in ${callName}() call`);
404416
- if (kind === void 0)
404417
- throw new Error(`Missing "kind" in ${callName}() call`);
404418
- if (kind !== "error" && kind !== "warning")
404419
- throw new Error(`Expected "kind" to be "error" or "warning" in ${callName}() call`);
404420
- let request = {
404421
- command: "format-msgs",
404422
- messages: sanitizeMessages(messages2, "messages", null, "", terminalWidth),
404423
- isWarning: kind === "warning"
404424
- };
404425
- if (color !== void 0)
404426
- request.color = color;
404427
- if (terminalWidth !== void 0)
404428
- request.terminalWidth = terminalWidth;
404429
- sendRequest(refs, request, (error, response) => {
404430
- if (error)
404431
- return callback(new Error(error), null);
404432
- callback(null, response.messages);
404433
- });
404434
- };
404435
- let analyzeMetafile2 = ({ callName, refs, metafile, options: options8, callback }) => {
404436
- if (options8 === void 0)
404437
- options8 = {};
404438
- let keys = {};
404439
- let color = getFlag(options8, keys, "color", mustBeBoolean);
404440
- let verbose = getFlag(options8, keys, "verbose", mustBeBoolean);
404441
- checkForInvalidFlags(options8, keys, `in ${callName}() call`);
404442
- let request = {
404443
- command: "analyze-metafile",
404444
- metafile
404445
- };
404446
- if (color !== void 0)
404447
- request.color = color;
404448
- if (verbose !== void 0)
404449
- request.verbose = verbose;
404450
- sendRequest(refs, request, (error, response) => {
404451
- if (error)
404452
- return callback(new Error(error), null);
404453
- callback(null, response.result);
404454
- });
404455
- };
404456
- return {
404457
- readFromStdout,
404458
- afterClose,
404459
- service: {
404460
- buildOrContext,
404461
- transform: transform22,
404462
- formatMessages: formatMessages2,
404463
- analyzeMetafile: analyzeMetafile2
404464
- }
404465
- };
404466
- }
404467
- function buildOrContextImpl(callName, buildKey, sendRequest, sendResponse, refs, streamIn, requestCallbacks, options8, isTTY2, defaultWD2, callback) {
404468
- const details = createObjectStash();
404469
- const isContext = callName === "context";
404470
- const handleError = (e3, pluginName) => {
404471
- const flags = [];
404472
- try {
404473
- pushLogFlags(flags, options8, {}, isTTY2, buildLogLevelDefault);
404474
- } catch {
404475
- }
404476
- const message = extractErrorMessageV8(e3, streamIn, details, void 0, pluginName);
404477
- sendRequest(refs, { command: "error", flags, error: message }, () => {
404478
- message.detail = details.load(message.detail);
404479
- callback(failureErrorWithLog(isContext ? "Context failed" : "Build failed", [message], []), null);
404480
- });
404481
- };
404482
- let plugins;
404483
- if (typeof options8 === "object") {
404484
- const value = options8.plugins;
404485
- if (value !== void 0) {
404486
- if (!Array.isArray(value))
404487
- return handleError(new Error(`"plugins" must be an array`), "");
404488
- plugins = value;
404489
- }
404490
- }
404491
- if (plugins && plugins.length > 0) {
404492
- if (streamIn.isSync)
404493
- return handleError(new Error("Cannot use plugins in synchronous API calls"), "");
404494
- handlePlugins(
404495
- buildKey,
404496
- sendRequest,
404497
- sendResponse,
404498
- refs,
404499
- streamIn,
404500
- requestCallbacks,
404501
- options8,
404502
- plugins,
404503
- details
404504
- ).then(
404505
- (result) => {
404506
- if (!result.ok)
404507
- return handleError(result.error, result.pluginName);
404508
- try {
404509
- buildOrContextContinue(result.requestPlugins, result.runOnEndCallbacks, result.scheduleOnDisposeCallbacks);
404510
- } catch (e3) {
404511
- handleError(e3, "");
404512
- }
404513
- },
404514
- (e3) => handleError(e3, "")
404515
- );
404516
- return;
404517
- }
404518
- try {
404519
- buildOrContextContinue(null, (result, done) => done([], []), () => {
404520
- });
404521
- } catch (e3) {
404522
- handleError(e3, "");
404523
- }
404524
- function buildOrContextContinue(requestPlugins, runOnEndCallbacks, scheduleOnDisposeCallbacks) {
404525
- const writeDefault = streamIn.hasFS;
404526
- const {
404527
- entries,
404528
- flags,
404529
- write,
404530
- stdinContents,
404531
- stdinResolveDir,
404532
- absWorkingDir,
404533
- nodePaths,
404534
- mangleCache
404535
- } = flagsForBuildOptions(callName, options8, isTTY2, buildLogLevelDefault, writeDefault);
404536
- if (write && !streamIn.hasFS)
404537
- throw new Error(`The "write" option is unavailable in this environment`);
404538
- const request = {
404539
- command: "build",
404540
- key: buildKey,
404541
- entries,
404542
- flags,
404543
- write,
404544
- stdinContents,
404545
- stdinResolveDir,
404546
- absWorkingDir: absWorkingDir || defaultWD2,
404547
- nodePaths,
404548
- context: isContext
404549
- };
404550
- if (requestPlugins)
404551
- request.plugins = requestPlugins;
404552
- if (mangleCache)
404553
- request.mangleCache = mangleCache;
404554
- const buildResponseToResult = (response, callback2) => {
404555
- const result = {
404556
- errors: replaceDetailsInMessages(response.errors, details),
404557
- warnings: replaceDetailsInMessages(response.warnings, details),
404558
- outputFiles: void 0,
404559
- metafile: void 0,
404560
- mangleCache: void 0
404561
- };
404562
- const originalErrors = result.errors.slice();
404563
- const originalWarnings = result.warnings.slice();
404564
- if (response.outputFiles)
404565
- result.outputFiles = response.outputFiles.map(convertOutputFiles);
404566
- if (response.metafile)
404567
- result.metafile = JSON.parse(response.metafile);
404568
- if (response.mangleCache)
404569
- result.mangleCache = response.mangleCache;
404570
- if (response.writeToStdout !== void 0)
404571
- console.log(decodeUTF8(response.writeToStdout).replace(/\n$/, ""));
404572
- runOnEndCallbacks(result, (onEndErrors, onEndWarnings) => {
404573
- if (originalErrors.length > 0 || onEndErrors.length > 0) {
404574
- const error = failureErrorWithLog("Build failed", originalErrors.concat(onEndErrors), originalWarnings.concat(onEndWarnings));
404575
- return callback2(error, null, onEndErrors, onEndWarnings);
404576
- }
404577
- callback2(null, result, onEndErrors, onEndWarnings);
404578
- });
404579
- };
404580
- let latestResultPromise;
404581
- let provideLatestResult;
404582
- if (isContext)
404583
- requestCallbacks["on-end"] = (id, request2) => new Promise((resolve3) => {
404584
- buildResponseToResult(request2, (err, result, onEndErrors, onEndWarnings) => {
404585
- const response = {
404586
- errors: onEndErrors,
404587
- warnings: onEndWarnings
404588
- };
404589
- if (provideLatestResult)
404590
- provideLatestResult(err, result);
404591
- latestResultPromise = void 0;
404592
- provideLatestResult = void 0;
404593
- sendResponse(id, response);
404594
- resolve3();
404595
- });
404596
- });
404597
- sendRequest(refs, request, (error, response) => {
404598
- if (error)
404599
- return callback(new Error(error), null);
404600
- if (!isContext) {
404601
- return buildResponseToResult(response, (err, res) => {
404602
- scheduleOnDisposeCallbacks();
404603
- return callback(err, res);
404604
- });
404605
- }
404606
- if (response.errors.length > 0) {
404607
- return callback(failureErrorWithLog("Context failed", response.errors, response.warnings), null);
404608
- }
404609
- let didDispose = false;
404610
- const result = {
404611
- rebuild: () => {
404612
- if (!latestResultPromise)
404613
- latestResultPromise = new Promise((resolve3, reject) => {
404614
- let settlePromise;
404615
- provideLatestResult = (err, result2) => {
404616
- if (!settlePromise)
404617
- settlePromise = () => err ? reject(err) : resolve3(result2);
404618
- };
404619
- const triggerAnotherBuild = () => {
404620
- const request2 = {
404621
- command: "rebuild",
404622
- key: buildKey
404623
- };
404624
- sendRequest(refs, request2, (error2, response2) => {
404625
- if (error2) {
404626
- reject(new Error(error2));
404627
- } else if (settlePromise) {
404628
- settlePromise();
404629
- } else {
404630
- triggerAnotherBuild();
404631
- }
404632
- });
404633
- };
404634
- triggerAnotherBuild();
404635
- });
404636
- return latestResultPromise;
404637
- },
404638
- watch: (options22 = {}) => new Promise((resolve3, reject) => {
404639
- if (!streamIn.hasFS)
404640
- throw new Error(`Cannot use the "watch" API in this environment`);
404641
- const keys = {};
404642
- checkForInvalidFlags(options22, keys, `in watch() call`);
404643
- const request2 = {
404644
- command: "watch",
404645
- key: buildKey
404646
- };
404647
- sendRequest(refs, request2, (error2) => {
404648
- if (error2)
404649
- reject(new Error(error2));
404650
- else
404651
- resolve3(void 0);
404652
- });
404653
- }),
404654
- serve: (options22 = {}) => new Promise((resolve3, reject) => {
404655
- if (!streamIn.hasFS)
404656
- throw new Error(`Cannot use the "serve" API in this environment`);
404657
- const keys = {};
404658
- const port = getFlag(options22, keys, "port", mustBeInteger);
404659
- const host = getFlag(options22, keys, "host", mustBeString);
404660
- const servedir = getFlag(options22, keys, "servedir", mustBeString);
404661
- const keyfile = getFlag(options22, keys, "keyfile", mustBeString);
404662
- const certfile = getFlag(options22, keys, "certfile", mustBeString);
404663
- const fallback = getFlag(options22, keys, "fallback", mustBeString);
404664
- const onRequest = getFlag(options22, keys, "onRequest", mustBeFunction);
404665
- checkForInvalidFlags(options22, keys, `in serve() call`);
404666
- const request2 = {
404667
- command: "serve",
404668
- key: buildKey,
404669
- onRequest: !!onRequest
404670
- };
404671
- if (port !== void 0)
404672
- request2.port = port;
404673
- if (host !== void 0)
404674
- request2.host = host;
404675
- if (servedir !== void 0)
404676
- request2.servedir = servedir;
404677
- if (keyfile !== void 0)
404678
- request2.keyfile = keyfile;
404679
- if (certfile !== void 0)
404680
- request2.certfile = certfile;
404681
- if (fallback !== void 0)
404682
- request2.fallback = fallback;
404683
- sendRequest(refs, request2, (error2, response2) => {
404684
- if (error2)
404685
- return reject(new Error(error2));
404686
- if (onRequest) {
404687
- requestCallbacks["serve-request"] = (id, request3) => {
404688
- onRequest(request3.args);
404689
- sendResponse(id, {});
404690
- };
404691
- }
404692
- resolve3(response2);
404693
- });
404694
- }),
404695
- cancel: () => new Promise((resolve3) => {
404696
- if (didDispose)
404697
- return resolve3();
404698
- const request2 = {
404699
- command: "cancel",
404700
- key: buildKey
404701
- };
404702
- sendRequest(refs, request2, () => {
404703
- resolve3();
404704
- });
404705
- }),
404706
- dispose: () => new Promise((resolve3) => {
404707
- if (didDispose)
404708
- return resolve3();
404709
- didDispose = true;
404710
- const request2 = {
404711
- command: "dispose",
404712
- key: buildKey
404713
- };
404714
- sendRequest(refs, request2, () => {
404715
- resolve3();
404716
- scheduleOnDisposeCallbacks();
404717
- refs.unref();
404718
- });
404719
- })
404720
- };
404721
- refs.ref();
404722
- callback(null, result);
404723
- });
404724
- }
404725
- }
404726
- var handlePlugins = async (buildKey, sendRequest, sendResponse, refs, streamIn, requestCallbacks, initialOptions, plugins, details) => {
404727
- let onStartCallbacks = [];
404728
- let onEndCallbacks = [];
404729
- let onResolveCallbacks = {};
404730
- let onLoadCallbacks = {};
404731
- let onDisposeCallbacks = [];
404732
- let nextCallbackID = 0;
404733
- let i3 = 0;
404734
- let requestPlugins = [];
404735
- let isSetupDone = false;
404736
- plugins = [...plugins];
404737
- for (let item of plugins) {
404738
- let keys = {};
404739
- if (typeof item !== "object")
404740
- throw new Error(`Plugin at index ${i3} must be an object`);
404741
- const name = getFlag(item, keys, "name", mustBeString);
404742
- if (typeof name !== "string" || name === "")
404743
- throw new Error(`Plugin at index ${i3} is missing a name`);
404744
- try {
404745
- let setup = getFlag(item, keys, "setup", mustBeFunction);
404746
- if (typeof setup !== "function")
404747
- throw new Error(`Plugin is missing a setup function`);
404748
- checkForInvalidFlags(item, keys, `on plugin ${quote2(name)}`);
404749
- let plugin = {
404750
- name,
404751
- onStart: false,
404752
- onEnd: false,
404753
- onResolve: [],
404754
- onLoad: []
404755
- };
404756
- i3++;
404757
- let resolve3 = (path32, options8 = {}) => {
404758
- if (!isSetupDone)
404759
- throw new Error('Cannot call "resolve" before plugin setup has completed');
404760
- if (typeof path32 !== "string")
404761
- throw new Error(`The path to resolve must be a string`);
404762
- let keys2 = /* @__PURE__ */ Object.create(null);
404763
- let pluginName = getFlag(options8, keys2, "pluginName", mustBeString);
404764
- let importer = getFlag(options8, keys2, "importer", mustBeString);
404765
- let namespace = getFlag(options8, keys2, "namespace", mustBeString);
404766
- let resolveDir = getFlag(options8, keys2, "resolveDir", mustBeString);
404767
- let kind = getFlag(options8, keys2, "kind", mustBeString);
404768
- let pluginData = getFlag(options8, keys2, "pluginData", canBeAnything);
404769
- checkForInvalidFlags(options8, keys2, "in resolve() call");
404770
- return new Promise((resolve22, reject) => {
404771
- const request = {
404772
- command: "resolve",
404773
- path: path32,
404774
- key: buildKey,
404775
- pluginName: name
404776
- };
404777
- if (pluginName != null)
404778
- request.pluginName = pluginName;
404779
- if (importer != null)
404780
- request.importer = importer;
404781
- if (namespace != null)
404782
- request.namespace = namespace;
404783
- if (resolveDir != null)
404784
- request.resolveDir = resolveDir;
404785
- if (kind != null)
404786
- request.kind = kind;
404787
- else
404788
- throw new Error(`Must specify "kind" when calling "resolve"`);
404789
- if (pluginData != null)
404790
- request.pluginData = details.store(pluginData);
404791
- sendRequest(refs, request, (error, response) => {
404792
- if (error !== null)
404793
- reject(new Error(error));
404794
- else
404795
- resolve22({
404796
- errors: replaceDetailsInMessages(response.errors, details),
404797
- warnings: replaceDetailsInMessages(response.warnings, details),
404798
- path: response.path,
404799
- external: response.external,
404800
- sideEffects: response.sideEffects,
404801
- namespace: response.namespace,
404802
- suffix: response.suffix,
404803
- pluginData: details.load(response.pluginData)
404804
- });
404805
- });
404806
- });
404807
- };
404808
- let promise = setup({
404809
- initialOptions,
404810
- resolve: resolve3,
404811
- onStart(callback) {
404812
- let registeredText = `This error came from the "onStart" callback registered here:`;
404813
- let registeredNote = extractCallerV8(new Error(registeredText), streamIn, "onStart");
404814
- onStartCallbacks.push({ name, callback, note: registeredNote });
404815
- plugin.onStart = true;
404816
- },
404817
- onEnd(callback) {
404818
- let registeredText = `This error came from the "onEnd" callback registered here:`;
404819
- let registeredNote = extractCallerV8(new Error(registeredText), streamIn, "onEnd");
404820
- onEndCallbacks.push({ name, callback, note: registeredNote });
404821
- plugin.onEnd = true;
404822
- },
404823
- onResolve(options8, callback) {
404824
- let registeredText = `This error came from the "onResolve" callback registered here:`;
404825
- let registeredNote = extractCallerV8(new Error(registeredText), streamIn, "onResolve");
404826
- let keys2 = {};
404827
- let filter3 = getFlag(options8, keys2, "filter", mustBeRegExp);
404828
- let namespace = getFlag(options8, keys2, "namespace", mustBeString);
404829
- checkForInvalidFlags(options8, keys2, `in onResolve() call for plugin ${quote2(name)}`);
404830
- if (filter3 == null)
404831
- throw new Error(`onResolve() call is missing a filter`);
404832
- let id = nextCallbackID++;
404833
- onResolveCallbacks[id] = { name, callback, note: registeredNote };
404834
- plugin.onResolve.push({ id, filter: filter3.source, namespace: namespace || "" });
404835
- },
404836
- onLoad(options8, callback) {
404837
- let registeredText = `This error came from the "onLoad" callback registered here:`;
404838
- let registeredNote = extractCallerV8(new Error(registeredText), streamIn, "onLoad");
404839
- let keys2 = {};
404840
- let filter3 = getFlag(options8, keys2, "filter", mustBeRegExp);
404841
- let namespace = getFlag(options8, keys2, "namespace", mustBeString);
404842
- checkForInvalidFlags(options8, keys2, `in onLoad() call for plugin ${quote2(name)}`);
404843
- if (filter3 == null)
404844
- throw new Error(`onLoad() call is missing a filter`);
404845
- let id = nextCallbackID++;
404846
- onLoadCallbacks[id] = { name, callback, note: registeredNote };
404847
- plugin.onLoad.push({ id, filter: filter3.source, namespace: namespace || "" });
404848
- },
404849
- onDispose(callback) {
404850
- onDisposeCallbacks.push(callback);
404851
- },
404852
- esbuild: streamIn.esbuild
404853
- });
404854
- if (promise)
404855
- await promise;
404856
- requestPlugins.push(plugin);
404857
- } catch (e3) {
404858
- return { ok: false, error: e3, pluginName: name };
404859
- }
404860
- }
404861
- requestCallbacks["on-start"] = async (id, request) => {
404862
- let response = { errors: [], warnings: [] };
404863
- await Promise.all(onStartCallbacks.map(async ({ name, callback, note }) => {
404864
- try {
404865
- let result = await callback();
404866
- if (result != null) {
404867
- if (typeof result !== "object")
404868
- throw new Error(`Expected onStart() callback in plugin ${quote2(name)} to return an object`);
404869
- let keys = {};
404870
- let errors = getFlag(result, keys, "errors", mustBeArray);
404871
- let warnings = getFlag(result, keys, "warnings", mustBeArray);
404872
- checkForInvalidFlags(result, keys, `from onStart() callback in plugin ${quote2(name)}`);
404873
- if (errors != null)
404874
- response.errors.push(...sanitizeMessages(errors, "errors", details, name, void 0));
404875
- if (warnings != null)
404876
- response.warnings.push(...sanitizeMessages(warnings, "warnings", details, name, void 0));
404877
- }
404878
- } catch (e3) {
404879
- response.errors.push(extractErrorMessageV8(e3, streamIn, details, note && note(), name));
404880
- }
404881
- }));
404882
- sendResponse(id, response);
404883
- };
404884
- requestCallbacks["on-resolve"] = async (id, request) => {
404885
- let response = {}, name = "", callback, note;
404886
- for (let id2 of request.ids) {
404887
- try {
404888
- ({ name, callback, note } = onResolveCallbacks[id2]);
404889
- let result = await callback({
404890
- path: request.path,
404891
- importer: request.importer,
404892
- namespace: request.namespace,
404893
- resolveDir: request.resolveDir,
404894
- kind: request.kind,
404895
- pluginData: details.load(request.pluginData)
404896
- });
404897
- if (result != null) {
404898
- if (typeof result !== "object")
404899
- throw new Error(`Expected onResolve() callback in plugin ${quote2(name)} to return an object`);
404900
- let keys = {};
404901
- let pluginName = getFlag(result, keys, "pluginName", mustBeString);
404902
- let path32 = getFlag(result, keys, "path", mustBeString);
404903
- let namespace = getFlag(result, keys, "namespace", mustBeString);
404904
- let suffix = getFlag(result, keys, "suffix", mustBeString);
404905
- let external = getFlag(result, keys, "external", mustBeBoolean);
404906
- let sideEffects = getFlag(result, keys, "sideEffects", mustBeBoolean);
404907
- let pluginData = getFlag(result, keys, "pluginData", canBeAnything);
404908
- let errors = getFlag(result, keys, "errors", mustBeArray);
404909
- let warnings = getFlag(result, keys, "warnings", mustBeArray);
404910
- let watchFiles = getFlag(result, keys, "watchFiles", mustBeArray);
404911
- let watchDirs = getFlag(result, keys, "watchDirs", mustBeArray);
404912
- checkForInvalidFlags(result, keys, `from onResolve() callback in plugin ${quote2(name)}`);
404913
- response.id = id2;
404914
- if (pluginName != null)
404915
- response.pluginName = pluginName;
404916
- if (path32 != null)
404917
- response.path = path32;
404918
- if (namespace != null)
404919
- response.namespace = namespace;
404920
- if (suffix != null)
404921
- response.suffix = suffix;
404922
- if (external != null)
404923
- response.external = external;
404924
- if (sideEffects != null)
404925
- response.sideEffects = sideEffects;
404926
- if (pluginData != null)
404927
- response.pluginData = details.store(pluginData);
404928
- if (errors != null)
404929
- response.errors = sanitizeMessages(errors, "errors", details, name, void 0);
404930
- if (warnings != null)
404931
- response.warnings = sanitizeMessages(warnings, "warnings", details, name, void 0);
404932
- if (watchFiles != null)
404933
- response.watchFiles = sanitizeStringArray(watchFiles, "watchFiles");
404934
- if (watchDirs != null)
404935
- response.watchDirs = sanitizeStringArray(watchDirs, "watchDirs");
404936
- break;
404937
- }
404938
- } catch (e3) {
404939
- response = { id: id2, errors: [extractErrorMessageV8(e3, streamIn, details, note && note(), name)] };
404940
- break;
404941
- }
404942
- }
404943
- sendResponse(id, response);
404944
- };
404945
- requestCallbacks["on-load"] = async (id, request) => {
404946
- let response = {}, name = "", callback, note;
404947
- for (let id2 of request.ids) {
404948
- try {
404949
- ({ name, callback, note } = onLoadCallbacks[id2]);
404950
- let result = await callback({
404951
- path: request.path,
404952
- namespace: request.namespace,
404953
- suffix: request.suffix,
404954
- pluginData: details.load(request.pluginData),
404955
- with: request.with
404956
- });
404957
- if (result != null) {
404958
- if (typeof result !== "object")
404959
- throw new Error(`Expected onLoad() callback in plugin ${quote2(name)} to return an object`);
404960
- let keys = {};
404961
- let pluginName = getFlag(result, keys, "pluginName", mustBeString);
404962
- let contents = getFlag(result, keys, "contents", mustBeStringOrUint8Array);
404963
- let resolveDir = getFlag(result, keys, "resolveDir", mustBeString);
404964
- let pluginData = getFlag(result, keys, "pluginData", canBeAnything);
404965
- let loader2 = getFlag(result, keys, "loader", mustBeString);
404966
- let errors = getFlag(result, keys, "errors", mustBeArray);
404967
- let warnings = getFlag(result, keys, "warnings", mustBeArray);
404968
- let watchFiles = getFlag(result, keys, "watchFiles", mustBeArray);
404969
- let watchDirs = getFlag(result, keys, "watchDirs", mustBeArray);
404970
- checkForInvalidFlags(result, keys, `from onLoad() callback in plugin ${quote2(name)}`);
404971
- response.id = id2;
404972
- if (pluginName != null)
404973
- response.pluginName = pluginName;
404974
- if (contents instanceof Uint8Array)
404975
- response.contents = contents;
404976
- else if (contents != null)
404977
- response.contents = encodeUTF8(contents);
404978
- if (resolveDir != null)
404979
- response.resolveDir = resolveDir;
404980
- if (pluginData != null)
404981
- response.pluginData = details.store(pluginData);
404982
- if (loader2 != null)
404983
- response.loader = loader2;
404984
- if (errors != null)
404985
- response.errors = sanitizeMessages(errors, "errors", details, name, void 0);
404986
- if (warnings != null)
404987
- response.warnings = sanitizeMessages(warnings, "warnings", details, name, void 0);
404988
- if (watchFiles != null)
404989
- response.watchFiles = sanitizeStringArray(watchFiles, "watchFiles");
404990
- if (watchDirs != null)
404991
- response.watchDirs = sanitizeStringArray(watchDirs, "watchDirs");
404992
- break;
404993
- }
404994
- } catch (e3) {
404995
- response = { id: id2, errors: [extractErrorMessageV8(e3, streamIn, details, note && note(), name)] };
404996
- break;
404997
- }
404998
- }
404999
- sendResponse(id, response);
405000
- };
405001
- let runOnEndCallbacks = (result, done) => done([], []);
405002
- if (onEndCallbacks.length > 0) {
405003
- runOnEndCallbacks = (result, done) => {
405004
- (async () => {
405005
- const onEndErrors = [];
405006
- const onEndWarnings = [];
405007
- for (const { name, callback, note } of onEndCallbacks) {
405008
- let newErrors;
405009
- let newWarnings;
405010
- try {
405011
- const value = await callback(result);
405012
- if (value != null) {
405013
- if (typeof value !== "object")
405014
- throw new Error(`Expected onEnd() callback in plugin ${quote2(name)} to return an object`);
405015
- let keys = {};
405016
- let errors = getFlag(value, keys, "errors", mustBeArray);
405017
- let warnings = getFlag(value, keys, "warnings", mustBeArray);
405018
- checkForInvalidFlags(value, keys, `from onEnd() callback in plugin ${quote2(name)}`);
405019
- if (errors != null)
405020
- newErrors = sanitizeMessages(errors, "errors", details, name, void 0);
405021
- if (warnings != null)
405022
- newWarnings = sanitizeMessages(warnings, "warnings", details, name, void 0);
405023
- }
405024
- } catch (e3) {
405025
- newErrors = [extractErrorMessageV8(e3, streamIn, details, note && note(), name)];
405026
- }
405027
- if (newErrors) {
405028
- onEndErrors.push(...newErrors);
405029
- try {
405030
- result.errors.push(...newErrors);
405031
- } catch {
405032
- }
405033
- }
405034
- if (newWarnings) {
405035
- onEndWarnings.push(...newWarnings);
405036
- try {
405037
- result.warnings.push(...newWarnings);
405038
- } catch {
405039
- }
405040
- }
405041
- }
405042
- done(onEndErrors, onEndWarnings);
405043
- })();
405044
- };
405045
- }
405046
- let scheduleOnDisposeCallbacks = () => {
405047
- for (const cb of onDisposeCallbacks) {
405048
- setTimeout(() => cb(), 0);
405049
- }
405050
- };
405051
- isSetupDone = true;
405052
- return {
405053
- ok: true,
405054
- requestPlugins,
405055
- runOnEndCallbacks,
405056
- scheduleOnDisposeCallbacks
405057
- };
405058
- };
405059
- function createObjectStash() {
405060
- const map2 = /* @__PURE__ */ new Map();
405061
- let nextID = 0;
405062
- return {
405063
- load(id) {
405064
- return map2.get(id);
405065
- },
405066
- store(value) {
405067
- if (value === void 0)
405068
- return -1;
405069
- const id = nextID++;
405070
- map2.set(id, value);
405071
- return id;
405072
- }
405073
- };
405074
- }
405075
- function extractCallerV8(e3, streamIn, ident) {
405076
- let note;
405077
- let tried = false;
405078
- return () => {
405079
- if (tried)
405080
- return note;
405081
- tried = true;
405082
- try {
405083
- let lines = (e3.stack + "").split("\n");
405084
- lines.splice(1, 1);
405085
- let location = parseStackLinesV8(streamIn, lines, ident);
405086
- if (location) {
405087
- note = { text: e3.message, location };
405088
- return note;
405089
- }
405090
- } catch {
405091
- }
405092
- };
405093
- }
405094
- function extractErrorMessageV8(e3, streamIn, stash, note, pluginName) {
405095
- let text = "Internal error";
405096
- let location = null;
405097
- try {
405098
- text = (e3 && e3.message || e3) + "";
405099
- } catch {
405100
- }
405101
- try {
405102
- location = parseStackLinesV8(streamIn, (e3.stack + "").split("\n"), "");
405103
- } catch {
405104
- }
405105
- return { id: "", pluginName, text, location, notes: note ? [note] : [], detail: stash ? stash.store(e3) : -1 };
405106
- }
405107
- function parseStackLinesV8(streamIn, lines, ident) {
405108
- let at8 = " at ";
405109
- if (streamIn.readFileSync && !lines[0].startsWith(at8) && lines[1].startsWith(at8)) {
405110
- for (let i3 = 1; i3 < lines.length; i3++) {
405111
- let line3 = lines[i3];
405112
- if (!line3.startsWith(at8))
405113
- continue;
405114
- line3 = line3.slice(at8.length);
405115
- while (true) {
405116
- let match2 = /^(?:new |async )?\S+ \((.*)\)$/.exec(line3);
405117
- if (match2) {
405118
- line3 = match2[1];
405119
- continue;
405120
- }
405121
- match2 = /^eval at \S+ \((.*)\)(?:, \S+:\d+:\d+)?$/.exec(line3);
405122
- if (match2) {
405123
- line3 = match2[1];
405124
- continue;
405125
- }
405126
- match2 = /^(\S+):(\d+):(\d+)$/.exec(line3);
405127
- if (match2) {
405128
- let contents;
405129
- try {
405130
- contents = streamIn.readFileSync(match2[1], "utf8");
405131
- } catch {
405132
- break;
405133
- }
405134
- let lineText = contents.split(/\r\n|\r|\n|\u2028|\u2029/)[+match2[2] - 1] || "";
405135
- let column2 = +match2[3] - 1;
405136
- let length = lineText.slice(column2, column2 + ident.length) === ident ? ident.length : 0;
405137
- return {
405138
- file: match2[1],
405139
- namespace: "file",
405140
- line: +match2[2],
405141
- column: encodeUTF8(lineText.slice(0, column2)).length,
405142
- length: encodeUTF8(lineText.slice(column2, column2 + length)).length,
405143
- lineText: lineText + "\n" + lines.slice(1).join("\n"),
405144
- suggestion: ""
405145
- };
405146
- }
405147
- break;
405148
- }
405149
- }
405150
- }
405151
- return null;
405152
- }
405153
- function failureErrorWithLog(text, errors, warnings) {
405154
- let limit = 5;
405155
- text += errors.length < 1 ? "" : ` with ${errors.length} error${errors.length < 2 ? "" : "s"}:` + errors.slice(0, limit + 1).map((e3, i3) => {
405156
- if (i3 === limit)
405157
- return "\n...";
405158
- if (!e3.location)
405159
- return `
405160
- error: ${e3.text}`;
405161
- let { file, line: line3, column: column2 } = e3.location;
405162
- let pluginText = e3.pluginName ? `[plugin: ${e3.pluginName}] ` : "";
405163
- return `
405164
- ${file}:${line3}:${column2}: ERROR: ${pluginText}${e3.text}`;
405165
- }).join("");
405166
- let error = new Error(text);
405167
- for (const [key2, value] of [["errors", errors], ["warnings", warnings]]) {
405168
- Object.defineProperty(error, key2, {
405169
- configurable: true,
405170
- enumerable: true,
405171
- get: () => value,
405172
- set: (value2) => Object.defineProperty(error, key2, {
405173
- configurable: true,
405174
- enumerable: true,
405175
- value: value2
405176
- })
405177
- });
405178
- }
405179
- return error;
405180
- }
405181
- function replaceDetailsInMessages(messages2, stash) {
405182
- for (const message of messages2) {
405183
- message.detail = stash.load(message.detail);
405184
- }
405185
- return messages2;
405186
- }
405187
- function sanitizeLocation(location, where, terminalWidth) {
405188
- if (location == null)
405189
- return null;
405190
- let keys = {};
405191
- let file = getFlag(location, keys, "file", mustBeString);
405192
- let namespace = getFlag(location, keys, "namespace", mustBeString);
405193
- let line3 = getFlag(location, keys, "line", mustBeInteger);
405194
- let column2 = getFlag(location, keys, "column", mustBeInteger);
405195
- let length = getFlag(location, keys, "length", mustBeInteger);
405196
- let lineText = getFlag(location, keys, "lineText", mustBeString);
405197
- let suggestion = getFlag(location, keys, "suggestion", mustBeString);
405198
- checkForInvalidFlags(location, keys, where);
405199
- if (lineText) {
405200
- const relevantASCII = lineText.slice(
405201
- 0,
405202
- (column2 && column2 > 0 ? column2 : 0) + (length && length > 0 ? length : 0) + (terminalWidth && terminalWidth > 0 ? terminalWidth : 80)
405203
- );
405204
- if (!/[\x7F-\uFFFF]/.test(relevantASCII) && !/\n/.test(lineText)) {
405205
- lineText = relevantASCII;
405206
- }
405207
- }
405208
- return {
405209
- file: file || "",
405210
- namespace: namespace || "",
405211
- line: line3 || 0,
405212
- column: column2 || 0,
405213
- length: length || 0,
405214
- lineText: lineText || "",
405215
- suggestion: suggestion || ""
405216
- };
405217
- }
405218
- function sanitizeMessages(messages2, property, stash, fallbackPluginName, terminalWidth) {
405219
- let messagesClone = [];
405220
- let index = 0;
405221
- for (const message of messages2) {
405222
- let keys = {};
405223
- let id = getFlag(message, keys, "id", mustBeString);
405224
- let pluginName = getFlag(message, keys, "pluginName", mustBeString);
405225
- let text = getFlag(message, keys, "text", mustBeString);
405226
- let location = getFlag(message, keys, "location", mustBeObjectOrNull);
405227
- let notes = getFlag(message, keys, "notes", mustBeArray);
405228
- let detail = getFlag(message, keys, "detail", canBeAnything);
405229
- let where = `in element ${index} of "${property}"`;
405230
- checkForInvalidFlags(message, keys, where);
405231
- let notesClone = [];
405232
- if (notes) {
405233
- for (const note of notes) {
405234
- let noteKeys = {};
405235
- let noteText = getFlag(note, noteKeys, "text", mustBeString);
405236
- let noteLocation = getFlag(note, noteKeys, "location", mustBeObjectOrNull);
405237
- checkForInvalidFlags(note, noteKeys, where);
405238
- notesClone.push({
405239
- text: noteText || "",
405240
- location: sanitizeLocation(noteLocation, where, terminalWidth)
405241
- });
405242
- }
405243
- }
405244
- messagesClone.push({
405245
- id: id || "",
405246
- pluginName: pluginName || fallbackPluginName,
405247
- text: text || "",
405248
- location: sanitizeLocation(location, where, terminalWidth),
405249
- notes: notesClone,
405250
- detail: stash ? stash.store(detail) : -1
405251
- });
405252
- index++;
405253
- }
405254
- return messagesClone;
405255
- }
405256
- function sanitizeStringArray(values, property) {
405257
- const result = [];
405258
- for (const value of values) {
405259
- if (typeof value !== "string")
405260
- throw new Error(`${quote2(property)} must be an array of strings`);
405261
- result.push(value);
405262
- }
405263
- return result;
405264
- }
405265
- function convertOutputFiles({ path: path32, contents, hash }) {
405266
- let text = null;
405267
- return {
405268
- path: path32,
405269
- contents,
405270
- hash,
405271
- get text() {
405272
- const binary2 = this.contents;
405273
- if (text === null || binary2 !== contents) {
405274
- contents = binary2;
405275
- text = decodeUTF8(binary2);
405276
- }
405277
- return text;
405278
- }
405279
- };
405280
- }
405281
- var fs7 = require("fs");
405282
- var os6 = require("os");
405283
- var path15 = require("path");
405284
- var ESBUILD_BINARY_PATH = process.env.ESBUILD_BINARY_PATH || ESBUILD_BINARY_PATH;
405285
- var isValidBinaryPath = (x5) => !!x5 && x5 !== "/usr/bin/esbuild";
405286
- var packageDarwin_arm64 = "@esbuild/darwin-arm64";
405287
- var packageDarwin_x64 = "@esbuild/darwin-x64";
405288
- var knownWindowsPackages = {
405289
- "win32 arm64 LE": "@esbuild/win32-arm64",
405290
- "win32 ia32 LE": "@esbuild/win32-ia32",
405291
- "win32 x64 LE": "@esbuild/win32-x64"
405292
- };
405293
- var knownUnixlikePackages = {
405294
- "aix ppc64 BE": "@esbuild/aix-ppc64",
405295
- "android arm64 LE": "@esbuild/android-arm64",
405296
- "darwin arm64 LE": "@esbuild/darwin-arm64",
405297
- "darwin x64 LE": "@esbuild/darwin-x64",
405298
- "freebsd arm64 LE": "@esbuild/freebsd-arm64",
405299
- "freebsd x64 LE": "@esbuild/freebsd-x64",
405300
- "linux arm LE": "@esbuild/linux-arm",
405301
- "linux arm64 LE": "@esbuild/linux-arm64",
405302
- "linux ia32 LE": "@esbuild/linux-ia32",
405303
- "linux mips64el LE": "@esbuild/linux-mips64el",
405304
- "linux ppc64 LE": "@esbuild/linux-ppc64",
405305
- "linux riscv64 LE": "@esbuild/linux-riscv64",
405306
- "linux s390x BE": "@esbuild/linux-s390x",
405307
- "linux x64 LE": "@esbuild/linux-x64",
405308
- "linux loong64 LE": "@esbuild/linux-loong64",
405309
- "netbsd x64 LE": "@esbuild/netbsd-x64",
405310
- "openbsd x64 LE": "@esbuild/openbsd-x64",
405311
- "sunos x64 LE": "@esbuild/sunos-x64"
405312
- };
405313
- var knownWebAssemblyFallbackPackages = {
405314
- "android arm LE": "@esbuild/android-arm",
405315
- "android x64 LE": "@esbuild/android-x64"
405316
- };
405317
- function pkgAndSubpathForCurrentPlatform() {
405318
- let pkg;
405319
- let subpath;
405320
- let isWASM = false;
405321
- let platformKey = `${process.platform} ${os6.arch()} ${os6.endianness()}`;
405322
- if (platformKey in knownWindowsPackages) {
405323
- pkg = knownWindowsPackages[platformKey];
405324
- subpath = "esbuild.exe";
405325
- } else if (platformKey in knownUnixlikePackages) {
405326
- pkg = knownUnixlikePackages[platformKey];
405327
- subpath = "bin/esbuild";
405328
- } else if (platformKey in knownWebAssemblyFallbackPackages) {
405329
- pkg = knownWebAssemblyFallbackPackages[platformKey];
405330
- subpath = "bin/esbuild";
405331
- isWASM = true;
405332
- } else {
405333
- throw new Error(`Unsupported platform: ${platformKey}`);
405334
- }
405335
- return { pkg, subpath, isWASM };
405336
- }
405337
- function pkgForSomeOtherPlatform() {
405338
- const libMainJS = require.resolve("esbuild");
405339
- const nodeModulesDirectory = path15.dirname(path15.dirname(path15.dirname(libMainJS)));
405340
- if (path15.basename(nodeModulesDirectory) === "node_modules") {
405341
- for (const unixKey in knownUnixlikePackages) {
405342
- try {
405343
- const pkg = knownUnixlikePackages[unixKey];
405344
- if (fs7.existsSync(path15.join(nodeModulesDirectory, pkg)))
405345
- return pkg;
405346
- } catch {
405347
- }
405348
- }
405349
- for (const windowsKey in knownWindowsPackages) {
405350
- try {
405351
- const pkg = knownWindowsPackages[windowsKey];
405352
- if (fs7.existsSync(path15.join(nodeModulesDirectory, pkg)))
405353
- return pkg;
405354
- } catch {
405355
- }
405356
- }
405357
- }
405358
- return null;
405359
- }
405360
- function downloadedBinPath(pkg, subpath) {
405361
- const esbuildLibDir = path15.dirname(require.resolve("esbuild"));
405362
- return path15.join(esbuildLibDir, `downloaded-${pkg.replace("/", "-")}-${path15.basename(subpath)}`);
405363
- }
405364
- function generateBinPath() {
405365
- if (isValidBinaryPath(ESBUILD_BINARY_PATH)) {
405366
- if (!fs7.existsSync(ESBUILD_BINARY_PATH)) {
405367
- console.warn(`[esbuild] Ignoring bad configuration: ESBUILD_BINARY_PATH=${ESBUILD_BINARY_PATH}`);
405368
- } else {
405369
- return { binPath: ESBUILD_BINARY_PATH, isWASM: false };
405370
- }
405371
- }
405372
- const { pkg, subpath, isWASM } = pkgAndSubpathForCurrentPlatform();
405373
- let binPath;
405374
- try {
405375
- binPath = require.resolve(`${pkg}/${subpath}`);
405376
- } catch (e3) {
405377
- binPath = downloadedBinPath(pkg, subpath);
405378
- if (!fs7.existsSync(binPath)) {
405379
- try {
405380
- require.resolve(pkg);
405381
- } catch {
405382
- const otherPkg = pkgForSomeOtherPlatform();
405383
- if (otherPkg) {
405384
- let suggestions = `
405385
- Specifically the "${otherPkg}" package is present but this platform
405386
- needs the "${pkg}" package instead. People often get into this
405387
- situation by installing esbuild on Windows or macOS and copying "node_modules"
405388
- into a Docker image that runs Linux, or by copying "node_modules" between
405389
- Windows and WSL environments.
405390
-
405391
- If you are installing with npm, you can try not copying the "node_modules"
405392
- directory when you copy the files over, and running "npm ci" or "npm install"
405393
- on the destination platform after the copy. Or you could consider using yarn
405394
- instead of npm which has built-in support for installing a package on multiple
405395
- platforms simultaneously.
405396
-
405397
- If you are installing with yarn, you can try listing both this platform and the
405398
- other platform in your ".yarnrc.yml" file using the "supportedArchitectures"
405399
- feature: https://yarnpkg.com/configuration/yarnrc/#supportedArchitectures
405400
- Keep in mind that this means multiple copies of esbuild will be present.
405401
- `;
405402
- if (pkg === packageDarwin_x64 && otherPkg === packageDarwin_arm64 || pkg === packageDarwin_arm64 && otherPkg === packageDarwin_x64) {
405403
- suggestions = `
405404
- Specifically the "${otherPkg}" package is present but this platform
405405
- needs the "${pkg}" package instead. People often get into this
405406
- situation by installing esbuild with npm running inside of Rosetta 2 and then
405407
- trying to use it with node running outside of Rosetta 2, or vice versa (Rosetta
405408
- 2 is Apple's on-the-fly x86_64-to-arm64 translation service).
405409
-
405410
- If you are installing with npm, you can try ensuring that both npm and node are
405411
- not running under Rosetta 2 and then reinstalling esbuild. This likely involves
405412
- changing how you installed npm and/or node. For example, installing node with
405413
- the universal installer here should work: https://nodejs.org/en/download/. Or
405414
- you could consider using yarn instead of npm which has built-in support for
405415
- installing a package on multiple platforms simultaneously.
405416
-
405417
- If you are installing with yarn, you can try listing both "arm64" and "x64"
405418
- in your ".yarnrc.yml" file using the "supportedArchitectures" feature:
405419
- https://yarnpkg.com/configuration/yarnrc/#supportedArchitectures
405420
- Keep in mind that this means multiple copies of esbuild will be present.
405421
- `;
405422
- }
405423
- throw new Error(`
405424
- You installed esbuild for another platform than the one you're currently using.
405425
- This won't work because esbuild is written with native code and needs to
405426
- install a platform-specific binary executable.
405427
- ${suggestions}
405428
- Another alternative is to use the "esbuild-wasm" package instead, which works
405429
- the same way on all platforms. But it comes with a heavy performance cost and
405430
- can sometimes be 10x slower than the "esbuild" package, so you may also not
405431
- want to do that.
405432
- `);
405433
- }
405434
- throw new Error(`The package "${pkg}" could not be found, and is needed by esbuild.
405435
-
405436
- If you are installing esbuild with npm, make sure that you don't specify the
405437
- "--no-optional" or "--omit=optional" flags. The "optionalDependencies" feature
405438
- of "package.json" is used by esbuild to install the correct binary executable
405439
- for your current platform.`);
405440
- }
405441
- throw e3;
405442
- }
405443
- }
405444
- if (/\.zip\//.test(binPath)) {
405445
- let pnpapi;
405446
- try {
405447
- pnpapi = require("pnpapi");
405448
- } catch (e3) {
405449
- }
405450
- if (pnpapi) {
405451
- const root2 = pnpapi.getPackageInformation(pnpapi.topLevel).packageLocation;
405452
- const binTargetPath = path15.join(
405453
- root2,
405454
- "node_modules",
405455
- ".cache",
405456
- "esbuild",
405457
- `pnpapi-${pkg.replace("/", "-")}-${"0.19.12"}-${path15.basename(subpath)}`
405458
- );
405459
- if (!fs7.existsSync(binTargetPath)) {
405460
- fs7.mkdirSync(path15.dirname(binTargetPath), { recursive: true });
405461
- fs7.copyFileSync(binPath, binTargetPath);
405462
- fs7.chmodSync(binTargetPath, 493);
405463
- }
405464
- return { binPath: binTargetPath, isWASM };
405465
- }
405466
- }
405467
- return { binPath, isWASM };
405468
- }
405469
- var child_process = require("child_process");
405470
- var crypto = require("crypto");
405471
- var path22 = require("path");
405472
- var fs23 = require("fs");
405473
- var os22 = require("os");
405474
- var tty2 = require("tty");
405475
- var worker_threads;
405476
- if (process.env.ESBUILD_WORKER_THREADS !== "0") {
405477
- try {
405478
- worker_threads = require("worker_threads");
405479
- } catch {
405480
- }
405481
- let [major, minor] = process.versions.node.split(".");
405482
- if (
405483
- // <v12.17.0 does not work
405484
- +major < 12 || +major === 12 && +minor < 17 || +major === 13 && +minor < 13
405485
- ) {
405486
- worker_threads = void 0;
405487
- }
405488
- }
405489
- var _a3;
405490
- var isInternalWorkerThread = ((_a3 = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a3.esbuildVersion) === "0.19.12";
405491
- var esbuildCommandAndArgs = () => {
405492
- if ((!ESBUILD_BINARY_PATH || false) && (path22.basename(__filename) !== "main.js" || path22.basename(__dirname) !== "lib")) {
405493
- throw new Error(
405494
- `The esbuild JavaScript API cannot be bundled. Please mark the "esbuild" package as external so it's not included in the bundle.
405495
-
405496
- More information: The file containing the code for esbuild's JavaScript API (${__filename}) does not appear to be inside the esbuild package on the file system, which usually means that the esbuild package was bundled into another file. This is problematic because the API needs to run a binary executable inside the esbuild package which is located using a relative path from the API code to the executable. If the esbuild package is bundled, the relative path will be incorrect and the executable won't be found.`
405497
- );
405498
- }
405499
- if (false) {
405500
- return ["node", [path22.join(__dirname, "..", "bin", "esbuild")]];
405501
- } else {
405502
- const { binPath, isWASM } = generateBinPath();
405503
- if (isWASM) {
405504
- return ["node", [binPath]];
405505
- } else {
405506
- return [binPath, []];
405507
- }
405508
- }
405509
- };
405510
- var isTTY = () => tty2.isatty(2);
405511
- var fsSync = {
405512
- readFile(tempFile, callback) {
405513
- try {
405514
- let contents = fs23.readFileSync(tempFile, "utf8");
405515
- try {
405516
- fs23.unlinkSync(tempFile);
405517
- } catch {
405518
- }
405519
- callback(null, contents);
405520
- } catch (err) {
405521
- callback(err, null);
405522
- }
405523
- },
405524
- writeFile(contents, callback) {
405525
- try {
405526
- let tempFile = randomFileName();
405527
- fs23.writeFileSync(tempFile, contents);
405528
- callback(tempFile);
405529
- } catch {
405530
- callback(null);
405531
- }
405532
- }
405533
- };
405534
- var fsAsync = {
405535
- readFile(tempFile, callback) {
405536
- try {
405537
- fs23.readFile(tempFile, "utf8", (err, contents) => {
405538
- try {
405539
- fs23.unlink(tempFile, () => callback(err, contents));
405540
- } catch {
405541
- callback(err, contents);
405542
- }
405543
- });
405544
- } catch (err) {
405545
- callback(err, null);
405546
- }
405547
- },
405548
- writeFile(contents, callback) {
405549
- try {
405550
- let tempFile = randomFileName();
405551
- fs23.writeFile(tempFile, contents, (err) => err !== null ? callback(null) : callback(tempFile));
405552
- } catch {
405553
- callback(null);
405554
- }
405555
- }
405556
- };
405557
- var version = "0.19.12";
405558
- var build2 = (options8) => ensureServiceIsRunning().build(options8);
405559
- var context = (buildOptions) => ensureServiceIsRunning().context(buildOptions);
405560
- var transform3 = (input, options8) => ensureServiceIsRunning().transform(input, options8);
405561
- var formatMessages = (messages2, options8) => ensureServiceIsRunning().formatMessages(messages2, options8);
405562
- var analyzeMetafile = (messages2, options8) => ensureServiceIsRunning().analyzeMetafile(messages2, options8);
405563
- var buildSync = (options8) => {
405564
- if (worker_threads && !isInternalWorkerThread) {
405565
- if (!workerThreadService)
405566
- workerThreadService = startWorkerThreadService(worker_threads);
405567
- return workerThreadService.buildSync(options8);
405568
- }
405569
- let result;
405570
- runServiceSync((service) => service.buildOrContext({
405571
- callName: "buildSync",
405572
- refs: null,
405573
- options: options8,
405574
- isTTY: isTTY(),
405575
- defaultWD,
405576
- callback: (err, res) => {
405577
- if (err)
405578
- throw err;
405579
- result = res;
405580
- }
405581
- }));
405582
- return result;
405583
- };
405584
- var transformSync = (input, options8) => {
405585
- if (worker_threads && !isInternalWorkerThread) {
405586
- if (!workerThreadService)
405587
- workerThreadService = startWorkerThreadService(worker_threads);
405588
- return workerThreadService.transformSync(input, options8);
405589
- }
405590
- let result;
405591
- runServiceSync((service) => service.transform({
405592
- callName: "transformSync",
405593
- refs: null,
405594
- input,
405595
- options: options8 || {},
405596
- isTTY: isTTY(),
405597
- fs: fsSync,
405598
- callback: (err, res) => {
405599
- if (err)
405600
- throw err;
405601
- result = res;
405602
- }
405603
- }));
405604
- return result;
405605
- };
405606
- var formatMessagesSync = (messages2, options8) => {
405607
- if (worker_threads && !isInternalWorkerThread) {
405608
- if (!workerThreadService)
405609
- workerThreadService = startWorkerThreadService(worker_threads);
405610
- return workerThreadService.formatMessagesSync(messages2, options8);
405611
- }
405612
- let result;
405613
- runServiceSync((service) => service.formatMessages({
405614
- callName: "formatMessagesSync",
405615
- refs: null,
405616
- messages: messages2,
405617
- options: options8,
405618
- callback: (err, res) => {
405619
- if (err)
405620
- throw err;
405621
- result = res;
405622
- }
405623
- }));
405624
- return result;
405625
- };
405626
- var analyzeMetafileSync = (metafile, options8) => {
405627
- if (worker_threads && !isInternalWorkerThread) {
405628
- if (!workerThreadService)
405629
- workerThreadService = startWorkerThreadService(worker_threads);
405630
- return workerThreadService.analyzeMetafileSync(metafile, options8);
405631
- }
405632
- let result;
405633
- runServiceSync((service) => service.analyzeMetafile({
405634
- callName: "analyzeMetafileSync",
405635
- refs: null,
405636
- metafile: typeof metafile === "string" ? metafile : JSON.stringify(metafile),
405637
- options: options8,
405638
- callback: (err, res) => {
405639
- if (err)
405640
- throw err;
405641
- result = res;
405642
- }
405643
- }));
405644
- return result;
405645
- };
405646
- var stop = () => {
405647
- if (stopService)
405648
- stopService();
405649
- if (workerThreadService)
405650
- workerThreadService.stop();
405651
- };
405652
- var initializeWasCalled = false;
405653
- var initialize = (options8) => {
405654
- options8 = validateInitializeOptions(options8 || {});
405655
- if (options8.wasmURL)
405656
- throw new Error(`The "wasmURL" option only works in the browser`);
405657
- if (options8.wasmModule)
405658
- throw new Error(`The "wasmModule" option only works in the browser`);
405659
- if (options8.worker)
405660
- throw new Error(`The "worker" option only works in the browser`);
405661
- if (initializeWasCalled)
405662
- throw new Error('Cannot call "initialize" more than once');
405663
- ensureServiceIsRunning();
405664
- initializeWasCalled = true;
405665
- return Promise.resolve();
405666
- };
405667
- var defaultWD = process.cwd();
405668
- var longLivedService;
405669
- var stopService;
405670
- var ensureServiceIsRunning = () => {
405671
- if (longLivedService)
405672
- return longLivedService;
405673
- let [command, args] = esbuildCommandAndArgs();
405674
- let child = child_process.spawn(command, args.concat(`--service=${"0.19.12"}`, "--ping"), {
405675
- windowsHide: true,
405676
- stdio: ["pipe", "pipe", "inherit"],
405677
- cwd: defaultWD
405678
- });
405679
- let { readFromStdout, afterClose, service } = createChannel({
405680
- writeToStdin(bytes) {
405681
- child.stdin.write(bytes, (err) => {
405682
- if (err)
405683
- afterClose(err);
405684
- });
405685
- },
405686
- readFileSync: fs23.readFileSync,
405687
- isSync: false,
405688
- hasFS: true,
405689
- esbuild: node_exports
405690
- });
405691
- child.stdin.on("error", afterClose);
405692
- child.on("error", afterClose);
405693
- const stdin2 = child.stdin;
405694
- const stdout = child.stdout;
405695
- stdout.on("data", readFromStdout);
405696
- stdout.on("end", afterClose);
405697
- stopService = () => {
405698
- stdin2.destroy();
405699
- stdout.destroy();
405700
- child.kill();
405701
- initializeWasCalled = false;
405702
- longLivedService = void 0;
405703
- stopService = void 0;
405704
- };
405705
- let refCount = 0;
405706
- child.unref();
405707
- if (stdin2.unref) {
405708
- stdin2.unref();
405709
- }
405710
- if (stdout.unref) {
405711
- stdout.unref();
405712
- }
405713
- const refs = {
405714
- ref() {
405715
- if (++refCount === 1)
405716
- child.ref();
405717
- },
405718
- unref() {
405719
- if (--refCount === 0)
405720
- child.unref();
405721
- }
405722
- };
405723
- longLivedService = {
405724
- build: (options8) => new Promise((resolve3, reject) => {
405725
- service.buildOrContext({
405726
- callName: "build",
405727
- refs,
405728
- options: options8,
405729
- isTTY: isTTY(),
405730
- defaultWD,
405731
- callback: (err, res) => err ? reject(err) : resolve3(res)
405732
- });
405733
- }),
405734
- context: (options8) => new Promise((resolve3, reject) => service.buildOrContext({
405735
- callName: "context",
405736
- refs,
405737
- options: options8,
405738
- isTTY: isTTY(),
405739
- defaultWD,
405740
- callback: (err, res) => err ? reject(err) : resolve3(res)
405741
- })),
405742
- transform: (input, options8) => new Promise((resolve3, reject) => service.transform({
405743
- callName: "transform",
405744
- refs,
405745
- input,
405746
- options: options8 || {},
405747
- isTTY: isTTY(),
405748
- fs: fsAsync,
405749
- callback: (err, res) => err ? reject(err) : resolve3(res)
405750
- })),
405751
- formatMessages: (messages2, options8) => new Promise((resolve3, reject) => service.formatMessages({
405752
- callName: "formatMessages",
405753
- refs,
405754
- messages: messages2,
405755
- options: options8,
405756
- callback: (err, res) => err ? reject(err) : resolve3(res)
405757
- })),
405758
- analyzeMetafile: (metafile, options8) => new Promise((resolve3, reject) => service.analyzeMetafile({
405759
- callName: "analyzeMetafile",
405760
- refs,
405761
- metafile: typeof metafile === "string" ? metafile : JSON.stringify(metafile),
405762
- options: options8,
405763
- callback: (err, res) => err ? reject(err) : resolve3(res)
405764
- }))
405765
- };
405766
- return longLivedService;
405767
- };
405768
- var runServiceSync = (callback) => {
405769
- let [command, args] = esbuildCommandAndArgs();
405770
- let stdin2 = new Uint8Array();
405771
- let { readFromStdout, afterClose, service } = createChannel({
405772
- writeToStdin(bytes) {
405773
- if (stdin2.length !== 0)
405774
- throw new Error("Must run at most one command");
405775
- stdin2 = bytes;
405776
- },
405777
- isSync: true,
405778
- hasFS: true,
405779
- esbuild: node_exports
405780
- });
405781
- callback(service);
405782
- let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.19.12"}`), {
405783
- cwd: defaultWD,
405784
- windowsHide: true,
405785
- input: stdin2,
405786
- // We don't know how large the output could be. If it's too large, the
405787
- // command will fail with ENOBUFS. Reserve 16mb for now since that feels
405788
- // like it should be enough. Also allow overriding this with an environment
405789
- // variable.
405790
- maxBuffer: +process.env.ESBUILD_MAX_BUFFER || 16 * 1024 * 1024
405791
- });
405792
- readFromStdout(stdout);
405793
- afterClose(null);
405794
- };
405795
- var randomFileName = () => {
405796
- return path22.join(os22.tmpdir(), `esbuild-${crypto.randomBytes(32).toString("hex")}`);
405797
- };
405798
- var workerThreadService = null;
405799
- var startWorkerThreadService = (worker_threads2) => {
405800
- let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
405801
- let worker = new worker_threads2.Worker(__filename, {
405802
- workerData: { workerPort, defaultWD, esbuildVersion: "0.19.12" },
405803
- transferList: [workerPort],
405804
- // From node's documentation: https://nodejs.org/api/worker_threads.html
405805
- //
405806
- // Take care when launching worker threads from preload scripts (scripts loaded
405807
- // and run using the `-r` command line flag). Unless the `execArgv` option is
405808
- // explicitly set, new Worker threads automatically inherit the command line flags
405809
- // from the running process and will preload the same preload scripts as the main
405810
- // thread. If the preload script unconditionally launches a worker thread, every
405811
- // thread spawned will spawn another until the application crashes.
405812
- //
405813
- execArgv: []
405814
- });
405815
- let nextID = 0;
405816
- let fakeBuildError = (text) => {
405817
- let error = new Error(`Build failed with 1 error:
405818
- error: ${text}`);
405819
- let errors = [{ id: "", pluginName: "", text, location: null, notes: [], detail: void 0 }];
405820
- error.errors = errors;
405821
- error.warnings = [];
405822
- return error;
405823
- };
405824
- let validateBuildSyncOptions = (options8) => {
405825
- if (!options8)
405826
- return;
405827
- let plugins = options8.plugins;
405828
- if (plugins && plugins.length > 0)
405829
- throw fakeBuildError(`Cannot use plugins in synchronous API calls`);
405830
- };
405831
- let applyProperties = (object, properties) => {
405832
- for (let key2 in properties) {
405833
- object[key2] = properties[key2];
405834
- }
405835
- };
405836
- let runCallSync = (command, args) => {
405837
- let id = nextID++;
405838
- let sharedBuffer = new SharedArrayBuffer(8);
405839
- let sharedBufferView = new Int32Array(sharedBuffer);
405840
- let msg = { sharedBuffer, id, command, args };
405841
- worker.postMessage(msg);
405842
- let status = Atomics.wait(sharedBufferView, 0, 0);
405843
- if (status !== "ok" && status !== "not-equal")
405844
- throw new Error("Internal error: Atomics.wait() failed: " + status);
405845
- let { message: { id: id2, resolve: resolve3, reject, properties } } = worker_threads2.receiveMessageOnPort(mainPort);
405846
- if (id !== id2)
405847
- throw new Error(`Internal error: Expected id ${id} but got id ${id2}`);
405848
- if (reject) {
405849
- applyProperties(reject, properties);
405850
- throw reject;
405851
- }
405852
- return resolve3;
405853
- };
405854
- worker.unref();
405855
- return {
405856
- buildSync(options8) {
405857
- validateBuildSyncOptions(options8);
405858
- return runCallSync("build", [options8]);
405859
- },
405860
- transformSync(input, options8) {
405861
- return runCallSync("transform", [input, options8]);
405862
- },
405863
- formatMessagesSync(messages2, options8) {
405864
- return runCallSync("formatMessages", [messages2, options8]);
405865
- },
405866
- analyzeMetafileSync(metafile, options8) {
405867
- return runCallSync("analyzeMetafile", [metafile, options8]);
405868
- },
405869
- stop() {
405870
- worker.terminate();
405871
- workerThreadService = null;
405872
- }
405873
- };
405874
- };
405875
- var startSyncServiceWorker = () => {
405876
- let workerPort = worker_threads.workerData.workerPort;
405877
- let parentPort = worker_threads.parentPort;
405878
- let extractProperties = (object) => {
405879
- let properties = {};
405880
- if (object && typeof object === "object") {
405881
- for (let key2 in object) {
405882
- properties[key2] = object[key2];
405883
- }
405884
- }
405885
- return properties;
405886
- };
405887
- try {
405888
- let service = ensureServiceIsRunning();
405889
- defaultWD = worker_threads.workerData.defaultWD;
405890
- parentPort.on("message", (msg) => {
405891
- (async () => {
405892
- let { sharedBuffer, id, command, args } = msg;
405893
- let sharedBufferView = new Int32Array(sharedBuffer);
405894
- try {
405895
- switch (command) {
405896
- case "build":
405897
- workerPort.postMessage({ id, resolve: await service.build(args[0]) });
405898
- break;
405899
- case "transform":
405900
- workerPort.postMessage({ id, resolve: await service.transform(args[0], args[1]) });
405901
- break;
405902
- case "formatMessages":
405903
- workerPort.postMessage({ id, resolve: await service.formatMessages(args[0], args[1]) });
405904
- break;
405905
- case "analyzeMetafile":
405906
- workerPort.postMessage({ id, resolve: await service.analyzeMetafile(args[0], args[1]) });
405907
- break;
405908
- default:
405909
- throw new Error(`Invalid command: ${command}`);
405910
- }
405911
- } catch (reject) {
405912
- workerPort.postMessage({ id, reject, properties: extractProperties(reject) });
405913
- }
405914
- Atomics.add(sharedBufferView, 0, 1);
405915
- Atomics.notify(sharedBufferView, 0, Infinity);
405916
- })();
405917
- });
405918
- } catch (reject) {
405919
- parentPort.on("message", (msg) => {
405920
- let { sharedBuffer, id } = msg;
405921
- let sharedBufferView = new Int32Array(sharedBuffer);
405922
- workerPort.postMessage({ id, reject, properties: extractProperties(reject) });
405923
- Atomics.add(sharedBufferView, 0, 1);
405924
- Atomics.notify(sharedBufferView, 0, Infinity);
405925
- });
405926
- }
405927
- };
405928
- if (isInternalWorkerThread) {
405929
- startSyncServiceWorker();
405930
- }
405931
- var node_default = node_exports;
405932
- }
405933
- });
405934
-
405935
403529
  // node_modules/.pnpm/load-tsconfig@0.2.5/node_modules/load-tsconfig/dist/index.cjs
405936
403530
  var require_dist3 = __commonJS({
405937
403531
  "node_modules/.pnpm/load-tsconfig@0.2.5/node_modules/load-tsconfig/dist/index.cjs"(exports2, module2) {
@@ -406181,7 +403775,7 @@ var require_dist4 = __commonJS({
406181
403775
  var import_fs22 = __toESM3(require("fs"), 1);
406182
403776
  var import_path22 = __toESM3(require("path"), 1);
406183
403777
  var import_url13 = require("url");
406184
- var import_esbuild = require_main2();
403778
+ var import_esbuild = require("esbuild");
406185
403779
  var import_load_tsconfig = require_dist3();
406186
403780
  var import_fs5 = __toESM3(require("fs"), 1);
406187
403781
  var import_path13 = __toESM3(require("path"), 1);
@@ -407535,7 +405129,7 @@ var require_signals2 = __commonJS({
407535
405129
  });
407536
405130
 
407537
405131
  // node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/main.js
407538
- var require_main3 = __commonJS({
405132
+ var require_main2 = __commonJS({
407539
405133
  "node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/main.js"(exports2) {
407540
405134
  "use strict";
407541
405135
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -407595,7 +405189,7 @@ var require_main3 = __commonJS({
407595
405189
  var require_error4 = __commonJS({
407596
405190
  "node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js"(exports2, module2) {
407597
405191
  "use strict";
407598
- var { signalsByName } = require_main3();
405192
+ var { signalsByName } = require_main2();
407599
405193
  var getErrorPrefix = ({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled }) => {
407600
405194
  if (timedOut) {
407601
405195
  return `timed out after ${timeout} milliseconds`;
@@ -458666,7 +456260,7 @@ var require_dist7 = __commonJS({
458666
456260
  var _execa2 = _interopRequireDefault(_execa);
458667
456261
  var _treekill = require_tree_kill();
458668
456262
  var _treekill2 = _interopRequireDefault(_treekill);
458669
- var _esbuild = require_main2();
456263
+ var _esbuild = require("esbuild");
458670
456264
  var nodeProtocolPlugin = () => {
458671
456265
  const nodeProtocol = "node:";
458672
456266
  return {
@@ -483159,9 +480753,9 @@ var require_TypiaProgrammer = __commonJS({
483159
480753
  }
483160
480754
  });
483161
480755
 
483162
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js
480756
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js
483163
480757
  var require_update_lock_file = __commonJS({
483164
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js"(exports2) {
480758
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js"(exports2) {
483165
480759
  "use strict";
483166
480760
  Object.defineProperty(exports2, "__esModule", { value: true });
483167
480761
  exports2.updateLockFile = void 0;
@@ -483253,9 +480847,9 @@ var require_update_lock_file = __commonJS({
483253
480847
  }
483254
480848
  });
483255
480849
 
483256
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/release-version/utils/package.js
480850
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/release-version/utils/package.js
483257
480851
  var require_package6 = __commonJS({
483258
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/release-version/utils/package.js"(exports2) {
480852
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/release-version/utils/package.js"(exports2) {
483259
480853
  "use strict";
483260
480854
  Object.defineProperty(exports2, "__esModule", { value: true });
483261
480855
  exports2.Package = void 0;
@@ -485524,9 +483118,9 @@ var require_npa = __commonJS({
485524
483118
  }
485525
483119
  });
485526
483120
 
485527
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js
483121
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js
485528
483122
  var require_resolve_version_spec = __commonJS({
485529
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js"(exports2) {
483123
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js"(exports2) {
485530
483124
  "use strict";
485531
483125
  Object.defineProperty(exports2, "__esModule", { value: true });
485532
483126
  exports2.resolveVersionSpec = void 0;
@@ -485552,9 +483146,9 @@ var require_resolve_version_spec = __commonJS({
485552
483146
  }
485553
483147
  });
485554
483148
 
485555
- // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js
483149
+ // node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js
485556
483150
  var require_resolve_local_package_dependencies = __commonJS({
485557
- "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.8__oaspw4qzot3q5cbpg4tbrofywy/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js"(exports2) {
483151
+ "node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.3.106_@swc+wasm@1.4.2_@types+node@20.11.20_ofs2qcbkp26ipfo6i6vsjilnfm/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js"(exports2) {
485558
483152
  "use strict";
485559
483153
  Object.defineProperty(exports2, "__esModule", { value: true });
485560
483154
  exports2.resolveLocalPackageDependencies = void 0;
@@ -486658,10 +484252,6 @@ function getNormalizedTsConfig(context, workspaceRoot, outputPath, options8) {
486658
484252
  outDir: outputPath,
486659
484253
  rootDir: workspaceRoot,
486660
484254
  baseUrl: workspaceRoot,
486661
- target: "esnext",
486662
- module: "esnext",
486663
- moduleResolution: "node",
486664
- lib: ["lib.esnext.d.ts", "lib.dom.d.ts", "lib.dom.iterable.d.ts"],
486665
484255
  noEmit: false,
486666
484256
  esModuleInterop: true,
486667
484257
  downlevelIteration: true,