triangulum 0.33.0-x86_64-linux-gnu → 0.34.0-x86_64-linux-gnu

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '048948fd81751ce8a86a3efe9b60f6aab4dad759f796579f227fb110f3261730'
4
- data.tar.gz: 12283f1007fb6ca432ebe5739e64562fc4b5c173a691ed55d4b33cb7130d8198
3
+ metadata.gz: ad3e0cf0fe7d1d0f1c47b5363adc813d07ad5c7a35a8600c8dd7409a3f472a20
4
+ data.tar.gz: 6aea680c55bb8aede43a1f5dedfc10d5f03250512224ec25ab3174db6ff99799
5
5
  SHA512:
6
- metadata.gz: 5a1e087742c4c0fcec5b09fb6c322a05f1f551ed3efc535a3d7f61df4578749b5749df37e049c49cce2ae017d19ce08c997d4686e69bd8bdcbbd1748bfebb4e2
7
- data.tar.gz: '081f1edafbb9f9ed3331c97fb012ad7a615251fde3d26b6e07a2d44431b11500b3bd62e59bbd1560ae210a84c2540de06cbd8683d8b52e608d86ce9e1f26e37a'
6
+ metadata.gz: 071ad8576a7aa871e8afda0c288fc245be72489717c8e192e6daf8af50d79ce242d66834324a7262899a85ebc8de76acde7af6904e593954c8e8fb4fd5ebe7a6
7
+ data.tar.gz: 53774aff0a1f987cd339205c2e65243c7c2bda29335f6a5ee150635e664c5d9d24a5d39fe961d8d8fb7e952022e37263b108b9c052e37ba014f420becd0839dc
@@ -175364,7 +175364,7 @@ ${lanes.join(`
175364
175364
  }
175365
175365
  }
175366
175366
  function dumpTypes(types) {
175367
- var _a, _b, _c, _d, _e3, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
175367
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
175368
175368
  mark("beginDumpTypes");
175369
175369
  const typesPath = legend[legend.length - 1].typesPath;
175370
175370
  const typesFd = fs.openSync(typesPath, "w");
@@ -175396,7 +175396,7 @@ ${lanes.join(`
175396
175396
  const referenceType = type;
175397
175397
  referenceProperties = {
175398
175398
  instantiatedType: (_d = referenceType.target) == null ? undefined : _d.id,
175399
- typeArguments: (_e3 = referenceType.resolvedTypeArguments) == null ? undefined : _e3.map((t3) => t3.id),
175399
+ typeArguments: (_e2 = referenceType.resolvedTypeArguments) == null ? undefined : _e2.map((t3) => t3.id),
175400
175400
  referenceLocation: getLocation(referenceType.node)
175401
175401
  };
175402
175402
  }
@@ -211867,7 +211867,7 @@ ${lanes.join(`
211867
211867
  return nodeModuleNameResolverWorker(30, moduleName, getDirectoryPath(containingFile), { moduleResolution: 99 }, host, undefined, 8, true, undefined, undefined);
211868
211868
  }
211869
211869
  function nodeModuleNameResolverWorker(features, moduleName, containingDirectory, compilerOptions, host, cache, extensions, isConfigLookup, redirectedReference, conditions) {
211870
- var _a, _b, _c, _d, _e3;
211870
+ var _a, _b, _c, _d, _e2;
211871
211871
  const traceEnabled = isTraceEnabled(compilerOptions, host);
211872
211872
  const failedLookupLocations = [];
211873
211873
  const affectingLocations = [];
@@ -211930,7 +211930,7 @@ ${lanes.join(`
211930
211930
  }
211931
211931
  }
211932
211932
  }
211933
- return createResolvedModuleWithFailedLookupLocationsHandlingSymlink(moduleName, (_d = result == null ? undefined : result.value) == null ? undefined : _d.resolved, (_e3 = result == null ? undefined : result.value) == null ? undefined : _e3.isExternalLibraryImport, failedLookupLocations, affectingLocations, diagnostics, state, cache, alternateResult);
211933
+ return createResolvedModuleWithFailedLookupLocationsHandlingSymlink(moduleName, (_d = result == null ? undefined : result.value) == null ? undefined : _d.resolved, (_e2 = result == null ? undefined : result.value) == null ? undefined : _e2.isExternalLibraryImport, failedLookupLocations, affectingLocations, diagnostics, state, cache, alternateResult);
211934
211934
  function tryResolve(extensions2, state2) {
211935
211935
  const loader = (extensions3, candidate, onlyRecordFailures, state3) => nodeLoadModuleByRelativeName(extensions3, candidate, onlyRecordFailures, state3, true);
211936
211936
  const resolved = tryLoadModuleUsingOptionalResolutionSettings(extensions2, moduleName, containingDirectory, loader, state2);
@@ -212294,7 +212294,7 @@ ${lanes.join(`
212294
212294
  return result;
212295
212295
  }
212296
212296
  function getPackageJsonInfo(packageDirectory, onlyRecordFailures, state) {
212297
- var _a, _b, _c, _d, _e3, _f;
212297
+ var _a, _b, _c, _d, _e2, _f;
212298
212298
  const { host, traceEnabled } = state;
212299
212299
  const packageJsonPath = combinePaths(packageDirectory, "package.json");
212300
212300
  if (onlyRecordFailures) {
@@ -212324,7 +212324,7 @@ ${lanes.join(`
212324
212324
  const result = { packageDirectory, contents: { packageJsonContent, versionPaths: undefined, resolvedEntrypoints: undefined, peerDependencies: undefined } };
212325
212325
  if (state.packageJsonInfoCache && !state.packageJsonInfoCache.isReadonly)
212326
212326
  state.packageJsonInfoCache.setPackageJsonInfo(packageJsonPath, result);
212327
- (_e3 = state.affectingLocations) == null || _e3.push(packageJsonPath);
212327
+ (_e2 = state.affectingLocations) == null || _e2.push(packageJsonPath);
212328
212328
  return result;
212329
212329
  } else {
212330
212330
  if (directoryExists && traceEnabled) {
@@ -219308,7 +219308,7 @@ ${lanes.join(`
219308
219308
  return isStringLiteralLike(moduleReferenceExpression) ? resolveExternalModule(location, moduleReferenceExpression.text, moduleNotFoundError, !ignoreErrors ? moduleReferenceExpression : undefined, isForAugmentation) : undefined;
219309
219309
  }
219310
219310
  function resolveExternalModule(location, moduleReference, moduleNotFoundError, errorNode, isForAugmentation = false) {
219311
- var _a, _b, _c, _d, _e3, _f, _g, _h, _i, _j, _k, _l;
219311
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l;
219312
219312
  if (errorNode && startsWith(moduleReference, "@types/")) {
219313
219313
  const diag2 = Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1;
219314
219314
  const withoutAtTypePrefix = removePrefix(moduleReference, "@types/");
@@ -219319,7 +219319,7 @@ ${lanes.join(`
219319
219319
  return ambientModule;
219320
219320
  }
219321
219321
  const currentSourceFile = getSourceFileOfNode(location);
219322
- const contextSpecifier = isStringLiteralLike(location) ? location : ((_a = isModuleDeclaration(location) ? location : location.parent && isModuleDeclaration(location.parent) && location.parent.name === location ? location.parent : undefined) == null ? undefined : _a.name) || ((_b = isLiteralImportTypeNode(location) ? location : undefined) == null ? undefined : _b.argument.literal) || (isVariableDeclaration(location) && location.initializer && isRequireCall(location.initializer, true) ? location.initializer.arguments[0] : undefined) || ((_c = findAncestor(location, isImportCall)) == null ? undefined : _c.arguments[0]) || ((_d = findAncestor(location, or(isImportDeclaration, isJSDocImportTag, isExportDeclaration))) == null ? undefined : _d.moduleSpecifier) || ((_e3 = findAncestor(location, isExternalModuleImportEqualsDeclaration)) == null ? undefined : _e3.moduleReference.expression);
219322
+ const contextSpecifier = isStringLiteralLike(location) ? location : ((_a = isModuleDeclaration(location) ? location : location.parent && isModuleDeclaration(location.parent) && location.parent.name === location ? location.parent : undefined) == null ? undefined : _a.name) || ((_b = isLiteralImportTypeNode(location) ? location : undefined) == null ? undefined : _b.argument.literal) || (isVariableDeclaration(location) && location.initializer && isRequireCall(location.initializer, true) ? location.initializer.arguments[0] : undefined) || ((_c = findAncestor(location, isImportCall)) == null ? undefined : _c.arguments[0]) || ((_d = findAncestor(location, or(isImportDeclaration, isJSDocImportTag, isExportDeclaration))) == null ? undefined : _d.moduleSpecifier) || ((_e2 = findAncestor(location, isExternalModuleImportEqualsDeclaration)) == null ? undefined : _e2.moduleReference.expression);
219323
219323
  const mode = contextSpecifier && isStringLiteralLike(contextSpecifier) ? host.getModeForUsageLocation(currentSourceFile, contextSpecifier) : host.getDefaultResolutionModeForFile(currentSourceFile);
219324
219324
  const moduleResolutionKind = getEmitModuleResolutionKind(compilerOptions);
219325
219325
  const resolvedModule = (_f = host.getResolvedModule(currentSourceFile, moduleReference, mode)) == null ? undefined : _f.resolvedModule;
@@ -222825,7 +222825,7 @@ ${lanes.join(`
222825
222825
  }
222826
222826
  }
222827
222827
  function serializeSymbolWorker(symbol, isPrivate, propertyAsAlias, escapedSymbolName = symbol.escapedName) {
222828
- var _a2, _b, _c, _d, _e3, _f, _g;
222828
+ var _a2, _b, _c, _d, _e2, _f, _g;
222829
222829
  const symbolName2 = unescapeLeadingUnderscores(escapedSymbolName);
222830
222830
  const isDefault = escapedSymbolName === "default";
222831
222831
  if (isPrivate && !(context.flags & 131072) && isStringANonContextualKeyword(symbolName2) && !isDefault) {
@@ -222872,7 +222872,7 @@ ${lanes.join(`
222872
222872
  if (textRange && isVariableDeclarationList(textRange.parent) && textRange.parent.declarations.length === 1) {
222873
222873
  textRange = textRange.parent.parent;
222874
222874
  }
222875
- const propertyAccessRequire = (_e3 = symbol.declarations) == null ? undefined : _e3.find(isPropertyAccessExpression);
222875
+ const propertyAccessRequire = (_e2 = symbol.declarations) == null ? undefined : _e2.find(isPropertyAccessExpression);
222876
222876
  if (propertyAccessRequire && isBinaryExpression(propertyAccessRequire.parent) && isIdentifier(propertyAccessRequire.parent.right) && ((_f = type.symbol) == null ? undefined : _f.valueDeclaration) && isSourceFile(type.symbol.valueDeclaration)) {
222877
222877
  const alias = localName === propertyAccessRequire.parent.right.escapedText ? undefined : propertyAccessRequire.parent.right;
222878
222878
  context.approximateLength += 12 + (((_g = alias == null ? undefined : alias.escapedText) == null ? undefined : _g.length) ?? 0);
@@ -223284,7 +223284,7 @@ ${lanes.join(`
223284
223284
  });
223285
223285
  }
223286
223286
  function serializeAsAlias(symbol, localName, modifierFlags) {
223287
- var _a2, _b, _c, _d, _e3;
223287
+ var _a2, _b, _c, _d, _e2;
223288
223288
  const node = getDeclarationOfAliasSymbol(symbol);
223289
223289
  if (!node)
223290
223290
  return Debug.fail();
@@ -223311,7 +223311,7 @@ ${lanes.join(`
223311
223311
  Debug.failBadSyntaxKind(((_c = node.parent) == null ? undefined : _c.parent) || node, "Unhandled binding element grandparent kind in declaration serialization");
223312
223312
  break;
223313
223313
  case 305:
223314
- if (((_e3 = (_d = node.parent) == null ? undefined : _d.parent) == null ? undefined : _e3.kind) === 227) {
223314
+ if (((_e2 = (_d = node.parent) == null ? undefined : _d.parent) == null ? undefined : _e2.kind) === 227) {
223315
223315
  serializeExportSpecifier(unescapeLeadingUnderscores(symbol.escapedName), targetName);
223316
223316
  }
223317
223317
  break;
@@ -223475,7 +223475,7 @@ ${lanes.join(`
223475
223475
  }
223476
223476
  function makeSerializePropertySymbol(createProperty2, methodKind, useAccessors) {
223477
223477
  return function serializePropertySymbol(p4, isStatic2, baseType) {
223478
- var _a2, _b, _c, _d, _e3, _f;
223478
+ var _a2, _b, _c, _d, _e2, _f;
223479
223479
  const modifierFlags = getDeclarationModifierFlagsFromSymbol(p4);
223480
223480
  const omitType = !!(modifierFlags & 2) && !isExpanding(context);
223481
223481
  if (isStatic2 && p4.flags & (788968 | 1920 | 2097152)) {
@@ -223518,7 +223518,7 @@ ${lanes.join(`
223518
223518
  } else if (p4.flags & (4 | 3 | 98304)) {
223519
223519
  const modifierFlags2 = (isReadonlySymbol(p4) ? 8 : 0) | flag;
223520
223520
  context.approximateLength += 2 + (omitType ? 0 : 2) + modifiersLength(modifierFlags2);
223521
- return setTextRange2(context, createProperty2(factory.createModifiersFromModifierFlags(modifierFlags2), name, p4.flags & 16777216 ? factory.createToken(58) : undefined, omitType ? undefined : serializeTypeForDeclaration(context, (_d = p4.declarations) == null ? undefined : _d.find(isSetAccessorDeclaration), getWriteTypeOfSymbol(p4), p4), undefined), ((_e3 = p4.declarations) == null ? undefined : _e3.find(or(isPropertyDeclaration, isVariableDeclaration))) || firstPropertyLikeDecl);
223521
+ return setTextRange2(context, createProperty2(factory.createModifiersFromModifierFlags(modifierFlags2), name, p4.flags & 16777216 ? factory.createToken(58) : undefined, omitType ? undefined : serializeTypeForDeclaration(context, (_d = p4.declarations) == null ? undefined : _d.find(isSetAccessorDeclaration), getWriteTypeOfSymbol(p4), p4), undefined), ((_e2 = p4.declarations) == null ? undefined : _e2.find(or(isPropertyDeclaration, isVariableDeclaration))) || firstPropertyLikeDecl);
223522
223522
  }
223523
223523
  if (p4.flags & (8192 | 16)) {
223524
223524
  const type = getTypeOfSymbol(p4);
@@ -249662,7 +249662,7 @@ ${lanes.join(`
249662
249662
  return filter(symbol.declarations, (d4) => d4.kind === 264 || d4.kind === 265);
249663
249663
  }
249664
249664
  function checkKindsOfPropertyMemberOverrides(type, baseType) {
249665
- var _a, _b, _c, _d, _e3;
249665
+ var _a, _b, _c, _d, _e2;
249666
249666
  const baseProperties = getPropertiesOfType(baseType);
249667
249667
  const notImplementedInfo = /* @__PURE__ */ new Map;
249668
249668
  basePropertyCheck:
@@ -249715,7 +249715,7 @@ ${lanes.join(`
249715
249715
  error2(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage2, symbolToString(base), typeToString(baseType), typeToString(type));
249716
249716
  } else if (useDefineForClassFields) {
249717
249717
  const uninitialized = (_d = derived.declarations) == null ? undefined : _d.find((d4) => d4.kind === 173 && !d4.initializer);
249718
- if (uninitialized && !(derived.flags & 33554432) && !(baseDeclarationFlags & 64) && !(derivedDeclarationFlags & 64) && !((_e3 = derived.declarations) == null ? undefined : _e3.some((d4) => !!(d4.flags & 33554432)))) {
249718
+ if (uninitialized && !(derived.flags & 33554432) && !(baseDeclarationFlags & 64) && !(derivedDeclarationFlags & 64) && !((_e2 = derived.declarations) == null ? undefined : _e2.some((d4) => !!(d4.flags & 33554432)))) {
249719
249719
  const constructor = findConstructorDeclaration(getClassLikeDeclarationOfSymbol(type.symbol));
249720
249720
  const propName = uninitialized.name;
249721
249721
  if (uninitialized.exclamationToken || !constructor || !isIdentifier(propName) || !strictNullChecks || !isPropertyInitializedInConstructor(propName, type, constructor)) {
@@ -250302,7 +250302,7 @@ ${lanes.join(`
250302
250302
  }
250303
250303
  }
250304
250304
  function checkAliasSymbol(node) {
250305
- var _a, _b, _c, _d, _e3;
250305
+ var _a, _b, _c, _d, _e2;
250306
250306
  let symbol = getSymbolOfDeclaration(node);
250307
250307
  const target = resolveAlias(symbol);
250308
250308
  if (target !== unknownSymbol) {
@@ -250375,7 +250375,7 @@ ${lanes.join(`
250375
250375
  }
250376
250376
  if (compilerOptions.verbatimModuleSyntax && !isTypeOnlyImportOrExportDeclaration(node) && !(node.flags & 33554432) && targetFlags & 128) {
250377
250377
  const constEnumDeclaration = target.valueDeclaration;
250378
- const redirect = (_e3 = host.getRedirectFromOutput(getSourceFileOfNode(constEnumDeclaration).resolvedPath)) == null ? undefined : _e3.resolvedRef;
250378
+ const redirect = (_e2 = host.getRedirectFromOutput(getSourceFileOfNode(constEnumDeclaration).resolvedPath)) == null ? undefined : _e2.resolvedRef;
250379
250379
  if (constEnumDeclaration.flags & 33554432 && (!redirect || !shouldPreserveConstEnums(redirect.commandLine.options))) {
250380
250380
  error2(node, Diagnostics.Cannot_access_ambient_const_enums_when_0_is_enabled, isolatedModulesLikeFlagName);
250381
250381
  }
@@ -272247,14 +272247,14 @@ ${lanes.join(`
272247
272247
  sourceMaps: sourceMapDataList
272248
272248
  };
272249
272249
  function emitSourceFileOrBundle({ jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath }, sourceFileOrBundle) {
272250
- var _a, _b, _c, _d, _e3, _f;
272250
+ var _a, _b, _c, _d, _e2, _f;
272251
272251
  (_a = tracing) == null || _a.push(tracing.Phase.Emit, "emitJsFileOrBundle", { jsFilePath });
272252
272252
  emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath);
272253
272253
  (_b = tracing) == null || _b.pop();
272254
272254
  (_c = tracing) == null || _c.push(tracing.Phase.Emit, "emitDeclarationFileOrBundle", { declarationFilePath });
272255
272255
  emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath);
272256
272256
  (_d = tracing) == null || _d.pop();
272257
- (_e3 = tracing) == null || _e3.push(tracing.Phase.Emit, "emitBuildInfo", { buildInfoPath });
272257
+ (_e2 = tracing) == null || _e2.push(tracing.Phase.Emit, "emitBuildInfo", { buildInfoPath });
272258
272258
  emitBuildInfo(buildInfoPath);
272259
272259
  (_f = tracing) == null || _f.pop();
272260
272260
  }
@@ -277648,7 +277648,7 @@ ${lanes.join(`
277648
277648
  };
277649
277649
  }
277650
277650
  function createProgram(_rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) {
277651
- var _a, _b, _c, _d, _e3, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
277651
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
277652
277652
  let _createProgramOptions = isArray(_rootNamesOrOptions) ? createCreateProgramOptions(_rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) : _rootNamesOrOptions;
277653
277653
  const { rootNames, options, configFileParsingDiagnostics, projectReferences, typeScriptVersion: typeScriptVersion3, host: createProgramOptionsHost } = _createProgramOptions;
277654
277654
  let { oldProgram } = _createProgramOptions;
@@ -277751,7 +277751,7 @@ ${lanes.join(`
277751
277751
  forEachResolvedProjectReference: forEachResolvedProjectReference2
277752
277752
  });
277753
277753
  const readFile = host.readFile.bind(host);
277754
- (_e3 = tracing) == null || _e3.push(tracing.Phase.Program, "shouldProgramCreateNewSourceFiles", { hasOldProgram: !!oldProgram });
277754
+ (_e2 = tracing) == null || _e2.push(tracing.Phase.Program, "shouldProgramCreateNewSourceFiles", { hasOldProgram: !!oldProgram });
277755
277755
  const shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles(oldProgram, options);
277756
277756
  (_f = tracing) == null || _f.pop();
277757
277757
  let structureIsReused;
@@ -285037,7 +285037,7 @@ ${lanes.join(`
285037
285037
  }
285038
285038
  }
285039
285039
  function getUpToDateStatusWorker(state, project, resolvedPath) {
285040
- var _a, _b, _c, _d, _e3;
285040
+ var _a, _b, _c, _d, _e2;
285041
285041
  if (isSolutionConfig(project))
285042
285042
  return { type: 16 };
285043
285043
  let referenceStatuses;
@@ -285110,7 +285110,7 @@ ${lanes.join(`
285110
285110
  buildInfoFile: buildInfoPath
285111
285111
  };
285112
285112
  }
285113
- if (!project.options.noEmit && (((_d = incrementalBuildInfo.changeFileSet) == null ? undefined : _d.length) || ((_e3 = incrementalBuildInfo.affectedFilesPendingEmit) == null ? undefined : _e3.length) || incrementalBuildInfo.pendingEmit !== undefined)) {
285113
+ if (!project.options.noEmit && (((_d = incrementalBuildInfo.changeFileSet) == null ? undefined : _d.length) || ((_e2 = incrementalBuildInfo.affectedFilesPendingEmit) == null ? undefined : _e2.length) || incrementalBuildInfo.pendingEmit !== undefined)) {
285114
285114
  return {
285115
285115
  type: 7,
285116
285116
  buildInfoFile: buildInfoPath
@@ -290977,7 +290977,7 @@ ${lanes.join(`
290977
290977
  return getIsExcluded(getIsExcludedPatterns(preferences, hostUsesCaseSensitiveFileNames(host)), host);
290978
290978
  }
290979
290979
  function getExportInfoMap(importingFile, host, program, preferences, cancellationToken) {
290980
- var _a, _b, _c, _d, _e3;
290980
+ var _a, _b, _c, _d, _e2;
290981
290981
  const start = timestamp();
290982
290982
  (_a = host.getPackageJsonAutoImportProvider) == null || _a.call(host);
290983
290983
  const cache = ((_b = host.getCachedExportInfoMap) == null ? undefined : _b.call(host)) || createCacheableExportInfoMap({
@@ -291017,7 +291017,7 @@ ${lanes.join(`
291017
291017
  cache.clear();
291018
291018
  throw err;
291019
291019
  }
291020
- (_e3 = host.log) == null || _e3.call(host, `getExportInfoMap: done in ${timestamp() - start} ms`);
291020
+ (_e2 = host.log) == null || _e2.call(host, `getExportInfoMap: done in ${timestamp() - start} ms`);
291021
291021
  return cache;
291022
291022
  }
291023
291023
  function getDefaultLikeExportInfo(moduleSymbol, checker) {
@@ -291622,7 +291622,7 @@ ${lanes.join(`
291622
291622
  pushClassification(start, width, 1);
291623
291623
  }
291624
291624
  function classifyJSDocComment(docComment) {
291625
- var _a, _b, _c, _d, _e3, _f, _g, _h;
291625
+ var _a, _b, _c, _d, _e2, _f, _g, _h;
291626
291626
  let pos = docComment.pos;
291627
291627
  if (docComment.tags) {
291628
291628
  for (const tag of docComment.tags) {
@@ -291650,7 +291650,7 @@ ${lanes.join(`
291650
291650
  break;
291651
291651
  case 347:
291652
291652
  const type = tag;
291653
- commentStart = ((_c = type.typeExpression) == null ? undefined : _c.kind) === 310 && ((_d = type.fullName) == null ? undefined : _d.end) || ((_e3 = type.typeExpression) == null ? undefined : _e3.end) || commentStart;
291653
+ commentStart = ((_c = type.typeExpression) == null ? undefined : _c.kind) === 310 && ((_d = type.fullName) == null ? undefined : _d.end) || ((_e2 = type.typeExpression) == null ? undefined : _e2.end) || commentStart;
291654
291654
  break;
291655
291655
  case 339:
291656
291656
  commentStart = tag.typeExpression.end;
@@ -295569,7 +295569,7 @@ interface Symbol {
295569
295569
  }
295570
295570
  }
295571
295571
  function forEachAliasDeclarationInImportOrRequire(importOrRequire, cb) {
295572
- var _a, _b, _c, _d, _e3;
295572
+ var _a, _b, _c, _d, _e2;
295573
295573
  if (importOrRequire.kind === 273) {
295574
295574
  if ((_a = importOrRequire.importClause) == null ? undefined : _a.name) {
295575
295575
  cb(importOrRequire.importClause);
@@ -295577,7 +295577,7 @@ interface Symbol {
295577
295577
  if (((_c = (_b = importOrRequire.importClause) == null ? undefined : _b.namedBindings) == null ? undefined : _c.kind) === 275) {
295578
295578
  cb(importOrRequire.importClause.namedBindings);
295579
295579
  }
295580
- if (((_e3 = (_d = importOrRequire.importClause) == null ? undefined : _d.namedBindings) == null ? undefined : _e3.kind) === 276) {
295580
+ if (((_e2 = (_d = importOrRequire.importClause) == null ? undefined : _d.namedBindings) == null ? undefined : _e2.kind) === 276) {
295581
295581
  for (const element of importOrRequire.importClause.namedBindings.elements) {
295582
295582
  cb(element);
295583
295583
  }
@@ -300013,7 +300013,7 @@ ${newComment.split(`
300013
300013
  this.host = host;
300014
300014
  }
300015
300015
  getCurrentSourceFile(fileName) {
300016
- var _a, _b, _c, _d, _e3, _f, _g, _h;
300016
+ var _a, _b, _c, _d, _e2, _f, _g, _h;
300017
300017
  const scriptSnapshot = this.host.getScriptSnapshot(fileName);
300018
300018
  if (!scriptSnapshot) {
300019
300019
  throw new Error("Could not find file: '" + fileName + "'.");
@@ -300024,7 +300024,7 @@ ${newComment.split(`
300024
300024
  if (this.currentFileName !== fileName) {
300025
300025
  const options = {
300026
300026
  languageVersion: 99,
300027
- impliedNodeFormat: getImpliedNodeFormatForFile(toPath(fileName, this.host.getCurrentDirectory(), ((_c = (_b = (_a = this.host).getCompilerHost) == null ? undefined : _b.call(_a)) == null ? undefined : _c.getCanonicalFileName) || hostGetCanonicalFileName(this.host)), (_h = (_g = (_f = (_e3 = (_d = this.host).getCompilerHost) == null ? undefined : _e3.call(_d)) == null ? undefined : _f.getModuleResolutionCache) == null ? undefined : _g.call(_f)) == null ? undefined : _h.getPackageJsonInfoCache(), this.host, this.host.getCompilationSettings()),
300027
+ impliedNodeFormat: getImpliedNodeFormatForFile(toPath(fileName, this.host.getCurrentDirectory(), ((_c = (_b = (_a = this.host).getCompilerHost) == null ? undefined : _b.call(_a)) == null ? undefined : _c.getCanonicalFileName) || hostGetCanonicalFileName(this.host)), (_h = (_g = (_f = (_e2 = (_d = this.host).getCompilerHost) == null ? undefined : _e2.call(_d)) == null ? undefined : _f.getModuleResolutionCache) == null ? undefined : _g.call(_f)) == null ? undefined : _h.getPackageJsonInfoCache(), this.host, this.host.getCompilationSettings()),
300028
300028
  setExternalModuleIndicator: getSetExternalModuleIndicator(this.host.getCompilationSettings()),
300029
300029
  jsDocParsingMode: 0
300030
300030
  };
@@ -319950,7 +319950,7 @@ ${content}
319950
319950
  changeTracker.insertNodesAfter(originalFile, scopeStatements[scopeStatements.length - 1], changes);
319951
319951
  }
319952
319952
  function matchNode(a3, b3) {
319953
- var _a, _b, _c, _d, _e3, _f;
319953
+ var _a, _b, _c, _d, _e2, _f;
319954
319954
  if (a3.kind !== b3.kind) {
319955
319955
  return false;
319956
319956
  }
@@ -319967,7 +319967,7 @@ ${content}
319967
319967
  return a3.expression.getText() === b3.expression.getText();
319968
319968
  }
319969
319969
  if (isForStatement(a3) && isForStatement(b3)) {
319970
- return ((_a = a3.initializer) == null ? undefined : _a.getText()) === ((_b = b3.initializer) == null ? undefined : _b.getText()) && ((_c = a3.incrementor) == null ? undefined : _c.getText()) === ((_d = b3.incrementor) == null ? undefined : _d.getText()) && ((_e3 = a3.condition) == null ? undefined : _e3.getText()) === ((_f = b3.condition) == null ? undefined : _f.getText());
319970
+ return ((_a = a3.initializer) == null ? undefined : _a.getText()) === ((_b = b3.initializer) == null ? undefined : _b.getText()) && ((_c = a3.incrementor) == null ? undefined : _c.getText()) === ((_d = b3.incrementor) == null ? undefined : _d.getText()) && ((_e2 = a3.condition) == null ? undefined : _e2.getText()) === ((_f = b3.condition) == null ? undefined : _f.getText());
319971
319971
  }
319972
319972
  if (isForInOrOfStatement(a3) && isForInOrOfStatement(b3)) {
319973
319973
  return a3.expression.getText() === b3.expression.getText() && a3.initializer.getText() === b3.initializer.getText();
@@ -335048,7 +335048,7 @@ ${json}${newLine}`;
335048
335048
  }, ms, actionType));
335049
335049
  }
335050
335050
  executeAction(action) {
335051
- var _a, _b, _c, _d, _e3, _f;
335051
+ var _a, _b, _c, _d, _e2, _f;
335052
335052
  let stop = false;
335053
335053
  try {
335054
335054
  if (this.operationHost.isCancellationRequested()) {
@@ -335063,7 +335063,7 @@ ${json}${newLine}`;
335063
335063
  (_d = tracing) == null || _d.popAll();
335064
335064
  stop = true;
335065
335065
  if (e6 instanceof OperationCanceledException) {
335066
- (_e3 = tracing) == null || _e3.instant(tracing.Phase.Session, "stepCanceled", { seq: this.requestId });
335066
+ (_e2 = tracing) == null || _e2.instant(tracing.Phase.Session, "stepCanceled", { seq: this.requestId });
335067
335067
  } else {
335068
335068
  (_f = tracing) == null || _f.instant(tracing.Phase.Session, "stepError", { seq: this.requestId, message: e6.message });
335069
335069
  this.operationHost.logError(e6, `delayed processing of request ${this.requestId}`);
@@ -337689,7 +337689,7 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
337689
337689
  }
337690
337690
  }
337691
337691
  onMessage(message) {
337692
- var _a, _b, _c, _d, _e3, _f, _g;
337692
+ var _a, _b, _c, _d, _e2, _f, _g;
337693
337693
  this.gcTimer.scheduleCollect();
337694
337694
  let start;
337695
337695
  const currentPerformanceData = this.performanceData;
@@ -337723,7 +337723,7 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
337723
337723
  this.doOutput(undefined, request.command, request.seq, false, performanceData, "No content available.");
337724
337724
  }
337725
337725
  } catch (err) {
337726
- (_e3 = tracing) == null || _e3.popAll();
337726
+ (_e2 = tracing) == null || _e2.popAll();
337727
337727
  if (err instanceof OperationCanceledException) {
337728
337728
  (_f = tracing) == null || _f.instant(tracing.Phase.Session, "commandCanceled", { seq: request == null ? undefined : request.seq, command: request == null ? undefined : request.command });
337729
337729
  this.doOutput({ canceled: true }, request.command, request.seq, true, this.performanceData);
@@ -346555,14 +346555,14 @@ var require_parser = __commonJS((exports) => {
346555
346555
  // ../node_modules/glob/dist/commonjs/index.min.js
346556
346556
  var require_index_min = __commonJS((exports) => {
346557
346557
  var R2 = (n3, t3) => () => (t3 || n3((t3 = { exports: {} }).exports, t3), t3.exports);
346558
- var Ge2 = R2((Y3) => {
346559
- Object.defineProperty(Y3, "__esModule", { value: true });
346560
- Y3.range = Y3.balanced = undefined;
346558
+ var Ge2 = R2((Y2) => {
346559
+ Object.defineProperty(Y2, "__esModule", { value: true });
346560
+ Y2.range = Y2.balanced = undefined;
346561
346561
  var Gs = (n3, t3, e6) => {
346562
- let s3 = n3 instanceof RegExp ? Ie2(n3, e6) : n3, i3 = t3 instanceof RegExp ? Ie2(t3, e6) : t3, r3 = s3 !== null && i3 != null && (0, Y3.range)(s3, i3, e6);
346562
+ let s3 = n3 instanceof RegExp ? Ie2(n3, e6) : n3, i3 = t3 instanceof RegExp ? Ie2(t3, e6) : t3, r3 = s3 !== null && i3 != null && (0, Y2.range)(s3, i3, e6);
346563
346563
  return r3 && { start: r3[0], end: r3[1], pre: e6.slice(0, r3[0]), body: e6.slice(r3[0] + s3.length, r3[1]), post: e6.slice(r3[1] + i3.length) };
346564
346564
  };
346565
- Y3.balanced = Gs;
346565
+ Y2.balanced = Gs;
346566
346566
  var Ie2 = (n3, t3) => {
346567
346567
  let e6 = t3.match(n3);
346568
346568
  return e6 ? e6[0] : null;
@@ -346585,7 +346585,7 @@ var require_index_min = __commonJS((exports) => {
346585
346585
  }
346586
346586
  return o3;
346587
346587
  };
346588
- Y3.range = zs;
346588
+ Y2.range = zs;
346589
346589
  });
346590
346590
  var Ke2 = R2((it) => {
346591
346591
  Object.defineProperty(it, "__esModule", { value: true });
@@ -348019,13 +348019,13 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348019
348019
  };
348020
348020
  Object.defineProperty(P2, "__esModule", { value: true });
348021
348021
  P2.Minipass = P2.isWritable = P2.isReadable = P2.isStream = undefined;
348022
- var ds = typeof process == "object" && process ? process : { stdout: null, stderr: null }, _e3 = __require("events"), ws = nr(__require("stream")), hr = __require("string_decoder"), or = (n3) => !!n3 && typeof n3 == "object" && (n3 instanceof qt || n3 instanceof ws.default || (0, P2.isReadable)(n3) || (0, P2.isWritable)(n3));
348022
+ var ds = typeof process == "object" && process ? process : { stdout: null, stderr: null }, _e2 = __require("events"), ws = nr(__require("stream")), hr = __require("string_decoder"), or = (n3) => !!n3 && typeof n3 == "object" && (n3 instanceof qt || n3 instanceof ws.default || (0, P2.isReadable)(n3) || (0, P2.isWritable)(n3));
348023
348023
  P2.isStream = or;
348024
- var ar = (n3) => !!n3 && typeof n3 == "object" && n3 instanceof _e3.EventEmitter && typeof n3.pipe == "function" && n3.pipe !== ws.default.Writable.prototype.pipe;
348024
+ var ar = (n3) => !!n3 && typeof n3 == "object" && n3 instanceof _e2.EventEmitter && typeof n3.pipe == "function" && n3.pipe !== ws.default.Writable.prototype.pipe;
348025
348025
  P2.isReadable = ar;
348026
- var lr = (n3) => !!n3 && typeof n3 == "object" && n3 instanceof _e3.EventEmitter && typeof n3.write == "function" && typeof n3.end == "function";
348026
+ var lr = (n3) => !!n3 && typeof n3 == "object" && n3 instanceof _e2.EventEmitter && typeof n3.write == "function" && typeof n3.end == "function";
348027
348027
  P2.isWritable = lr;
348028
- var $3 = Symbol("EOF"), q2 = Symbol("maybeEmitEnd"), K2 = Symbol("emittedEnd"), Bt = Symbol("emittingEnd"), lt = Symbol("emittedError"), It = Symbol("closed"), ps = Symbol("read"), Gt = Symbol("flush"), ms = Symbol("flushChunk"), L2 = Symbol("encoding"), rt = Symbol("decoder"), x3 = Symbol("flowing"), ct = Symbol("paused"), nt = Symbol("resume"), T3 = Symbol("buffer"), M3 = Symbol("pipes"), C3 = Symbol("bufferLength"), we2 = Symbol("bufferPush"), zt = Symbol("bufferShift"), k3 = Symbol("objectMode"), O3 = Symbol("destroyed"), be3 = Symbol("error"), ye3 = Symbol("emitData"), gs = Symbol("emitEnd"), Se2 = Symbol("emitEnd2"), I2 = Symbol("async"), ve3 = Symbol("abort"), Ut = Symbol("aborted"), ut = Symbol("signal"), Z3 = Symbol("dataListeners"), D3 = Symbol("discarded"), ft = (n3) => Promise.resolve().then(n3), cr = (n3) => n3(), ur = (n3) => n3 === "end" || n3 === "finish" || n3 === "prefinish", fr = (n3) => n3 instanceof ArrayBuffer || !!n3 && typeof n3 == "object" && n3.constructor && n3.constructor.name === "ArrayBuffer" && n3.byteLength >= 0, dr = (n3) => !Buffer.isBuffer(n3) && ArrayBuffer.isView(n3), $t = class {
348028
+ var $3 = Symbol("EOF"), q2 = Symbol("maybeEmitEnd"), K2 = Symbol("emittedEnd"), Bt = Symbol("emittingEnd"), lt = Symbol("emittedError"), It = Symbol("closed"), ps = Symbol("read"), Gt = Symbol("flush"), ms = Symbol("flushChunk"), L2 = Symbol("encoding"), rt = Symbol("decoder"), x3 = Symbol("flowing"), ct = Symbol("paused"), nt = Symbol("resume"), T3 = Symbol("buffer"), M2 = Symbol("pipes"), C3 = Symbol("bufferLength"), we3 = Symbol("bufferPush"), zt = Symbol("bufferShift"), k3 = Symbol("objectMode"), O3 = Symbol("destroyed"), be3 = Symbol("error"), ye3 = Symbol("emitData"), gs = Symbol("emitEnd"), Se3 = Symbol("emitEnd2"), I2 = Symbol("async"), ve2 = Symbol("abort"), Ut = Symbol("aborted"), ut = Symbol("signal"), Z3 = Symbol("dataListeners"), D3 = Symbol("discarded"), ft = (n3) => Promise.resolve().then(n3), cr = (n3) => n3(), ur = (n3) => n3 === "end" || n3 === "finish" || n3 === "prefinish", fr = (n3) => n3 instanceof ArrayBuffer || !!n3 && typeof n3 == "object" && n3.constructor && n3.constructor.name === "ArrayBuffer" && n3.byteLength >= 0, dr = (n3) => !Buffer.isBuffer(n3) && ArrayBuffer.isView(n3), $t = class {
348029
348029
  src;
348030
348030
  dest;
348031
348031
  opts;
@@ -348047,10 +348047,10 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348047
348047
  constructor(t3, e6, s3) {
348048
348048
  super(t3, e6, s3), this.proxyErrors = (i3) => this.dest.emit("error", i3), t3.on("error", this.proxyErrors);
348049
348049
  }
348050
- }, pr = (n3) => !!n3.objectMode, mr = (n3) => !n3.objectMode && !!n3.encoding && n3.encoding !== "buffer", qt = class extends _e3.EventEmitter {
348050
+ }, pr = (n3) => !!n3.objectMode, mr = (n3) => !n3.objectMode && !!n3.encoding && n3.encoding !== "buffer", qt = class extends _e2.EventEmitter {
348051
348051
  [x3] = false;
348052
348052
  [ct] = false;
348053
- [M3] = [];
348053
+ [M2] = [];
348054
348054
  [T3] = [];
348055
348055
  [k3];
348056
348056
  [L2];
@@ -348073,9 +348073,9 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348073
348073
  let e6 = t3[0] || {};
348074
348074
  if (super(), e6.objectMode && typeof e6.encoding == "string")
348075
348075
  throw new TypeError("Encoding and objectMode may not be used together");
348076
- pr(e6) ? (this[k3] = true, this[L2] = null) : mr(e6) ? (this[L2] = e6.encoding, this[k3] = false) : (this[k3] = false, this[L2] = null), this[I2] = !!e6.async, this[rt] = this[L2] ? new hr.StringDecoder(this[L2]) : null, e6 && e6.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[T3] }), e6 && e6.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[M3] });
348076
+ pr(e6) ? (this[k3] = true, this[L2] = null) : mr(e6) ? (this[L2] = e6.encoding, this[k3] = false) : (this[k3] = false, this[L2] = null), this[I2] = !!e6.async, this[rt] = this[L2] ? new hr.StringDecoder(this[L2]) : null, e6 && e6.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[T3] }), e6 && e6.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[M2] });
348077
348077
  let { signal: s3 } = e6;
348078
- s3 && (this[ut] = s3, s3.aborted ? this[ve3]() : s3.addEventListener("abort", () => this[ve3]()));
348078
+ s3 && (this[ut] = s3, s3.aborted ? this[ve2]() : s3.addEventListener("abort", () => this[ve2]()));
348079
348079
  }
348080
348080
  get bufferLength() {
348081
348081
  return this[C3];
@@ -348101,7 +348101,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348101
348101
  set async(t3) {
348102
348102
  this[I2] = this[I2] || !!t3;
348103
348103
  }
348104
- [ve3]() {
348104
+ [ve2]() {
348105
348105
  this[Ut] = true, this.emit("abort", this[ut]?.reason), this.destroy(this[ut]?.reason);
348106
348106
  }
348107
348107
  get aborted() {
@@ -348125,7 +348125,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348125
348125
  else if (typeof t3 != "string")
348126
348126
  throw new Error("Non-contiguous data written to non-objectMode stream");
348127
348127
  }
348128
- return this[k3] ? (this[x3] && this[C3] !== 0 && this[Gt](true), this[x3] ? this.emit("data", t3) : this[we2](t3), this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]) : t3.length ? (typeof t3 == "string" && !(e6 === this[L2] && !this[rt]?.lastNeed) && (t3 = Buffer.from(t3, e6)), Buffer.isBuffer(t3) && this[L2] && (t3 = this[rt].write(t3)), this[x3] && this[C3] !== 0 && this[Gt](true), this[x3] ? this.emit("data", t3) : this[we2](t3), this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]) : (this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]);
348128
+ return this[k3] ? (this[x3] && this[C3] !== 0 && this[Gt](true), this[x3] ? this.emit("data", t3) : this[we3](t3), this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]) : t3.length ? (typeof t3 == "string" && !(e6 === this[L2] && !this[rt]?.lastNeed) && (t3 = Buffer.from(t3, e6)), Buffer.isBuffer(t3) && this[L2] && (t3 = this[rt].write(t3)), this[x3] && this[C3] !== 0 && this[Gt](true), this[x3] ? this.emit("data", t3) : this[we3](t3), this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]) : (this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]);
348129
348129
  }
348130
348130
  read(t3) {
348131
348131
  if (this[O3])
@@ -348149,7 +348149,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348149
348149
  return typeof t3 == "function" && (s3 = t3, t3 = undefined), typeof e6 == "function" && (s3 = e6, e6 = "utf8"), t3 !== undefined && this.write(t3, e6), s3 && this.once("end", s3), this[$3] = true, this.writable = false, (this[x3] || !this[ct]) && this[q2](), this;
348150
348150
  }
348151
348151
  [nt]() {
348152
- this[O3] || (!this[Z3] && !this[M3].length && (this[D3] = true), this[ct] = false, this[x3] = true, this.emit("resume"), this[T3].length ? this[Gt]() : this[$3] ? this[q2]() : this.emit("drain"));
348152
+ this[O3] || (!this[Z3] && !this[M2].length && (this[D3] = true), this[ct] = false, this[x3] = true, this.emit("resume"), this[T3].length ? this[Gt]() : this[$3] ? this[q2]() : this.emit("drain"));
348153
348153
  }
348154
348154
  resume() {
348155
348155
  return this[nt]();
@@ -348166,7 +348166,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348166
348166
  get paused() {
348167
348167
  return this[ct];
348168
348168
  }
348169
- [we2](t3) {
348169
+ [we3](t3) {
348170
348170
  this[k3] ? this[C3] += 1 : this[C3] += t3.length, this[T3].push(t3);
348171
348171
  }
348172
348172
  [zt]() {
@@ -348186,11 +348186,11 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348186
348186
  return t3;
348187
348187
  this[D3] = false;
348188
348188
  let s3 = this[K2];
348189
- return e6 = e6 || {}, t3 === ds.stdout || t3 === ds.stderr ? e6.end = false : e6.end = e6.end !== false, e6.proxyErrors = !!e6.proxyErrors, s3 ? e6.end && t3.end() : (this[M3].push(e6.proxyErrors ? new Ee2(this, t3, e6) : new $t(this, t3, e6)), this[I2] ? ft(() => this[nt]()) : this[nt]()), t3;
348189
+ return e6 = e6 || {}, t3 === ds.stdout || t3 === ds.stderr ? e6.end = false : e6.end = e6.end !== false, e6.proxyErrors = !!e6.proxyErrors, s3 ? e6.end && t3.end() : (this[M2].push(e6.proxyErrors ? new Ee2(this, t3, e6) : new $t(this, t3, e6)), this[I2] ? ft(() => this[nt]()) : this[nt]()), t3;
348190
348190
  }
348191
348191
  unpipe(t3) {
348192
- let e6 = this[M3].find((s3) => s3.dest === t3);
348193
- e6 && (this[M3].length === 1 ? (this[x3] && this[Z3] === 0 && (this[x3] = false), this[M3] = []) : this[M3].splice(this[M3].indexOf(e6), 1), e6.unpipe());
348192
+ let e6 = this[M2].find((s3) => s3.dest === t3);
348193
+ e6 && (this[M2].length === 1 ? (this[x3] && this[Z3] === 0 && (this[x3] = false), this[M2] = []) : this[M2].splice(this[M2].indexOf(e6), 1), e6.unpipe());
348194
348194
  }
348195
348195
  addListener(t3, e6) {
348196
348196
  return this.on(t3, e6);
@@ -348198,7 +348198,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348198
348198
  on(t3, e6) {
348199
348199
  let s3 = super.on(t3, e6);
348200
348200
  if (t3 === "data")
348201
- this[D3] = false, this[Z3]++, !this[M3].length && !this[x3] && this[nt]();
348201
+ this[D3] = false, this[Z3]++, !this[M2].length && !this[x3] && this[nt]();
348202
348202
  else if (t3 === "readable" && this[C3] !== 0)
348203
348203
  super.emit("readable");
348204
348204
  else if (ur(t3) && this[K2])
@@ -348214,11 +348214,11 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348214
348214
  }
348215
348215
  off(t3, e6) {
348216
348216
  let s3 = super.off(t3, e6);
348217
- return t3 === "data" && (this[Z3] = this.listeners("data").length, this[Z3] === 0 && !this[D3] && !this[M3].length && (this[x3] = false)), s3;
348217
+ return t3 === "data" && (this[Z3] = this.listeners("data").length, this[Z3] === 0 && !this[D3] && !this[M2].length && (this[x3] = false)), s3;
348218
348218
  }
348219
348219
  removeAllListeners(t3) {
348220
348220
  let e6 = super.removeAllListeners(t3);
348221
- return (t3 === "data" || t3 === undefined) && (this[Z3] = 0, !this[D3] && !this[M3].length && (this[x3] = false)), e6;
348221
+ return (t3 === "data" || t3 === undefined) && (this[Z3] = 0, !this[D3] && !this[M2].length && (this[x3] = false)), e6;
348222
348222
  }
348223
348223
  get emittedEnd() {
348224
348224
  return this[K2];
@@ -348254,24 +348254,24 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348254
348254
  return this[q2](), i3;
348255
348255
  }
348256
348256
  [ye3](t3) {
348257
- for (let s3 of this[M3])
348257
+ for (let s3 of this[M2])
348258
348258
  s3.dest.write(t3) === false && this.pause();
348259
348259
  let e6 = this[D3] ? false : super.emit("data", t3);
348260
348260
  return this[q2](), e6;
348261
348261
  }
348262
348262
  [gs]() {
348263
- return this[K2] ? false : (this[K2] = true, this.readable = false, this[I2] ? (ft(() => this[Se2]()), true) : this[Se2]());
348263
+ return this[K2] ? false : (this[K2] = true, this.readable = false, this[I2] ? (ft(() => this[Se3]()), true) : this[Se3]());
348264
348264
  }
348265
- [Se2]() {
348265
+ [Se3]() {
348266
348266
  if (this[rt]) {
348267
348267
  let e6 = this[rt].end();
348268
348268
  if (e6) {
348269
- for (let s3 of this[M3])
348269
+ for (let s3 of this[M2])
348270
348270
  s3.dest.write(e6);
348271
348271
  this[D3] || super.emit("data", e6);
348272
348272
  }
348273
348273
  }
348274
- for (let e6 of this[M3])
348274
+ for (let e6 of this[M2])
348275
348275
  e6.end();
348276
348276
  let t3 = super.emit("end");
348277
348277
  return this.removeAllListeners("end"), t3;
@@ -348393,7 +348393,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348393
348393
  }
348394
348394
  };
348395
348395
  _3.ChildrenCache = Jt;
348396
- var ks = Symbol("PathScurry setAsCwd"), A3 = class {
348396
+ var ks = Symbol("PathScurry setAsCwd"), A4 = class {
348397
348397
  name;
348398
348398
  root;
348399
348399
  roots;
@@ -348852,8 +348852,8 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348852
348852
  i3.#E = undefined, i3.#T = undefined, i3 = i3.parent;
348853
348853
  }
348854
348854
  };
348855
- _3.PathBase = A3;
348856
- var yt = class n3 extends A3 {
348855
+ _3.PathBase = A4;
348856
+ var yt = class n3 extends A4 {
348857
348857
  sep = "\\";
348858
348858
  splitSep = _r;
348859
348859
  constructor(t3, e6 = N2, s3, i3, r3, h4, o3) {
@@ -348878,7 +348878,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348878
348878
  }
348879
348879
  };
348880
348880
  _3.PathWin32 = yt;
348881
- var St = class n3 extends A3 {
348881
+ var St = class n3 extends A4 {
348882
348882
  splitSep = "/";
348883
348883
  sep = "/";
348884
348884
  constructor(t3, e6 = N2, s3, i3, r3, h4, o3) {
@@ -348965,7 +348965,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348965
348965
  return typeof t3 == "string" && (t3 = this.cwd.resolve(t3)), (t3.parent || t3).fullpath();
348966
348966
  }
348967
348967
  async readdir(t3 = this.cwd, e6 = { withFileTypes: true }) {
348968
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3, t3 = this.cwd);
348968
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3, t3 = this.cwd);
348969
348969
  let { withFileTypes: s3 } = e6;
348970
348970
  if (t3.canReaddir()) {
348971
348971
  let i3 = await t3.readdir();
@@ -348974,7 +348974,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348974
348974
  return [];
348975
348975
  }
348976
348976
  readdirSync(t3 = this.cwd, e6 = { withFileTypes: true }) {
348977
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3, t3 = this.cwd);
348977
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3, t3 = this.cwd);
348978
348978
  let { withFileTypes: s3 = true } = e6;
348979
348979
  return t3.canReaddir() ? s3 ? t3.readdirSync() : t3.readdirSync().map((i3) => i3.name) : [];
348980
348980
  }
@@ -348985,27 +348985,27 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348985
348985
  return typeof t3 == "string" && (t3 = this.cwd.resolve(t3)), t3.lstatSync();
348986
348986
  }
348987
348987
  async readlink(t3 = this.cwd, { withFileTypes: e6 } = { withFileTypes: false }) {
348988
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3.withFileTypes, t3 = this.cwd);
348988
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3.withFileTypes, t3 = this.cwd);
348989
348989
  let s3 = await t3.readlink();
348990
348990
  return e6 ? s3 : s3?.fullpath();
348991
348991
  }
348992
348992
  readlinkSync(t3 = this.cwd, { withFileTypes: e6 } = { withFileTypes: false }) {
348993
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3.withFileTypes, t3 = this.cwd);
348993
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3.withFileTypes, t3 = this.cwd);
348994
348994
  let s3 = t3.readlinkSync();
348995
348995
  return e6 ? s3 : s3?.fullpath();
348996
348996
  }
348997
348997
  async realpath(t3 = this.cwd, { withFileTypes: e6 } = { withFileTypes: false }) {
348998
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3.withFileTypes, t3 = this.cwd);
348998
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3.withFileTypes, t3 = this.cwd);
348999
348999
  let s3 = await t3.realpath();
349000
349000
  return e6 ? s3 : s3?.fullpath();
349001
349001
  }
349002
349002
  realpathSync(t3 = this.cwd, { withFileTypes: e6 } = { withFileTypes: false }) {
349003
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3.withFileTypes, t3 = this.cwd);
349003
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3.withFileTypes, t3 = this.cwd);
349004
349004
  let s3 = t3.realpathSync();
349005
349005
  return e6 ? s3 : s3?.fullpath();
349006
349006
  }
349007
349007
  async walk(t3 = this.cwd, e6 = {}) {
349008
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3, t3 = this.cwd);
349008
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3, t3 = this.cwd);
349009
349009
  let { withFileTypes: s3 = true, follow: i3 = false, filter: r3, walkFilter: h4 } = e6, o3 = [];
349010
349010
  (!r3 || r3(t3)) && o3.push(s3 ? t3 : t3.fullpath());
349011
349011
  let a3 = new Set, l3 = (c3, d4) => {
@@ -349031,7 +349031,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349031
349031
  });
349032
349032
  }
349033
349033
  walkSync(t3 = this.cwd, e6 = {}) {
349034
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3, t3 = this.cwd);
349034
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3, t3 = this.cwd);
349035
349035
  let { withFileTypes: s3 = true, follow: i3 = false, filter: r3, walkFilter: h4 } = e6, o3 = [];
349036
349036
  (!r3 || r3(t3)) && o3.push(s3 ? t3 : t3.fullpath());
349037
349037
  let a3 = new Set([t3]);
@@ -349054,13 +349054,13 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349054
349054
  return this.iterate();
349055
349055
  }
349056
349056
  iterate(t3 = this.cwd, e6 = {}) {
349057
- return typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3, t3 = this.cwd), this.stream(t3, e6)[Symbol.asyncIterator]();
349057
+ return typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3, t3 = this.cwd), this.stream(t3, e6)[Symbol.asyncIterator]();
349058
349058
  }
349059
349059
  [Symbol.iterator]() {
349060
349060
  return this.iterateSync();
349061
349061
  }
349062
349062
  *iterateSync(t3 = this.cwd, e6 = {}) {
349063
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3, t3 = this.cwd);
349063
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3, t3 = this.cwd);
349064
349064
  let { withFileTypes: s3 = true, follow: i3 = false, filter: r3, walkFilter: h4 } = e6;
349065
349065
  (!r3 || r3(t3)) && (yield s3 ? t3 : t3.fullpath());
349066
349066
  let o3 = new Set([t3]);
@@ -349079,7 +349079,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349079
349079
  }
349080
349080
  }
349081
349081
  stream(t3 = this.cwd, e6 = {}) {
349082
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3, t3 = this.cwd);
349082
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3, t3 = this.cwd);
349083
349083
  let { withFileTypes: s3 = true, follow: i3 = false, filter: r3, walkFilter: h4 } = e6, o3 = new bs.Minipass({ objectMode: true });
349084
349084
  (!r3 || r3(t3)) && o3.write(s3 ? t3 : t3.fullpath());
349085
349085
  let a3 = new Set, l3 = [t3], f4 = 0, c3 = () => {
@@ -349118,7 +349118,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349118
349118
  return c3(), o3;
349119
349119
  }
349120
349120
  streamSync(t3 = this.cwd, e6 = {}) {
349121
- typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A3 || (e6 = t3, t3 = this.cwd);
349121
+ typeof t3 == "string" ? t3 = this.cwd.resolve(t3) : t3 instanceof A4 || (e6 = t3, t3 = this.cwd);
349122
349122
  let { withFileTypes: s3 = true, follow: i3 = false, filter: r3, walkFilter: h4 } = e6, o3 = new bs.Minipass({ objectMode: true }), a3 = new Set;
349123
349123
  (!r3 || r3(t3)) && o3.write(s3 ? t3 : t3.fullpath());
349124
349124
  let l3 = [t3], f4 = 0, c3 = () => {
@@ -349203,7 +349203,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349203
349203
  var Re2 = R2((te2) => {
349204
349204
  Object.defineProperty(te2, "__esModule", { value: true });
349205
349205
  te2.Pattern = undefined;
349206
- var xr = H2(), Tr = (n3) => n3.length >= 1, Cr = (n3) => n3.length >= 1, Rr = Symbol.for("nodejs.util.inspect.custom"), Ce2 = class n3 {
349206
+ var xr = H2(), Tr = (n3) => n3.length >= 1, Cr = (n3) => n3.length >= 1, Rr = Symbol.for("nodejs.util.inspect.custom"), Ce3 = class n3 {
349207
349207
  #t;
349208
349208
  #s;
349209
349209
  #n;
@@ -349285,7 +349285,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349285
349285
  return this.#n === 0 || !this.isGlobstar() || !this.#f ? false : (this.#f = false, true);
349286
349286
  }
349287
349287
  };
349288
- te2.Pattern = Ce2;
349288
+ te2.Pattern = Ce3;
349289
349289
  });
349290
349290
  var ke2 = R2((ee2) => {
349291
349291
  Object.defineProperty(ee2, "__esModule", { value: true });
@@ -356217,7 +356217,7 @@ function mapDataType(dataType) {
356217
356217
  };
356218
356218
  }
356219
356219
 
356220
- // ../dist/utils-DHs93w48.js
356220
+ // ../dist/utils-BZOsWQq3.js
356221
356221
  var import_typescript = __toESM(require_typescript(), 1);
356222
356222
  function t2() {
356223
356223
  return t2 = Object.assign ? Object.assign.bind() : function(e6) {
@@ -356479,9 +356479,9 @@ function g3(e6) {
356479
356479
  if (typeof e6 == "string" && e6 !== "")
356480
356480
  return e6;
356481
356481
  }
356482
- var j3 = { DATE: "date" };
356483
- var M2 = (e6) => e6 != null && (e6 in j3);
356484
- var _e2 = `
356482
+ var A3 = { DATE: "date" };
356483
+ var j3 = (e6) => e6 != null && (e6 in A3);
356484
+ var ye2 = `
356485
356485
  interface Array<T> {
356486
356486
  [n: number]: T;
356487
356487
  length: number;
@@ -356502,17 +356502,17 @@ var _e2 = `
356502
356502
 
356503
356503
  import ReturnType = Utils.ReturnType;
356504
356504
  `;
356505
- function Y2(t3, n3) {
356505
+ function be2(t3, n3) {
356506
356506
  let r3 = /* @__PURE__ */ new Map;
356507
- return r3.set(t3, n3), r3.set("lib.codezero.d.ts", _e2), a2(u3(r3), [t3, "lib.codezero.d.ts"], import_typescript.default, ve2);
356507
+ return r3.set(t3, n3), r3.set("lib.codezero.d.ts", ye2), a2(u3(r3), [t3, "lib.codezero.d.ts"], import_typescript.default, xe2);
356508
356508
  }
356509
- var ve2 = {
356509
+ var xe2 = {
356510
356510
  target: import_typescript.default.ScriptTarget.Latest,
356511
356511
  lib: ["lib.codezero.d.ts"],
356512
356512
  noEmit: true,
356513
356513
  strictNullChecks: true
356514
356514
  };
356515
- function ye2(e6) {
356515
+ function Se2(e6) {
356516
356516
  let t3 = [], n3 = 0, r3 = null, i3 = "";
356517
356517
  for (let a3 of e6) {
356518
356518
  if (r3)
@@ -356532,9 +356532,9 @@ function ye2(e6) {
356532
356532
  return t3.push(i3), t3.map((e7) => (e7.trim().split(/\s+/).find((e8) => e8 !== "const" && e8 !== "in" && e8 !== "out") ?? "").match(/^[A-Za-z_$][A-Za-z0-9_$]*/)?.[0] ?? "").filter((e7) => e7.length > 0);
356533
356533
  }
356534
356534
  function X2(e6, t3 = "any", n3 = true) {
356535
- let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []).flatMap(ye2))).map((e7) => `type ${e7} = ${t3};`).join(`
356535
+ let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []).flatMap(Se2))).map((e7) => `type ${e7} = ${t3};`).join(`
356536
356536
  `), i3 = e6?.map((e7) => {
356537
- let t4 = (e7.genericKeys?.length ?? 0) > 0 ? `<${e7.genericKeys?.join(",")}>` : "", n4 = M2(e7.identifier) ? `${e7.type} & {}` : e7.type;
356537
+ let t4 = (e7.genericKeys?.length ?? 0) > 0 ? `<${e7.genericKeys?.join(",")}>` : "", n4 = j3(e7.identifier) ? `${e7.type} & {}` : e7.type;
356538
356538
  return `type ${e7.identifier}${t4} = ${n4};`;
356539
356539
  }).join(`
356540
356540
  `), a3 = e6?.filter((e7) => (e7.genericKeys?.length ?? 0) > 0).map((e7) => `declare const __widen_${e7.identifier}: ${e7.identifier}<${e7.genericKeys.map(() => "any").join(", ")}>;`).join(`
@@ -356545,7 +356545,7 @@ ${a3}`;
356545
356545
  }
356546
356546
  var Z2 = (e6) => e6?.replace(/[^a-zA-Z0-9]/g, "_");
356547
356547
  var Q2 = (e6) => e6.replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$\{/g, "\\${");
356548
- var be2 = (e6, t3) => {
356548
+ var Ce2 = (e6, t3) => {
356549
356549
  let n3 = e6.match(/^\$\{([^}]+)\}$/);
356550
356550
  if (n3 && t3.has(n3[1]))
356551
356551
  return t3.get(n3[1]);
@@ -356564,8 +356564,8 @@ var be2 = (e6, t3) => {
356564
356564
  }
356565
356565
  return a3 += Q2(e6.slice(o3)), "`" + a3 + "`";
356566
356566
  };
356567
- var $2 = (e6, t3) => typeof e6 == "string" ? be2(e6, t3) : Array.isArray(e6) ? `[${e6.map((e7) => $2(e7, t3)).join(", ")}]` : typeof e6 == "object" && e6 ? `{${Object.entries(e6).map(([e7, n3]) => `${h3(e7)}: ${$2(n3, t3)}`).join(", ")}}` : h3(e6) ?? "undefined";
356568
- function xe2(e6, t3, n3, r3 = false, i3 = true) {
356567
+ var $2 = (e6, t3) => typeof e6 == "string" ? Ce2(e6, t3) : Array.isArray(e6) ? `[${e6.map((e7) => $2(e7, t3)).join(", ")}]` : typeof e6 == "object" && e6 ? `{${Object.entries(e6).map(([e7, n3]) => `${h3(e7)}: ${$2(n3, t3)}`).join(", ")}}` : h3(e6) ?? "undefined";
356568
+ function we2(e6, t3, n3, r3 = false, i3 = true) {
356569
356569
  let a3 = e6?.nodes?.nodes || [], o3 = new Map(t3?.map((e7) => [e7.identifier, e7])), s3 = /* @__PURE__ */ new Set, c3 = (t4) => {
356570
356570
  let n4 = typeof t4.inputIndex == "number" ? `p_${Z2(t4.nodeFunctionId ?? "undefined")}_${t4.parameterIndex}[${t4.inputIndex}]` : t4.nodeFunctionId ? `node_${Z2(t4.nodeFunctionId)}` : `flow_${Z2(e6?.id ?? "undefined")}`;
356571
356571
  return t4.referencePath?.forEach((e7) => {
@@ -356667,7 +356667,7 @@ var d4 = (e6, t3) => {
356667
356667
  ${r3}`;
356668
356668
  };
356669
356669
  var f4 = (e6) => {
356670
- let t3 = Y2("index.ts", e6).languageService.getProgram();
356670
+ let t3 = be2("index.ts", e6).languageService.getProgram();
356671
356671
  return new import_ts_json_schema_generator.SchemaGenerator(t3, import_ts_json_schema_generator.createParser(t3, l3), import_ts_json_schema_generator.createFormatter(l3), l3);
356672
356672
  };
356673
356673
  var p4 = (e6) => {
@@ -356680,7 +356680,7 @@ var p4 = (e6) => {
356680
356680
  var m4 = (e6, n3, i4) => {
356681
356681
  if (!e6)
356682
356682
  return;
356683
- let a4 = "index.ts", o4 = xe2(e6, n3, i4), s4 = Y2(a4, o4), c4 = s4.getSourceFile(a4), l4 = s4.languageService.getProgram().getTypeChecker(), d5 = u4({
356683
+ let a4 = "index.ts", o4 = we2(e6, n3, i4), s4 = be2(a4, o4), c4 = s4.getSourceFile(a4), l4 = s4.languageService.getProgram().getTypeChecker(), d5 = u4({
356684
356684
  ...v3(l4, c4),
356685
356685
  ...y3(l4, c4, e6)
356686
356686
  }, i4), f5 = (e6.nodes?.nodes ?? []).map((e7) => e7 && E3(e7, d5));
@@ -356711,7 +356711,7 @@ var v3 = (e6, t3) => {
356711
356711
  };
356712
356712
  };
356713
356713
  var y3 = (e6, t3, n3) => {
356714
- let r3 = A3(t3), i4 = {};
356714
+ let r3 = A4(t3), i4 = {};
356715
356715
  for (let t4 of n3.nodes?.nodes ?? []) {
356716
356716
  if (!t4?.id)
356717
356717
  continue;
@@ -356801,7 +356801,7 @@ var k3 = (t3, n3) => {
356801
356801
  let r3 = t3.get(`node_${Z2(n3.id)}`)?.initializer;
356802
356802
  return r3 && import_typescript2.default.isCallExpression(r3) ? r3 : undefined;
356803
356803
  };
356804
- var A3 = (e6) => {
356804
+ var A4 = (e6) => {
356805
356805
  let t3 = /* @__PURE__ */ new Map;
356806
356806
  return e6.statements.forEach((e7) => {
356807
356807
  e7.forEachChild(function e8(n3) {
@@ -175542,7 +175542,7 @@ function mapDataType(dataType) {
175542
175542
  };
175543
175543
  }
175544
175544
 
175545
- // ../dist/utils-DHs93w48.js
175545
+ // ../dist/utils-BZOsWQq3.js
175546
175546
  var import_typescript = __toESM(require_typescript(), 1);
175547
175547
  function t2() {
175548
175548
  return t2 = Object.assign ? Object.assign.bind() : function(e6) {
@@ -175804,9 +175804,9 @@ function g3(e6) {
175804
175804
  if (typeof e6 == "string" && e6 !== "")
175805
175805
  return e6;
175806
175806
  }
175807
- var j3 = { DATE: "date" };
175808
- var M2 = (e6) => e6 != null && (e6 in j3);
175809
- var _e2 = `
175807
+ var A3 = { DATE: "date" };
175808
+ var j3 = (e6) => e6 != null && (e6 in A3);
175809
+ var ye2 = `
175810
175810
  interface Array<T> {
175811
175811
  [n: number]: T;
175812
175812
  length: number;
@@ -175827,17 +175827,17 @@ var _e2 = `
175827
175827
 
175828
175828
  import ReturnType = Utils.ReturnType;
175829
175829
  `;
175830
- function Y2(t3, n3) {
175830
+ function be2(t3, n3) {
175831
175831
  let r3 = /* @__PURE__ */ new Map;
175832
- return r3.set(t3, n3), r3.set("lib.codezero.d.ts", _e2), a2(u3(r3), [t3, "lib.codezero.d.ts"], import_typescript.default, ve2);
175832
+ return r3.set(t3, n3), r3.set("lib.codezero.d.ts", ye2), a2(u3(r3), [t3, "lib.codezero.d.ts"], import_typescript.default, xe2);
175833
175833
  }
175834
- var ve2 = {
175834
+ var xe2 = {
175835
175835
  target: import_typescript.default.ScriptTarget.Latest,
175836
175836
  lib: ["lib.codezero.d.ts"],
175837
175837
  noEmit: true,
175838
175838
  strictNullChecks: true
175839
175839
  };
175840
- function ye2(e6) {
175840
+ function Se2(e6) {
175841
175841
  let t3 = [], n3 = 0, r3 = null, i3 = "";
175842
175842
  for (let a3 of e6) {
175843
175843
  if (r3)
@@ -175857,9 +175857,9 @@ function ye2(e6) {
175857
175857
  return t3.push(i3), t3.map((e7) => (e7.trim().split(/\s+/).find((e8) => e8 !== "const" && e8 !== "in" && e8 !== "out") ?? "").match(/^[A-Za-z_$][A-Za-z0-9_$]*/)?.[0] ?? "").filter((e7) => e7.length > 0);
175858
175858
  }
175859
175859
  function X2(e6, t3 = "any", n3 = true) {
175860
- let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []).flatMap(ye2))).map((e7) => `type ${e7} = ${t3};`).join(`
175860
+ let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []).flatMap(Se2))).map((e7) => `type ${e7} = ${t3};`).join(`
175861
175861
  `), i3 = e6?.map((e7) => {
175862
- let t4 = (e7.genericKeys?.length ?? 0) > 0 ? `<${e7.genericKeys?.join(",")}>` : "", n4 = M2(e7.identifier) ? `${e7.type} & {}` : e7.type;
175862
+ let t4 = (e7.genericKeys?.length ?? 0) > 0 ? `<${e7.genericKeys?.join(",")}>` : "", n4 = j3(e7.identifier) ? `${e7.type} & {}` : e7.type;
175863
175863
  return `type ${e7.identifier}${t4} = ${n4};`;
175864
175864
  }).join(`
175865
175865
  `), a3 = e6?.filter((e7) => (e7.genericKeys?.length ?? 0) > 0).map((e7) => `declare const __widen_${e7.identifier}: ${e7.identifier}<${e7.genericKeys.map(() => "any").join(", ")}>;`).join(`
@@ -175870,7 +175870,7 @@ ${a3}`;
175870
175870
  }
175871
175871
  var Z2 = (e6) => e6?.replace(/[^a-zA-Z0-9]/g, "_");
175872
175872
  var Q2 = (e6) => e6.replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$\{/g, "\\${");
175873
- var be2 = (e6, t3) => {
175873
+ var Ce2 = (e6, t3) => {
175874
175874
  let n3 = e6.match(/^\$\{([^}]+)\}$/);
175875
175875
  if (n3 && t3.has(n3[1]))
175876
175876
  return t3.get(n3[1]);
@@ -175889,8 +175889,8 @@ var be2 = (e6, t3) => {
175889
175889
  }
175890
175890
  return a3 += Q2(e6.slice(o3)), "`" + a3 + "`";
175891
175891
  };
175892
- var $2 = (e6, t3) => typeof e6 == "string" ? be2(e6, t3) : Array.isArray(e6) ? `[${e6.map((e7) => $2(e7, t3)).join(", ")}]` : typeof e6 == "object" && e6 ? `{${Object.entries(e6).map(([e7, n3]) => `${h3(e7)}: ${$2(n3, t3)}`).join(", ")}}` : h3(e6) ?? "undefined";
175893
- function xe2(e6, t3, n3, r3 = false, i3 = true) {
175892
+ var $2 = (e6, t3) => typeof e6 == "string" ? Ce2(e6, t3) : Array.isArray(e6) ? `[${e6.map((e7) => $2(e7, t3)).join(", ")}]` : typeof e6 == "object" && e6 ? `{${Object.entries(e6).map(([e7, n3]) => `${h3(e7)}: ${$2(n3, t3)}`).join(", ")}}` : h3(e6) ?? "undefined";
175893
+ function we2(e6, t3, n3, r3 = false, i3 = true) {
175894
175894
  let a3 = e6?.nodes?.nodes || [], o3 = new Map(t3?.map((e7) => [e7.identifier, e7])), s3 = /* @__PURE__ */ new Set, c3 = (t4) => {
175895
175895
  let n4 = typeof t4.inputIndex == "number" ? `p_${Z2(t4.nodeFunctionId ?? "undefined")}_${t4.parameterIndex}[${t4.inputIndex}]` : t4.nodeFunctionId ? `node_${Z2(t4.nodeFunctionId)}` : `flow_${Z2(e6?.id ?? "undefined")}`;
175896
175896
  return t4.referencePath?.forEach((e7) => {
@@ -175964,31 +175964,32 @@ ${d4(e7.startingNodeId || e7.functionDefinition?.id, r4 + " ")}${r4}}`, u4 =
175964
175964
 
175965
175965
  // ../dist/index.js
175966
175966
  var import_typescript2 = __toESM(require_typescript(), 1);
175967
- var m4 = 2345;
175968
- var h4 = 2339;
175969
- var g4 = (e6, t3, n3) => {
175967
+ var g4 = 2345;
175968
+ var _3 = 2322;
175969
+ var v3 = 2339;
175970
+ var y3 = (e6, t3, n3) => {
175970
175971
  if (e6.getStart() > t3 || e6.getEnd() < n3)
175971
175972
  return;
175972
175973
  let r3 = e6;
175973
175974
  return e6.forEachChild((e7) => {
175974
- let i3 = g4(e7, t3, n3);
175975
+ let i3 = y3(e7, t3, n3);
175975
175976
  i3 && (r3 = i3);
175976
175977
  }), r3;
175977
175978
  };
175978
- var _3 = (e6, t3, n3) => {
175979
+ var b3 = (e6, t3, n3) => {
175979
175980
  if (e6.start === undefined || e6.length === undefined)
175980
175981
  return false;
175981
- let r3 = g4(t3, e6.start, e6.start + e6.length);
175982
+ let r3 = y3(t3, e6.start, e6.start + e6.length);
175982
175983
  if (!r3)
175983
175984
  return false;
175984
- if (e6.code === m4 && import_typescript2.default.isExpression(r3)) {
175985
+ if ((e6.code === g4 || e6.code === _3) && import_typescript2.default.isExpression(r3)) {
175985
175986
  let e7 = n3.getTypeAtLocation(r3);
175986
175987
  if (!e7.isUnion())
175987
175988
  return false;
175988
175989
  let t4 = n3.getContextualType(r3);
175989
175990
  return t4 ? e7.types.some((e8) => (e8.flags & (import_typescript2.default.TypeFlags.Null | import_typescript2.default.TypeFlags.Undefined)) === 0 && n3.isTypeAssignableTo(e8, t4)) : false;
175990
175991
  }
175991
- if (e6.code === h4 && import_typescript2.default.isPropertyAccessExpression(r3.parent)) {
175992
+ if (e6.code === v3 && import_typescript2.default.isPropertyAccessExpression(r3.parent)) {
175992
175993
  let e7 = n3.getNonNullableType(n3.getTypeAtLocation(r3.parent.expression));
175993
175994
  if (!e7.isUnion())
175994
175995
  return false;
@@ -175997,7 +175998,7 @@ var _3 = (e6, t3, n3) => {
175997
175998
  }
175998
175999
  return false;
175999
176000
  };
176000
- var v3 = (e6, t3, n3) => {
176001
+ var x3 = (e6, t3, n3) => {
176001
176002
  if (!e6?.startingNodeId)
176002
176003
  return {
176003
176004
  isValid: false,
@@ -176022,48 +176023,48 @@ var v3 = (e6, t3, n3) => {
176022
176023
  severity: "error"
176023
176024
  }]
176024
176025
  };
176025
- let r3 = new Set(t3?.map((e7) => e7.identifier)), a3 = (e6.nodes?.nodes ?? []).filter((e7) => e7?.functionDefinition && !r3.has(e7.functionDefinition.identifier)).map((e7) => ({
176026
+ let r3 = new Set(t3?.map((e7) => e7.identifier)), i3 = (e6.nodes?.nodes ?? []).filter((e7) => e7?.functionDefinition && !r3.has(e7.functionDefinition.identifier)).map((e7) => ({
176026
176027
  nodeId: e7.id,
176027
176028
  parameterIndex: null,
176028
176029
  code: 0,
176029
176030
  message: `The function definition "${e7.functionDefinition.identifier}" is not reachable.`,
176030
176031
  severity: "error"
176031
176032
  }));
176032
- if (a3.length > 0)
176033
+ if (i3.length > 0)
176033
176034
  return {
176034
176035
  isValid: false,
176035
176036
  returnType: "void",
176036
- diagnostics: a3
176037
+ diagnostics: i3
176037
176038
  };
176038
- let o3 = xe2(e6, t3, n3, false, false), s3 = "index.ts", l3 = Y2(s3, o3), u5 = l3.getSourceFile(s3), f4 = l3.languageService.getProgram(), p4 = f4.getTypeChecker(), m5 = f4.getSemanticDiagnostics(u5).map((e7) => {
176039
+ let a3 = we2(e6, t3, n3, false, false), s3 = "index.ts", c3 = be2(s3, a3), l3 = c3.getSourceFile(s3), d4 = c3.languageService.getProgram(), f5 = d4.getTypeChecker(), m4 = d4.getSemanticDiagnostics(l3).map((e7) => {
176039
176040
  let t4 = import_typescript2.flattenDiagnosticMessageText(e7.messageText, `
176040
176041
  `), n4, r4 = null;
176041
176042
  if (e7.start !== undefined) {
176042
- let t5 = u5.getFullText(), i4 = Math.max(0, e7.start - 300), a4 = Math.min(t5.length, e7.start), o4 = t5.substring(i4, a4), s4 = /\/\* @pos ([^ ]+) (\d+|null) \*\//g, c3, l4 = null, d5 = -1;
176043
- for (;(c3 = s4.exec(o4)) !== null; ) {
176044
- let t6 = i4 + c3.index + c3[0].length;
176045
- t6 <= e7.start && t6 > d5 && (d5 = t6, l4 = c3);
176043
+ let t5 = l3.getFullText(), i5 = Math.max(0, e7.start - 300), a4 = Math.min(t5.length, e7.start), o3 = t5.substring(i5, a4), s4 = /\/\* @pos ([^ ]+) (\d+|null) \*\//g, c4, u4 = null, d5 = -1;
176044
+ for (;(c4 = s4.exec(o3)) !== null; ) {
176045
+ let t6 = i5 + c4.index + c4[0].length;
176046
+ t6 <= e7.start && t6 > d5 && (d5 = t6, u4 = c4);
176046
176047
  }
176047
- l4 && (n4 = l4[1] === "null" ? null : l4[1], r4 = parseInt(l4[2], 10));
176048
+ u4 && (n4 = u4[1] === "null" ? null : u4[1], r4 = parseInt(u4[2], 10));
176048
176049
  }
176049
- let i3 = _3(e7, u5, p4) ? "warning" : "error";
176050
+ let i4 = b3(e7, l3, f5) ? "warning" : "error";
176050
176051
  return {
176051
176052
  message: t4,
176052
176053
  code: e7.code,
176053
- severity: i3,
176054
+ severity: i4,
176054
176055
  nodeId: n4,
176055
176056
  parameterIndex: typeof r4 == "number" && Number.isSafeInteger(r4) ? r4 : null
176056
176057
  };
176057
176058
  }).filter((e7) => e7 !== null);
176058
176059
  return {
176059
- isValid: !m5.some((e7) => e7?.severity === "error"),
176060
+ isValid: !m4.some((e7) => e7?.severity === "error"),
176060
176061
  returnType: "void",
176061
- diagnostics: m5
176062
+ diagnostics: m4
176062
176063
  };
176063
176064
  };
176064
176065
 
176065
176066
  // ../entrypoint/single-validation.ts
176066
176067
  var data = await readSingleValidation(console);
176067
176068
  var validationInput = mapToFlowValidation(data);
176068
- var result = v3(validationInput.flow, validationInput.functions, validationInput.dataTypes);
176069
+ var result = x3(validationInput.flow, validationInput.functions, validationInput.dataTypes);
176069
176070
  console.info(JSON.stringify(result));
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Triangulum
4
- VERSION = '0.33.0'
4
+ VERSION = '0.34.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: triangulum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.34.0
5
5
  platform: x86_64-linux-gnu
6
6
  authors:
7
7
  - Niklas van Schrick