@utilix-tech/sdk 0.82.0 → 0.84.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.
- package/CHANGELOG.md +8 -0
- package/README.md +8 -3
- package/dist/{ai_agent-DeCy0oZK.d.cts → ai_agent-B9wWLBDf.d.cts} +29 -2
- package/dist/{ai_agent-DeCy0oZK.d.ts → ai_agent-B9wWLBDf.d.ts} +29 -2
- package/dist/{chunk-HJLGUNSO.js → chunk-5VVC7BHS.js} +41 -1
- package/dist/{chunk-IEPWZERQ.js → chunk-6EJVNQSY.js} +38 -1
- package/dist/{chunk-FPFA4ZHC.js → chunk-RMXZMYSG.js} +166 -1
- package/dist/{code-B8yHwP3m.d.cts → code-mkKV7BQ4.d.cts} +73 -2
- package/dist/{code-B8yHwP3m.d.ts → code-mkKV7BQ4.d.ts} +73 -2
- package/dist/index.cjs +242 -0
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/{time-KqJjdqII.d.cts → time-VMAy_SrV.d.cts} +22 -2
- package/dist/{time-KqJjdqII.d.ts → time-VMAy_SrV.d.ts} +22 -2
- package/dist/tools/ai_agent.cjs +40 -0
- package/dist/tools/ai_agent.d.cts +1 -1
- package/dist/tools/ai_agent.d.ts +1 -1
- package/dist/tools/ai_agent.js +1 -1
- package/dist/tools/code.cjs +165 -0
- package/dist/tools/code.d.cts +1 -1
- package/dist/tools/code.d.ts +1 -1
- package/dist/tools/code.js +1 -1
- package/dist/tools/time.cjs +37 -0
- package/dist/tools/time.d.cts +1 -1
- package/dist/tools/time.d.ts +1 -1
- package/dist/tools/time.js +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* - git-builder (buildGitCommand, parseGitCommand, OPERATIONS)
|
|
13
13
|
* - docker-image-parser (parseDockerImage, buildDockerPull, buildDockerRun,
|
|
14
14
|
* isValidTag, normalizeRef)
|
|
15
|
+
* - dockerfile-linter (lintDockerfile)
|
|
15
16
|
* - js-minifier (minifyJs, removeJsComments, collapseJsWhitespace,
|
|
16
17
|
* removeConsoleCalls, getJsStats)
|
|
17
18
|
* - openapi-viewer (parseSpec, getEndpointsByTag, searchEndpoints, getMethodColor)
|
|
@@ -175,6 +176,32 @@ declare function buildDockerPull(parsed: DockerImageRef): string;
|
|
|
175
176
|
declare function buildDockerRun(parsed: DockerImageRef, containerName?: string): string;
|
|
176
177
|
declare function isValidTag(tag: string): boolean;
|
|
177
178
|
declare function normalizeRef(ref: string): string;
|
|
179
|
+
interface DockerfileLintFinding {
|
|
180
|
+
rule: 'unpinned-base-image' | 'missing-workdir' | 'running-as-root' | 'add-vs-copy';
|
|
181
|
+
severity: 'warning' | 'info';
|
|
182
|
+
line: number;
|
|
183
|
+
message: string;
|
|
184
|
+
}
|
|
185
|
+
interface DockerfileStage {
|
|
186
|
+
index: number;
|
|
187
|
+
name: string | null;
|
|
188
|
+
baseImage: string;
|
|
189
|
+
fromLine: number;
|
|
190
|
+
}
|
|
191
|
+
interface DockerfileLintResult {
|
|
192
|
+
findings: DockerfileLintFinding[];
|
|
193
|
+
stages: DockerfileStage[];
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Lint a Dockerfile for 4 common mistakes: a base image with no tag or
|
|
197
|
+
* pinned to `:latest`, a final stage with no WORKDIR, a final stage with no
|
|
198
|
+
* USER (so it runs as root), and ADD used on a plain local file/directory
|
|
199
|
+
* where COPY would do (ADD's extra behavior only makes sense for a remote
|
|
200
|
+
* URL or an auto-extracting archive).
|
|
201
|
+
*/
|
|
202
|
+
declare function lintDockerfile(content: string): DockerfileLintResult | {
|
|
203
|
+
error: string;
|
|
204
|
+
};
|
|
178
205
|
interface JsMinifyOptions {
|
|
179
206
|
removeComments?: boolean;
|
|
180
207
|
collapseWhitespace?: boolean;
|
|
@@ -718,6 +745,41 @@ interface SqlPlaceholderResult {
|
|
|
718
745
|
* bodies (`$$...$$`) are not specially recognized.
|
|
719
746
|
*/
|
|
720
747
|
declare function countSqlPlaceholders(sql: string): SqlPlaceholderResult;
|
|
748
|
+
interface LinkReferenceUsage {
|
|
749
|
+
text: string;
|
|
750
|
+
label: string;
|
|
751
|
+
image: boolean;
|
|
752
|
+
}
|
|
753
|
+
interface LinkReferenceDefinition {
|
|
754
|
+
label: string;
|
|
755
|
+
url: string;
|
|
756
|
+
title?: string;
|
|
757
|
+
}
|
|
758
|
+
interface ResolvedLinkReference extends LinkReferenceUsage {
|
|
759
|
+
url: string;
|
|
760
|
+
title?: string;
|
|
761
|
+
}
|
|
762
|
+
interface MarkdownLinkReferenceResult {
|
|
763
|
+
referenceCount: number;
|
|
764
|
+
definitionCount: number;
|
|
765
|
+
resolved: ResolvedLinkReference[];
|
|
766
|
+
unresolvedReferences: LinkReferenceUsage[];
|
|
767
|
+
unusedDefinitions: LinkReferenceDefinition[];
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* Extract every reference-style Markdown link (`[text][ref]`, including the
|
|
771
|
+
* shortcut form `[text][]` and image references `![alt][ref]`) alongside
|
|
772
|
+
* its `[ref]: url "title"` definition, then flag usages with no matching
|
|
773
|
+
* definition and definitions that no usage ever references. Labels are
|
|
774
|
+
* matched case-insensitively with internal whitespace collapsed, per
|
|
775
|
+
* CommonMark's link-label normalization; when the same label is defined
|
|
776
|
+
* more than once, the first definition wins. Inline links (`[text](url)`)
|
|
777
|
+
* and bare shortcut references (`[ref]` with no second bracket pair) are
|
|
778
|
+
* out of scope.
|
|
779
|
+
*/
|
|
780
|
+
declare function extractMarkdownLinkReferences(markdown: string): MarkdownLinkReferenceResult | {
|
|
781
|
+
error: string;
|
|
782
|
+
};
|
|
721
783
|
|
|
722
784
|
declare const code_ALL_FLAGS: typeof ALL_FLAGS;
|
|
723
785
|
type code_ApiEndpoint = ApiEndpoint;
|
|
@@ -745,6 +807,9 @@ type code_DependencyAuditResult = DependencyAuditResult;
|
|
|
745
807
|
type code_DependencyRangeType = DependencyRangeType;
|
|
746
808
|
type code_DependencySection = DependencySection;
|
|
747
809
|
type code_DockerImageRef = DockerImageRef;
|
|
810
|
+
type code_DockerfileLintFinding = DockerfileLintFinding;
|
|
811
|
+
type code_DockerfileLintResult = DockerfileLintResult;
|
|
812
|
+
type code_DockerfileStage = DockerfileStage;
|
|
748
813
|
type code_EditorConfigIssue = EditorConfigIssue;
|
|
749
814
|
type code_EditorConfigProperty = EditorConfigProperty;
|
|
750
815
|
type code_EditorConfigSection = EditorConfigSection;
|
|
@@ -770,10 +835,13 @@ type code_HtmlMinifyResult = HtmlMinifyResult;
|
|
|
770
835
|
type code_JsMinifyOptions = JsMinifyOptions;
|
|
771
836
|
type code_JsMinifyResult = JsMinifyResult;
|
|
772
837
|
declare const code_KNOWN_LANGUAGE_TAGS: typeof KNOWN_LANGUAGE_TAGS;
|
|
838
|
+
type code_LinkReferenceDefinition = LinkReferenceDefinition;
|
|
839
|
+
type code_LinkReferenceUsage = LinkReferenceUsage;
|
|
773
840
|
declare const code_MIME_TABLE: typeof MIME_TABLE;
|
|
774
841
|
type code_MarkdownFootnoteDefinition = MarkdownFootnoteDefinition;
|
|
775
842
|
type code_MarkdownFootnoteReference = MarkdownFootnoteReference;
|
|
776
843
|
type code_MarkdownFootnoteResult = MarkdownFootnoteResult;
|
|
844
|
+
type code_MarkdownLinkReferenceResult = MarkdownLinkReferenceResult;
|
|
777
845
|
type code_MatchResult = MatchResult;
|
|
778
846
|
type code_MimeEntry = MimeEntry;
|
|
779
847
|
type code_MimeLookupResult = MimeLookupResult;
|
|
@@ -792,6 +860,7 @@ type code_RegexGroupIssue = RegexGroupIssue;
|
|
|
792
860
|
type code_RegexMatch = RegexMatch;
|
|
793
861
|
type code_RegexResult = RegexResult;
|
|
794
862
|
type code_RegexSuccess = RegexSuccess;
|
|
863
|
+
type code_ResolvedLinkReference = ResolvedLinkReference;
|
|
795
864
|
declare const code_SQL_DEFAULT_OPTIONS: typeof SQL_DEFAULT_OPTIONS;
|
|
796
865
|
type code_Segment = Segment;
|
|
797
866
|
type code_SpecVersion = SpecVersion;
|
|
@@ -820,6 +889,7 @@ declare const code_detectRedos: typeof detectRedos;
|
|
|
820
889
|
declare const code_envToExport: typeof envToExport;
|
|
821
890
|
declare const code_envToJson: typeof envToJson;
|
|
822
891
|
declare const code_extractMarkdownFootnotes: typeof extractMarkdownFootnotes;
|
|
892
|
+
declare const code_extractMarkdownLinkReferences: typeof extractMarkdownLinkReferences;
|
|
823
893
|
declare const code_extractSvgSpriteSymbols: typeof extractSvgSpriteSymbols;
|
|
824
894
|
declare const code_formatCss: typeof formatCss;
|
|
825
895
|
declare const code_formatGql: typeof formatGql;
|
|
@@ -831,6 +901,7 @@ declare const code_getJsStats: typeof getJsStats;
|
|
|
831
901
|
declare const code_getMethodColor: typeof getMethodColor;
|
|
832
902
|
declare const code_isValidTag: typeof isValidTag;
|
|
833
903
|
declare const code_lintConventionalCommit: typeof lintConventionalCommit;
|
|
904
|
+
declare const code_lintDockerfile: typeof lintDockerfile;
|
|
834
905
|
declare const code_lookupMime: typeof lookupMime;
|
|
835
906
|
declare const code_minifyCss: typeof minifyCss;
|
|
836
907
|
declare const code_minifyGql: typeof minifyGql;
|
|
@@ -863,7 +934,7 @@ declare const code_validateFenceLanguageTags: typeof validateFenceLanguageTags;
|
|
|
863
934
|
declare const code_validatePackageExports: typeof validatePackageExports;
|
|
864
935
|
declare const code_validateTsconfig: typeof validateTsconfig;
|
|
865
936
|
declare namespace code {
|
|
866
|
-
export { code_ALL_FLAGS as ALL_FLAGS, type code_ApiEndpoint as ApiEndpoint, type code_ApiInfo as ApiInfo, type code_AriaIssue as AriaIssue, type code_AriaValidationResult as AriaValidationResult, code_CHEATSHEET as CHEATSHEET, type code_CheatsheetEntry as CheatsheetEntry, type code_CommitTrailer as CommitTrailer, type code_CommitTrailerResult as CommitTrailerResult, type code_ConnectionStringHost as ConnectionStringHost, type code_ConnectionStringResult as ConnectionStringResult, type code_ConventionalCommitFinding as ConventionalCommitFinding, type code_ConventionalCommitFooter as ConventionalCommitFooter, type code_ConventionalCommitOptions as ConventionalCommitOptions, type code_ConventionalCommitParsed as ConventionalCommitParsed, type code_ConventionalCommitResult as ConventionalCommitResult, type code_ConventionalCommitSeverity as ConventionalCommitSeverity, type code_CssResult as CssResult, code_DEFAULT_COMMIT_TYPES as DEFAULT_COMMIT_TYPES, type code_DependencyAuditDuplicate as DependencyAuditDuplicate, type code_DependencyAuditEntry as DependencyAuditEntry, type code_DependencyAuditIssue as DependencyAuditIssue, type code_DependencyAuditResult as DependencyAuditResult, type code_DependencyRangeType as DependencyRangeType, type code_DependencySection as DependencySection, type code_DockerImageRef as DockerImageRef, type code_EditorConfigIssue as EditorConfigIssue, type code_EditorConfigProperty as EditorConfigProperty, type code_EditorConfigSection as EditorConfigSection, type code_EditorConfigValidationResult as EditorConfigValidationResult, type code_EnvEntry as EnvEntry, type code_EnvParseResult as EnvParseResult, type code_ExportsIssue as ExportsIssue, type code_ExportsShape as ExportsShape, type code_ExportsValidationResult as ExportsValidationResult, type code_FenceTagIssue as FenceTagIssue, type code_FenceTagIssueType as FenceTagIssueType, type code_FenceValidationResult as FenceValidationResult, type code_GitCommandConfig as GitCommandConfig, type code_GitCommandResult as GitCommandResult, type code_GitOperation as GitOperation, type code_GithubUrlInfo as GithubUrlInfo, type code_GithubUrlType as GithubUrlType, type code_GitignoreTestResult as GitignoreTestResult, type code_GqlFormatResult as GqlFormatResult, type code_HtmlFormatResult as HtmlFormatResult, type code_HtmlMinifyOptions as HtmlMinifyOptions, type code_HtmlMinifyResult as HtmlMinifyResult, type code_JsMinifyOptions as JsMinifyOptions, type code_JsMinifyResult as JsMinifyResult, code_KNOWN_LANGUAGE_TAGS as KNOWN_LANGUAGE_TAGS, code_MIME_TABLE as MIME_TABLE, type code_MarkdownFootnoteDefinition as MarkdownFootnoteDefinition, type code_MarkdownFootnoteReference as MarkdownFootnoteReference, type code_MarkdownFootnoteResult as MarkdownFootnoteResult, type code_MatchResult as MatchResult, type code_MimeEntry as MimeEntry, type code_MimeLookupResult as MimeLookupResult, code_OPERATIONS as OPERATIONS, type code_ParsedSpec as ParsedSpec, type code_PlaceholderStyle as PlaceholderStyle, type code_RedosFinding as RedosFinding, type code_RedosResult as RedosResult, type code_RedosSeverity as RedosSeverity, type code_RegexBackreferenceInfo as RegexBackreferenceInfo, type code_RegexError as RegexError, type code_RegexFlag as RegexFlag, type code_RegexGroupAnalysis as RegexGroupAnalysis, type code_RegexGroupInfo as RegexGroupInfo, type code_RegexGroupIssue as RegexGroupIssue, type code_RegexMatch as RegexMatch, type code_RegexResult as RegexResult, type code_RegexSuccess as RegexSuccess, code_SQL_DEFAULT_OPTIONS as SQL_DEFAULT_OPTIONS, type code_Segment as Segment, type code_SpecVersion as SpecVersion, type code_SqlDialect as SqlDialect, type code_SqlFormatOptions as SqlFormatOptions, type code_SqlPlaceholder as SqlPlaceholder, type code_SqlPlaceholderResult as SqlPlaceholderResult, type code_SvgSpriteResult as SvgSpriteResult, type code_SvgSpriteSymbol as SvgSpriteSymbol, type code_TestPatternResult as TestPatternResult, type code_TsconfigIssue as TsconfigIssue, type code_TsconfigValidationResult as TsconfigValidationResult, code_analyzeRegexGroups as analyzeRegexGroups, code_auditDependencyRanges as auditDependencyRanges, code_buildDockerPull as buildDockerPull, code_buildDockerRun as buildDockerRun, code_buildGitCommand as buildGitCommand, code_collapseHtmlWhitespace as collapseHtmlWhitespace, code_collapseJsWhitespace as collapseJsWhitespace, code_countProperties as countProperties, code_countRules as countRules, code_countSqlPlaceholders as countSqlPlaceholders, code_detectDialect as detectDialect, code_detectOperationType as detectOperationType, code_detectRedos as detectRedos, code_envToExport as envToExport, code_envToJson as envToJson, code_extractMarkdownFootnotes as extractMarkdownFootnotes, code_extractSvgSpriteSymbols as extractSvgSpriteSymbols, code_formatCss as formatCss, code_formatGql as formatGql, code_formatHtml as formatHtml, code_formatSql as formatSql, code_getEndpointsByTag as getEndpointsByTag, code_getHtmlStats as getHtmlStats, code_getJsStats as getJsStats, code_getMethodColor as getMethodColor, code_isValidTag as isValidTag, code_lintConventionalCommit as lintConventionalCommit, code_lookupMime as lookupMime, code_minifyCss as minifyCss, code_minifyGql as minifyGql, code_minifyHtml as minifyHtml, code_minifyJs as minifyJs, code_minifySql as minifySql, code_normalizeRef as normalizeRef, code_parseCommitTrailers as parseCommitTrailers, code_parseConnectionString as parseConnectionString, code_parseDockerImage as parseDockerImage, code_parseEnv as parseEnv, code_parseGitCommand as parseGitCommand, code_parseGithubUrl as parseGithubUrl, code_parseSpec as parseSpec, code_removeConsoleCalls as removeConsoleCalls, code_removeEmptyAttributes as removeEmptyAttributes, code_removeHtmlComments as removeHtmlComments, code_removeJsComments as removeJsComments, code_removeRedundantAttributes as removeRedundantAttributes, code_searchCheatsheet as searchCheatsheet, code_searchEndpoints as searchEndpoints, code_splitStatements as splitStatements, code_testGitignorePatterns as testGitignorePatterns, code_testPattern as testPattern, code_testRegex as testRegex, code_validateAria as validateAria, code_validateEditorConfig as validateEditorConfig, code_validateEnvKey as validateEnvKey, code_validateFenceLanguageTags as validateFenceLanguageTags, code_validatePackageExports as validatePackageExports, code_validateTsconfig as validateTsconfig };
|
|
937
|
+
export { code_ALL_FLAGS as ALL_FLAGS, type code_ApiEndpoint as ApiEndpoint, type code_ApiInfo as ApiInfo, type code_AriaIssue as AriaIssue, type code_AriaValidationResult as AriaValidationResult, code_CHEATSHEET as CHEATSHEET, type code_CheatsheetEntry as CheatsheetEntry, type code_CommitTrailer as CommitTrailer, type code_CommitTrailerResult as CommitTrailerResult, type code_ConnectionStringHost as ConnectionStringHost, type code_ConnectionStringResult as ConnectionStringResult, type code_ConventionalCommitFinding as ConventionalCommitFinding, type code_ConventionalCommitFooter as ConventionalCommitFooter, type code_ConventionalCommitOptions as ConventionalCommitOptions, type code_ConventionalCommitParsed as ConventionalCommitParsed, type code_ConventionalCommitResult as ConventionalCommitResult, type code_ConventionalCommitSeverity as ConventionalCommitSeverity, type code_CssResult as CssResult, code_DEFAULT_COMMIT_TYPES as DEFAULT_COMMIT_TYPES, type code_DependencyAuditDuplicate as DependencyAuditDuplicate, type code_DependencyAuditEntry as DependencyAuditEntry, type code_DependencyAuditIssue as DependencyAuditIssue, type code_DependencyAuditResult as DependencyAuditResult, type code_DependencyRangeType as DependencyRangeType, type code_DependencySection as DependencySection, type code_DockerImageRef as DockerImageRef, type code_DockerfileLintFinding as DockerfileLintFinding, type code_DockerfileLintResult as DockerfileLintResult, type code_DockerfileStage as DockerfileStage, type code_EditorConfigIssue as EditorConfigIssue, type code_EditorConfigProperty as EditorConfigProperty, type code_EditorConfigSection as EditorConfigSection, type code_EditorConfigValidationResult as EditorConfigValidationResult, type code_EnvEntry as EnvEntry, type code_EnvParseResult as EnvParseResult, type code_ExportsIssue as ExportsIssue, type code_ExportsShape as ExportsShape, type code_ExportsValidationResult as ExportsValidationResult, type code_FenceTagIssue as FenceTagIssue, type code_FenceTagIssueType as FenceTagIssueType, type code_FenceValidationResult as FenceValidationResult, type code_GitCommandConfig as GitCommandConfig, type code_GitCommandResult as GitCommandResult, type code_GitOperation as GitOperation, type code_GithubUrlInfo as GithubUrlInfo, type code_GithubUrlType as GithubUrlType, type code_GitignoreTestResult as GitignoreTestResult, type code_GqlFormatResult as GqlFormatResult, type code_HtmlFormatResult as HtmlFormatResult, type code_HtmlMinifyOptions as HtmlMinifyOptions, type code_HtmlMinifyResult as HtmlMinifyResult, type code_JsMinifyOptions as JsMinifyOptions, type code_JsMinifyResult as JsMinifyResult, code_KNOWN_LANGUAGE_TAGS as KNOWN_LANGUAGE_TAGS, type code_LinkReferenceDefinition as LinkReferenceDefinition, type code_LinkReferenceUsage as LinkReferenceUsage, code_MIME_TABLE as MIME_TABLE, type code_MarkdownFootnoteDefinition as MarkdownFootnoteDefinition, type code_MarkdownFootnoteReference as MarkdownFootnoteReference, type code_MarkdownFootnoteResult as MarkdownFootnoteResult, type code_MarkdownLinkReferenceResult as MarkdownLinkReferenceResult, type code_MatchResult as MatchResult, type code_MimeEntry as MimeEntry, type code_MimeLookupResult as MimeLookupResult, code_OPERATIONS as OPERATIONS, type code_ParsedSpec as ParsedSpec, type code_PlaceholderStyle as PlaceholderStyle, type code_RedosFinding as RedosFinding, type code_RedosResult as RedosResult, type code_RedosSeverity as RedosSeverity, type code_RegexBackreferenceInfo as RegexBackreferenceInfo, type code_RegexError as RegexError, type code_RegexFlag as RegexFlag, type code_RegexGroupAnalysis as RegexGroupAnalysis, type code_RegexGroupInfo as RegexGroupInfo, type code_RegexGroupIssue as RegexGroupIssue, type code_RegexMatch as RegexMatch, type code_RegexResult as RegexResult, type code_RegexSuccess as RegexSuccess, type code_ResolvedLinkReference as ResolvedLinkReference, code_SQL_DEFAULT_OPTIONS as SQL_DEFAULT_OPTIONS, type code_Segment as Segment, type code_SpecVersion as SpecVersion, type code_SqlDialect as SqlDialect, type code_SqlFormatOptions as SqlFormatOptions, type code_SqlPlaceholder as SqlPlaceholder, type code_SqlPlaceholderResult as SqlPlaceholderResult, type code_SvgSpriteResult as SvgSpriteResult, type code_SvgSpriteSymbol as SvgSpriteSymbol, type code_TestPatternResult as TestPatternResult, type code_TsconfigIssue as TsconfigIssue, type code_TsconfigValidationResult as TsconfigValidationResult, code_analyzeRegexGroups as analyzeRegexGroups, code_auditDependencyRanges as auditDependencyRanges, code_buildDockerPull as buildDockerPull, code_buildDockerRun as buildDockerRun, code_buildGitCommand as buildGitCommand, code_collapseHtmlWhitespace as collapseHtmlWhitespace, code_collapseJsWhitespace as collapseJsWhitespace, code_countProperties as countProperties, code_countRules as countRules, code_countSqlPlaceholders as countSqlPlaceholders, code_detectDialect as detectDialect, code_detectOperationType as detectOperationType, code_detectRedos as detectRedos, code_envToExport as envToExport, code_envToJson as envToJson, code_extractMarkdownFootnotes as extractMarkdownFootnotes, code_extractMarkdownLinkReferences as extractMarkdownLinkReferences, code_extractSvgSpriteSymbols as extractSvgSpriteSymbols, code_formatCss as formatCss, code_formatGql as formatGql, code_formatHtml as formatHtml, code_formatSql as formatSql, code_getEndpointsByTag as getEndpointsByTag, code_getHtmlStats as getHtmlStats, code_getJsStats as getJsStats, code_getMethodColor as getMethodColor, code_isValidTag as isValidTag, code_lintConventionalCommit as lintConventionalCommit, code_lintDockerfile as lintDockerfile, code_lookupMime as lookupMime, code_minifyCss as minifyCss, code_minifyGql as minifyGql, code_minifyHtml as minifyHtml, code_minifyJs as minifyJs, code_minifySql as minifySql, code_normalizeRef as normalizeRef, code_parseCommitTrailers as parseCommitTrailers, code_parseConnectionString as parseConnectionString, code_parseDockerImage as parseDockerImage, code_parseEnv as parseEnv, code_parseGitCommand as parseGitCommand, code_parseGithubUrl as parseGithubUrl, code_parseSpec as parseSpec, code_removeConsoleCalls as removeConsoleCalls, code_removeEmptyAttributes as removeEmptyAttributes, code_removeHtmlComments as removeHtmlComments, code_removeJsComments as removeJsComments, code_removeRedundantAttributes as removeRedundantAttributes, code_searchCheatsheet as searchCheatsheet, code_searchEndpoints as searchEndpoints, code_splitStatements as splitStatements, code_testGitignorePatterns as testGitignorePatterns, code_testPattern as testPattern, code_testRegex as testRegex, code_validateAria as validateAria, code_validateEditorConfig as validateEditorConfig, code_validateEnvKey as validateEnvKey, code_validateFenceLanguageTags as validateFenceLanguageTags, code_validatePackageExports as validatePackageExports, code_validateTsconfig as validateTsconfig };
|
|
867
938
|
}
|
|
868
939
|
|
|
869
|
-
export { type
|
|
940
|
+
export { type JsMinifyResult as $, ALL_FLAGS as A, type DockerfileStage as B, CHEATSHEET as C, DEFAULT_COMMIT_TYPES as D, type EditorConfigIssue as E, type EditorConfigProperty as F, type EditorConfigSection as G, type EditorConfigValidationResult as H, type EnvEntry as I, type EnvParseResult as J, type ExportsIssue as K, type ExportsShape as L, type ExportsValidationResult as M, type FenceTagIssue as N, type FenceTagIssueType as O, type FenceValidationResult as P, type GitCommandConfig as Q, type GitCommandResult as R, type GitOperation as S, type GithubUrlInfo as T, type GithubUrlType as U, type GitignoreTestResult as V, type GqlFormatResult as W, type HtmlFormatResult as X, type HtmlMinifyOptions as Y, type HtmlMinifyResult as Z, type JsMinifyOptions as _, type ApiEndpoint as a, getJsStats as a$, KNOWN_LANGUAGE_TAGS as a0, type LinkReferenceDefinition as a1, type LinkReferenceUsage as a2, MIME_TABLE as a3, type MarkdownFootnoteDefinition as a4, type MarkdownFootnoteReference as a5, type MarkdownFootnoteResult as a6, type MarkdownLinkReferenceResult as a7, type MatchResult as a8, type MimeEntry as a9, type TestPatternResult as aA, type TsconfigIssue as aB, type TsconfigValidationResult as aC, analyzeRegexGroups as aD, auditDependencyRanges as aE, buildDockerPull as aF, buildDockerRun as aG, buildGitCommand as aH, collapseHtmlWhitespace as aI, collapseJsWhitespace as aJ, countProperties as aK, countRules as aL, countSqlPlaceholders as aM, detectDialect as aN, detectOperationType as aO, detectRedos as aP, envToExport as aQ, envToJson as aR, extractMarkdownFootnotes as aS, extractMarkdownLinkReferences as aT, extractSvgSpriteSymbols as aU, formatCss as aV, formatGql as aW, formatHtml as aX, formatSql as aY, getEndpointsByTag as aZ, getHtmlStats as a_, type MimeLookupResult as aa, OPERATIONS as ab, type ParsedSpec as ac, type PlaceholderStyle as ad, type RedosFinding as ae, type RedosResult as af, type RedosSeverity as ag, type RegexBackreferenceInfo as ah, type RegexError as ai, type RegexFlag as aj, type RegexGroupAnalysis as ak, type RegexGroupInfo as al, type RegexGroupIssue as am, type RegexMatch as an, type RegexResult as ao, type RegexSuccess as ap, type ResolvedLinkReference as aq, SQL_DEFAULT_OPTIONS as ar, type Segment as as, type SpecVersion as at, type SqlDialect as au, type SqlFormatOptions as av, type SqlPlaceholder as aw, type SqlPlaceholderResult as ax, type SvgSpriteResult as ay, type SvgSpriteSymbol as az, type ApiInfo as b, getMethodColor as b0, isValidTag as b1, lintConventionalCommit as b2, lintDockerfile as b3, lookupMime as b4, minifyCss as b5, minifyGql as b6, minifyHtml as b7, minifyJs as b8, minifySql as b9, normalizeRef as ba, parseCommitTrailers as bb, parseConnectionString as bc, parseDockerImage as bd, parseEnv as be, parseGitCommand as bf, parseGithubUrl as bg, parseSpec as bh, removeConsoleCalls as bi, removeEmptyAttributes as bj, removeHtmlComments as bk, removeJsComments as bl, removeRedundantAttributes as bm, searchCheatsheet as bn, searchEndpoints as bo, splitStatements as bp, testGitignorePatterns as bq, testPattern as br, testRegex as bs, validateAria as bt, validateEditorConfig as bu, validateEnvKey as bv, validateFenceLanguageTags as bw, validatePackageExports as bx, validateTsconfig as by, code as c, type AriaIssue as d, type AriaValidationResult as e, type CheatsheetEntry as f, type CommitTrailer as g, type CommitTrailerResult as h, type ConnectionStringHost as i, type ConnectionStringResult as j, type ConventionalCommitFinding as k, type ConventionalCommitFooter as l, type ConventionalCommitOptions as m, type ConventionalCommitParsed as n, type ConventionalCommitResult as o, type ConventionalCommitSeverity as p, type CssResult as q, type DependencyAuditDuplicate as r, type DependencyAuditEntry as s, type DependencyAuditIssue as t, type DependencyAuditResult as u, type DependencyRangeType as v, type DependencySection as w, type DockerImageRef as x, type DockerfileLintFinding as y, type DockerfileLintResult as z };
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* - git-builder (buildGitCommand, parseGitCommand, OPERATIONS)
|
|
13
13
|
* - docker-image-parser (parseDockerImage, buildDockerPull, buildDockerRun,
|
|
14
14
|
* isValidTag, normalizeRef)
|
|
15
|
+
* - dockerfile-linter (lintDockerfile)
|
|
15
16
|
* - js-minifier (minifyJs, removeJsComments, collapseJsWhitespace,
|
|
16
17
|
* removeConsoleCalls, getJsStats)
|
|
17
18
|
* - openapi-viewer (parseSpec, getEndpointsByTag, searchEndpoints, getMethodColor)
|
|
@@ -175,6 +176,32 @@ declare function buildDockerPull(parsed: DockerImageRef): string;
|
|
|
175
176
|
declare function buildDockerRun(parsed: DockerImageRef, containerName?: string): string;
|
|
176
177
|
declare function isValidTag(tag: string): boolean;
|
|
177
178
|
declare function normalizeRef(ref: string): string;
|
|
179
|
+
interface DockerfileLintFinding {
|
|
180
|
+
rule: 'unpinned-base-image' | 'missing-workdir' | 'running-as-root' | 'add-vs-copy';
|
|
181
|
+
severity: 'warning' | 'info';
|
|
182
|
+
line: number;
|
|
183
|
+
message: string;
|
|
184
|
+
}
|
|
185
|
+
interface DockerfileStage {
|
|
186
|
+
index: number;
|
|
187
|
+
name: string | null;
|
|
188
|
+
baseImage: string;
|
|
189
|
+
fromLine: number;
|
|
190
|
+
}
|
|
191
|
+
interface DockerfileLintResult {
|
|
192
|
+
findings: DockerfileLintFinding[];
|
|
193
|
+
stages: DockerfileStage[];
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Lint a Dockerfile for 4 common mistakes: a base image with no tag or
|
|
197
|
+
* pinned to `:latest`, a final stage with no WORKDIR, a final stage with no
|
|
198
|
+
* USER (so it runs as root), and ADD used on a plain local file/directory
|
|
199
|
+
* where COPY would do (ADD's extra behavior only makes sense for a remote
|
|
200
|
+
* URL or an auto-extracting archive).
|
|
201
|
+
*/
|
|
202
|
+
declare function lintDockerfile(content: string): DockerfileLintResult | {
|
|
203
|
+
error: string;
|
|
204
|
+
};
|
|
178
205
|
interface JsMinifyOptions {
|
|
179
206
|
removeComments?: boolean;
|
|
180
207
|
collapseWhitespace?: boolean;
|
|
@@ -718,6 +745,41 @@ interface SqlPlaceholderResult {
|
|
|
718
745
|
* bodies (`$$...$$`) are not specially recognized.
|
|
719
746
|
*/
|
|
720
747
|
declare function countSqlPlaceholders(sql: string): SqlPlaceholderResult;
|
|
748
|
+
interface LinkReferenceUsage {
|
|
749
|
+
text: string;
|
|
750
|
+
label: string;
|
|
751
|
+
image: boolean;
|
|
752
|
+
}
|
|
753
|
+
interface LinkReferenceDefinition {
|
|
754
|
+
label: string;
|
|
755
|
+
url: string;
|
|
756
|
+
title?: string;
|
|
757
|
+
}
|
|
758
|
+
interface ResolvedLinkReference extends LinkReferenceUsage {
|
|
759
|
+
url: string;
|
|
760
|
+
title?: string;
|
|
761
|
+
}
|
|
762
|
+
interface MarkdownLinkReferenceResult {
|
|
763
|
+
referenceCount: number;
|
|
764
|
+
definitionCount: number;
|
|
765
|
+
resolved: ResolvedLinkReference[];
|
|
766
|
+
unresolvedReferences: LinkReferenceUsage[];
|
|
767
|
+
unusedDefinitions: LinkReferenceDefinition[];
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* Extract every reference-style Markdown link (`[text][ref]`, including the
|
|
771
|
+
* shortcut form `[text][]` and image references `![alt][ref]`) alongside
|
|
772
|
+
* its `[ref]: url "title"` definition, then flag usages with no matching
|
|
773
|
+
* definition and definitions that no usage ever references. Labels are
|
|
774
|
+
* matched case-insensitively with internal whitespace collapsed, per
|
|
775
|
+
* CommonMark's link-label normalization; when the same label is defined
|
|
776
|
+
* more than once, the first definition wins. Inline links (`[text](url)`)
|
|
777
|
+
* and bare shortcut references (`[ref]` with no second bracket pair) are
|
|
778
|
+
* out of scope.
|
|
779
|
+
*/
|
|
780
|
+
declare function extractMarkdownLinkReferences(markdown: string): MarkdownLinkReferenceResult | {
|
|
781
|
+
error: string;
|
|
782
|
+
};
|
|
721
783
|
|
|
722
784
|
declare const code_ALL_FLAGS: typeof ALL_FLAGS;
|
|
723
785
|
type code_ApiEndpoint = ApiEndpoint;
|
|
@@ -745,6 +807,9 @@ type code_DependencyAuditResult = DependencyAuditResult;
|
|
|
745
807
|
type code_DependencyRangeType = DependencyRangeType;
|
|
746
808
|
type code_DependencySection = DependencySection;
|
|
747
809
|
type code_DockerImageRef = DockerImageRef;
|
|
810
|
+
type code_DockerfileLintFinding = DockerfileLintFinding;
|
|
811
|
+
type code_DockerfileLintResult = DockerfileLintResult;
|
|
812
|
+
type code_DockerfileStage = DockerfileStage;
|
|
748
813
|
type code_EditorConfigIssue = EditorConfigIssue;
|
|
749
814
|
type code_EditorConfigProperty = EditorConfigProperty;
|
|
750
815
|
type code_EditorConfigSection = EditorConfigSection;
|
|
@@ -770,10 +835,13 @@ type code_HtmlMinifyResult = HtmlMinifyResult;
|
|
|
770
835
|
type code_JsMinifyOptions = JsMinifyOptions;
|
|
771
836
|
type code_JsMinifyResult = JsMinifyResult;
|
|
772
837
|
declare const code_KNOWN_LANGUAGE_TAGS: typeof KNOWN_LANGUAGE_TAGS;
|
|
838
|
+
type code_LinkReferenceDefinition = LinkReferenceDefinition;
|
|
839
|
+
type code_LinkReferenceUsage = LinkReferenceUsage;
|
|
773
840
|
declare const code_MIME_TABLE: typeof MIME_TABLE;
|
|
774
841
|
type code_MarkdownFootnoteDefinition = MarkdownFootnoteDefinition;
|
|
775
842
|
type code_MarkdownFootnoteReference = MarkdownFootnoteReference;
|
|
776
843
|
type code_MarkdownFootnoteResult = MarkdownFootnoteResult;
|
|
844
|
+
type code_MarkdownLinkReferenceResult = MarkdownLinkReferenceResult;
|
|
777
845
|
type code_MatchResult = MatchResult;
|
|
778
846
|
type code_MimeEntry = MimeEntry;
|
|
779
847
|
type code_MimeLookupResult = MimeLookupResult;
|
|
@@ -792,6 +860,7 @@ type code_RegexGroupIssue = RegexGroupIssue;
|
|
|
792
860
|
type code_RegexMatch = RegexMatch;
|
|
793
861
|
type code_RegexResult = RegexResult;
|
|
794
862
|
type code_RegexSuccess = RegexSuccess;
|
|
863
|
+
type code_ResolvedLinkReference = ResolvedLinkReference;
|
|
795
864
|
declare const code_SQL_DEFAULT_OPTIONS: typeof SQL_DEFAULT_OPTIONS;
|
|
796
865
|
type code_Segment = Segment;
|
|
797
866
|
type code_SpecVersion = SpecVersion;
|
|
@@ -820,6 +889,7 @@ declare const code_detectRedos: typeof detectRedos;
|
|
|
820
889
|
declare const code_envToExport: typeof envToExport;
|
|
821
890
|
declare const code_envToJson: typeof envToJson;
|
|
822
891
|
declare const code_extractMarkdownFootnotes: typeof extractMarkdownFootnotes;
|
|
892
|
+
declare const code_extractMarkdownLinkReferences: typeof extractMarkdownLinkReferences;
|
|
823
893
|
declare const code_extractSvgSpriteSymbols: typeof extractSvgSpriteSymbols;
|
|
824
894
|
declare const code_formatCss: typeof formatCss;
|
|
825
895
|
declare const code_formatGql: typeof formatGql;
|
|
@@ -831,6 +901,7 @@ declare const code_getJsStats: typeof getJsStats;
|
|
|
831
901
|
declare const code_getMethodColor: typeof getMethodColor;
|
|
832
902
|
declare const code_isValidTag: typeof isValidTag;
|
|
833
903
|
declare const code_lintConventionalCommit: typeof lintConventionalCommit;
|
|
904
|
+
declare const code_lintDockerfile: typeof lintDockerfile;
|
|
834
905
|
declare const code_lookupMime: typeof lookupMime;
|
|
835
906
|
declare const code_minifyCss: typeof minifyCss;
|
|
836
907
|
declare const code_minifyGql: typeof minifyGql;
|
|
@@ -863,7 +934,7 @@ declare const code_validateFenceLanguageTags: typeof validateFenceLanguageTags;
|
|
|
863
934
|
declare const code_validatePackageExports: typeof validatePackageExports;
|
|
864
935
|
declare const code_validateTsconfig: typeof validateTsconfig;
|
|
865
936
|
declare namespace code {
|
|
866
|
-
export { code_ALL_FLAGS as ALL_FLAGS, type code_ApiEndpoint as ApiEndpoint, type code_ApiInfo as ApiInfo, type code_AriaIssue as AriaIssue, type code_AriaValidationResult as AriaValidationResult, code_CHEATSHEET as CHEATSHEET, type code_CheatsheetEntry as CheatsheetEntry, type code_CommitTrailer as CommitTrailer, type code_CommitTrailerResult as CommitTrailerResult, type code_ConnectionStringHost as ConnectionStringHost, type code_ConnectionStringResult as ConnectionStringResult, type code_ConventionalCommitFinding as ConventionalCommitFinding, type code_ConventionalCommitFooter as ConventionalCommitFooter, type code_ConventionalCommitOptions as ConventionalCommitOptions, type code_ConventionalCommitParsed as ConventionalCommitParsed, type code_ConventionalCommitResult as ConventionalCommitResult, type code_ConventionalCommitSeverity as ConventionalCommitSeverity, type code_CssResult as CssResult, code_DEFAULT_COMMIT_TYPES as DEFAULT_COMMIT_TYPES, type code_DependencyAuditDuplicate as DependencyAuditDuplicate, type code_DependencyAuditEntry as DependencyAuditEntry, type code_DependencyAuditIssue as DependencyAuditIssue, type code_DependencyAuditResult as DependencyAuditResult, type code_DependencyRangeType as DependencyRangeType, type code_DependencySection as DependencySection, type code_DockerImageRef as DockerImageRef, type code_EditorConfigIssue as EditorConfigIssue, type code_EditorConfigProperty as EditorConfigProperty, type code_EditorConfigSection as EditorConfigSection, type code_EditorConfigValidationResult as EditorConfigValidationResult, type code_EnvEntry as EnvEntry, type code_EnvParseResult as EnvParseResult, type code_ExportsIssue as ExportsIssue, type code_ExportsShape as ExportsShape, type code_ExportsValidationResult as ExportsValidationResult, type code_FenceTagIssue as FenceTagIssue, type code_FenceTagIssueType as FenceTagIssueType, type code_FenceValidationResult as FenceValidationResult, type code_GitCommandConfig as GitCommandConfig, type code_GitCommandResult as GitCommandResult, type code_GitOperation as GitOperation, type code_GithubUrlInfo as GithubUrlInfo, type code_GithubUrlType as GithubUrlType, type code_GitignoreTestResult as GitignoreTestResult, type code_GqlFormatResult as GqlFormatResult, type code_HtmlFormatResult as HtmlFormatResult, type code_HtmlMinifyOptions as HtmlMinifyOptions, type code_HtmlMinifyResult as HtmlMinifyResult, type code_JsMinifyOptions as JsMinifyOptions, type code_JsMinifyResult as JsMinifyResult, code_KNOWN_LANGUAGE_TAGS as KNOWN_LANGUAGE_TAGS, code_MIME_TABLE as MIME_TABLE, type code_MarkdownFootnoteDefinition as MarkdownFootnoteDefinition, type code_MarkdownFootnoteReference as MarkdownFootnoteReference, type code_MarkdownFootnoteResult as MarkdownFootnoteResult, type code_MatchResult as MatchResult, type code_MimeEntry as MimeEntry, type code_MimeLookupResult as MimeLookupResult, code_OPERATIONS as OPERATIONS, type code_ParsedSpec as ParsedSpec, type code_PlaceholderStyle as PlaceholderStyle, type code_RedosFinding as RedosFinding, type code_RedosResult as RedosResult, type code_RedosSeverity as RedosSeverity, type code_RegexBackreferenceInfo as RegexBackreferenceInfo, type code_RegexError as RegexError, type code_RegexFlag as RegexFlag, type code_RegexGroupAnalysis as RegexGroupAnalysis, type code_RegexGroupInfo as RegexGroupInfo, type code_RegexGroupIssue as RegexGroupIssue, type code_RegexMatch as RegexMatch, type code_RegexResult as RegexResult, type code_RegexSuccess as RegexSuccess, code_SQL_DEFAULT_OPTIONS as SQL_DEFAULT_OPTIONS, type code_Segment as Segment, type code_SpecVersion as SpecVersion, type code_SqlDialect as SqlDialect, type code_SqlFormatOptions as SqlFormatOptions, type code_SqlPlaceholder as SqlPlaceholder, type code_SqlPlaceholderResult as SqlPlaceholderResult, type code_SvgSpriteResult as SvgSpriteResult, type code_SvgSpriteSymbol as SvgSpriteSymbol, type code_TestPatternResult as TestPatternResult, type code_TsconfigIssue as TsconfigIssue, type code_TsconfigValidationResult as TsconfigValidationResult, code_analyzeRegexGroups as analyzeRegexGroups, code_auditDependencyRanges as auditDependencyRanges, code_buildDockerPull as buildDockerPull, code_buildDockerRun as buildDockerRun, code_buildGitCommand as buildGitCommand, code_collapseHtmlWhitespace as collapseHtmlWhitespace, code_collapseJsWhitespace as collapseJsWhitespace, code_countProperties as countProperties, code_countRules as countRules, code_countSqlPlaceholders as countSqlPlaceholders, code_detectDialect as detectDialect, code_detectOperationType as detectOperationType, code_detectRedos as detectRedos, code_envToExport as envToExport, code_envToJson as envToJson, code_extractMarkdownFootnotes as extractMarkdownFootnotes, code_extractSvgSpriteSymbols as extractSvgSpriteSymbols, code_formatCss as formatCss, code_formatGql as formatGql, code_formatHtml as formatHtml, code_formatSql as formatSql, code_getEndpointsByTag as getEndpointsByTag, code_getHtmlStats as getHtmlStats, code_getJsStats as getJsStats, code_getMethodColor as getMethodColor, code_isValidTag as isValidTag, code_lintConventionalCommit as lintConventionalCommit, code_lookupMime as lookupMime, code_minifyCss as minifyCss, code_minifyGql as minifyGql, code_minifyHtml as minifyHtml, code_minifyJs as minifyJs, code_minifySql as minifySql, code_normalizeRef as normalizeRef, code_parseCommitTrailers as parseCommitTrailers, code_parseConnectionString as parseConnectionString, code_parseDockerImage as parseDockerImage, code_parseEnv as parseEnv, code_parseGitCommand as parseGitCommand, code_parseGithubUrl as parseGithubUrl, code_parseSpec as parseSpec, code_removeConsoleCalls as removeConsoleCalls, code_removeEmptyAttributes as removeEmptyAttributes, code_removeHtmlComments as removeHtmlComments, code_removeJsComments as removeJsComments, code_removeRedundantAttributes as removeRedundantAttributes, code_searchCheatsheet as searchCheatsheet, code_searchEndpoints as searchEndpoints, code_splitStatements as splitStatements, code_testGitignorePatterns as testGitignorePatterns, code_testPattern as testPattern, code_testRegex as testRegex, code_validateAria as validateAria, code_validateEditorConfig as validateEditorConfig, code_validateEnvKey as validateEnvKey, code_validateFenceLanguageTags as validateFenceLanguageTags, code_validatePackageExports as validatePackageExports, code_validateTsconfig as validateTsconfig };
|
|
937
|
+
export { code_ALL_FLAGS as ALL_FLAGS, type code_ApiEndpoint as ApiEndpoint, type code_ApiInfo as ApiInfo, type code_AriaIssue as AriaIssue, type code_AriaValidationResult as AriaValidationResult, code_CHEATSHEET as CHEATSHEET, type code_CheatsheetEntry as CheatsheetEntry, type code_CommitTrailer as CommitTrailer, type code_CommitTrailerResult as CommitTrailerResult, type code_ConnectionStringHost as ConnectionStringHost, type code_ConnectionStringResult as ConnectionStringResult, type code_ConventionalCommitFinding as ConventionalCommitFinding, type code_ConventionalCommitFooter as ConventionalCommitFooter, type code_ConventionalCommitOptions as ConventionalCommitOptions, type code_ConventionalCommitParsed as ConventionalCommitParsed, type code_ConventionalCommitResult as ConventionalCommitResult, type code_ConventionalCommitSeverity as ConventionalCommitSeverity, type code_CssResult as CssResult, code_DEFAULT_COMMIT_TYPES as DEFAULT_COMMIT_TYPES, type code_DependencyAuditDuplicate as DependencyAuditDuplicate, type code_DependencyAuditEntry as DependencyAuditEntry, type code_DependencyAuditIssue as DependencyAuditIssue, type code_DependencyAuditResult as DependencyAuditResult, type code_DependencyRangeType as DependencyRangeType, type code_DependencySection as DependencySection, type code_DockerImageRef as DockerImageRef, type code_DockerfileLintFinding as DockerfileLintFinding, type code_DockerfileLintResult as DockerfileLintResult, type code_DockerfileStage as DockerfileStage, type code_EditorConfigIssue as EditorConfigIssue, type code_EditorConfigProperty as EditorConfigProperty, type code_EditorConfigSection as EditorConfigSection, type code_EditorConfigValidationResult as EditorConfigValidationResult, type code_EnvEntry as EnvEntry, type code_EnvParseResult as EnvParseResult, type code_ExportsIssue as ExportsIssue, type code_ExportsShape as ExportsShape, type code_ExportsValidationResult as ExportsValidationResult, type code_FenceTagIssue as FenceTagIssue, type code_FenceTagIssueType as FenceTagIssueType, type code_FenceValidationResult as FenceValidationResult, type code_GitCommandConfig as GitCommandConfig, type code_GitCommandResult as GitCommandResult, type code_GitOperation as GitOperation, type code_GithubUrlInfo as GithubUrlInfo, type code_GithubUrlType as GithubUrlType, type code_GitignoreTestResult as GitignoreTestResult, type code_GqlFormatResult as GqlFormatResult, type code_HtmlFormatResult as HtmlFormatResult, type code_HtmlMinifyOptions as HtmlMinifyOptions, type code_HtmlMinifyResult as HtmlMinifyResult, type code_JsMinifyOptions as JsMinifyOptions, type code_JsMinifyResult as JsMinifyResult, code_KNOWN_LANGUAGE_TAGS as KNOWN_LANGUAGE_TAGS, type code_LinkReferenceDefinition as LinkReferenceDefinition, type code_LinkReferenceUsage as LinkReferenceUsage, code_MIME_TABLE as MIME_TABLE, type code_MarkdownFootnoteDefinition as MarkdownFootnoteDefinition, type code_MarkdownFootnoteReference as MarkdownFootnoteReference, type code_MarkdownFootnoteResult as MarkdownFootnoteResult, type code_MarkdownLinkReferenceResult as MarkdownLinkReferenceResult, type code_MatchResult as MatchResult, type code_MimeEntry as MimeEntry, type code_MimeLookupResult as MimeLookupResult, code_OPERATIONS as OPERATIONS, type code_ParsedSpec as ParsedSpec, type code_PlaceholderStyle as PlaceholderStyle, type code_RedosFinding as RedosFinding, type code_RedosResult as RedosResult, type code_RedosSeverity as RedosSeverity, type code_RegexBackreferenceInfo as RegexBackreferenceInfo, type code_RegexError as RegexError, type code_RegexFlag as RegexFlag, type code_RegexGroupAnalysis as RegexGroupAnalysis, type code_RegexGroupInfo as RegexGroupInfo, type code_RegexGroupIssue as RegexGroupIssue, type code_RegexMatch as RegexMatch, type code_RegexResult as RegexResult, type code_RegexSuccess as RegexSuccess, type code_ResolvedLinkReference as ResolvedLinkReference, code_SQL_DEFAULT_OPTIONS as SQL_DEFAULT_OPTIONS, type code_Segment as Segment, type code_SpecVersion as SpecVersion, type code_SqlDialect as SqlDialect, type code_SqlFormatOptions as SqlFormatOptions, type code_SqlPlaceholder as SqlPlaceholder, type code_SqlPlaceholderResult as SqlPlaceholderResult, type code_SvgSpriteResult as SvgSpriteResult, type code_SvgSpriteSymbol as SvgSpriteSymbol, type code_TestPatternResult as TestPatternResult, type code_TsconfigIssue as TsconfigIssue, type code_TsconfigValidationResult as TsconfigValidationResult, code_analyzeRegexGroups as analyzeRegexGroups, code_auditDependencyRanges as auditDependencyRanges, code_buildDockerPull as buildDockerPull, code_buildDockerRun as buildDockerRun, code_buildGitCommand as buildGitCommand, code_collapseHtmlWhitespace as collapseHtmlWhitespace, code_collapseJsWhitespace as collapseJsWhitespace, code_countProperties as countProperties, code_countRules as countRules, code_countSqlPlaceholders as countSqlPlaceholders, code_detectDialect as detectDialect, code_detectOperationType as detectOperationType, code_detectRedos as detectRedos, code_envToExport as envToExport, code_envToJson as envToJson, code_extractMarkdownFootnotes as extractMarkdownFootnotes, code_extractMarkdownLinkReferences as extractMarkdownLinkReferences, code_extractSvgSpriteSymbols as extractSvgSpriteSymbols, code_formatCss as formatCss, code_formatGql as formatGql, code_formatHtml as formatHtml, code_formatSql as formatSql, code_getEndpointsByTag as getEndpointsByTag, code_getHtmlStats as getHtmlStats, code_getJsStats as getJsStats, code_getMethodColor as getMethodColor, code_isValidTag as isValidTag, code_lintConventionalCommit as lintConventionalCommit, code_lintDockerfile as lintDockerfile, code_lookupMime as lookupMime, code_minifyCss as minifyCss, code_minifyGql as minifyGql, code_minifyHtml as minifyHtml, code_minifyJs as minifyJs, code_minifySql as minifySql, code_normalizeRef as normalizeRef, code_parseCommitTrailers as parseCommitTrailers, code_parseConnectionString as parseConnectionString, code_parseDockerImage as parseDockerImage, code_parseEnv as parseEnv, code_parseGitCommand as parseGitCommand, code_parseGithubUrl as parseGithubUrl, code_parseSpec as parseSpec, code_removeConsoleCalls as removeConsoleCalls, code_removeEmptyAttributes as removeEmptyAttributes, code_removeHtmlComments as removeHtmlComments, code_removeJsComments as removeJsComments, code_removeRedundantAttributes as removeRedundantAttributes, code_searchCheatsheet as searchCheatsheet, code_searchEndpoints as searchEndpoints, code_splitStatements as splitStatements, code_testGitignorePatterns as testGitignorePatterns, code_testPattern as testPattern, code_testRegex as testRegex, code_validateAria as validateAria, code_validateEditorConfig as validateEditorConfig, code_validateEnvKey as validateEnvKey, code_validateFenceLanguageTags as validateFenceLanguageTags, code_validatePackageExports as validatePackageExports, code_validateTsconfig as validateTsconfig };
|
|
867
938
|
}
|
|
868
939
|
|
|
869
|
-
export { type
|
|
940
|
+
export { type JsMinifyResult as $, ALL_FLAGS as A, type DockerfileStage as B, CHEATSHEET as C, DEFAULT_COMMIT_TYPES as D, type EditorConfigIssue as E, type EditorConfigProperty as F, type EditorConfigSection as G, type EditorConfigValidationResult as H, type EnvEntry as I, type EnvParseResult as J, type ExportsIssue as K, type ExportsShape as L, type ExportsValidationResult as M, type FenceTagIssue as N, type FenceTagIssueType as O, type FenceValidationResult as P, type GitCommandConfig as Q, type GitCommandResult as R, type GitOperation as S, type GithubUrlInfo as T, type GithubUrlType as U, type GitignoreTestResult as V, type GqlFormatResult as W, type HtmlFormatResult as X, type HtmlMinifyOptions as Y, type HtmlMinifyResult as Z, type JsMinifyOptions as _, type ApiEndpoint as a, getJsStats as a$, KNOWN_LANGUAGE_TAGS as a0, type LinkReferenceDefinition as a1, type LinkReferenceUsage as a2, MIME_TABLE as a3, type MarkdownFootnoteDefinition as a4, type MarkdownFootnoteReference as a5, type MarkdownFootnoteResult as a6, type MarkdownLinkReferenceResult as a7, type MatchResult as a8, type MimeEntry as a9, type TestPatternResult as aA, type TsconfigIssue as aB, type TsconfigValidationResult as aC, analyzeRegexGroups as aD, auditDependencyRanges as aE, buildDockerPull as aF, buildDockerRun as aG, buildGitCommand as aH, collapseHtmlWhitespace as aI, collapseJsWhitespace as aJ, countProperties as aK, countRules as aL, countSqlPlaceholders as aM, detectDialect as aN, detectOperationType as aO, detectRedos as aP, envToExport as aQ, envToJson as aR, extractMarkdownFootnotes as aS, extractMarkdownLinkReferences as aT, extractSvgSpriteSymbols as aU, formatCss as aV, formatGql as aW, formatHtml as aX, formatSql as aY, getEndpointsByTag as aZ, getHtmlStats as a_, type MimeLookupResult as aa, OPERATIONS as ab, type ParsedSpec as ac, type PlaceholderStyle as ad, type RedosFinding as ae, type RedosResult as af, type RedosSeverity as ag, type RegexBackreferenceInfo as ah, type RegexError as ai, type RegexFlag as aj, type RegexGroupAnalysis as ak, type RegexGroupInfo as al, type RegexGroupIssue as am, type RegexMatch as an, type RegexResult as ao, type RegexSuccess as ap, type ResolvedLinkReference as aq, SQL_DEFAULT_OPTIONS as ar, type Segment as as, type SpecVersion as at, type SqlDialect as au, type SqlFormatOptions as av, type SqlPlaceholder as aw, type SqlPlaceholderResult as ax, type SvgSpriteResult as ay, type SvgSpriteSymbol as az, type ApiInfo as b, getMethodColor as b0, isValidTag as b1, lintConventionalCommit as b2, lintDockerfile as b3, lookupMime as b4, minifyCss as b5, minifyGql as b6, minifyHtml as b7, minifyJs as b8, minifySql as b9, normalizeRef as ba, parseCommitTrailers as bb, parseConnectionString as bc, parseDockerImage as bd, parseEnv as be, parseGitCommand as bf, parseGithubUrl as bg, parseSpec as bh, removeConsoleCalls as bi, removeEmptyAttributes as bj, removeHtmlComments as bk, removeJsComments as bl, removeRedundantAttributes as bm, searchCheatsheet as bn, searchEndpoints as bo, splitStatements as bp, testGitignorePatterns as bq, testPattern as br, testRegex as bs, validateAria as bt, validateEditorConfig as bu, validateEnvKey as bv, validateFenceLanguageTags as bw, validatePackageExports as bx, validateTsconfig as by, code as c, type AriaIssue as d, type AriaValidationResult as e, type CheatsheetEntry as f, type CommitTrailer as g, type CommitTrailerResult as h, type ConnectionStringHost as i, type ConnectionStringResult as j, type ConventionalCommitFinding as k, type ConventionalCommitFooter as l, type ConventionalCommitOptions as m, type ConventionalCommitParsed as n, type ConventionalCommitResult as o, type ConventionalCommitSeverity as p, type CssResult as q, type DependencyAuditDuplicate as r, type DependencyAuditEntry as s, type DependencyAuditIssue as t, type DependencyAuditResult as u, type DependencyRangeType as v, type DependencySection as w, type DockerImageRef as x, type DockerfileLintFinding as y, type DockerfileLintResult as z };
|