triangulum 0.31.1 → 0.32.0
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 +4 -4
- data/lib/triangulum/js/flow-schema-extraction.js +108 -108
- data/lib/triangulum/js/single-validation.js +12 -12
- data/lib/triangulum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49459871c41a6742781b5579d3546e2b66bb6269b70afdeabb9e3f4d62fb9a45
|
|
4
|
+
data.tar.gz: 632a338d2f8c50ee9f63a3e6df56db3b764d9dcc44fbc86e1a59aa5055084f1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d82aa20b9d830ce212a3e80a23c070dbc984681875414c67e188ce72a9c9ac52706c12c9f910868c9c3916a8efee2b2b77af90b7fa4d040dced7031cdf868c87
|
|
7
|
+
data.tar.gz: f17ec358f8c27be766a0c9cddbcc65deaa6986fbbf00cc5166be855989391b52259e084caa5a8ae88a069b3ca8ca5e77370d0b5b8d22394387e7cedb153fc3fb
|
|
@@ -169653,13 +169653,13 @@ var require_tslib = __commonJS((exports, module) => {
|
|
|
169653
169653
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
169654
169654
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
169655
169655
|
};
|
|
169656
|
-
__awaiter = function(thisArg, _arguments,
|
|
169656
|
+
__awaiter = function(thisArg, _arguments, P3, generator) {
|
|
169657
169657
|
function adopt(value) {
|
|
169658
|
-
return value instanceof
|
|
169658
|
+
return value instanceof P3 ? value : new P3(function(resolve) {
|
|
169659
169659
|
resolve(value);
|
|
169660
169660
|
});
|
|
169661
169661
|
}
|
|
169662
|
-
return new (
|
|
169662
|
+
return new (P3 || (P3 = Promise))(function(resolve, reject) {
|
|
169663
169663
|
function fulfilled(value) {
|
|
169664
169664
|
try {
|
|
169665
169665
|
step(generator.next(value));
|
|
@@ -175364,7 +175364,7 @@ ${lanes.join(`
|
|
|
175364
175364
|
}
|
|
175365
175365
|
}
|
|
175366
175366
|
function dumpTypes(types) {
|
|
175367
|
-
var _a, _b, _c, _d,
|
|
175367
|
+
var _a, _b, _c, _d, _e3, _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: (
|
|
175399
|
+
typeArguments: (_e3 = referenceType.resolvedTypeArguments) == null ? undefined : _e3.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,
|
|
211870
|
+
var _a, _b, _c, _d, _e3;
|
|
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, (
|
|
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);
|
|
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,
|
|
212297
|
+
var _a, _b, _c, _d, _e3, _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
|
-
(
|
|
212327
|
+
(_e3 = state.affectingLocations) == null || _e3.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,
|
|
219311
|
+
var _a, _b, _c, _d, _e3, _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) || ((
|
|
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);
|
|
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,
|
|
222828
|
+
var _a2, _b, _c, _d, _e3, _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 = (
|
|
222875
|
+
const propertyAccessRequire = (_e3 = symbol.declarations) == null ? undefined : _e3.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,
|
|
223287
|
+
var _a2, _b, _c, _d, _e3;
|
|
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 (((
|
|
223314
|
+
if (((_e3 = (_d = node.parent) == null ? undefined : _d.parent) == null ? undefined : _e3.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,
|
|
223478
|
+
var _a2, _b, _c, _d, _e3, _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), ((
|
|
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);
|
|
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,
|
|
249665
|
+
var _a, _b, _c, _d, _e3;
|
|
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) && !((
|
|
249718
|
+
if (uninitialized && !(derived.flags & 33554432) && !(baseDeclarationFlags & 64) && !(derivedDeclarationFlags & 64) && !((_e3 = derived.declarations) == null ? undefined : _e3.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,
|
|
250305
|
+
var _a, _b, _c, _d, _e3;
|
|
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 = (
|
|
250378
|
+
const redirect = (_e3 = host.getRedirectFromOutput(getSourceFileOfNode(constEnumDeclaration).resolvedPath)) == null ? undefined : _e3.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,
|
|
272250
|
+
var _a, _b, _c, _d, _e3, _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
|
-
(
|
|
272257
|
+
(_e3 = tracing) == null || _e3.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,
|
|
277651
|
+
var _a, _b, _c, _d, _e3, _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
|
-
(
|
|
277754
|
+
(_e3 = tracing) == null || _e3.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,
|
|
285040
|
+
var _a, _b, _c, _d, _e3;
|
|
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) || ((
|
|
285113
|
+
if (!project.options.noEmit && (((_d = incrementalBuildInfo.changeFileSet) == null ? undefined : _d.length) || ((_e3 = incrementalBuildInfo.affectedFilesPendingEmit) == null ? undefined : _e3.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,
|
|
290980
|
+
var _a, _b, _c, _d, _e3;
|
|
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
|
-
(
|
|
291020
|
+
(_e3 = host.log) == null || _e3.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,
|
|
291625
|
+
var _a, _b, _c, _d, _e3, _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) || ((
|
|
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;
|
|
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,
|
|
295572
|
+
var _a, _b, _c, _d, _e3;
|
|
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 (((
|
|
295580
|
+
if (((_e3 = (_d = importOrRequire.importClause) == null ? undefined : _d.namedBindings) == null ? undefined : _e3.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,
|
|
300016
|
+
var _a, _b, _c, _d, _e3, _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 = (
|
|
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()),
|
|
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,
|
|
319953
|
+
var _a, _b, _c, _d, _e3, _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()) && ((
|
|
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());
|
|
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,
|
|
335051
|
+
var _a, _b, _c, _d, _e3, _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
|
-
(
|
|
335066
|
+
(_e3 = tracing) == null || _e3.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,
|
|
337692
|
+
var _a, _b, _c, _d, _e3, _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
|
-
(
|
|
337726
|
+
(_e3 = tracing) == null || _e3.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);
|
|
@@ -346759,10 +346759,10 @@ var require_index_min = __commonJS((exports) => {
|
|
|
346759
346759
|
var ui = (n3, { windowsPathsNoEscape: t3 = false, magicalBraces: e6 = true } = {}) => e6 ? t3 ? n3.replace(/\[([^\/\\])\]/g, "$1") : n3.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1") : t3 ? n3.replace(/\[([^\/\\{}])\]/g, "$1") : n3.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
|
|
346760
346760
|
At.unescape = ui;
|
|
346761
346761
|
});
|
|
346762
|
-
var
|
|
346762
|
+
var pe2 = R2((Dt) => {
|
|
346763
346763
|
Object.defineProperty(Dt, "__esModule", { value: true });
|
|
346764
346764
|
Dt.AST = undefined;
|
|
346765
|
-
var fi = Je(), Mt = kt(), di = new Set(["!", "?", "+", "*", "@"]), Ze = (n3) => di.has(n3), pi = "(?!(?:^|/)\\.\\.?(?:$|/))", Pt = "(?!\\.)", mi = new Set(["[", "."]), gi = new Set(["..", "."]), wi = new Set("().*{}+?[]^$\\!"), bi = (n3) => n3.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), de = "[^/]", Qe = de + "*?", ts = de + "+?",
|
|
346765
|
+
var fi = Je(), Mt = kt(), di = new Set(["!", "?", "+", "*", "@"]), Ze = (n3) => di.has(n3), pi = "(?!(?:^|/)\\.\\.?(?:$|/))", Pt = "(?!\\.)", mi = new Set(["[", "."]), gi = new Set(["..", "."]), wi = new Set("().*{}+?[]^$\\!"), bi = (n3) => n3.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), de = "[^/]", Qe = de + "*?", ts = de + "+?", fe2 = class n3 {
|
|
346766
346766
|
type;
|
|
346767
346767
|
#t;
|
|
346768
346768
|
#s;
|
|
@@ -347004,9 +347004,9 @@ var require_index_min = __commonJS((exports) => {
|
|
|
347004
347004
|
return [r3, (0, Mt.unescape)(t3), !!e6, h4];
|
|
347005
347005
|
}
|
|
347006
347006
|
};
|
|
347007
|
-
Dt.AST =
|
|
347007
|
+
Dt.AST = fe2;
|
|
347008
347008
|
});
|
|
347009
|
-
var
|
|
347009
|
+
var me2 = R2((Ft) => {
|
|
347010
347010
|
Object.defineProperty(Ft, "__esModule", { value: true });
|
|
347011
347011
|
Ft.escape = undefined;
|
|
347012
347012
|
var yi = (n3, { windowsPathsNoEscape: t3 = false, magicalBraces: e6 = false } = {}) => e6 ? t3 ? n3.replace(/[?*()[\]{}]/g, "[$&]") : n3.replace(/[?*()[\]\\{}]/g, "\\$&") : t3 ? n3.replace(/[?*()[\]]/g, "[$&]") : n3.replace(/[?*()[\]\\]/g, "\\$&");
|
|
@@ -347015,7 +347015,7 @@ var require_index_min = __commonJS((exports) => {
|
|
|
347015
347015
|
var H2 = R2((g4) => {
|
|
347016
347016
|
Object.defineProperty(g4, "__esModule", { value: true });
|
|
347017
347017
|
g4.unescape = g4.escape = g4.AST = g4.Minimatch = g4.match = g4.makeRe = g4.braceExpand = g4.defaults = g4.filter = g4.GLOBSTAR = g4.sep = g4.minimatch = undefined;
|
|
347018
|
-
var Si = Ke(), jt = Xe(), is =
|
|
347018
|
+
var Si = Ke(), jt = Xe(), is = pe2(), vi = me2(), Ei = kt(), _i = (n3, t3, e6 = {}) => ((0, jt.assertValidPattern)(t3), !e6.nocomment && t3.charAt(0) === "#" ? false : new J2(t3, e6).match(n3));
|
|
347019
347019
|
g4.minimatch = _i;
|
|
347020
347020
|
var Oi = /^\*+([^+@!?\*\[\(]*)$/, xi = (n3) => (t3) => !t3.startsWith(".") && t3.endsWith(n3), Ti = (n3) => (t3) => t3.endsWith(n3), Ci = (n3) => (n3 = n3.toLowerCase(), (t3) => !t3.startsWith(".") && t3.toLowerCase().endsWith(n3)), Ri = (n3) => (n3 = n3.toLowerCase(), (t3) => t3.toLowerCase().endsWith(n3)), Ai = /^\*+\.\*+$/, ki = (n3) => !n3.startsWith(".") && n3.includes("."), Mi = (n3) => n3 !== "." && n3 !== ".." && n3.includes("."), Pi = /^\.\*+$/, Di = (n3) => n3 !== "." && n3 !== ".." && n3.startsWith("."), Fi = /^\*+$/, ji = (n3) => n3.length !== 0 && !n3.startsWith("."), Ni = (n3) => n3.length !== 0 && n3 !== "." && n3 !== "..", Li = /^\?+([^+@!?\*\[\(]*)?$/, Wi = ([n3, t3 = ""]) => {
|
|
347021
347021
|
let e6 = rs([n3]);
|
|
@@ -347043,25 +347043,25 @@ var require_index_min = __commonJS((exports) => {
|
|
|
347043
347043
|
var zi = "[^/]", Ui = zi + "*?", $i = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?", qi = "(?:(?!(?:\\/|^)\\.).)*?", Hi = (n3, t3 = {}) => (e6) => (0, g4.minimatch)(e6, n3, t3);
|
|
347044
347044
|
g4.filter = Hi;
|
|
347045
347045
|
g4.minimatch.filter = g4.filter;
|
|
347046
|
-
var
|
|
347046
|
+
var F2 = (n3, t3 = {}) => Object.assign({}, n3, t3), Vi = (n3) => {
|
|
347047
347047
|
if (!n3 || typeof n3 != "object" || !Object.keys(n3).length)
|
|
347048
347048
|
return g4.minimatch;
|
|
347049
347049
|
let t3 = g4.minimatch;
|
|
347050
|
-
return Object.assign((s3, i3, r3 = {}) => t3(s3, i3,
|
|
347050
|
+
return Object.assign((s3, i3, r3 = {}) => t3(s3, i3, F2(n3, r3)), { Minimatch: class extends t3.Minimatch {
|
|
347051
347051
|
constructor(i3, r3 = {}) {
|
|
347052
|
-
super(i3,
|
|
347052
|
+
super(i3, F2(n3, r3));
|
|
347053
347053
|
}
|
|
347054
347054
|
static defaults(i3) {
|
|
347055
|
-
return t3.defaults(
|
|
347055
|
+
return t3.defaults(F2(n3, i3)).Minimatch;
|
|
347056
347056
|
}
|
|
347057
347057
|
}, AST: class extends t3.AST {
|
|
347058
347058
|
constructor(i3, r3, h4 = {}) {
|
|
347059
|
-
super(i3, r3,
|
|
347059
|
+
super(i3, r3, F2(n3, h4));
|
|
347060
347060
|
}
|
|
347061
347061
|
static fromGlob(i3, r3 = {}) {
|
|
347062
|
-
return t3.AST.fromGlob(i3,
|
|
347062
|
+
return t3.AST.fromGlob(i3, F2(n3, r3));
|
|
347063
347063
|
}
|
|
347064
|
-
}, unescape: (s3, i3 = {}) => t3.unescape(s3,
|
|
347064
|
+
}, unescape: (s3, i3 = {}) => t3.unescape(s3, F2(n3, i3)), escape: (s3, i3 = {}) => t3.escape(s3, F2(n3, i3)), filter: (s3, i3 = {}) => t3.filter(s3, F2(n3, i3)), defaults: (s3) => t3.defaults(F2(n3, s3)), makeRe: (s3, i3 = {}) => t3.makeRe(s3, F2(n3, i3)), braceExpand: (s3, i3 = {}) => t3.braceExpand(s3, F2(n3, i3)), match: (s3, i3, r3 = {}) => t3.match(s3, i3, F2(n3, r3)), sep: t3.sep, GLOBSTAR: g4.GLOBSTAR });
|
|
347065
347065
|
};
|
|
347066
347066
|
g4.defaults = Vi;
|
|
347067
347067
|
g4.minimatch.defaults = g4.defaults;
|
|
@@ -347395,11 +347395,11 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
347395
347395
|
}
|
|
347396
347396
|
};
|
|
347397
347397
|
g4.Minimatch = J2;
|
|
347398
|
-
var Zi =
|
|
347398
|
+
var Zi = pe2();
|
|
347399
347399
|
Object.defineProperty(g4, "AST", { enumerable: true, get: function() {
|
|
347400
347400
|
return Zi.AST;
|
|
347401
347401
|
} });
|
|
347402
|
-
var Qi =
|
|
347402
|
+
var Qi = me2();
|
|
347403
347403
|
Object.defineProperty(g4, "escape", { enumerable: true, get: function() {
|
|
347404
347404
|
return Qi.escape;
|
|
347405
347405
|
} });
|
|
@@ -347415,8 +347415,8 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
347415
347415
|
var fs = R2((Wt) => {
|
|
347416
347416
|
Object.defineProperty(Wt, "__esModule", { value: true });
|
|
347417
347417
|
Wt.LRUCache = undefined;
|
|
347418
|
-
var er = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, as = new Set,
|
|
347419
|
-
typeof
|
|
347418
|
+
var er = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, as = new Set, ge3 = typeof process == "object" && process ? process : {}, ls = (n3, t3, e6, s3) => {
|
|
347419
|
+
typeof ge3.emitWarning == "function" ? ge3.emitWarning(n3, t3, e6, s3) : console.error(`[${e6}] ${t3}: ${n3}`);
|
|
347420
347420
|
}, Lt = globalThis.AbortController, os = globalThis.AbortSignal;
|
|
347421
347421
|
if (typeof Lt > "u") {
|
|
347422
347422
|
os = class {
|
|
@@ -347441,7 +347441,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
347441
347441
|
}
|
|
347442
347442
|
}
|
|
347443
347443
|
};
|
|
347444
|
-
let n3 =
|
|
347444
|
+
let n3 = ge3.env?.LRU_CACHE_IGNORE_AC_WARNING !== "1", t3 = () => {
|
|
347445
347445
|
n3 && (n3 = false, ls("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.", "NO_ABORT_CONTROLLER", "ENOTSUP", t3));
|
|
347446
347446
|
};
|
|
347447
347447
|
}
|
|
@@ -348013,19 +348013,19 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348013
348013
|
};
|
|
348014
348014
|
Wt.LRUCache = rr;
|
|
348015
348015
|
});
|
|
348016
|
-
var Oe2 = R2((
|
|
348017
|
-
var nr =
|
|
348016
|
+
var Oe2 = R2((P3) => {
|
|
348017
|
+
var nr = P3 && P3.__importDefault || function(n3) {
|
|
348018
348018
|
return n3 && n3.__esModule ? n3 : { default: n3 };
|
|
348019
348019
|
};
|
|
348020
|
-
Object.defineProperty(
|
|
348021
|
-
|
|
348022
|
-
var ds = typeof process == "object" && process ? process : { stdout: null, stderr: null },
|
|
348023
|
-
|
|
348024
|
-
var ar = (n3) => !!n3 && typeof n3 == "object" && n3 instanceof
|
|
348025
|
-
|
|
348026
|
-
var lr = (n3) => !!n3 && typeof n3 == "object" && n3 instanceof
|
|
348027
|
-
|
|
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"), we2 = Symbol("bufferPush"), zt = Symbol("bufferShift"), k3 = Symbol("objectMode"), O3 = Symbol("destroyed"), be2 = Symbol("error"), ye2 = Symbol("emitData"), gs = Symbol("emitEnd"), Se2 = Symbol("emitEnd2"),
|
|
348020
|
+
Object.defineProperty(P3, "__esModule", { value: true });
|
|
348021
|
+
P3.Minipass = P3.isWritable = P3.isReadable = P3.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, P3.isReadable)(n3) || (0, P3.isWritable)(n3));
|
|
348023
|
+
P3.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;
|
|
348025
|
+
P3.isReadable = ar;
|
|
348026
|
+
var lr = (n3) => !!n3 && typeof n3 == "object" && n3 instanceof _e3.EventEmitter && typeof n3.write == "function" && typeof n3.end == "function";
|
|
348027
|
+
P3.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"), M2 = Symbol("pipes"), C3 = Symbol("bufferLength"), we2 = Symbol("bufferPush"), zt = Symbol("bufferShift"), k3 = Symbol("objectMode"), O3 = Symbol("destroyed"), be2 = Symbol("error"), ye2 = 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 {
|
|
348029
348029
|
src;
|
|
348030
348030
|
dest;
|
|
348031
348031
|
opts;
|
|
@@ -348047,14 +348047,14 @@ 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
|
|
348050
|
+
}, pr = (n3) => !!n3.objectMode, mr = (n3) => !n3.objectMode && !!n3.encoding && n3.encoding !== "buffer", qt = class extends _e3.EventEmitter {
|
|
348051
348051
|
[x3] = false;
|
|
348052
348052
|
[ct] = false;
|
|
348053
348053
|
[M2] = [];
|
|
348054
348054
|
[T3] = [];
|
|
348055
348055
|
[k3];
|
|
348056
348056
|
[L2];
|
|
348057
|
-
[
|
|
348057
|
+
[I2];
|
|
348058
348058
|
[rt];
|
|
348059
348059
|
[$3] = false;
|
|
348060
348060
|
[K2] = false;
|
|
@@ -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[
|
|
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[
|
|
348078
|
+
s3 && (this[ut] = s3, s3.aborted ? this[ve3]() : s3.addEventListener("abort", () => this[ve3]()));
|
|
348079
348079
|
}
|
|
348080
348080
|
get bufferLength() {
|
|
348081
348081
|
return this[C3];
|
|
@@ -348096,12 +348096,12 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348096
348096
|
throw new Error("objectMode must be set at instantiation time");
|
|
348097
348097
|
}
|
|
348098
348098
|
get async() {
|
|
348099
|
-
return this[
|
|
348099
|
+
return this[I2];
|
|
348100
348100
|
}
|
|
348101
348101
|
set async(t3) {
|
|
348102
|
-
this[
|
|
348102
|
+
this[I2] = this[I2] || !!t3;
|
|
348103
348103
|
}
|
|
348104
|
-
[
|
|
348104
|
+
[ve3]() {
|
|
348105
348105
|
this[Ut] = true, this.emit("abort", this[ut]?.reason), this.destroy(this[ut]?.reason);
|
|
348106
348106
|
}
|
|
348107
348107
|
get aborted() {
|
|
@@ -348116,7 +348116,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348116
348116
|
if (this[O3])
|
|
348117
348117
|
return this.emit("error", Object.assign(new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), true;
|
|
348118
348118
|
typeof e6 == "function" && (s3 = e6, e6 = "utf8"), e6 || (e6 = "utf8");
|
|
348119
|
-
let i3 = this[
|
|
348119
|
+
let i3 = this[I2] ? ft : cr;
|
|
348120
348120
|
if (!this[k3] && !Buffer.isBuffer(t3)) {
|
|
348121
348121
|
if (dr(t3))
|
|
348122
348122
|
t3 = Buffer.from(t3.buffer, t3.byteOffset, t3.byteLength);
|
|
@@ -348186,7 +348186,7 @@ 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[M2].push(e6.proxyErrors ? new Ee2(this, t3, e6) : new $t(this, t3, e6)), this[
|
|
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
348192
|
let e6 = this[M2].find((s3) => s3.dest === t3);
|
|
@@ -348205,7 +348205,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348205
348205
|
super.emit(t3), this.removeAllListeners(t3);
|
|
348206
348206
|
else if (t3 === "error" && this[lt]) {
|
|
348207
348207
|
let i3 = e6;
|
|
348208
|
-
this[
|
|
348208
|
+
this[I2] ? ft(() => i3.call(this, this[lt])) : i3.call(this, this[lt]);
|
|
348209
348209
|
}
|
|
348210
348210
|
return s3;
|
|
348211
348211
|
}
|
|
@@ -348231,7 +348231,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348231
348231
|
if (t3 !== "error" && t3 !== "close" && t3 !== O3 && this[O3])
|
|
348232
348232
|
return false;
|
|
348233
348233
|
if (t3 === "data")
|
|
348234
|
-
return !this[k3] && !s3 ? false : this[
|
|
348234
|
+
return !this[k3] && !s3 ? false : this[I2] ? (ft(() => this[ye2](s3)), true) : this[ye2](s3);
|
|
348235
348235
|
if (t3 === "end")
|
|
348236
348236
|
return this[gs]();
|
|
348237
348237
|
if (t3 === "close") {
|
|
@@ -348260,7 +348260,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348260
348260
|
return this[q2](), e6;
|
|
348261
348261
|
}
|
|
348262
348262
|
[gs]() {
|
|
348263
|
-
return this[K2] ? false : (this[K2] = true, this.readable = false, this[
|
|
348263
|
+
return this[K2] ? false : (this[K2] = true, this.readable = false, this[I2] ? (ft(() => this[Se2]()), true) : this[Se2]());
|
|
348264
348264
|
}
|
|
348265
348265
|
[Se2]() {
|
|
348266
348266
|
if (this[rt]) {
|
|
@@ -348340,10 +348340,10 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348340
348340
|
return typeof e6.close == "function" && !this[It] && e6.close(), t3 ? this.emit("error", t3) : this.emit(O3), this;
|
|
348341
348341
|
}
|
|
348342
348342
|
static get isStream() {
|
|
348343
|
-
return
|
|
348343
|
+
return P3.isStream;
|
|
348344
348344
|
}
|
|
348345
348345
|
};
|
|
348346
|
-
|
|
348346
|
+
P3.Minipass = qt;
|
|
348347
348347
|
});
|
|
348348
348348
|
var Ms = R2((_3) => {
|
|
348349
348349
|
var gr = _3 && _3.__createBinding || (Object.create ? function(n3, t3, e6, s3) {
|
|
@@ -348369,7 +348369,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348369
348369
|
};
|
|
348370
348370
|
Object.defineProperty(_3, "__esModule", { value: true });
|
|
348371
348371
|
_3.PathScurry = _3.Path = _3.PathScurryDarwin = _3.PathScurryPosix = _3.PathScurryWin32 = _3.PathScurryBase = _3.PathPosix = _3.PathWin32 = _3.PathBase = _3.ChildrenCache = _3.ResolveCache = undefined;
|
|
348372
|
-
var Qt = fs(), Yt = __require("path"), yr = __require("url"), pt = __require("fs"), Sr = br(__require("fs")), vr = pt.realpathSync.native, Ht = __require("fs/promises"), bs = Oe2(), mt = { lstatSync: pt.lstatSync, readdir: pt.readdir, readdirSync: pt.readdirSync, readlinkSync: pt.readlinkSync, realpathSync: vr, promises: { lstat: Ht.lstat, readdir: Ht.readdir, readlink: Ht.readlink, realpath: Ht.realpath } }, _s = (n3) => !n3 || n3 === mt || n3 === Sr ? mt : { ...mt, ...n3, promises: { ...mt.promises, ...n3.promises || {} } }, Os = /^\\\\\?\\([a-z]:)\\?$/i, Er = (n3) => n3.replace(/\//g, "\\").replace(Os, "$1\\"), _r = /[\\\/]/,
|
|
348372
|
+
var Qt = fs(), Yt = __require("path"), yr = __require("url"), pt = __require("fs"), Sr = br(__require("fs")), vr = pt.realpathSync.native, Ht = __require("fs/promises"), bs = Oe2(), mt = { lstatSync: pt.lstatSync, readdir: pt.readdir, readdirSync: pt.readdirSync, readlinkSync: pt.readlinkSync, realpathSync: vr, promises: { lstat: Ht.lstat, readdir: Ht.readdir, readlink: Ht.readlink, realpath: Ht.realpath } }, _s = (n3) => !n3 || n3 === mt || n3 === Sr ? mt : { ...mt, ...n3, promises: { ...mt.promises, ...n3.promises || {} } }, Os = /^\\\\\?\\([a-z]:)\\?$/i, Er = (n3) => n3.replace(/\//g, "\\").replace(Os, "$1\\"), _r = /[\\\/]/, N3 = 0, xs = 1, Ts = 2, G2 = 4, Cs = 6, Rs = 8, Q3 = 10, As = 12, j3 = 15, dt = ~j3, xe2 = 16, ys = 32, gt = 64, W2 = 128, Vt = 256, Xt = 512, Ss = gt | W2 | Xt, Or = 1023, Te2 = (n3) => n3.isFile() ? Rs : n3.isDirectory() ? G2 : n3.isSymbolicLink() ? Q3 : n3.isCharacterDevice() ? Ts : n3.isBlockDevice() ? Cs : n3.isSocket() ? As : n3.isFIFO() ? xs : N3, vs = new Qt.LRUCache({ max: 2 ** 12 }), wt = (n3) => {
|
|
348373
348373
|
let t3 = vs.get(n3);
|
|
348374
348374
|
if (t3)
|
|
348375
348375
|
return t3;
|
|
@@ -348489,7 +348489,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348489
348489
|
get path() {
|
|
348490
348490
|
return this.parentPath;
|
|
348491
348491
|
}
|
|
348492
|
-
constructor(t3, e6 =
|
|
348492
|
+
constructor(t3, e6 = N3, s3, i3, r3, h4, o3) {
|
|
348493
348493
|
this.name = t3, this.#O = r3 ? Kt(t3) : wt(t3), this.#e = e6 & Or, this.nocase = r3, this.roots = i3, this.root = s3 || this, this.#F = h4, this.#g = o3.fullpath, this.#E = o3.relative, this.#T = o3.relativePosix, this.parent = o3.parent, this.parent ? this.#t = this.parent.#t : this.#t = _s(o3.fs);
|
|
348494
348494
|
}
|
|
348495
348495
|
depth() {
|
|
@@ -348526,7 +348526,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348526
348526
|
for (let a3 of s3)
|
|
348527
348527
|
if (a3.#O === i3)
|
|
348528
348528
|
return a3;
|
|
348529
|
-
let r3 = this.parent ? this.sep : "", h4 = this.#g ? this.#g + r3 + t3 : undefined, o3 = this.newChild(t3,
|
|
348529
|
+
let r3 = this.parent ? this.sep : "", h4 = this.#g ? this.#g + r3 + t3 : undefined, o3 = this.newChild(t3, N3, { ...e6, parent: this, fullpath: h4 });
|
|
348530
348530
|
return this.canReaddir() || (o3.#e |= W2), s3.push(o3), o3;
|
|
348531
348531
|
}
|
|
348532
348532
|
relative() {
|
|
@@ -348575,7 +348575,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348575
348575
|
return this.#b = s3;
|
|
348576
348576
|
}
|
|
348577
348577
|
isUnknown() {
|
|
348578
|
-
return (this.#e & j3) ===
|
|
348578
|
+
return (this.#e & j3) === N3;
|
|
348579
348579
|
}
|
|
348580
348580
|
isType(t3) {
|
|
348581
348581
|
return this[`is${t3}`]();
|
|
@@ -348623,7 +348623,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348623
348623
|
if (!this.parent)
|
|
348624
348624
|
return false;
|
|
348625
348625
|
let t3 = this.#e & j3;
|
|
348626
|
-
return !(t3 !==
|
|
348626
|
+
return !(t3 !== N3 && t3 !== Q3 || this.#e & Vt || this.#e & W2);
|
|
348627
348627
|
}
|
|
348628
348628
|
calledReaddir() {
|
|
348629
348629
|
return !!(this.#e & xe2);
|
|
@@ -348702,7 +348702,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348702
348702
|
}
|
|
348703
348703
|
#G(t3, e6) {
|
|
348704
348704
|
let s3 = Te2(t3), i3 = this.newChild(t3.name, s3, { parent: this }), r3 = i3.#e & j3;
|
|
348705
|
-
return r3 !== G2 && r3 !== Q3 && r3 !==
|
|
348705
|
+
return r3 !== G2 && r3 !== Q3 && r3 !== N3 && (i3.#e |= gt), e6.unshift(i3), e6.provisional++, i3;
|
|
348706
348706
|
}
|
|
348707
348707
|
#z(t3, e6) {
|
|
348708
348708
|
for (let s3 = e6.provisional;s3 < e6.length; s3++) {
|
|
@@ -348735,7 +348735,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348735
348735
|
let { atime: e6, atimeMs: s3, birthtime: i3, birthtimeMs: r3, blksize: h4, blocks: o3, ctime: a3, ctimeMs: l3, dev: f4, gid: c3, ino: d4, mode: u4, mtime: m4, mtimeMs: p4, nlink: b3, rdev: w3, size: v3, uid: E3 } = t3;
|
|
348736
348736
|
this.#y = e6, this.#a = s3, this.#m = i3, this.#v = r3, this.#c = h4, this.#u = o3, this.#R = a3, this.#d = l3, this.#s = f4, this.#S = c3, this.#o = d4, this.#n = u4, this.#p = m4, this.#i = p4, this.#r = b3, this.#w = w3, this.#f = v3, this.#h = E3;
|
|
348737
348737
|
let y3 = Te2(t3);
|
|
348738
|
-
this.#e = this.#e & dt | y3 | ys, y3 !==
|
|
348738
|
+
this.#e = this.#e & dt | y3 | ys, y3 !== N3 && y3 !== G2 && y3 !== Q3 && (this.#e |= gt);
|
|
348739
348739
|
}
|
|
348740
348740
|
#N = [];
|
|
348741
348741
|
#A = false;
|
|
@@ -348814,7 +348814,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348814
348814
|
if (this.#e & Ss)
|
|
348815
348815
|
return false;
|
|
348816
348816
|
let t3 = j3 & this.#e;
|
|
348817
|
-
return t3 ===
|
|
348817
|
+
return t3 === N3 || t3 === G2 || t3 === Q3;
|
|
348818
348818
|
}
|
|
348819
348819
|
shouldWalk(t3, e6) {
|
|
348820
348820
|
return (this.#e & G2) === G2 && !(this.#e & Ss) && !t3.has(this) && (!e6 || e6(this));
|
|
@@ -348856,10 +348856,10 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348856
348856
|
var yt = class n3 extends A3 {
|
|
348857
348857
|
sep = "\\";
|
|
348858
348858
|
splitSep = _r;
|
|
348859
|
-
constructor(t3, e6 =
|
|
348859
|
+
constructor(t3, e6 = N3, s3, i3, r3, h4, o3) {
|
|
348860
348860
|
super(t3, e6, s3, i3, r3, h4, o3);
|
|
348861
348861
|
}
|
|
348862
|
-
newChild(t3, e6 =
|
|
348862
|
+
newChild(t3, e6 = N3, s3 = {}) {
|
|
348863
348863
|
return new n3(t3, e6, this.root, this.roots, this.nocase, this.childrenCache(), s3);
|
|
348864
348864
|
}
|
|
348865
348865
|
getRootString(t3) {
|
|
@@ -348881,7 +348881,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348881
348881
|
var St = class n3 extends A3 {
|
|
348882
348882
|
splitSep = "/";
|
|
348883
348883
|
sep = "/";
|
|
348884
|
-
constructor(t3, e6 =
|
|
348884
|
+
constructor(t3, e6 = N3, s3, i3, r3, h4, o3) {
|
|
348885
348885
|
super(t3, e6, s3, i3, r3, h4, o3);
|
|
348886
348886
|
}
|
|
348887
348887
|
getRootString(t3) {
|
|
@@ -348890,7 +348890,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
|
|
|
348890
348890
|
getRoot(t3) {
|
|
348891
348891
|
return this.root;
|
|
348892
348892
|
}
|
|
348893
|
-
newChild(t3, e6 =
|
|
348893
|
+
newChild(t3, e6 = N3, s3 = {}) {
|
|
348894
348894
|
return new n3(t3, e6, this.root, this.roots, this.nocase, this.childrenCache(), s3);
|
|
348895
348895
|
}
|
|
348896
348896
|
};
|
|
@@ -356116,7 +356116,7 @@ function mapDataType(dataType) {
|
|
|
356116
356116
|
};
|
|
356117
356117
|
}
|
|
356118
356118
|
|
|
356119
|
-
// ../dist/utils-
|
|
356119
|
+
// ../dist/utils-Cn-uViWS.js
|
|
356120
356120
|
var import_typescript = __toESM(require_typescript(), 1);
|
|
356121
356121
|
function t2() {
|
|
356122
356122
|
return t2 = Object.assign ? Object.assign.bind() : function(e6) {
|
|
@@ -356378,9 +356378,9 @@ function g3(e6) {
|
|
|
356378
356378
|
if (typeof e6 == "string" && e6 !== "")
|
|
356379
356379
|
return e6;
|
|
356380
356380
|
}
|
|
356381
|
-
var
|
|
356382
|
-
var
|
|
356383
|
-
var
|
|
356381
|
+
var N2 = { DATE: "date" };
|
|
356382
|
+
var P2 = (e6) => e6 != null && (e6 in N2);
|
|
356383
|
+
var he2 = `
|
|
356384
356384
|
interface Array<T> {
|
|
356385
356385
|
[n: number]: T;
|
|
356386
356386
|
length: number;
|
|
@@ -356401,17 +356401,17 @@ var Z2 = `
|
|
|
356401
356401
|
|
|
356402
356402
|
import ReturnType = Utils.ReturnType;
|
|
356403
356403
|
`;
|
|
356404
|
-
function
|
|
356404
|
+
function Z2(t3, n3) {
|
|
356405
356405
|
let r3 = /* @__PURE__ */ new Map;
|
|
356406
|
-
return r3.set(t3, n3), r3.set("lib.codezero.d.ts",
|
|
356406
|
+
return r3.set(t3, n3), r3.set("lib.codezero.d.ts", he2), a2(u3(r3), [t3, "lib.codezero.d.ts"], import_typescript.default, ge2);
|
|
356407
356407
|
}
|
|
356408
|
-
var
|
|
356408
|
+
var ge2 = {
|
|
356409
356409
|
target: import_typescript.default.ScriptTarget.Latest,
|
|
356410
356410
|
lib: ["lib.codezero.d.ts"],
|
|
356411
356411
|
noEmit: true,
|
|
356412
356412
|
strictNullChecks: true
|
|
356413
356413
|
};
|
|
356414
|
-
function
|
|
356414
|
+
function _e2(e6) {
|
|
356415
356415
|
let t3 = [], n3 = 0, r3 = null, i3 = "";
|
|
356416
356416
|
for (let a3 of e6) {
|
|
356417
356417
|
if (r3)
|
|
@@ -356431,9 +356431,9 @@ function me2(e6) {
|
|
|
356431
356431
|
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);
|
|
356432
356432
|
}
|
|
356433
356433
|
function Q2(e6, t3 = "any", n3 = true) {
|
|
356434
|
-
let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []).flatMap(
|
|
356434
|
+
let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []).flatMap(_e2))).map((e7) => `type ${e7} = ${t3};`).join(`
|
|
356435
356435
|
`), i3 = e6?.map((e7) => {
|
|
356436
|
-
let t4 = (e7.genericKeys?.length ?? 0) > 0 ? `<${e7.genericKeys?.join(",")}>` : "", n4 =
|
|
356436
|
+
let t4 = (e7.genericKeys?.length ?? 0) > 0 ? `<${e7.genericKeys?.join(",")}>` : "", n4 = P2(e7.identifier) ? `${e7.type} & {}` : e7.type;
|
|
356437
356437
|
return `type ${e7.identifier}${t4} = ${n4};`;
|
|
356438
356438
|
}).join(`
|
|
356439
356439
|
`), a3 = e6?.filter((e7) => (e7.genericKeys?.length ?? 0) > 0).map((e7) => `declare const __widen_${e7.identifier}: ${e7.identifier}<${e7.genericKeys.map(() => "any").join(", ")}>;`).join(`
|
|
@@ -356443,7 +356443,7 @@ ${i3}
|
|
|
356443
356443
|
${a3}`;
|
|
356444
356444
|
}
|
|
356445
356445
|
var $2 = (e6) => e6?.replace(/[^a-zA-Z0-9]/g, "_");
|
|
356446
|
-
function
|
|
356446
|
+
function ve2(e6, t3, n3, r3 = false, i3 = true) {
|
|
356447
356447
|
let a3 = e6?.nodes?.nodes || [], o3 = new Map(t3?.map((e7) => [e7.identifier, e7])), s3 = /* @__PURE__ */ new Set, c3 = (t4, n4 = "") => {
|
|
356448
356448
|
let l4 = a3.find((e7) => e7?.id === t4);
|
|
356449
356449
|
if (!l4 || !l4.functionDefinition)
|
|
@@ -356533,7 +356533,7 @@ var d4 = (e6, t3) => {
|
|
|
356533
356533
|
${r3}`;
|
|
356534
356534
|
};
|
|
356535
356535
|
var f4 = (e6) => {
|
|
356536
|
-
let t3 =
|
|
356536
|
+
let t3 = Z2("index.ts", e6).languageService.getProgram();
|
|
356537
356537
|
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);
|
|
356538
356538
|
};
|
|
356539
356539
|
var p4 = (e6) => {
|
|
@@ -356546,7 +356546,7 @@ var p4 = (e6) => {
|
|
|
356546
356546
|
var m4 = (e6, n3, i4) => {
|
|
356547
356547
|
if (!e6)
|
|
356548
356548
|
return;
|
|
356549
|
-
let a4 = "index.ts", o4 =
|
|
356549
|
+
let a4 = "index.ts", o4 = ve2(e6, n3, i4), s4 = Z2(a4, o4), c4 = s4.getSourceFile(a4), l4 = s4.languageService.getProgram().getTypeChecker(), d5 = u4({
|
|
356550
356550
|
...v3(l4, c4),
|
|
356551
356551
|
...y3(l4, c4, e6)
|
|
356552
356552
|
}, i4), f5 = (e6.nodes?.nodes ?? []).map((e7) => e7 && E3(e7, d5));
|
|
@@ -175441,7 +175441,7 @@ function mapDataType(dataType) {
|
|
|
175441
175441
|
};
|
|
175442
175442
|
}
|
|
175443
175443
|
|
|
175444
|
-
// ../dist/utils-
|
|
175444
|
+
// ../dist/utils-Cn-uViWS.js
|
|
175445
175445
|
var import_typescript = __toESM(require_typescript(), 1);
|
|
175446
175446
|
function t2() {
|
|
175447
175447
|
return t2 = Object.assign ? Object.assign.bind() : function(e6) {
|
|
@@ -175703,9 +175703,9 @@ function g3(e6) {
|
|
|
175703
175703
|
if (typeof e6 == "string" && e6 !== "")
|
|
175704
175704
|
return e6;
|
|
175705
175705
|
}
|
|
175706
|
-
var
|
|
175707
|
-
var
|
|
175708
|
-
var
|
|
175706
|
+
var N2 = { DATE: "date" };
|
|
175707
|
+
var P2 = (e6) => e6 != null && (e6 in N2);
|
|
175708
|
+
var he2 = `
|
|
175709
175709
|
interface Array<T> {
|
|
175710
175710
|
[n: number]: T;
|
|
175711
175711
|
length: number;
|
|
@@ -175726,17 +175726,17 @@ var Z2 = `
|
|
|
175726
175726
|
|
|
175727
175727
|
import ReturnType = Utils.ReturnType;
|
|
175728
175728
|
`;
|
|
175729
|
-
function
|
|
175729
|
+
function Z2(t3, n3) {
|
|
175730
175730
|
let r3 = /* @__PURE__ */ new Map;
|
|
175731
|
-
return r3.set(t3, n3), r3.set("lib.codezero.d.ts",
|
|
175731
|
+
return r3.set(t3, n3), r3.set("lib.codezero.d.ts", he2), a2(u3(r3), [t3, "lib.codezero.d.ts"], import_typescript.default, ge2);
|
|
175732
175732
|
}
|
|
175733
|
-
var
|
|
175733
|
+
var ge2 = {
|
|
175734
175734
|
target: import_typescript.default.ScriptTarget.Latest,
|
|
175735
175735
|
lib: ["lib.codezero.d.ts"],
|
|
175736
175736
|
noEmit: true,
|
|
175737
175737
|
strictNullChecks: true
|
|
175738
175738
|
};
|
|
175739
|
-
function
|
|
175739
|
+
function _e2(e6) {
|
|
175740
175740
|
let t3 = [], n3 = 0, r3 = null, i3 = "";
|
|
175741
175741
|
for (let a3 of e6) {
|
|
175742
175742
|
if (r3)
|
|
@@ -175756,9 +175756,9 @@ function me2(e6) {
|
|
|
175756
175756
|
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);
|
|
175757
175757
|
}
|
|
175758
175758
|
function Q2(e6, t3 = "any", n3 = true) {
|
|
175759
|
-
let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []).flatMap(
|
|
175759
|
+
let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []).flatMap(_e2))).map((e7) => `type ${e7} = ${t3};`).join(`
|
|
175760
175760
|
`), i3 = e6?.map((e7) => {
|
|
175761
|
-
let t4 = (e7.genericKeys?.length ?? 0) > 0 ? `<${e7.genericKeys?.join(",")}>` : "", n4 =
|
|
175761
|
+
let t4 = (e7.genericKeys?.length ?? 0) > 0 ? `<${e7.genericKeys?.join(",")}>` : "", n4 = P2(e7.identifier) ? `${e7.type} & {}` : e7.type;
|
|
175762
175762
|
return `type ${e7.identifier}${t4} = ${n4};`;
|
|
175763
175763
|
}).join(`
|
|
175764
175764
|
`), a3 = e6?.filter((e7) => (e7.genericKeys?.length ?? 0) > 0).map((e7) => `declare const __widen_${e7.identifier}: ${e7.identifier}<${e7.genericKeys.map(() => "any").join(", ")}>;`).join(`
|
|
@@ -175768,7 +175768,7 @@ ${i3}
|
|
|
175768
175768
|
${a3}`;
|
|
175769
175769
|
}
|
|
175770
175770
|
var $2 = (e6) => e6?.replace(/[^a-zA-Z0-9]/g, "_");
|
|
175771
|
-
function
|
|
175771
|
+
function ve2(e6, t3, n3, r3 = false, i3 = true) {
|
|
175772
175772
|
let a3 = e6?.nodes?.nodes || [], o3 = new Map(t3?.map((e7) => [e7.identifier, e7])), s3 = /* @__PURE__ */ new Set, c3 = (t4, n4 = "") => {
|
|
175773
175773
|
let l4 = a3.find((e7) => e7?.id === t4);
|
|
175774
175774
|
if (!l4 || !l4.functionDefinition)
|
|
@@ -175901,7 +175901,7 @@ var v3 = (e6, t3, n3) => {
|
|
|
175901
175901
|
returnType: "void",
|
|
175902
175902
|
diagnostics: a3
|
|
175903
175903
|
};
|
|
175904
|
-
let o3 =
|
|
175904
|
+
let o3 = ve2(e6, t3, n3, false, false), s3 = "index.ts", l3 = Z2(s3, o3), u5 = l3.getSourceFile(s3), f4 = l3.languageService.getProgram(), p4 = f4.getTypeChecker(), m5 = f4.getSemanticDiagnostics(u5).map((e7) => {
|
|
175905
175905
|
let t4 = import_typescript2.flattenDiagnosticMessageText(e7.messageText, `
|
|
175906
175906
|
`), n4, r4 = null;
|
|
175907
175907
|
if (e7.start !== undefined) {
|
data/lib/triangulum/version.rb
CHANGED