@doikayt/tooling-core 1.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +380 -0
- package/dist/cli/generateHelp.d.ts +2 -0
- package/dist/cli/generateHelp.js +53 -0
- package/dist/cli/listFilesToProcess.d.ts +9 -0
- package/dist/cli/listFilesToProcess.js +47 -0
- package/dist/cli/parseStandardCli.d.ts +10 -0
- package/dist/cli/parseStandardCli.js +197 -0
- package/dist/cli/printHelp.d.ts +2 -0
- package/dist/cli/printHelp.js +4 -0
- package/dist/cli/runCli.d.ts +9 -0
- package/dist/cli/runCli.js +93 -0
- package/dist/cli/runLinkValidation.d.ts +2 -0
- package/dist/cli/runLinkValidation.js +32 -0
- package/dist/cli/runPlugin.d.ts +3 -0
- package/dist/cli/runPlugin.js +13 -0
- package/dist/cli/types.d.ts +23 -0
- package/dist/cli/types.js +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +22 -0
- package/dist/markdown/extractLinks.d.ts +9 -0
- package/dist/markdown/extractLinks.js +71 -0
- package/dist/markdown/findMarker.d.ts +31 -0
- package/dist/markdown/findMarker.js +72 -0
- package/dist/markdown/injectBetweenMarkers.d.ts +1 -0
- package/dist/markdown/injectBetweenMarkers.js +10 -0
- package/dist/markdown/parseHeadings.d.ts +2 -0
- package/dist/markdown/parseHeadings.js +31 -0
- package/dist/markdown/slugHeading.d.ts +8 -0
- package/dist/markdown/slugHeading.js +9 -0
- package/dist/markdown/types.d.ts +51 -0
- package/dist/markdown/types.js +1 -0
- package/dist/markdown/validateExternalLink.d.ts +2 -0
- package/dist/markdown/validateExternalLink.js +82 -0
- package/dist/markdown/validateFragmentLink.d.ts +8 -0
- package/dist/markdown/validateFragmentLink.js +19 -0
- package/dist/markdown/validateMarkdownLinks.d.ts +2 -0
- package/dist/markdown/validateMarkdownLinks.js +84 -0
- package/dist/markdown/validateRelativeLink.d.ts +12 -0
- package/dist/markdown/validateRelativeLink.js +62 -0
- package/dist/policy/RunnerPolicy.d.ts +7 -0
- package/dist/policy/RunnerPolicy.js +1 -0
- package/dist/policy/createRunnerPolicy.d.ts +3 -0
- package/dist/policy/createRunnerPolicy.js +36 -0
- package/dist/repository/RepositoryRunner.d.ts +24 -0
- package/dist/repository/RepositoryRunner.js +93 -0
- package/dist/repository/createTransformProcessor.d.ts +5 -0
- package/dist/repository/createTransformProcessor.js +17 -0
- package/dist/repository/types.d.ts +16 -0
- package/dist/repository/types.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/util/concurrency.d.ts +6 -0
- package/dist/util/concurrency.js +18 -0
- package/dist/util/debugLog.d.ts +7 -0
- package/dist/util/debugLog.js +9 -0
- package/dist/util/extractFirstSentence.d.ts +12 -0
- package/dist/util/extractFirstSentence.js +25 -0
- package/dist/util/toErrorMessage.d.ts +1 -0
- package/dist/util/toErrorMessage.js +3 -0
- package/dist/util/walkFiles.d.ts +18 -0
- package/dist/util/walkFiles.js +49 -0
- package/package.json +47 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Validates a fragment-only link (e.g. #my-heading) against the headings
|
|
3
|
+
* of the current file.
|
|
4
|
+
*
|
|
5
|
+
* Pure function — no I/O.
|
|
6
|
+
*/
|
|
7
|
+
export function validateFragmentLink(sourceFilePath, link, headings) {
|
|
8
|
+
const fragment = link.href.slice(1);
|
|
9
|
+
const validSlugs = new Set(headings.map((h) => h.slug));
|
|
10
|
+
if (!validSlugs.has(fragment)) {
|
|
11
|
+
return {
|
|
12
|
+
file: sourceFilePath,
|
|
13
|
+
line: link.line,
|
|
14
|
+
link: link.href,
|
|
15
|
+
reason: "anchor not found in current file",
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
import { extractLinks } from "./extractLinks.js";
|
|
3
|
+
import { parseHeadings } from "./parseHeadings.js";
|
|
4
|
+
import { validateFragmentLink } from "./validateFragmentLink.js";
|
|
5
|
+
import { validateRelativeLink } from "./validateRelativeLink.js";
|
|
6
|
+
import { validateExternalLink } from "./validateExternalLink.js";
|
|
7
|
+
import { runWithConcurrency } from "../util/concurrency.js";
|
|
8
|
+
const DEFAULT_CONCURRENCY = 5;
|
|
9
|
+
export async function validateMarkdownLinks(filePath, options = {}) {
|
|
10
|
+
const errors = [];
|
|
11
|
+
const warnings = [];
|
|
12
|
+
let validatedCount = 0;
|
|
13
|
+
options.onDebug?.(`validateMarkdownLinks: entry filePath=${filePath} validateExternal=${options.validateExternal ?? true} concurrency=${options.concurrency ?? DEFAULT_CONCURRENCY}`);
|
|
14
|
+
const markdownText = fs.readFileSync(filePath, "utf-8");
|
|
15
|
+
const { links, skippedCount } = extractLinks(markdownText, {
|
|
16
|
+
managedBlockStartMarker: options.managedBlockStartMarker,
|
|
17
|
+
managedBlockEndMarker: options.managedBlockEndMarker,
|
|
18
|
+
onDebug: options.onDebug,
|
|
19
|
+
});
|
|
20
|
+
options.onDebug?.(`validateMarkdownLinks: extracted linkCount=${links.length} skippedCount=${skippedCount}`);
|
|
21
|
+
const headings = parseHeadings(markdownText);
|
|
22
|
+
options.onDebug?.(`validateMarkdownLinks: parsed headingCount=${headings.length}`);
|
|
23
|
+
for (const link of links) {
|
|
24
|
+
if (link.kind === "fragment") {
|
|
25
|
+
const error = validateFragmentLink(filePath, link, headings);
|
|
26
|
+
if (error !== null) {
|
|
27
|
+
options.onDebug?.(`validateMarkdownLinks: fragment FAIL href=${link.href} reason=${error.reason}`);
|
|
28
|
+
errors.push(error);
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
options.onDebug?.(`validateMarkdownLinks: fragment OK href=${link.href}`);
|
|
32
|
+
validatedCount++;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
if (link.kind === "relative") {
|
|
36
|
+
const error = validateRelativeLink(filePath, link);
|
|
37
|
+
if (error !== null) {
|
|
38
|
+
options.onDebug?.(`validateMarkdownLinks: relative FAIL href=${link.href} reason=${error.reason}`);
|
|
39
|
+
errors.push(error);
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
options.onDebug?.(`validateMarkdownLinks: relative OK href=${link.href}`);
|
|
43
|
+
validatedCount++;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
const externalLinks = options.validateExternal !== false
|
|
48
|
+
? links.filter((l) => l.kind === "external")
|
|
49
|
+
: [];
|
|
50
|
+
options.onDebug?.(`validateMarkdownLinks: external links to validate: count=${externalLinks.length}${options.validateExternal === false ? " (skipped by option)" : ""}`);
|
|
51
|
+
const concurrency = options.concurrency ?? DEFAULT_CONCURRENCY;
|
|
52
|
+
const externalTasks = externalLinks.map((link) => async () => {
|
|
53
|
+
const result = await validateExternalLink(filePath, link, options);
|
|
54
|
+
return { link: link, result: result };
|
|
55
|
+
});
|
|
56
|
+
const externalResults = await runWithConcurrency(externalTasks, concurrency);
|
|
57
|
+
for (const { link, result } of externalResults) {
|
|
58
|
+
if (result === null) {
|
|
59
|
+
options.onDebug?.(`validateMarkdownLinks: external OK href=${link.href}`);
|
|
60
|
+
validatedCount++;
|
|
61
|
+
continue;
|
|
62
|
+
}
|
|
63
|
+
if ("reason" in result) {
|
|
64
|
+
const isWarning = result.reason.startsWith("permanent redirect") ||
|
|
65
|
+
result.reason.startsWith("access forbidden") ||
|
|
66
|
+
result.reason.startsWith("server error");
|
|
67
|
+
if (isWarning) {
|
|
68
|
+
options.onDebug?.(`validateMarkdownLinks: external WARN href=${link.href} reason=${result.reason}`);
|
|
69
|
+
warnings.push(result);
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
options.onDebug?.(`validateMarkdownLinks: external FAIL href=${link.href} reason=${result.reason}`);
|
|
73
|
+
errors.push(result);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
options.onDebug?.(`validateMarkdownLinks: complete validatedCount=${validatedCount} errorCount=${errors.length} warningCount=${warnings.length} skippedCount=${skippedCount}`);
|
|
78
|
+
return {
|
|
79
|
+
errors: errors,
|
|
80
|
+
warnings: warnings,
|
|
81
|
+
validatedCount: validatedCount,
|
|
82
|
+
skippedCount: skippedCount,
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LinkRecord, LinkValidationError } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Validates a relative file link, including optional anchor fragment.
|
|
4
|
+
*
|
|
5
|
+
* Resolves the target path relative to the source file's directory.
|
|
6
|
+
* If a fragment is present, reads the target file and validates the anchor
|
|
7
|
+
* against its headings.
|
|
8
|
+
*
|
|
9
|
+
* Returns null if the link is valid; otherwise returns a LinkValidationError
|
|
10
|
+
* object describing the file, line, href, and reason for failure.
|
|
11
|
+
*/
|
|
12
|
+
export declare function validateRelativeLink(sourceFilePath: string, link: LinkRecord): LinkValidationError | null;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import GithubSlugger from "github-slugger";
|
|
4
|
+
import { parseHeadings } from "./parseHeadings.js";
|
|
5
|
+
/**
|
|
6
|
+
* Validates a relative file link, including optional anchor fragment.
|
|
7
|
+
*
|
|
8
|
+
* Resolves the target path relative to the source file's directory.
|
|
9
|
+
* If a fragment is present, reads the target file and validates the anchor
|
|
10
|
+
* against its headings.
|
|
11
|
+
*
|
|
12
|
+
* Returns null if the link is valid; otherwise returns a LinkValidationError
|
|
13
|
+
* object describing the file, line, href, and reason for failure.
|
|
14
|
+
*/
|
|
15
|
+
export function validateRelativeLink(sourceFilePath, link) {
|
|
16
|
+
const sourceDir = path.dirname(sourceFilePath);
|
|
17
|
+
const [filePart, fragment] = link.href.split("#");
|
|
18
|
+
const targetPath = path.resolve(sourceDir, filePart);
|
|
19
|
+
if (!fs.existsSync(targetPath)) {
|
|
20
|
+
return {
|
|
21
|
+
file: sourceFilePath,
|
|
22
|
+
line: link.line,
|
|
23
|
+
link: link.href,
|
|
24
|
+
reason: "file not found",
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
if (fragment === undefined) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
if (fragment === "") {
|
|
31
|
+
return {
|
|
32
|
+
file: sourceFilePath,
|
|
33
|
+
line: link.line,
|
|
34
|
+
link: link.href,
|
|
35
|
+
reason: "empty anchor fragment — trailing '#' with no slug",
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
let targetContent;
|
|
39
|
+
try {
|
|
40
|
+
targetContent = fs.readFileSync(targetPath, "utf-8");
|
|
41
|
+
}
|
|
42
|
+
catch {
|
|
43
|
+
return {
|
|
44
|
+
file: sourceFilePath,
|
|
45
|
+
line: link.line,
|
|
46
|
+
link: link.href,
|
|
47
|
+
reason: "could not read target file",
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
const headings = parseHeadings(targetContent);
|
|
51
|
+
const slugger = new GithubSlugger();
|
|
52
|
+
const validSlugs = new Set(headings.map((h) => slugger.slug(h.rawText)));
|
|
53
|
+
if (!validSlugs.has(fragment)) {
|
|
54
|
+
return {
|
|
55
|
+
file: sourceFilePath,
|
|
56
|
+
line: link.line,
|
|
57
|
+
link: link.href,
|
|
58
|
+
reason: "anchor not found in target file",
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ProcessingStatus } from "../repository/types.js";
|
|
2
|
+
export type RunnerDecision = "abort" | "continue";
|
|
3
|
+
export interface RunnerPolicy {
|
|
4
|
+
shouldPrint(status: ProcessingStatus): boolean;
|
|
5
|
+
shouldPrintSummary(): boolean;
|
|
6
|
+
handleProcessorError(file: string, error: unknown): RunnerDecision;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { debugLog } from "../util/debugLog.js";
|
|
2
|
+
import { toErrorMessage } from "../util/toErrorMessage.js";
|
|
3
|
+
export function createRunnerPolicy(config) {
|
|
4
|
+
const isRecursiveRun = config.mode === "recursive";
|
|
5
|
+
return {
|
|
6
|
+
shouldPrint(status) {
|
|
7
|
+
if (config.quiet) {
|
|
8
|
+
debugLog(config, `policy.shouldPrint: false (quiet) status=${status}`);
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
if (status === "updated" || status === "needsUpdate") {
|
|
12
|
+
debugLog(config, `policy.shouldPrint: true status=${status}`);
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
const shouldPrint = config.verbose;
|
|
16
|
+
debugLog(config, `policy.shouldPrint: ${shouldPrint} status=${status}`);
|
|
17
|
+
return shouldPrint;
|
|
18
|
+
},
|
|
19
|
+
shouldPrintSummary() {
|
|
20
|
+
if (config.quiet) {
|
|
21
|
+
debugLog(config, `policy.shouldPrintSummary: false (quiet)`);
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
const shouldPrint = isRecursiveRun && config.verbose;
|
|
25
|
+
debugLog(config, `policy.shouldPrintSummary: ${shouldPrint}`);
|
|
26
|
+
return shouldPrint;
|
|
27
|
+
},
|
|
28
|
+
handleProcessorError(_file, error) {
|
|
29
|
+
const message = toErrorMessage(error);
|
|
30
|
+
console.error(`ERROR: ${message}`);
|
|
31
|
+
const decision = isRecursiveRun ? "continue" : "abort";
|
|
32
|
+
debugLog(config, `policy.handleProcessorError: decision=${decision} error=${message}`);
|
|
33
|
+
return decision;
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { RunConfig, FileProcessor } from "./types.js";
|
|
2
|
+
import type { RunnerPolicy } from "../policy/RunnerPolicy.js";
|
|
3
|
+
export interface RepositoryRunnerOptions<TConfig extends RunConfig> {
|
|
4
|
+
processor: FileProcessor<TConfig>;
|
|
5
|
+
config: TConfig;
|
|
6
|
+
policy: RunnerPolicy;
|
|
7
|
+
}
|
|
8
|
+
export interface RepositoryStats {
|
|
9
|
+
updated: number;
|
|
10
|
+
unchanged: number;
|
|
11
|
+
needsUpdate: number;
|
|
12
|
+
skipped: number;
|
|
13
|
+
}
|
|
14
|
+
export declare class RepositoryRunner<TConfig extends RunConfig> {
|
|
15
|
+
private readonly processor;
|
|
16
|
+
private readonly config;
|
|
17
|
+
private readonly policy;
|
|
18
|
+
constructor(options: RepositoryRunnerOptions<TConfig>);
|
|
19
|
+
run(files: string[]): RepositoryStats;
|
|
20
|
+
private updateCounters;
|
|
21
|
+
private printFileStatus;
|
|
22
|
+
private getInitCounterState;
|
|
23
|
+
private printSummary;
|
|
24
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { debugLog } from "../util/debugLog.js";
|
|
2
|
+
import { toErrorMessage } from "../util/toErrorMessage.js";
|
|
3
|
+
export class RepositoryRunner {
|
|
4
|
+
processor;
|
|
5
|
+
config;
|
|
6
|
+
policy;
|
|
7
|
+
constructor(options) {
|
|
8
|
+
this.processor = options.processor;
|
|
9
|
+
this.config = options.config;
|
|
10
|
+
this.policy = options.policy;
|
|
11
|
+
}
|
|
12
|
+
run(files) {
|
|
13
|
+
const stats = this.getInitCounterState();
|
|
14
|
+
if (!Array.isArray(files)) {
|
|
15
|
+
throw new Error("RepositoryRunner expected files[] array");
|
|
16
|
+
}
|
|
17
|
+
debugLog(this.config, `RepositoryRunner.runAsync: starting, fileCount=${files.length}, runMode=${this.config.runMode}, mode=${this.config.mode}`);
|
|
18
|
+
let hadErrors = false;
|
|
19
|
+
for (const file of files) {
|
|
20
|
+
let result;
|
|
21
|
+
debugLog(this.config, `RepositoryRunner.runAsync: processing file=${file}`);
|
|
22
|
+
try {
|
|
23
|
+
result = this.processor.process(file, this.config);
|
|
24
|
+
}
|
|
25
|
+
catch (err) {
|
|
26
|
+
debugLog(this.config, `RepositoryRunner.runAsync: processor error file=${file} err=${toErrorMessage(err)}`);
|
|
27
|
+
if (this.policy.handleProcessorError(file, err) === "continue") {
|
|
28
|
+
hadErrors = true;
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
throw err;
|
|
32
|
+
}
|
|
33
|
+
debugLog(this.config, `RepositoryRunner.runAsync: result=${result} file=${file}`);
|
|
34
|
+
if (this.policy.shouldPrint(result)) {
|
|
35
|
+
this.printFileStatus(result, file);
|
|
36
|
+
}
|
|
37
|
+
this.updateCounters(result, stats);
|
|
38
|
+
}
|
|
39
|
+
debugLog(this.config, `RepositoryRunner.runAsync: complete stats=${JSON.stringify(stats)}`);
|
|
40
|
+
this.printSummary(stats);
|
|
41
|
+
if (hadErrors ||
|
|
42
|
+
(this.config.runMode === "check" && stats.needsUpdate > 0)) {
|
|
43
|
+
process.exitCode = 1;
|
|
44
|
+
}
|
|
45
|
+
return stats;
|
|
46
|
+
}
|
|
47
|
+
updateCounters(result, stats) {
|
|
48
|
+
switch (result) {
|
|
49
|
+
case "updated":
|
|
50
|
+
stats.updated++;
|
|
51
|
+
break;
|
|
52
|
+
case "unchanged":
|
|
53
|
+
stats.unchanged++;
|
|
54
|
+
break;
|
|
55
|
+
case "needsUpdate":
|
|
56
|
+
stats.needsUpdate++;
|
|
57
|
+
break;
|
|
58
|
+
case "skipped":
|
|
59
|
+
stats.skipped++;
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
printFileStatus(result, file) {
|
|
64
|
+
switch (result) {
|
|
65
|
+
case "updated":
|
|
66
|
+
console.log(`Updated: ${file}`);
|
|
67
|
+
break;
|
|
68
|
+
case "unchanged":
|
|
69
|
+
console.log(`Up-to-date: ${file}`);
|
|
70
|
+
break;
|
|
71
|
+
case "needsUpdate":
|
|
72
|
+
console.log(`Needs update: ${file}`);
|
|
73
|
+
break;
|
|
74
|
+
case "skipped":
|
|
75
|
+
console.log(`Skipped (no markers): ${file}`);
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
getInitCounterState() {
|
|
80
|
+
return {
|
|
81
|
+
updated: 0,
|
|
82
|
+
unchanged: 0,
|
|
83
|
+
needsUpdate: 0,
|
|
84
|
+
skipped: 0,
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
printSummary(stats) {
|
|
88
|
+
if (!this.policy.shouldPrintSummary()) {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
console.log(`Summary: ${stats.updated} updated, ${stats.needsUpdate} needs update, ${stats.unchanged} unchanged, ${stats.skipped} skipped`);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { FileProcessor } from "./types.js";
|
|
2
|
+
import type { RunConfig } from "./types.js";
|
|
3
|
+
export declare function createTransformProcessor<TConfig extends RunConfig & {
|
|
4
|
+
check?: boolean;
|
|
5
|
+
}>(transform: (content: string, config: TConfig) => string): FileProcessor<TConfig>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
export function createTransformProcessor(transform) {
|
|
3
|
+
return {
|
|
4
|
+
process(filePath, config) {
|
|
5
|
+
const original = fs.readFileSync(filePath, "utf8");
|
|
6
|
+
const updated = transform(original, config);
|
|
7
|
+
if (updated === original) {
|
|
8
|
+
return "unchanged";
|
|
9
|
+
}
|
|
10
|
+
if (config.check === true) {
|
|
11
|
+
return "needsUpdate";
|
|
12
|
+
}
|
|
13
|
+
fs.writeFileSync(filePath, updated, "utf8");
|
|
14
|
+
return "updated";
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { RunMode } from "../cli/types.js";
|
|
2
|
+
export interface FileProcessor<TConfig extends RunConfig> {
|
|
3
|
+
process(filePath: string, config: TConfig): ProcessingStatus;
|
|
4
|
+
}
|
|
5
|
+
export interface RunConfig {
|
|
6
|
+
runMode: RunMode;
|
|
7
|
+
mode: "single" | "recursive";
|
|
8
|
+
recursivePath?: string;
|
|
9
|
+
exclude?: string[];
|
|
10
|
+
verbose: boolean;
|
|
11
|
+
quiet: boolean;
|
|
12
|
+
debug: boolean;
|
|
13
|
+
validateExternalLinks: boolean;
|
|
14
|
+
linkTimeoutMs: number;
|
|
15
|
+
}
|
|
16
|
+
export type ProcessingStatus = "updated" | "unchanged" | "needsUpdate" | "skipped";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/typescript/lib/lib.es2022.full.d.ts","../src/cli/types.ts","../src/repository/types.ts","../src/policy/RunnerPolicy.ts","../src/util/debugLog.ts","../src/util/toErrorMessage.ts","../src/repository/RepositoryRunner.ts","../src/policy/createRunnerPolicy.ts","../src/cli/runPlugin.ts","../src/cli/parseStandardCli.ts","../src/util/walkFiles.ts","../src/cli/listFilesToProcess.ts","../src/markdown/findMarker.ts","../src/markdown/injectBetweenMarkers.ts","../src/repository/createTransformProcessor.ts","../src/cli/generateHelp.ts","../src/cli/printHelp.ts","../src/cli/runCli.ts","../../node_modules/@types/unist/index.d.ts","../../node_modules/vfile-message/lib/index.d.ts","../../node_modules/vfile-message/index.d.ts","../../node_modules/vfile/lib/index.d.ts","../../node_modules/vfile/index.d.ts","../../node_modules/unified/lib/callable-instance.d.ts","../../node_modules/trough/lib/index.d.ts","../../node_modules/trough/index.d.ts","../../node_modules/unified/lib/index.d.ts","../../node_modules/unified/index.d.ts","../../node_modules/@types/mdast/index.d.ts","../../node_modules/micromark-util-types/index.d.ts","../../node_modules/mdast-util-from-markdown/lib/types.d.ts","../../node_modules/mdast-util-from-markdown/lib/index.d.ts","../../node_modules/mdast-util-from-markdown/index.d.ts","../../node_modules/remark-parse/lib/index.d.ts","../../node_modules/remark-parse/index.d.ts","../../node_modules/unist-util-is/lib/index.d.ts","../../node_modules/unist-util-is/index.d.ts","../../node_modules/unist-util-visit-parents/lib/index.d.ts","../../node_modules/unist-util-visit-parents/index.d.ts","../../node_modules/unist-util-visit/lib/index.d.ts","../../node_modules/unist-util-visit/index.d.ts","../src/markdown/types.ts","../src/markdown/extractLinks.ts","../../node_modules/github-slugger/index.d.ts","../src/markdown/parseHeadings.ts","../src/markdown/slugHeading.ts","../src/markdown/validateFragmentLink.ts","../src/markdown/validateRelativeLink.ts","../src/markdown/validateExternalLink.ts","../src/util/concurrency.ts","../src/markdown/validateMarkdownLinks.ts","../src/util/extractFirstSentence.ts","../src/cli/runLinkValidation.ts","../src/index.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/globals.typedarray.d.ts","../node_modules/@types/node/buffer.buffer.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/web-globals/abortcontroller.d.ts","../node_modules/@types/node/web-globals/domexception.d.ts","../node_modules/@types/node/web-globals/events.d.ts","../../node_modules/buffer/index.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/index.d.ts","../node_modules/@types/node/web-globals/fetch.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.generated.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/index.d.ts","../../node_modules/@types/braces/index.d.ts","../../node_modules/@types/deep-eql/index.d.ts","../../node_modules/assertion-error/index.d.ts","../../node_modules/@types/chai/index.d.ts","../../node_modules/@types/ms/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/micromatch/index.d.ts"],"fileIdsList":[[122,164],[122,164,213,214],[122,164,216],[81,122,164],[122,164,212],[92,93,94,95,122,164],[91,92,93,95,122,164],[91,92,95,122,164],[90,91,92,95,96,97,122,164],[85,90,91,95,97,122,164],[87,122,164],[122,136,140,164,204],[122,136,164,193,204],[122,131,164],[122,133,136,164,201,204],[122,164,183,201],[122,164,211],[122,131,164,211],[122,133,136,164,183,204],[122,128,129,132,135,164,175,193,204],[122,128,134,164],[122,132,136,164,196,204,211],[122,152,164,211],[122,130,131,164,211],[122,136,164],[122,130,131,132,133,134,135,136,137,138,140,141,142,143,144,145,146,147,148,149,150,151,153,154,155,156,157,158,164],[122,136,143,144,164],[122,134,136,144,145,164],[122,135,164],[122,128,131,136,164],[122,136,140,144,145,164],[122,140,164],[122,134,136,139,164,204],[122,128,133,134,136,140,143,164],[122,164,193],[122,131,136,152,164,209,211],[85,89,122,164],[81,85,86,88,90,97,122,164],[98,122,164],[99,100,122,164],[81,99,122,164],[99,101,102,122,164],[81,99,101,122,164],[82,122,164],[83,84,122,164],[81,83,85,122,164],[122,161,164],[122,163,164],[164],[122,164,169,196],[122,164,165,175,183,193,204],[122,164,165,166,175,183],[117,118,119,122,164],[122,164,167,205],[122,164,168,169,176,184],[122,164,169,193,201],[122,164,170,172,175,183],[122,163,164,171],[122,164,172,173],[122,164,174,175],[122,163,164,175],[122,164,175,176,177,193,204],[122,164,175,176,177,190,193,196],[122,164,172,175,178,183,193,204],[122,164,175,176,178,179,183,193,201,204],[122,164,178,180,193,201,204],[120,121,122,123,124,125,126,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210],[122,164,175,181],[122,164,182,204,209],[122,164,172,175,183,193],[122,164,184],[122,164,185],[122,163,164,186],[122,164,187,203,209],[122,164,188],[122,164,189],[122,164,175,190,191],[122,164,190,192,205,207],[122,164,175,193,194,196],[122,164,195,196],[122,164,193,194],[122,164,196],[122,164,197],[122,164,193,198],[122,164,175,199,200],[122,164,199,200],[122,164,169,183,193,201],[122,164,202],[122,164,183,203],[122,164,178,189,204],[122,164,169,205],[122,164,193,206],[122,164,182,207],[122,164,208],[122,159,164],[122,159,164,175,177,186,193,196,204,207,209],[122,164,193,210],[64,122,164],[65,73,122,164,176,185],[64,65,67,122,164],[64,78,122,164],[64,65,67,68,69,71,72,74,79,122,164,176,185,204],[65,67,113,122,164],[65,67,69,70,122,164],[65,122,164],[64,65,66,67,68,69,70,71,72,74,75,76,77,78,79,80,104,105,107,108,109,110,111,112,113,114,115,122,164],[90,91,97,103,104,122,164],[75,122,164],[90,91,97,103,104,106,122,164],[106,122,164],[104,122,164],[104,105,107,109,110,111,112,122,164,176],[104,106,107,122,164,176,185],[65,66,67,68,122,164],[65,122,164,176],[122,164,176,185]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"3cbad9a1ba4453443026ed38e4b8be018abb26565fa7c944376463ad9df07c41","impliedFormat":1},{"version":"996900b5f31b6f476b4a3fc40ef8203ce06fc4222359ac379cf149b2770c5685","signature":"0c3edec3f0ab32b594267c483e6e551d4d82baf70cb461e40123e3b2a744208c","impliedFormat":99},{"version":"7c328072e455456047a5b6c3b365fccf9880dc490b127c3129f705436f5fce2c","signature":"3aa973e6da85c79463fdcaec980e215f02d2e2467e35c18be18f8f30fe2e5f1f","impliedFormat":99},{"version":"6068eaefc6cdf2b122dd9afbed316fde32a0294f565b3ff6574e064c399eef7e","signature":"d68cbb1453ac558ea3b3e2495b8adaad27643e8143cb94bc2c689853b9f2f7c5","impliedFormat":99},{"version":"044f4272c3aede8bf6026a0f3d49ddc4e656937655968a97f229b0ea02631715","signature":"c605fcd0a7ecc688314e218f2fa91fdb8079d73caada71e86be898528507077c","impliedFormat":99},{"version":"39e34a5b9401316291003c7d033d880ad89b472b7461215486823a78e24b44e7","signature":"5842cde74fde32c5659b1a56be925544cab8f7850420c39d06af7c09904409ca","impliedFormat":99},{"version":"9c6a43ef2c919e9bf03b4043e0c6e4830a788465bf9debf4a2598ec7e870ad9a","signature":"45283c53caeb4e728f875b841f0fb5546f2878f7b69809ebdcb84099702ed9de","impliedFormat":99},{"version":"c0afca94e54ccd6fce249e282ae0fd0f7865a33fc82d50026e70efa31294150a","signature":"c85b8ad05110759b59493d10a495f5ff11de5921b2f5aa8ebf96362988bcc998","impliedFormat":99},{"version":"eda55cffe8be9a70e5fef7d7b62486ca47e4313a587486aaf2b7102a676d58e2","signature":"4a88540ea51b693bbe3a1ea3ce1a04928deebb4744fd5b32106e7ce9f1684bed","impliedFormat":99},{"version":"17ea8d246607024cb32d9c70b44af8cf6cd8587dd1f06abdb3eee91e8fcb48b4","signature":"758e6c8d632c2acc7145753f107a341e003d1e8ee5c88f4216b0c790dc94a0d1","impliedFormat":99},{"version":"390cb345f406ff9535172fd951ba50542d9b4f98d9eddea0996c03dc8b0baf52","signature":"e4b15c37906b32580cbe80b5335a6b2f40e332347f2973e9328a743a83832ce1","impliedFormat":99},{"version":"483b5b8711e84a319421a85593799c11168454ff9b0f6496830d2ac9fb6a99d0","signature":"b5c14473e726f3359db9bd5bc23e09308288fb9856dc1f79003e2950d8aef951","impliedFormat":99},{"version":"0ec93afc2245e4b7bf4c05c7da681f95a3227364e19b90c249655d3b1c5caa6d","signature":"8d8e675c3c5a917c23facae5307053b12f9fb1bd62e9f971c934262abe2a256d","impliedFormat":99},{"version":"d5b2bf17a1b75e771467c05049de72453bbf8cb755bfcfdc0f914a78b5d1ef70","signature":"ca4164a5f3dbb2aecf67f3053a8008e29b50fbc2350960d875a48eae235aa153","impliedFormat":99},{"version":"dd5013f3f810184b02337bfa249172aff257d53e2a61d578e8567a1dc57668a2","signature":"241746ba29c5363da8c5308faf98f0d9ac8dedf60cfaa3bffec6ba42ed6627bc","impliedFormat":99},{"version":"89119a69624c4a3a33e49effbe9630be89253953c9149d066d29bf2535bda888","signature":"cebf0c5e600665331142ce7a61d1c50b0700b5e21a734402176cbb3b16e371df","impliedFormat":99},{"version":"f6d69ba3e5e88b24391f84c4e7c79217aa2613c8d4888218bfa33ee80bae202b","signature":"fb3e1feaeead28abf6ef0ce00ee53b50f2b3cafdb4db35a6db28f7754c5724f4","impliedFormat":99},{"version":"03834ab589eaea4fea71c76beb10f7bbdc40174c85ef9b62ab70455cff4eaf8c","signature":"ed5bf7ef5b192893702243a706a9688f1f2e10e38adda26b3089f64413987bac","impliedFormat":99},{"version":"89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","impliedFormat":1},{"version":"2b37ba54ec067598bf912d56fcb81f6d8ad86a045c757e79440bdef97b52fe1b","impliedFormat":99},{"version":"1bc9dd465634109668661f998485a32da369755d9f32b5a55ed64a525566c94b","impliedFormat":99},{"version":"5702b3c2f5d248290ed99419d77ca1cc3e6c29db5847172377659c50e6303768","impliedFormat":99},{"version":"9764b2eb5b4fc0b8951468fb3dbd6cd922d7752343ef5fbf1a7cd3dfcd54a75e","impliedFormat":99},{"version":"1fc2d3fe8f31c52c802c4dee6c0157c5a1d1f6be44ece83c49174e316cf931ad","impliedFormat":99},{"version":"dc4aae103a0c812121d9db1f7a5ea98231801ed405bf577d1c9c46a893177e36","impliedFormat":99},{"version":"106d3f40907ba68d2ad8ce143a68358bad476e1cc4a5c710c11c7dbaac878308","impliedFormat":99},{"version":"42ad582d92b058b88570d5be95393cf0a6c09a29ba9aa44609465b41d39d2534","impliedFormat":99},{"version":"36e051a1e0d2f2a808dbb164d846be09b5d98e8b782b37922a3b75f57ee66698","impliedFormat":99},{"version":"d4a22007b481fe2a2e6bfd3a42c00cd62d41edb36d30fc4697df2692e9891fc8","impliedFormat":1},{"version":"a5dbd4c9941b614526619bad31047ddd5f504ec4cdad88d6117b549faef34dd3","impliedFormat":99},{"version":"d36518bd617ff673c7d9f372706f241932a43f27673187f2a8472e93c40041c6","impliedFormat":99},{"version":"f8eb2909590ec619643841ead2fc4b4b183fbd859848ef051295d35fef9d8469","impliedFormat":99},{"version":"fe784567dd721417e2c4c7c1d7306f4b8611a4f232f5b7ce734382cf34b417d2","impliedFormat":99},{"version":"4f7e6730a707b0d4971d96de3b562819ce304af770723707a58a578dd55a5e52","impliedFormat":99},{"version":"d1c1213e9176398b4d1d9aa543691181fd5ae23ae5415e80ede41f1ec1ccf72a","impliedFormat":99},{"version":"987caed4114d7078f8485d01d392c02ef22b343ea381de043ec992972331eb83","impliedFormat":99},{"version":"3d8984c6feacd84cb26e64436b9162edba0d8e410ea4eb046298935466e8a747","impliedFormat":99},{"version":"3ee62280d6d3a02e9c1000aa211f53dc5d0fec26423825a978f7e501a8981bcf","impliedFormat":99},{"version":"6b243d0f6cf1786f6e3b10a99db080a977cc27e6f49bcff2b6264cf0339063d5","impliedFormat":99},{"version":"f0808f9a77fe5ea30e80bacb50ec9f6e0d993ebc9ab37d76c5fa0cd59ad480bb","impliedFormat":99},{"version":"083609ca47c047c6802bd40e974346a9509ef28367bb07769dbcead77cc7359f","impliedFormat":99},{"version":"b5f0167ba61fdd0d5e9b35b283869e03b9734b048144d205d2d4f89c99ff6b19","signature":"8d70d00865a5b7193876a706b11fb56ff047a312669e25d9eddf3ec4ce5800b4","impliedFormat":99},{"version":"2967d15850df6a07ac771adbae296d9fc06fa965b32384135360c299e6c5f436","signature":"e6c021bdd014b3f126750db9f9b2782fcf99914fca72035df6e5761569bbdb09","impliedFormat":99},{"version":"1ac0f0d4aa1197aded0e7a41a08d2e687e7db61c967a2fad216b736f18a740fa","impliedFormat":99},{"version":"16a6e709bcceb13e01e79482ea3f2e835a209bd6e4dd4117f5de9a2be6bb1490","signature":"a44239722a0ff343c082677cc10cc0dece1a28858a30660743ab0df5132ec3f6","impliedFormat":99},{"version":"48b69ca6b5b54bf6775866dad98b90929070e22b9c0f924557491c2dc64f1be6","signature":"de70b72dd7b35cc4de6125bab874ca006241c9a1b6babf338f6234cf2dfa5fee","impliedFormat":99},{"version":"dc66057f6880b1d0a0cf92f10cb26dfb050be96247a2eb681e799c7a9119ea35","signature":"e5b435673365de6d2a5c6ae14165b9ec7ccbcaa2184634229a3252a069b8555e","impliedFormat":99},{"version":"1d7cfc80bd3dc9cfbd42e28ec0edce1cd073f2f69e705ed930e7e6a8b1416162","signature":"ab954f8c4aeef532c5df887d2fed0b942336c38b9dbd2a64dc8f50ad7da0dd4d","impliedFormat":99},{"version":"34b059635886436d6477a2feeb01cf27afde76da25ae20a44f3abcc6951c4e8c","signature":"4e70b831d4ae36f7fab5b3f493b179a44ebef26b262ded13a2b8bdeec429c5bb","impliedFormat":99},{"version":"6bbc0f91ddcd44a704f44c3aeb4b1150090aaa940aab596868887a8614e5c80a","signature":"694f3aa41f3421be2d111240b9b01191539fe7097bdadf86e644c1b95109b4e4","impliedFormat":99},{"version":"9d10592d34d2105a5e2450cca6033f8a13fb310ae06d23bcb1b5188f5b842774","signature":"13dba922da4944aba53f3209ef0a7836b3c2853e0631c28240b6d1eea8c69baf","impliedFormat":99},{"version":"151ef7388c756f277f908eb8223baf1278509e4aa3b2215250ac5272c033eec6","signature":"cbed311ddf8edd4d8b5473632b1c250c8881b9e61bdbfea349b628aba0920277","impliedFormat":99},{"version":"975b208614a35a14405ef67992f39ac2797201feab9d9052756e7f8736caa4e7","signature":"5feefedf3f0c7c77d97278aa29aea6f92f7f07505165188de2dea19331803e19","impliedFormat":99},{"version":"9eafd9fbcfd7e0628626c03a210ffff5e5858501525829d1a528809f180e9e5c","signature":"35eaa2d232a258d2e44d82a503d05bb893a5ccb4fff335e09db24879c686862d","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cb3140d0e9cee0aea7264fd6a1d297394052a18eb05ca0220d133e6c043fb5","affectsGlobalScope":true,"impliedFormat":1},{"version":"362d474eb9feae178a83ead94d757c21e42d6d7090e4182f0c12e92830a3d25e","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc27badd4bf4a2b0024a0cd32a9bbf0be7073902c5177a58be14242e7d8bf2c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","impliedFormat":1},{"version":"3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","impliedFormat":1},{"version":"e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","impliedFormat":1},{"version":"471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","impliedFormat":1},{"version":"c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","impliedFormat":1},{"version":"40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","impliedFormat":1},{"version":"8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","impliedFormat":1},{"version":"4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1","impliedFormat":1},{"version":"b972357e61ef2e072f8a88b9f4f5a70984c417237e6106f6b2390414a09ce523","affectsGlobalScope":true,"impliedFormat":1},{"version":"076cac5898bd833255def0f7c5717b83534212873505c9c958f1926d49f9bec6","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"75eb536b960b85f75e21490beeab53ea616646a995ad203e1af532d67a774fb6","impliedFormat":1},{"version":"36d0976d3dad74078f707af107b5082dbe42ffcadb3442ff140c36c8a33b4887","affectsGlobalScope":true,"impliedFormat":1},{"version":"86e0d632e9ef88593e8724ffb6af05104e13a08f9d8df733a30f9991ac387fff","impliedFormat":1},{"version":"7646ad748a9ca15bf43d4c88f83cc851c67f8ec9c1186295605b59ba6bb36dcb","impliedFormat":1},{"version":"cef8931bc129687165253f0642427c2a72705a4613b3ac461b9fa78c7cdaef32","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"47b62c294beb69daa5879f052e416b02e6518f3e4541ae98adbfb27805dd6711","impliedFormat":1},{"version":"f8375506002c556ec412c7e2a5a9ece401079ee5d9eb2c1372e9f5377fac56c7","impliedFormat":1},{"version":"8edd6482bd72eca772f9df15d05c838dd688cdbd4d62690891fca6578cfda6fe","impliedFormat":1},{"version":"07ba29a1a495b710aea48a4cf19ae12b3cbda2a8e9ac62192af477027a99e8de","impliedFormat":1},{"version":"6dead64c944504250dd2fc9095231f36887cfc1534f1ff57737c19f92d165c91","impliedFormat":1},{"version":"b9a4824bb83f25d6d227394db2ed99985308cf2a3a35f0d6d39aa72b15473982","impliedFormat":1},{"version":"6e9948b1e396106601365283680c319a9103c71a5725e7d03e26fe246df60c4c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e8e284b3832911aeede987e4d74cf0a00f2b03896b2fd3bf924344cc0f96b3c","impliedFormat":1},{"version":"37d37474a969ab1b91fc332eb6a375885dfd25279624dfa84dea48c9aedf4472","impliedFormat":1},{"version":"1ddd8c1a3ae1f8ab28affd53b13910be4afe0b35f28517b7f14c268e9e42647a","impliedFormat":1},{"version":"f1a79b6047d006548185e55478837dfbcdd234d6fe51532783f5dffd401cfb2b","impliedFormat":1},{"version":"cbc91187014fb1e738ef252751a9f84abf2989ec1c3b1637ec23b5b39cdf3d25","impliedFormat":1},{"version":"e822320b448edce0c7ede9cbeada034c72e1f1c8c8281974817030564c63dcb1","impliedFormat":1},{"version":"9d65568cba17c9db40251023406668695ad698ea4a34542364af3e78edd37811","affectsGlobalScope":true,"impliedFormat":1},{"version":"f23e3d484de54d235bf702072100b541553a1df2550bad691fe84995e15cf7be","impliedFormat":1},{"version":"821c79b046e40d54a447bebd9307e70b86399a89980a87bbc98114411169e274","impliedFormat":1},{"version":"17bc38afc78d40b2f54af216c0cc31a4bd0c6897a5945fa39945dfc43260be2c","impliedFormat":1},{"version":"d201b44ff390c220a94fb0ff6a534fe9fa15b44f8a86d0470009cdde3a3e62ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"d44445141f204d5672c502a39c1124bcf1df225eba05df0d2957f79122be87b5","affectsGlobalScope":true,"impliedFormat":1},{"version":"de905bc5f7e7a81cb420e212b95ab5e3ab840f93e0cfa8ce879f6e7fa465d4a2","impliedFormat":1},{"version":"bc2ff43214898bc6d53cab92fb41b5309efec9cbb59a0650525980aee994de2b","impliedFormat":1},{"version":"bede3143eeddca3b8ec3592b09d7eb02042f9e195251040c5146eac09b173236","impliedFormat":1},{"version":"64a40cf4ec8a7a29db2b4bc35f042e5be8537c4be316e5221f40f30ca8ed7051","impliedFormat":1},{"version":"294c082d609e6523520290db4f1d54114ebc83643fb42abd965be5bcc5d9416b","impliedFormat":1},{"version":"cf7d740e39bd8adbdc7840ee91bef0af489052f6467edfcefb7197921757ec3b","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"b9f0681c4d2cb00a5cfe08a7be9662627b912de562926819ebddfe2ef6a9b5ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"b85151402164ab7cb665e58df5c1a29aa25ea4ed3a367f84a15589e7d7a9c8ca","impliedFormat":1},{"version":"89eb8abe2b5c146fbb8f3bf72f4e91de3541f2fb559ad5fed4ad5bf223a3dedb","impliedFormat":1},{"version":"bc6cb10764a82f3025c0f4822b8ad711c16d1a5c75789be2d188d553b69b2d48","affectsGlobalScope":true,"impliedFormat":1},{"version":"41d510caf7ed692923cb6ef5932dc9cf1ed0f57de8eb518c5bab8358a21af674","impliedFormat":1},{"version":"2751c5a6b9054b61c9b03b3770b2d39b1327564672b63e3485ac03ffeb28b4f6","impliedFormat":1},{"version":"dc058956a93388aab38307b7b3b9b6379e1021e73a244aab6ac9427dc3a252a7","impliedFormat":1},{"version":"f33302cf240672359992c356f2005d395b559e176196d03f31a28cc7b01e69bc","impliedFormat":1},{"version":"3ce25041ff6ae06c08fcaccd5fcd9baf4ca6e80e6cb5a922773a1985672e74c2","affectsGlobalScope":true,"impliedFormat":1},{"version":"652c0de14329a834ff06af6ad44670fac35849654a464fd9ae36edb92a362c12","affectsGlobalScope":true,"impliedFormat":1},{"version":"3b1e178016d3fc554505ae087c249b205b1c50624d482c542be9d4682bab81fc","impliedFormat":1},{"version":"5db7c5bb02ef47aaaec6d262d50c4e9355c80937d649365c343fa5e84569621d","impliedFormat":1},{"version":"cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a","impliedFormat":1},{"version":"6831f13f06a15391dfeb2477d48ac58311ab675f85846a05499ee92d6e856933","affectsGlobalScope":true,"impliedFormat":1},{"version":"37bef1064b7d015aeaa7c0716fe23a0b3844abe2c0a3df7144153ca8445fe0da","impliedFormat":1},{"version":"83178a1174286d5f5178c5c75067e36c41b975c26be7b86d99cb18393eb30a41","impliedFormat":1},{"version":"2b91a6a00be41e4dea6d25220ef9d4d1c843872d1ad6b9f0597c720d2d45c256","impliedFormat":1},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"391d7173d570ed6c8f592ab7f0deb517b41eb7651d6173ffab54eb370099e8d6","impliedFormat":1}],"root":[[64,80],104,105,[107,116]],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"module":199,"noEmitOnError":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.tsbuildinfo"},"referencedMap":[[212,1],[215,2],[217,3],[213,1],[218,1],[219,1],[91,4],[220,5],[216,1],[81,1],[214,1],[127,1],[106,1],[95,6],[94,7],[93,8],[92,1],[97,9],[96,10],[88,11],[87,1],[61,1],[62,1],[12,1],[10,1],[11,1],[16,1],[15,1],[2,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[24,1],[3,1],[25,1],[26,1],[4,1],[27,1],[31,1],[28,1],[29,1],[30,1],[32,1],[33,1],[34,1],[5,1],[35,1],[36,1],[37,1],[38,1],[6,1],[42,1],[39,1],[40,1],[41,1],[43,1],[7,1],[44,1],[49,1],[50,1],[45,1],[46,1],[47,1],[48,1],[8,1],[54,1],[51,1],[52,1],[53,1],[55,1],[9,1],[56,1],[63,1],[57,1],[58,1],[60,1],[59,1],[1,1],[14,1],[13,1],[143,12],[150,13],[142,12],[157,14],[134,15],[133,16],[156,17],[151,18],[154,19],[136,20],[135,21],[131,22],[130,17],[153,23],[132,24],[137,25],[138,1],[141,25],[128,1],[159,26],[158,25],[145,27],[146,28],[148,29],[144,30],[147,31],[152,17],[139,32],[140,33],[149,34],[129,35],[155,36],[90,37],[86,1],[89,38],[99,39],[98,4],[101,40],[100,41],[103,42],[102,43],[83,44],[82,4],[85,45],[84,46],[161,47],[162,47],[163,48],[122,49],[164,50],[165,51],[166,52],[117,1],[120,53],[118,1],[119,1],[167,54],[168,55],[169,56],[170,57],[171,58],[172,59],[173,59],[174,60],[175,61],[176,62],[177,63],[123,1],[121,1],[178,64],[179,65],[180,66],[211,67],[181,68],[182,69],[183,70],[184,71],[185,72],[186,73],[187,74],[188,75],[189,76],[190,77],[191,77],[192,78],[193,79],[195,80],[194,81],[196,82],[197,83],[198,84],[199,85],[200,86],[201,87],[202,88],[203,89],[204,90],[205,91],[206,92],[207,93],[208,94],[124,1],[125,1],[126,1],[160,95],[209,96],[210,97],[78,98],[74,99],[72,100],[79,101],[80,102],[115,103],[71,104],[64,105],[116,106],[105,107],[75,1],[76,108],[107,109],[108,110],[104,1],[111,111],[109,111],[113,112],[110,113],[66,105],[70,114],[69,114],[77,115],[65,98],[112,1],[67,1],[114,1],[68,1],[73,116]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220],"latestChangedDtsFile":"./index.d.ts","checkPending":true,"version":"5.9.3"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runs an array of async tasks with bounded concurrency.
|
|
3
|
+
* Results are returned in the same order as the input tasks,
|
|
4
|
+
* regardless of completion order.
|
|
5
|
+
*/
|
|
6
|
+
export declare function runWithConcurrency<T>(tasks: Array<() => Promise<T>>, concurrency: number): Promise<T[]>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runs an array of async tasks with bounded concurrency.
|
|
3
|
+
* Results are returned in the same order as the input tasks,
|
|
4
|
+
* regardless of completion order.
|
|
5
|
+
*/
|
|
6
|
+
export async function runWithConcurrency(tasks, concurrency) {
|
|
7
|
+
const results = [];
|
|
8
|
+
let index = 0;
|
|
9
|
+
async function worker() {
|
|
10
|
+
while (index < tasks.length) {
|
|
11
|
+
const current = index++;
|
|
12
|
+
results[current] = await tasks[current]();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
const workers = Array.from({ length: Math.min(concurrency, tasks.length) }, () => worker());
|
|
16
|
+
await Promise.all(workers);
|
|
17
|
+
return results;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes a debug message to stderr when config.debug is true.
|
|
3
|
+
* Output is prefixed with [debug] to distinguish it from normal stdout output.
|
|
4
|
+
*/
|
|
5
|
+
export function debugLog(config, message) {
|
|
6
|
+
if (config.debug === true) {
|
|
7
|
+
process.stderr.write(`[debug] ${message}\n`);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extracts a one-line summary from `text` (typically a JSDoc description with
|
|
3
|
+
* /** *\/ markers and leading * already stripped by ts-morph).
|
|
4
|
+
*
|
|
5
|
+
* Rules (applied in order):
|
|
6
|
+
* 1. If the text has more than one line and the first line is followed by a
|
|
7
|
+
* blank line → return the first line (intentional standalone paragraph).
|
|
8
|
+
* 2. Otherwise join all non-blank lines with a single space and return
|
|
9
|
+
* everything up to and including the first period.
|
|
10
|
+
* 3. If no period, return the full joined text.
|
|
11
|
+
*/
|
|
12
|
+
export declare function extractFirstSentence(text: string): string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extracts a one-line summary from `text` (typically a JSDoc description with
|
|
3
|
+
* /** *\/ markers and leading * already stripped by ts-morph).
|
|
4
|
+
*
|
|
5
|
+
* Rules (applied in order):
|
|
6
|
+
* 1. If the text has more than one line and the first line is followed by a
|
|
7
|
+
* blank line → return the first line (intentional standalone paragraph).
|
|
8
|
+
* 2. Otherwise join all non-blank lines with a single space and return
|
|
9
|
+
* everything up to and including the first period.
|
|
10
|
+
* 3. If no period, return the full joined text.
|
|
11
|
+
*/
|
|
12
|
+
export function extractFirstSentence(text) {
|
|
13
|
+
const lines = text.split("\n").map((l) => l.trim());
|
|
14
|
+
if (lines.length === 0 || (lines.length === 1 && lines[0] === ""))
|
|
15
|
+
return "";
|
|
16
|
+
// Blank line after first line signals an intentional paragraph break.
|
|
17
|
+
if (lines.length > 1 && lines[1] === "") {
|
|
18
|
+
return lines[0];
|
|
19
|
+
}
|
|
20
|
+
const joined = lines.filter((l) => l !== "").join(" ");
|
|
21
|
+
const dotIdx = joined.indexOf(".");
|
|
22
|
+
if (dotIdx === -1)
|
|
23
|
+
return joined;
|
|
24
|
+
return joined.slice(0, dotIdx + 1);
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toErrorMessage(err: unknown): string;
|