@storm-software/workspace-tools 1.68.9 → 1.68.11

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.
@@ -4602,7 +4602,7 @@ var require_lib3 = __commonJS({
4602
4602
  return _chalk.default.level > 0 || options.forceColor;
4603
4603
  }
4604
4604
  var chalkWithForcedColor = void 0;
4605
- function getChalk(forceColor) {
4605
+ function getChalk2(forceColor) {
4606
4606
  if (forceColor) {
4607
4607
  var _chalkWithForcedColor;
4608
4608
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4614,11 +4614,11 @@ var require_lib3 = __commonJS({
4614
4614
  return _chalk.default;
4615
4615
  }
4616
4616
  {
4617
- exports2.getChalk = (options) => getChalk(options.forceColor);
4617
+ exports2.getChalk = (options) => getChalk2(options.forceColor);
4618
4618
  }
4619
4619
  function highlight(code, options = {}) {
4620
4620
  if (code !== "" && shouldHighlight(options)) {
4621
- const defs = getDefs(getChalk(options.forceColor));
4621
+ const defs = getDefs(getChalk2(options.forceColor));
4622
4622
  return highlightTokens(defs, code);
4623
4623
  } else {
4624
4624
  return code;
@@ -4663,7 +4663,7 @@ var require_lib4 = __commonJS({
4663
4663
  return n.default = e, t && t.set(e, n), n;
4664
4664
  }
4665
4665
  var chalkWithForcedColor = void 0;
4666
- function getChalk(forceColor) {
4666
+ function getChalk2(forceColor) {
4667
4667
  if (forceColor) {
4668
4668
  var _chalkWithForcedColor;
4669
4669
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4741,7 +4741,7 @@ var require_lib4 = __commonJS({
4741
4741
  }
4742
4742
  function codeFrameColumns(rawLines, loc, opts = {}) {
4743
4743
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
4744
- const chalk2 = getChalk(opts.forceColor);
4744
+ const chalk2 = getChalk2(opts.forceColor);
4745
4745
  const defs = getDefs(chalk2);
4746
4746
  const maybeHighlight = (chalkFn, string) => {
4747
4747
  return highlighted ? chalkFn(string) : string;
@@ -8732,7 +8732,7 @@ var require_source_map_consumer = __commonJS({
8732
8732
  }
8733
8733
  var version2 = util2.getArg(sourceMap, "version");
8734
8734
  var sources = util2.getArg(sourceMap, "sources");
8735
- var names = util2.getArg(sourceMap, "names", []);
8735
+ var names2 = util2.getArg(sourceMap, "names", []);
8736
8736
  var sourceRoot = util2.getArg(sourceMap, "sourceRoot", null);
8737
8737
  var sourcesContent = util2.getArg(sourceMap, "sourcesContent", null);
8738
8738
  var mappings = util2.getArg(sourceMap, "mappings");
@@ -8746,7 +8746,7 @@ var require_source_map_consumer = __commonJS({
8746
8746
  sources = sources.map(String).map(util2.normalize).map(function(source) {
8747
8747
  return sourceRoot && util2.isAbsolute(sourceRoot) && util2.isAbsolute(source) ? util2.relative(sourceRoot, source) : source;
8748
8748
  });
8749
- this._names = ArraySet.fromArray(names.map(String), true);
8749
+ this._names = ArraySet.fromArray(names2.map(String), true);
8750
8750
  this._sources = ArraySet.fromArray(sources, true);
8751
8751
  this._absoluteSources = this._sources.toArray().map(function(s) {
8752
8752
  return util2.computeSourceURL(sourceRoot, s, aSourceMapURL);
@@ -8777,7 +8777,7 @@ var require_source_map_consumer = __commonJS({
8777
8777
  };
8778
8778
  BasicSourceMapConsumer.fromSourceMap = function SourceMapConsumer_fromSourceMap(aSourceMap, aSourceMapURL) {
8779
8779
  var smc = Object.create(BasicSourceMapConsumer.prototype);
8780
- var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);
8780
+ var names2 = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);
8781
8781
  var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);
8782
8782
  smc.sourceRoot = aSourceMap._sourceRoot;
8783
8783
  smc.sourcesContent = aSourceMap._generateSourcesContent(
@@ -8802,7 +8802,7 @@ var require_source_map_consumer = __commonJS({
8802
8802
  destMapping.originalLine = srcMapping.originalLine;
8803
8803
  destMapping.originalColumn = srcMapping.originalColumn;
8804
8804
  if (srcMapping.name) {
8805
- destMapping.name = names.indexOf(srcMapping.name);
8805
+ destMapping.name = names2.indexOf(srcMapping.name);
8806
8806
  }
8807
8807
  destOriginalMappings.push(destMapping);
8808
8808
  }
@@ -10814,8 +10814,8 @@ var require_typescript = __commonJS({
10814
10814
  function getAllKeys(obj) {
10815
10815
  const result = [];
10816
10816
  do {
10817
- const names = Object.getOwnPropertyNames(obj);
10818
- for (const name of names) {
10817
+ const names2 = Object.getOwnPropertyNames(obj);
10818
+ for (const name of names2) {
10819
10819
  pushIfUnique(result, name);
10820
10820
  }
10821
10821
  } while (obj = Object.getPrototypeOf(obj));
@@ -23447,11 +23447,11 @@ ${lanes.join("\n")}
23447
23447
  function typeDirectiveIsEqualTo(oldResolution, newResolution) {
23448
23448
  return oldResolution === newResolution || oldResolution.resolvedTypeReferenceDirective === newResolution.resolvedTypeReferenceDirective || !!oldResolution.resolvedTypeReferenceDirective && !!newResolution.resolvedTypeReferenceDirective && oldResolution.resolvedTypeReferenceDirective.resolvedFileName === newResolution.resolvedTypeReferenceDirective.resolvedFileName && !!oldResolution.resolvedTypeReferenceDirective.primary === !!newResolution.resolvedTypeReferenceDirective.primary && oldResolution.resolvedTypeReferenceDirective.originalPath === newResolution.resolvedTypeReferenceDirective.originalPath;
23449
23449
  }
23450
- function hasChangesInResolutions(names, newResolutions, getOldResolution, comparer) {
23451
- Debug.assert(names.length === newResolutions.length);
23452
- for (let i = 0; i < names.length; i++) {
23450
+ function hasChangesInResolutions(names2, newResolutions, getOldResolution, comparer) {
23451
+ Debug.assert(names2.length === newResolutions.length);
23452
+ for (let i = 0; i < names2.length; i++) {
23453
23453
  const newResolution = newResolutions[i];
23454
- const entry = names[i];
23454
+ const entry = names2[i];
23455
23455
  const oldResolution = getOldResolution(entry);
23456
23456
  const changed = oldResolution ? !newResolution || !comparer(oldResolution, newResolution) : newResolution;
23457
23457
  if (changed) {
@@ -81514,15 +81514,15 @@ ${lanes.join("\n")}
81514
81514
  }
81515
81515
  function getPropertiesOfContext(context) {
81516
81516
  if (!context.resolvedProperties) {
81517
- const names = /* @__PURE__ */ new Map();
81517
+ const names2 = /* @__PURE__ */ new Map();
81518
81518
  for (const t of getSiblingsOfContext(context)) {
81519
81519
  if (isObjectLiteralType2(t) && !(getObjectFlags(t) & 2097152)) {
81520
81520
  for (const prop of getPropertiesOfType(t)) {
81521
- names.set(prop.escapedName, prop);
81521
+ names2.set(prop.escapedName, prop);
81522
81522
  }
81523
81523
  }
81524
81524
  }
81525
- context.resolvedProperties = arrayFrom(names.values());
81525
+ context.resolvedProperties = arrayFrom(names2.values());
81526
81526
  }
81527
81527
  return context.resolvedProperties;
81528
81528
  }
@@ -89580,7 +89580,7 @@ ${lanes.join("\n")}
89580
89580
  }
89581
89581
  const types = [];
89582
89582
  const flags = [];
89583
- const names = [];
89583
+ const names2 = [];
89584
89584
  for (let i = index; i < argCount; i++) {
89585
89585
  const arg = args[i];
89586
89586
  if (isSpreadArgument(arg)) {
@@ -89618,12 +89618,12 @@ ${lanes.join("\n")}
89618
89618
  );
89619
89619
  }
89620
89620
  if (arg.kind === 237 && arg.tupleNameSource) {
89621
- names.push(arg.tupleNameSource);
89621
+ names2.push(arg.tupleNameSource);
89622
89622
  } else {
89623
- names.push(void 0);
89623
+ names2.push(void 0);
89624
89624
  }
89625
89625
  }
89626
- return createTupleType(types, flags, inConstContext && !someType(restType, isMutableArrayLikeType), names);
89626
+ return createTupleType(types, flags, inConstContext && !someType(restType, isMutableArrayLikeType), names2);
89627
89627
  }
89628
89628
  function checkTypeArguments(signature, typeArgumentNodes, reportErrors2, headMessage) {
89629
89629
  const isJavascript = isInJSFile(signature.declaration);
@@ -91923,7 +91923,7 @@ ${lanes.join("\n")}
91923
91923
  }
91924
91924
  const types = [];
91925
91925
  const flags = [];
91926
- const names = [];
91926
+ const names2 = [];
91927
91927
  for (let i = pos; i < parameterCount; i++) {
91928
91928
  if (!restType || i < parameterCount - 1) {
91929
91929
  types.push(getTypeAtPosition(source, i));
@@ -91938,9 +91938,9 @@ ${lanes.join("\n")}
91938
91938
  /* Variadic */
91939
91939
  );
91940
91940
  }
91941
- names.push(getNameableDeclarationAtPosition(source, i));
91941
+ names2.push(getNameableDeclarationAtPosition(source, i));
91942
91942
  }
91943
- return createTupleType(types, flags, readonly, names);
91943
+ return createTupleType(types, flags, readonly, names2);
91944
91944
  }
91945
91945
  function getRestOrAnyTypeAtPosition(source, pos) {
91946
91946
  const restType = getRestTypeAtPosition(source, pos);
@@ -95194,28 +95194,28 @@ ${lanes.join("\n")}
95194
95194
  }
95195
95195
  const isPrivate = isPrivateIdentifier(name);
95196
95196
  const privateStaticFlags = isPrivate && isStaticMember ? 16 : 0;
95197
- const names = isPrivate ? privateIdentifiers : isStaticMember ? staticNames : instanceNames;
95197
+ const names2 = isPrivate ? privateIdentifiers : isStaticMember ? staticNames : instanceNames;
95198
95198
  const memberName = name && getEffectivePropertyNameForPropertyNameNode(name);
95199
95199
  if (memberName) {
95200
95200
  switch (member.kind) {
95201
95201
  case 177:
95202
- addName(names, name, memberName, 1 | privateStaticFlags);
95202
+ addName(names2, name, memberName, 1 | privateStaticFlags);
95203
95203
  break;
95204
95204
  case 178:
95205
- addName(names, name, memberName, 2 | privateStaticFlags);
95205
+ addName(names2, name, memberName, 2 | privateStaticFlags);
95206
95206
  break;
95207
95207
  case 172:
95208
- addName(names, name, memberName, 3 | privateStaticFlags);
95208
+ addName(names2, name, memberName, 3 | privateStaticFlags);
95209
95209
  break;
95210
95210
  case 174:
95211
- addName(names, name, memberName, 8 | privateStaticFlags);
95211
+ addName(names2, name, memberName, 8 | privateStaticFlags);
95212
95212
  break;
95213
95213
  }
95214
95214
  }
95215
95215
  }
95216
95216
  }
95217
- function addName(names, location, name, meaning) {
95218
- const prev = names.get(name);
95217
+ function addName(names2, location, name, meaning) {
95218
+ const prev = names2.get(name);
95219
95219
  if (prev) {
95220
95220
  if ((prev & 16) !== (meaning & 16)) {
95221
95221
  error2(location, Diagnostics.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name, getTextOfNode(location));
@@ -95229,11 +95229,11 @@ ${lanes.join("\n")}
95229
95229
  } else if (prev & meaning & ~16) {
95230
95230
  error2(location, Diagnostics.Duplicate_identifier_0, getTextOfNode(location));
95231
95231
  } else {
95232
- names.set(name, prev | meaning);
95232
+ names2.set(name, prev | meaning);
95233
95233
  }
95234
95234
  }
95235
95235
  } else {
95236
- names.set(name, meaning);
95236
+ names2.set(name, meaning);
95237
95237
  }
95238
95238
  }
95239
95239
  }
@@ -95261,7 +95261,7 @@ ${lanes.join("\n")}
95261
95261
  }
95262
95262
  }
95263
95263
  function checkObjectTypeForDuplicateDeclarations(node) {
95264
- const names = /* @__PURE__ */ new Map();
95264
+ const names2 = /* @__PURE__ */ new Map();
95265
95265
  for (const member of node.members) {
95266
95266
  if (member.kind === 171) {
95267
95267
  let memberName;
@@ -95277,11 +95277,11 @@ ${lanes.join("\n")}
95277
95277
  default:
95278
95278
  continue;
95279
95279
  }
95280
- if (names.get(memberName)) {
95280
+ if (names2.get(memberName)) {
95281
95281
  error2(getNameOfDeclaration(member.symbol.valueDeclaration), Diagnostics.Duplicate_identifier_0, memberName);
95282
95282
  error2(member.name, Diagnostics.Duplicate_identifier_0, memberName);
95283
95283
  } else {
95284
- names.set(memberName, true);
95284
+ names2.set(memberName, true);
95285
95285
  }
95286
95286
  }
95287
95287
  }
@@ -106517,7 +106517,7 @@ ${lanes.join("\n")}
106517
106517
  var sources = [];
106518
106518
  var sourceToSourceIndexMap = /* @__PURE__ */ new Map();
106519
106519
  var sourcesContent;
106520
- var names = [];
106520
+ var names2 = [];
106521
106521
  var nameToNameIndexMap;
106522
106522
  var mappingCharCodes = [];
106523
106523
  var mappings = "";
@@ -106585,8 +106585,8 @@ ${lanes.join("\n")}
106585
106585
  nameToNameIndexMap = /* @__PURE__ */ new Map();
106586
106586
  let nameIndex = nameToNameIndexMap.get(name);
106587
106587
  if (nameIndex === void 0) {
106588
- nameIndex = names.length;
106589
- names.push(name);
106588
+ nameIndex = names2.length;
106589
+ names2.push(name);
106590
106590
  nameToNameIndexMap.set(name, nameIndex);
106591
106591
  }
106592
106592
  exit();
@@ -106736,7 +106736,7 @@ ${lanes.join("\n")}
106736
106736
  file,
106737
106737
  sourceRoot,
106738
106738
  sources,
106739
- names,
106739
+ names: names2,
106740
106740
  mappings,
106741
106741
  sourcesContent
106742
106742
  };
@@ -116018,13 +116018,13 @@ ${lanes.join("\n")}
116018
116018
  functionFlags & 2 ? transformAsyncFunctionBody(node, parameters) : visitFunctionBody(node.body, visitor, context)
116019
116019
  );
116020
116020
  }
116021
- function recordDeclarationName({ name }, names) {
116021
+ function recordDeclarationName({ name }, names2) {
116022
116022
  if (isIdentifier(name)) {
116023
- names.add(name.escapedText);
116023
+ names2.add(name.escapedText);
116024
116024
  } else {
116025
116025
  for (const element of name.elements) {
116026
116026
  if (!isOmittedExpression(element)) {
116027
- recordDeclarationName(element, names);
116027
+ recordDeclarationName(element, names2);
116028
116028
  }
116029
116029
  }
116030
116030
  }
@@ -116459,10 +116459,10 @@ ${lanes.join("\n")}
116459
116459
  }
116460
116460
  }
116461
116461
  }
116462
- function createSuperAccessVariableStatement(factory2, resolver, node, names) {
116462
+ function createSuperAccessVariableStatement(factory2, resolver, node, names2) {
116463
116463
  const hasBinding = (resolver.getNodeCheckFlags(node) & 256) !== 0;
116464
116464
  const accessors = [];
116465
- names.forEach((_, key) => {
116465
+ names2.forEach((_, key) => {
116466
116466
  const name = unescapeLeadingUnderscores(key);
116467
116467
  const getterAndSetter = [];
116468
116468
  getterAndSetter.push(factory2.createPropertyAssignment(
@@ -152931,13 +152931,13 @@ ${lanes.join("\n")}
152931
152931
  }
152932
152932
  const isDefault = exportKind === 1;
152933
152933
  const namedSymbol = isDefault && getLocalSymbolForExportDefault(symbol) || symbol;
152934
- const names = exportKind === 0 || isExternalModuleSymbol(namedSymbol) ? unescapeLeadingUnderscores(symbolTableKey) : getNamesForExportedSymbol(
152934
+ const names2 = exportKind === 0 || isExternalModuleSymbol(namedSymbol) ? unescapeLeadingUnderscores(symbolTableKey) : getNamesForExportedSymbol(
152935
152935
  namedSymbol,
152936
152936
  /*scriptTarget*/
152937
152937
  void 0
152938
152938
  );
152939
- const symbolName2 = typeof names === "string" ? names : names[0];
152940
- const capitalizedSymbolName = typeof names === "string" ? void 0 : names[1];
152939
+ const symbolName2 = typeof names2 === "string" ? names2 : names2[0];
152940
+ const capitalizedSymbolName = typeof names2 === "string" ? void 0 : names2[1];
152941
152941
  const moduleName = stripQuotes(moduleSymbol.name);
152942
152942
  const id = exportInfoId++;
152943
152943
  const target = skipAlias(symbol, checker);
@@ -156633,21 +156633,21 @@ ${lanes.join("\n")}
156633
156633
  endNode();
156634
156634
  }
156635
156635
  function startNestedNodes(targetNode, entityName) {
156636
- const names = [];
156636
+ const names2 = [];
156637
156637
  while (!isPropertyNameLiteral(entityName)) {
156638
156638
  const name = getNameOrArgument(entityName);
156639
156639
  const nameText = getElementOrPropertyAccessName(entityName);
156640
156640
  entityName = entityName.expression;
156641
156641
  if (nameText === "prototype" || isPrivateIdentifier(name))
156642
156642
  continue;
156643
- names.push(name);
156643
+ names2.push(name);
156644
156644
  }
156645
- names.push(entityName);
156646
- for (let i = names.length - 1; i > 0; i--) {
156647
- const name = names[i];
156645
+ names2.push(entityName);
156646
+ for (let i = names2.length - 1; i > 0; i--) {
156647
+ const name = names2[i];
156648
156648
  startNode(targetNode, name);
156649
156649
  }
156650
- return [names.length - 1, names[0]];
156650
+ return [names2.length - 1, names2[0]];
156651
156651
  }
156652
156652
  function startNode(node, name) {
156653
156653
  const navNode = emptyNavigationBarNode(node, name);
@@ -159165,9 +159165,9 @@ ${lanes.join("\n")}
159165
159165
  if (!isExpressionStatement(decl))
159166
159166
  changes.insertExportModifier(sourceFile, decl);
159167
159167
  } else {
159168
- const names = getNamesToExportInCommonJS(decl);
159169
- if (names.length !== 0)
159170
- changes.insertNodesAfter(sourceFile, decl, names.map(createExportAssignment));
159168
+ const names2 = getNamesToExportInCommonJS(decl);
159169
+ if (names2.length !== 0)
159170
+ changes.insertNodesAfter(sourceFile, decl, names2.map(createExportAssignment));
159171
159171
  }
159172
159172
  }
159173
159173
  function createNewFileName(oldFile, program, host, toMove) {
@@ -160250,10 +160250,10 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
160250
160250
  function getGroupedReferences(functionDeclaration, program, cancellationToken) {
160251
160251
  const functionNames = getFunctionNames(functionDeclaration);
160252
160252
  const classNames = isConstructorDeclaration(functionDeclaration) ? getClassNames(functionDeclaration) : [];
160253
- const names = deduplicate([...functionNames, ...classNames], equateValues);
160253
+ const names2 = deduplicate([...functionNames, ...classNames], equateValues);
160254
160254
  const checker = program.getTypeChecker();
160255
160255
  const references = flatMap(
160256
- names,
160256
+ names2,
160257
160257
  /*mapfn*/
160258
160258
  (name) => ts_FindAllReferences_exports.getReferenceEntriesForNode(-1, name, program, program.getSourceFiles(), cancellationToken)
160259
160259
  );
@@ -160261,7 +160261,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
160261
160261
  if (!every(
160262
160262
  groupedReferences.declarations,
160263
160263
  /*callback*/
160264
- (decl) => contains(names, decl)
160264
+ (decl) => contains(names2, decl)
160265
160265
  )) {
160266
160266
  groupedReferences.valid = false;
160267
160267
  }
@@ -171780,7 +171780,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
171780
171780
  const predicate = (node) => isExportDeclaration(node) && (isTypeOnly && node.isTypeOnly || !node.isTypeOnly);
171781
171781
  return findLast(sourceFile.statements, predicate);
171782
171782
  }
171783
- function updateExport(changes, program, sourceFile, node, names) {
171783
+ function updateExport(changes, program, sourceFile, node, names2) {
171784
171784
  const namedExports = node.exportClause && isNamedExports(node.exportClause) ? node.exportClause.elements : factory.createNodeArray([]);
171785
171785
  const allowTypeModifier = !node.isTypeOnly && !!(getIsolatedModules(program.getCompilerOptions()) || find(namedExports, (e) => e.isTypeOnly));
171786
171786
  changes.replaceNode(
@@ -171792,7 +171792,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
171792
171792
  node.isTypeOnly,
171793
171793
  factory.createNamedExports(
171794
171794
  factory.createNodeArray(
171795
- [...namedExports, ...createExportSpecifiers(names, allowTypeModifier)],
171795
+ [...namedExports, ...createExportSpecifiers(names2, allowTypeModifier)],
171796
171796
  /*hasTrailingComma*/
171797
171797
  namedExports.hasTrailingComma
171798
171798
  )
@@ -171802,14 +171802,14 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
171802
171802
  )
171803
171803
  );
171804
171804
  }
171805
- function createExport(changes, program, sourceFile, names) {
171805
+ function createExport(changes, program, sourceFile, names2) {
171806
171806
  changes.insertNodeAtEndOfScope(sourceFile, sourceFile, factory.createExportDeclaration(
171807
171807
  /*modifiers*/
171808
171808
  void 0,
171809
171809
  /*isTypeOnly*/
171810
171810
  false,
171811
171811
  factory.createNamedExports(createExportSpecifiers(
171812
- names,
171812
+ names2,
171813
171813
  /*allowTypeModifier*/
171814
171814
  getIsolatedModules(program.getCompilerOptions())
171815
171815
  )),
@@ -171819,8 +171819,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
171819
171819
  void 0
171820
171820
  ));
171821
171821
  }
171822
- function createExportSpecifiers(names, allowTypeModifier) {
171823
- return factory.createNodeArray(map(names, (n) => factory.createExportSpecifier(
171822
+ function createExportSpecifiers(names2, allowTypeModifier) {
171823
+ return factory.createNodeArray(map(names2, (n) => factory.createExportSpecifier(
171824
171824
  allowTypeModifier && n.isTypeOnly,
171825
171825
  /*propertyName*/
171826
171826
  void 0,
@@ -173886,13 +173886,13 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
173886
173886
  return void 0;
173887
173887
  const sourceFile = context.sourceFile;
173888
173888
  const tags = getJSDocTags(signature);
173889
- const names = /* @__PURE__ */ new Set();
173889
+ const names2 = /* @__PURE__ */ new Set();
173890
173890
  for (const tag of tags) {
173891
173891
  if (isJSDocParameterTag(tag) && isIdentifier(tag.name)) {
173892
- names.add(tag.name.escapedText);
173892
+ names2.add(tag.name.escapedText);
173893
173893
  }
173894
173894
  }
173895
- const parameterName = firstDefined(signature.parameters, (p) => isIdentifier(p.name) && !names.has(p.name.escapedText) ? p.name.getText(sourceFile) : void 0);
173895
+ const parameterName = firstDefined(signature.parameters, (p) => isIdentifier(p.name) && !names2.has(p.name.escapedText) ? p.name.getText(sourceFile) : void 0);
173896
173896
  if (parameterName === void 0)
173897
173897
  return void 0;
173898
173898
  const newJSDocParameterTag = factory.updateJSDocParameterTag(
@@ -176245,7 +176245,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
176245
176245
  const isJs = isInJSFile(contextNode);
176246
176246
  const { typeArguments, arguments: args, parent: parent2 } = call;
176247
176247
  const contextualType = isJs ? void 0 : checker.getContextualType(call);
176248
- const names = map(args, (arg) => isIdentifier(arg) ? arg.text : isPropertyAccessExpression(arg) && isIdentifier(arg.name) ? arg.name.text : void 0);
176248
+ const names2 = map(args, (arg) => isIdentifier(arg) ? arg.text : isPropertyAccessExpression(arg) && isIdentifier(arg.name) ? arg.name.text : void 0);
176249
176249
  const instanceTypes = isJs ? [] : map(args, (arg) => checker.getTypeAtLocation(arg));
176250
176250
  const { argumentTypeNodes, argumentTypeParameters } = getArgumentTypesAndTypeParameters(
176251
176251
  checker,
@@ -176264,7 +176264,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
176264
176264
  const typeParameters = isJs ? void 0 : createTypeParametersForArguments(checker, argumentTypeParameters, typeArguments);
176265
176265
  const parameters = createDummyParameters(
176266
176266
  args.length,
176267
- names,
176267
+ names2,
176268
176268
  argumentTypeNodes,
176269
176269
  /*minArgumentCount*/
176270
176270
  void 0,
@@ -176404,11 +176404,11 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
176404
176404
  }
176405
176405
  return type.flags & 262144 ? (_a = type.getSymbol()) == null ? void 0 : _a.getName() : void 0;
176406
176406
  }
176407
- function createDummyParameters(argCount, names, types, minArgumentCount, inJs) {
176407
+ function createDummyParameters(argCount, names2, types, minArgumentCount, inJs) {
176408
176408
  const parameters = [];
176409
176409
  const parameterNameCounts = /* @__PURE__ */ new Map();
176410
176410
  for (let i = 0; i < argCount; i++) {
176411
- const parameterName = (names == null ? void 0 : names[i]) || `arg${i}`;
176411
+ const parameterName = (names2 == null ? void 0 : names2[i]) || `arg${i}`;
176412
176412
  const parameterNameCount = parameterNameCounts.get(parameterName);
176413
176413
  parameterNameCounts.set(parameterName, (parameterNameCount || 0) + 1);
176414
176414
  const newParameter = factory.createParameterDeclaration(
@@ -182285,10 +182285,10 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
182285
182285
  void 0
182286
182286
  );
182287
182287
  }
182288
- function addReplacementSpans(text, textStart, names) {
182288
+ function addReplacementSpans(text, textStart, names2) {
182289
182289
  const span = getDirectoryFragmentTextSpan(text, textStart);
182290
182290
  const wholeSpan = text.length === 0 ? void 0 : createTextSpan(textStart, text.length);
182291
- return names.map(({ name, kind, extension }) => name.includes(directorySeparator) || name.includes(altDirectorySeparator) ? { name, kind, extension, span: wholeSpan } : { name, kind, extension, span });
182291
+ return names2.map(({ name, kind, extension }) => name.includes(directorySeparator) || name.includes(altDirectorySeparator) ? { name, kind, extension, span: wholeSpan } : { name, kind, extension, span });
182292
182292
  }
182293
182293
  function getStringLiteralCompletionsFromModuleNames(sourceFile, node, program, host, preferences) {
182294
182294
  return addReplacementSpans(node.text, node.getStart(sourceFile) + 1, getStringLiteralCompletionsFromModuleNamesWorker(sourceFile, node, program, host, preferences));
@@ -182766,7 +182766,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
182766
182766
  }
182767
182767
  const [, prefix, kind, toComplete] = match;
182768
182768
  const scriptPath = getDirectoryPath(sourceFile.path);
182769
- const names = kind === "path" ? getCompletionEntriesForDirectoryFragment(
182769
+ const names2 = kind === "path" ? getCompletionEntriesForDirectoryFragment(
182770
182770
  toComplete,
182771
182771
  scriptPath,
182772
182772
  getExtensionOptions(compilerOptions, 0, sourceFile),
@@ -182775,7 +182775,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
182775
182775
  true,
182776
182776
  sourceFile.path
182777
182777
  ) : kind === "types" ? getCompletionEntriesFromTypings(host, compilerOptions, scriptPath, getFragmentDirectory(toComplete), getExtensionOptions(compilerOptions, 1, sourceFile)) : Debug.fail();
182778
- return addReplacementSpans(toComplete, range.pos + prefix.length, arrayFrom(names.values()));
182778
+ return addReplacementSpans(toComplete, range.pos + prefix.length, arrayFrom(names2.values()));
182779
182779
  }
182780
182780
  function getCompletionEntriesFromTypings(host, options, scriptPath, fragmentDirectory, extensionOptions, result = createNameAndKindSet()) {
182781
182781
  const seen = /* @__PURE__ */ new Map();
@@ -201767,10 +201767,10 @@ ${options.prefix}` : "\n" : options.prefix
201767
201767
  }
201768
201768
  /** @internal */
201769
201769
  logErrorForScriptInfoNotFound(fileName) {
201770
- const names = arrayFrom(this.filenameToScriptInfo.entries(), ([path, scriptInfo]) => ({ path, fileName: scriptInfo.fileName }));
201770
+ const names2 = arrayFrom(this.filenameToScriptInfo.entries(), ([path, scriptInfo]) => ({ path, fileName: scriptInfo.fileName }));
201771
201771
  this.logger.msg(
201772
201772
  `Could not find file ${JSON.stringify(fileName)}.
201773
- All files are: ${JSON.stringify(names)}`,
201773
+ All files are: ${JSON.stringify(names2)}`,
201774
201774
  "Err"
201775
201775
  /* Err */
201776
201776
  );
@@ -218044,12 +218044,10 @@ var init_get_log_level = __esm({
218044
218044
  }
218045
218045
  });
218046
218046
 
218047
- // packages/config-tools/src/utilities/logger.ts
218048
- var import_chalk, chalkDefault, getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218049
- var init_logger = __esm({
218050
- "packages/config-tools/src/utilities/logger.ts"() {
218051
- init_types2();
218052
- init_get_log_level();
218047
+ // packages/config-tools/src/utilities/chalk.ts
218048
+ var import_chalk, chalkDefault, getChalk;
218049
+ var init_chalk = __esm({
218050
+ "packages/config-tools/src/utilities/chalk.ts"() {
218053
218051
  import_chalk = __toESM(require_source());
218054
218052
  chalkDefault = {
218055
218053
  hex: (_) => (message) => message,
@@ -218065,11 +218063,25 @@ var init_logger = __esm({
218065
218063
  whiteBright: (message) => message
218066
218064
  }
218067
218065
  };
218068
- getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218066
+ getChalk = () => {
218069
218067
  let _chalk = import_chalk.default;
218070
218068
  if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
218071
218069
  _chalk = chalkDefault;
218072
218070
  }
218071
+ return _chalk;
218072
+ };
218073
+ }
218074
+ });
218075
+
218076
+ // packages/config-tools/src/utilities/logger.ts
218077
+ var getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218078
+ var init_logger = __esm({
218079
+ "packages/config-tools/src/utilities/logger.ts"() {
218080
+ init_types2();
218081
+ init_get_log_level();
218082
+ init_chalk();
218083
+ getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218084
+ let _chalk = getChalk();
218073
218085
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
218074
218086
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
218075
218087
  return (_) => {
@@ -218343,6 +218355,7 @@ var init_utilities = __esm({
218343
218355
  init_correct_paths();
218344
218356
  init_file_path_utils();
218345
218357
  init_apply_workspace_tokens();
218358
+ init_chalk();
218346
218359
  }
218347
218360
  });
218348
218361
 
@@ -218689,6 +218702,7 @@ __export(src_exports, {
218689
218702
  findFileName: () => findFileName,
218690
218703
  findWorkspaceRoot: () => findWorkspaceRoot,
218691
218704
  findWorkspaceRootSafe: () => findWorkspaceRootSafe,
218705
+ getChalk: () => getChalk,
218692
218706
  getConfigEnv: () => getConfigEnv,
218693
218707
  getConfigFile: () => getConfigFile,
218694
218708
  getConfigFileByName: () => getConfigFileByName,
@@ -222208,12 +222222,12 @@ var require_Metadata = __commonJS({
222208
222222
  });
222209
222223
  }).sort();
222210
222224
  var _loop_12 = function(tags2) {
222211
- var names = tags2.map(function(t) {
222225
+ var names2 = tags2.map(function(t) {
222212
222226
  return t.name;
222213
222227
  }).sort();
222214
222228
  if (matrix.some(function(m) {
222215
- return m.length === names.length && m.every(function(s, i) {
222216
- return s === names[i];
222229
+ return m.length === names2.length && m.every(function(s, i) {
222230
+ return s === names2[i];
222217
222231
  });
222218
222232
  }))
222219
222233
  return "continue";
@@ -243033,6 +243047,7 @@ __export(utils_exports, {
243033
243047
  cargoMetadata: () => cargoMetadata,
243034
243048
  cargoRunCommand: () => cargoRunCommand,
243035
243049
  childProcess: () => childProcess,
243050
+ createCliOptions: () => createCliOptions,
243036
243051
  eslintVersion: () => eslintVersion,
243037
243052
  getLockFileDependencies: () => getLockFileDependencies,
243038
243053
  getLockFileName: () => getLockFileName,
@@ -244164,9 +244179,9 @@ var defineProperties = (
244164
244179
  /* j-globals: null.defineProperties (internal) */
244165
244180
  function defineProperties2(object, descriptorMap) {
244166
244181
  var created = create$1(NULL);
244167
- var names = keys(descriptorMap);
244168
- for (var length = names.length, index = 0; index < length; ++index) {
244169
- var name = names[index];
244182
+ var names2 = keys(descriptorMap);
244183
+ for (var length = names2.length, index = 0; index < length; ++index) {
244184
+ var name = names2[index];
244170
244185
  created[name] = Descriptor(descriptorMap[name]);
244171
244186
  }
244172
244187
  if (getOwnPropertySymbols) {
@@ -246270,6 +246285,26 @@ Original error: ${originalError.message}
246270
246285
  function isPostInstallProcess() {
246271
246286
  return process.env.npm_command === "install" && process.env.npm_lifecycle_event === "postinstall";
246272
246287
  }
246288
+
246289
+ // packages/workspace-tools/src/utils/create-cli-options.ts
246290
+ var import_devkit3 = require("@nx/devkit");
246291
+ function createCliOptions(obj) {
246292
+ const args = [];
246293
+ for (const key in obj) {
246294
+ const value = obj[key];
246295
+ if (value) {
246296
+ const arg = (0, import_devkit3.names)(key).fileName;
246297
+ if (Array.isArray(value)) {
246298
+ args.push(
246299
+ `--${arg.toLowerCase()}=${value.map((v) => v.trim()).join(",")}`
246300
+ );
246301
+ } else {
246302
+ args.push(`--${arg.toLowerCase()}=${value}`);
246303
+ }
246304
+ }
246305
+ }
246306
+ return args;
246307
+ }
246273
246308
  // Annotate the CommonJS export names for ESM import in node:
246274
246309
  0 && (module.exports = {
246275
246310
  LOCK_FILES,
@@ -246285,6 +246320,7 @@ function isPostInstallProcess() {
246285
246320
  cargoMetadata,
246286
246321
  cargoRunCommand,
246287
246322
  childProcess,
246323
+ createCliOptions,
246288
246324
  eslintVersion,
246289
246325
  getLockFileDependencies,
246290
246326
  getLockFileName,