@utilix-tech/sdk 0.81.0 → 0.83.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 +7 -0
- package/README.md +14 -5
- 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-FPFA4ZHC.js → chunk-KXUHXQFO.js} +60 -1
- package/dist/{chunk-KWS4ZCYG.js → chunk-SW3J5CAI.js} +36 -1
- package/dist/{code-B8yHwP3m.d.cts → code-COUhffgE.d.cts} +42 -2
- package/dist/{code-B8yHwP3m.d.ts → code-COUhffgE.d.ts} +42 -2
- package/dist/index.cjs +134 -0
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/{network-BskZe1n2.d.cts → network-ylRtLPEs.d.cts} +29 -2
- package/dist/{network-BskZe1n2.d.ts → network-ylRtLPEs.d.ts} +29 -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 +59 -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/network.cjs +35 -0
- package/dist/tools/network.d.cts +1 -1
- package/dist/tools/network.d.ts +1 -1
- package/dist/tools/network.js +1 -1
- package/package.json +1 -1
|
@@ -718,6 +718,41 @@ interface SqlPlaceholderResult {
|
|
|
718
718
|
* bodies (`$$...$$`) are not specially recognized.
|
|
719
719
|
*/
|
|
720
720
|
declare function countSqlPlaceholders(sql: string): SqlPlaceholderResult;
|
|
721
|
+
interface LinkReferenceUsage {
|
|
722
|
+
text: string;
|
|
723
|
+
label: string;
|
|
724
|
+
image: boolean;
|
|
725
|
+
}
|
|
726
|
+
interface LinkReferenceDefinition {
|
|
727
|
+
label: string;
|
|
728
|
+
url: string;
|
|
729
|
+
title?: string;
|
|
730
|
+
}
|
|
731
|
+
interface ResolvedLinkReference extends LinkReferenceUsage {
|
|
732
|
+
url: string;
|
|
733
|
+
title?: string;
|
|
734
|
+
}
|
|
735
|
+
interface MarkdownLinkReferenceResult {
|
|
736
|
+
referenceCount: number;
|
|
737
|
+
definitionCount: number;
|
|
738
|
+
resolved: ResolvedLinkReference[];
|
|
739
|
+
unresolvedReferences: LinkReferenceUsage[];
|
|
740
|
+
unusedDefinitions: LinkReferenceDefinition[];
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* Extract every reference-style Markdown link (`[text][ref]`, including the
|
|
744
|
+
* shortcut form `[text][]` and image references `![alt][ref]`) alongside
|
|
745
|
+
* its `[ref]: url "title"` definition, then flag usages with no matching
|
|
746
|
+
* definition and definitions that no usage ever references. Labels are
|
|
747
|
+
* matched case-insensitively with internal whitespace collapsed, per
|
|
748
|
+
* CommonMark's link-label normalization; when the same label is defined
|
|
749
|
+
* more than once, the first definition wins. Inline links (`[text](url)`)
|
|
750
|
+
* and bare shortcut references (`[ref]` with no second bracket pair) are
|
|
751
|
+
* out of scope.
|
|
752
|
+
*/
|
|
753
|
+
declare function extractMarkdownLinkReferences(markdown: string): MarkdownLinkReferenceResult | {
|
|
754
|
+
error: string;
|
|
755
|
+
};
|
|
721
756
|
|
|
722
757
|
declare const code_ALL_FLAGS: typeof ALL_FLAGS;
|
|
723
758
|
type code_ApiEndpoint = ApiEndpoint;
|
|
@@ -770,10 +805,13 @@ type code_HtmlMinifyResult = HtmlMinifyResult;
|
|
|
770
805
|
type code_JsMinifyOptions = JsMinifyOptions;
|
|
771
806
|
type code_JsMinifyResult = JsMinifyResult;
|
|
772
807
|
declare const code_KNOWN_LANGUAGE_TAGS: typeof KNOWN_LANGUAGE_TAGS;
|
|
808
|
+
type code_LinkReferenceDefinition = LinkReferenceDefinition;
|
|
809
|
+
type code_LinkReferenceUsage = LinkReferenceUsage;
|
|
773
810
|
declare const code_MIME_TABLE: typeof MIME_TABLE;
|
|
774
811
|
type code_MarkdownFootnoteDefinition = MarkdownFootnoteDefinition;
|
|
775
812
|
type code_MarkdownFootnoteReference = MarkdownFootnoteReference;
|
|
776
813
|
type code_MarkdownFootnoteResult = MarkdownFootnoteResult;
|
|
814
|
+
type code_MarkdownLinkReferenceResult = MarkdownLinkReferenceResult;
|
|
777
815
|
type code_MatchResult = MatchResult;
|
|
778
816
|
type code_MimeEntry = MimeEntry;
|
|
779
817
|
type code_MimeLookupResult = MimeLookupResult;
|
|
@@ -792,6 +830,7 @@ type code_RegexGroupIssue = RegexGroupIssue;
|
|
|
792
830
|
type code_RegexMatch = RegexMatch;
|
|
793
831
|
type code_RegexResult = RegexResult;
|
|
794
832
|
type code_RegexSuccess = RegexSuccess;
|
|
833
|
+
type code_ResolvedLinkReference = ResolvedLinkReference;
|
|
795
834
|
declare const code_SQL_DEFAULT_OPTIONS: typeof SQL_DEFAULT_OPTIONS;
|
|
796
835
|
type code_Segment = Segment;
|
|
797
836
|
type code_SpecVersion = SpecVersion;
|
|
@@ -820,6 +859,7 @@ declare const code_detectRedos: typeof detectRedos;
|
|
|
820
859
|
declare const code_envToExport: typeof envToExport;
|
|
821
860
|
declare const code_envToJson: typeof envToJson;
|
|
822
861
|
declare const code_extractMarkdownFootnotes: typeof extractMarkdownFootnotes;
|
|
862
|
+
declare const code_extractMarkdownLinkReferences: typeof extractMarkdownLinkReferences;
|
|
823
863
|
declare const code_extractSvgSpriteSymbols: typeof extractSvgSpriteSymbols;
|
|
824
864
|
declare const code_formatCss: typeof formatCss;
|
|
825
865
|
declare const code_formatGql: typeof formatGql;
|
|
@@ -863,7 +903,7 @@ declare const code_validateFenceLanguageTags: typeof validateFenceLanguageTags;
|
|
|
863
903
|
declare const code_validatePackageExports: typeof validatePackageExports;
|
|
864
904
|
declare const code_validateTsconfig: typeof validateTsconfig;
|
|
865
905
|
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 };
|
|
906
|
+
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, 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_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
907
|
}
|
|
868
908
|
|
|
869
|
-
export { type
|
|
909
|
+
export { type LinkReferenceUsage as $, ALL_FLAGS as A, type EditorConfigValidationResult as B, CHEATSHEET as C, DEFAULT_COMMIT_TYPES as D, type EditorConfigIssue as E, type EnvEntry as F, type EnvParseResult as G, type ExportsIssue as H, type ExportsShape as I, type ExportsValidationResult as J, type FenceTagIssue as K, type FenceTagIssueType as L, type FenceValidationResult as M, type GitCommandConfig as N, type GitCommandResult as O, type GitOperation as P, type GithubUrlInfo as Q, type GithubUrlType as R, type GitignoreTestResult as S, type GqlFormatResult as T, type HtmlFormatResult as U, type HtmlMinifyOptions as V, type HtmlMinifyResult as W, type JsMinifyOptions as X, type JsMinifyResult as Y, KNOWN_LANGUAGE_TAGS as Z, type LinkReferenceDefinition as _, type ApiEndpoint as a, lintConventionalCommit as a$, MIME_TABLE as a0, type MarkdownFootnoteDefinition as a1, type MarkdownFootnoteReference as a2, type MarkdownFootnoteResult as a3, type MarkdownLinkReferenceResult as a4, type MatchResult as a5, type MimeEntry as a6, type MimeLookupResult as a7, OPERATIONS as a8, type ParsedSpec as a9, analyzeRegexGroups as aA, auditDependencyRanges as aB, buildDockerPull as aC, buildDockerRun as aD, buildGitCommand as aE, collapseHtmlWhitespace as aF, collapseJsWhitespace as aG, countProperties as aH, countRules as aI, countSqlPlaceholders as aJ, detectDialect as aK, detectOperationType as aL, detectRedos as aM, envToExport as aN, envToJson as aO, extractMarkdownFootnotes as aP, extractMarkdownLinkReferences as aQ, extractSvgSpriteSymbols as aR, formatCss as aS, formatGql as aT, formatHtml as aU, formatSql as aV, getEndpointsByTag as aW, getHtmlStats as aX, getJsStats as aY, getMethodColor as aZ, isValidTag as a_, type PlaceholderStyle as aa, type RedosFinding as ab, type RedosResult as ac, type RedosSeverity as ad, type RegexBackreferenceInfo as ae, type RegexError as af, type RegexFlag as ag, type RegexGroupAnalysis as ah, type RegexGroupInfo as ai, type RegexGroupIssue as aj, type RegexMatch as ak, type RegexResult as al, type RegexSuccess as am, type ResolvedLinkReference as an, SQL_DEFAULT_OPTIONS as ao, type Segment as ap, type SpecVersion as aq, type SqlDialect as ar, type SqlFormatOptions as as, type SqlPlaceholder as at, type SqlPlaceholderResult as au, type SvgSpriteResult as av, type SvgSpriteSymbol as aw, type TestPatternResult as ax, type TsconfigIssue as ay, type TsconfigValidationResult as az, type ApiInfo as b, lookupMime as b0, minifyCss as b1, minifyGql as b2, minifyHtml as b3, minifyJs as b4, minifySql as b5, normalizeRef as b6, parseCommitTrailers as b7, parseConnectionString as b8, parseDockerImage as b9, parseEnv as ba, parseGitCommand as bb, parseGithubUrl as bc, parseSpec as bd, removeConsoleCalls as be, removeEmptyAttributes as bf, removeHtmlComments as bg, removeJsComments as bh, removeRedundantAttributes as bi, searchCheatsheet as bj, searchEndpoints as bk, splitStatements as bl, testGitignorePatterns as bm, testPattern as bn, testRegex as bo, validateAria as bp, validateEditorConfig as bq, validateEnvKey as br, validateFenceLanguageTags as bs, validatePackageExports as bt, validateTsconfig as bu, 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 EditorConfigProperty as y, type EditorConfigSection as z };
|
package/dist/index.cjs
CHANGED
|
@@ -11724,6 +11724,7 @@ __export(network_exports, {
|
|
|
11724
11724
|
extractMultipartBoundary: () => extractMultipartBoundary,
|
|
11725
11725
|
formatCoordinates: () => formatCoordinates,
|
|
11726
11726
|
formatTtl: () => formatTtl,
|
|
11727
|
+
generateRobotsTxt: () => generateRobotsTxt,
|
|
11727
11728
|
getByCategory: () => getByCategory,
|
|
11728
11729
|
getHeader: () => getHeader,
|
|
11729
11730
|
getHeadersByCategory: () => getHeadersByCategory,
|
|
@@ -13397,6 +13398,40 @@ function validateRobotsTxt(text) {
|
|
|
13397
13398
|
const valid = !issues.some((i) => i.severity === "error");
|
|
13398
13399
|
return { groups, sitemaps, issues, valid };
|
|
13399
13400
|
}
|
|
13401
|
+
function generateRobotsTxt(options) {
|
|
13402
|
+
if (!options || !Array.isArray(options.groups) || options.groups.length === 0) {
|
|
13403
|
+
return { error: "At least one group with a user-agent is required" };
|
|
13404
|
+
}
|
|
13405
|
+
const lines = [];
|
|
13406
|
+
for (const group of options.groups) {
|
|
13407
|
+
const userAgents = (group.userAgents ?? []).map((a) => a.trim()).filter(Boolean);
|
|
13408
|
+
if (userAgents.length === 0) return { error: "Each group needs at least one non-empty user-agent" };
|
|
13409
|
+
for (const ua of userAgents) lines.push(`User-agent: ${ua}`);
|
|
13410
|
+
const disallow = group.disallow ?? [];
|
|
13411
|
+
const allow = group.allow ?? [];
|
|
13412
|
+
if (disallow.length === 0 && allow.length === 0) {
|
|
13413
|
+
lines.push("Disallow:");
|
|
13414
|
+
} else {
|
|
13415
|
+
for (const value of disallow) lines.push(`Disallow: ${value}`);
|
|
13416
|
+
for (const value of allow) lines.push(`Allow: ${value}`);
|
|
13417
|
+
}
|
|
13418
|
+
if (group.crawlDelay !== void 0) {
|
|
13419
|
+
if (!Number.isFinite(group.crawlDelay) || group.crawlDelay < 0) {
|
|
13420
|
+
return { error: "crawlDelay must be a non-negative number" };
|
|
13421
|
+
}
|
|
13422
|
+
lines.push(`Crawl-delay: ${group.crawlDelay}`);
|
|
13423
|
+
}
|
|
13424
|
+
lines.push("");
|
|
13425
|
+
}
|
|
13426
|
+
for (const sitemap of options.sitemaps ?? []) {
|
|
13427
|
+
if (!/^https?:\/\//i.test(sitemap)) {
|
|
13428
|
+
return { error: `Sitemap URL "${sitemap}" must be absolute (start with http:// or https://)` };
|
|
13429
|
+
}
|
|
13430
|
+
lines.push(`Sitemap: ${sitemap}`);
|
|
13431
|
+
}
|
|
13432
|
+
while (lines.length > 0 && lines[lines.length - 1] === "") lines.pop();
|
|
13433
|
+
return { text: lines.join("\n") + "\n" };
|
|
13434
|
+
}
|
|
13400
13435
|
var UA_BOT_PATTERNS = [
|
|
13401
13436
|
[/googlebot/i, "Googlebot"],
|
|
13402
13437
|
[/bingbot/i, "Bingbot"],
|
|
@@ -16756,6 +16791,7 @@ __export(code_exports, {
|
|
|
16756
16791
|
envToExport: () => envToExport2,
|
|
16757
16792
|
envToJson: () => envToJson2,
|
|
16758
16793
|
extractMarkdownFootnotes: () => extractMarkdownFootnotes,
|
|
16794
|
+
extractMarkdownLinkReferences: () => extractMarkdownLinkReferences,
|
|
16759
16795
|
extractSvgSpriteSymbols: () => extractSvgSpriteSymbols,
|
|
16760
16796
|
formatCss: () => formatCss,
|
|
16761
16797
|
formatGql: () => formatGql,
|
|
@@ -20997,6 +21033,64 @@ function countSqlPlaceholders(sql) {
|
|
|
20997
21033
|
numberedDuplicates
|
|
20998
21034
|
};
|
|
20999
21035
|
}
|
|
21036
|
+
var LINK_REF_DEFINITION_REGEX = /^ {0,3}\[([^\]]+)\]:\s*(\S+)(?:\s+(?:"([^"]*)"|'([^']*)'|\(([^)]*)\)))?\s*$/;
|
|
21037
|
+
var LINK_REF_USAGE_REGEX = /(!?)\[([^[\]\n]*)\]\[([^[\]\n]*)\]/g;
|
|
21038
|
+
function normalizeLinkLabel(label) {
|
|
21039
|
+
return label.trim().replace(/\s+/g, " ").toLowerCase();
|
|
21040
|
+
}
|
|
21041
|
+
function extractMarkdownLinkReferences(markdown) {
|
|
21042
|
+
const trimmed = markdown.trim();
|
|
21043
|
+
if (!trimmed) return { error: "Empty input" };
|
|
21044
|
+
const lines = markdown.replace(/\r\n/g, "\n").split("\n");
|
|
21045
|
+
const definitions = [];
|
|
21046
|
+
const definitionsByLabel = /* @__PURE__ */ new Map();
|
|
21047
|
+
for (const line of lines) {
|
|
21048
|
+
const match = line.match(LINK_REF_DEFINITION_REGEX);
|
|
21049
|
+
if (!match) continue;
|
|
21050
|
+
const label = match[1];
|
|
21051
|
+
const normalized = normalizeLinkLabel(label);
|
|
21052
|
+
if (definitionsByLabel.has(normalized)) continue;
|
|
21053
|
+
const def = {
|
|
21054
|
+
label,
|
|
21055
|
+
url: match[2],
|
|
21056
|
+
title: match[3] ?? match[4] ?? match[5] ?? void 0
|
|
21057
|
+
};
|
|
21058
|
+
definitionsByLabel.set(normalized, def);
|
|
21059
|
+
definitions.push(def);
|
|
21060
|
+
}
|
|
21061
|
+
const usages = [];
|
|
21062
|
+
for (const m of markdown.matchAll(LINK_REF_USAGE_REGEX)) {
|
|
21063
|
+
const image = m[1] === "!";
|
|
21064
|
+
const text = m[2];
|
|
21065
|
+
const rawRef = m[3];
|
|
21066
|
+
const label = rawRef.trim() === "" ? text : rawRef;
|
|
21067
|
+
usages.push({ text, label, image });
|
|
21068
|
+
}
|
|
21069
|
+
if (definitions.length === 0 && usages.length === 0) {
|
|
21070
|
+
return { error: "No reference-style links or definitions found" };
|
|
21071
|
+
}
|
|
21072
|
+
const usedLabels = /* @__PURE__ */ new Set();
|
|
21073
|
+
const resolved = [];
|
|
21074
|
+
const unresolvedReferences = [];
|
|
21075
|
+
for (const usage of usages) {
|
|
21076
|
+
const normalized = normalizeLinkLabel(usage.label);
|
|
21077
|
+
const def = definitionsByLabel.get(normalized);
|
|
21078
|
+
if (def) {
|
|
21079
|
+
usedLabels.add(normalized);
|
|
21080
|
+
resolved.push({ ...usage, url: def.url, title: def.title });
|
|
21081
|
+
} else {
|
|
21082
|
+
unresolvedReferences.push(usage);
|
|
21083
|
+
}
|
|
21084
|
+
}
|
|
21085
|
+
const unusedDefinitions = definitions.filter((d) => !usedLabels.has(normalizeLinkLabel(d.label)));
|
|
21086
|
+
return {
|
|
21087
|
+
referenceCount: usages.length,
|
|
21088
|
+
definitionCount: definitions.length,
|
|
21089
|
+
resolved,
|
|
21090
|
+
unresolvedReferences,
|
|
21091
|
+
unusedDefinitions
|
|
21092
|
+
};
|
|
21093
|
+
}
|
|
21000
21094
|
|
|
21001
21095
|
// src/tools/color.ts
|
|
21002
21096
|
var color_exports = {};
|
|
@@ -24597,6 +24691,7 @@ __export(ai_agent_exports, {
|
|
|
24597
24691
|
extractEntities: () => extractEntities,
|
|
24598
24692
|
extractJson: () => extractJson,
|
|
24599
24693
|
extractKeywords: () => extractKeywords,
|
|
24694
|
+
extractPromptTemplateVariables: () => extractPromptTemplateVariables,
|
|
24600
24695
|
extractTables: () => extractTables,
|
|
24601
24696
|
extractUrls: () => extractUrls,
|
|
24602
24697
|
flattenJson: () => flattenJson,
|
|
@@ -25750,6 +25845,45 @@ function calculateRetryBackoffSchedule(input) {
|
|
|
25750
25845
|
totalWorstCaseMs: round0(totalWorstCaseMs)
|
|
25751
25846
|
};
|
|
25752
25847
|
}
|
|
25848
|
+
var PROMPT_TEMPLATE_VARIABLE_REGEX = /\{\{\s*([a-zA-Z0-9_.-]+)\s*\}\}/g;
|
|
25849
|
+
function extractPromptTemplateVariables(template, providedVars) {
|
|
25850
|
+
const trimmed = template.trim();
|
|
25851
|
+
if (!trimmed) return { error: "Empty input" };
|
|
25852
|
+
const order = [];
|
|
25853
|
+
const counts = /* @__PURE__ */ new Map();
|
|
25854
|
+
for (const m of template.matchAll(PROMPT_TEMPLATE_VARIABLE_REGEX)) {
|
|
25855
|
+
const name = m[1];
|
|
25856
|
+
if (!counts.has(name)) {
|
|
25857
|
+
counts.set(name, 0);
|
|
25858
|
+
order.push(name);
|
|
25859
|
+
}
|
|
25860
|
+
counts.set(name, (counts.get(name) ?? 0) + 1);
|
|
25861
|
+
}
|
|
25862
|
+
if (order.length === 0) return { error: "No {{variable}} placeholders found" };
|
|
25863
|
+
const variables = order.map((name) => ({ name, count: counts.get(name) ?? 0 }));
|
|
25864
|
+
const duplicates = order.filter((name) => (counts.get(name) ?? 0) > 1);
|
|
25865
|
+
let missing = [];
|
|
25866
|
+
const unused = [];
|
|
25867
|
+
if (providedVars !== void 0) {
|
|
25868
|
+
const providedSet = new Set(providedVars.map((v) => v.trim()).filter(Boolean));
|
|
25869
|
+
const usedSet = new Set(order);
|
|
25870
|
+
missing = order.filter((name) => !providedSet.has(name));
|
|
25871
|
+
const seenProvided = /* @__PURE__ */ new Set();
|
|
25872
|
+
for (const raw of providedVars) {
|
|
25873
|
+
const v = raw.trim();
|
|
25874
|
+
if (!v || usedSet.has(v) || seenProvided.has(v)) continue;
|
|
25875
|
+
seenProvided.add(v);
|
|
25876
|
+
unused.push(v);
|
|
25877
|
+
}
|
|
25878
|
+
}
|
|
25879
|
+
return {
|
|
25880
|
+
variableCount: order.length,
|
|
25881
|
+
variables,
|
|
25882
|
+
duplicates,
|
|
25883
|
+
missing,
|
|
25884
|
+
unused
|
|
25885
|
+
};
|
|
25886
|
+
}
|
|
25753
25887
|
|
|
25754
25888
|
// src/tools/media.ts
|
|
25755
25889
|
var media_exports = {};
|
package/dist/index.d.cts
CHANGED
|
@@ -6,13 +6,13 @@ export { d as data } from './data-DIyBrJ6l.cjs';
|
|
|
6
6
|
export { g as generators } from './generators-DAXXrMvG.cjs';
|
|
7
7
|
export { t as time } from './time-KqJjdqII.cjs';
|
|
8
8
|
export { u as units } from './units-D7YRRwei.cjs';
|
|
9
|
-
export { n as network } from './network-
|
|
9
|
+
export { n as network } from './network-ylRtLPEs.cjs';
|
|
10
10
|
export { a as api } from './api-CQnIUrVB.cjs';
|
|
11
|
-
export { c as code } from './code-
|
|
11
|
+
export { c as code } from './code-COUhffgE.cjs';
|
|
12
12
|
export { c as color } from './color-tPwZCr9H.cjs';
|
|
13
13
|
export { c as css } from './css-Cf7AMGM-.cjs';
|
|
14
14
|
export { m as misc } from './misc-CA3N198T.cjs';
|
|
15
|
-
export { a as ai_agent } from './ai_agent-
|
|
15
|
+
export { a as ai_agent } from './ai_agent-B9wWLBDf.cjs';
|
|
16
16
|
export { m as media } from './media-DF8BS-iA.cjs';
|
|
17
17
|
|
|
18
18
|
declare const version = "0.1.0";
|
package/dist/index.d.ts
CHANGED
|
@@ -6,13 +6,13 @@ export { d as data } from './data-DIyBrJ6l.js';
|
|
|
6
6
|
export { g as generators } from './generators-DAXXrMvG.js';
|
|
7
7
|
export { t as time } from './time-KqJjdqII.js';
|
|
8
8
|
export { u as units } from './units-D7YRRwei.js';
|
|
9
|
-
export { n as network } from './network-
|
|
9
|
+
export { n as network } from './network-ylRtLPEs.js';
|
|
10
10
|
export { a as api } from './api-CQnIUrVB.js';
|
|
11
|
-
export { c as code } from './code-
|
|
11
|
+
export { c as code } from './code-COUhffgE.js';
|
|
12
12
|
export { c as color } from './color-tPwZCr9H.js';
|
|
13
13
|
export { c as css } from './css-Cf7AMGM-.js';
|
|
14
14
|
export { m as misc } from './misc-CA3N198T.js';
|
|
15
|
-
export { a as ai_agent } from './ai_agent-
|
|
15
|
+
export { a as ai_agent } from './ai_agent-B9wWLBDf.js';
|
|
16
16
|
export { m as media } from './media-DF8BS-iA.js';
|
|
17
17
|
|
|
18
18
|
declare const version = "0.1.0";
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { media_exports as media } from './chunk-ZWFZRDQ4.js';
|
|
2
2
|
export { units_exports as units } from './chunk-OFLNVDNX.js';
|
|
3
|
-
export { network_exports as network } from './chunk-
|
|
3
|
+
export { network_exports as network } from './chunk-SW3J5CAI.js';
|
|
4
4
|
export { api_exports as api } from './chunk-U2HREMZU.js';
|
|
5
|
-
export { code_exports as code } from './chunk-
|
|
5
|
+
export { code_exports as code } from './chunk-KXUHXQFO.js';
|
|
6
6
|
export { color_exports as color } from './chunk-BPVAB4P2.js';
|
|
7
7
|
export { css_exports as css } from './chunk-6YPV2AB5.js';
|
|
8
8
|
export { misc_exports as misc } from './chunk-GX7H6TAX.js';
|
|
9
|
-
export { ai_agent_exports as ai_agent } from './chunk-
|
|
9
|
+
export { ai_agent_exports as ai_agent } from './chunk-5VVC7BHS.js';
|
|
10
10
|
export { json_exports as json } from './chunk-WUOZHCIC.js';
|
|
11
11
|
export { encoding_exports as encoding } from './chunk-DOWQZUTP.js';
|
|
12
12
|
export { hashing_exports as hashing } from './chunk-PET2CGTH.js';
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* - sitemap-validator: validateSitemap
|
|
12
12
|
* - sitemap-index-splitter: splitSitemap
|
|
13
13
|
* - robots-txt-validator: validateRobotsTxt
|
|
14
|
+
* - robots-txt-generator: generateRobotsTxt
|
|
14
15
|
* - user-agent-parser: parseUserAgent
|
|
15
16
|
* - cache-control-builder: buildCacheControl
|
|
16
17
|
* - referrer-policy-builder: buildReferrerPolicy
|
|
@@ -269,6 +270,29 @@ interface RobotsValidationResult {
|
|
|
269
270
|
declare function validateRobotsTxt(text: string): RobotsValidationResult | {
|
|
270
271
|
error: string;
|
|
271
272
|
};
|
|
273
|
+
interface RobotsGenerateGroup {
|
|
274
|
+
userAgents: string[];
|
|
275
|
+
allow?: string[];
|
|
276
|
+
disallow?: string[];
|
|
277
|
+
crawlDelay?: number;
|
|
278
|
+
}
|
|
279
|
+
interface RobotsGenerateOptions {
|
|
280
|
+
groups: RobotsGenerateGroup[];
|
|
281
|
+
sitemaps?: string[];
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Generate a robots.txt file from a list of User-agent groups (each with its
|
|
285
|
+
* own Allow/Disallow rules and an optional Crawl-delay) plus a list of
|
|
286
|
+
* Sitemap URLs. The inverse of validateRobotsTxt: this always produces text
|
|
287
|
+
* that tool would accept. A group with no Allow or Disallow rules gets an
|
|
288
|
+
* explicit empty "Disallow:" line, the standard way to say that user-agent
|
|
289
|
+
* may crawl everything.
|
|
290
|
+
*/
|
|
291
|
+
declare function generateRobotsTxt(options: RobotsGenerateOptions): {
|
|
292
|
+
text: string;
|
|
293
|
+
} | {
|
|
294
|
+
error: string;
|
|
295
|
+
};
|
|
272
296
|
type UaDeviceType = 'desktop' | 'mobile' | 'tablet' | 'bot';
|
|
273
297
|
interface UserAgentInfo {
|
|
274
298
|
browser: {
|
|
@@ -1194,6 +1218,8 @@ type network_ReferrerPolicyValue = ReferrerPolicyValue;
|
|
|
1194
1218
|
type network_RetryAfterDateResult = RetryAfterDateResult;
|
|
1195
1219
|
type network_RetryAfterResult = RetryAfterResult;
|
|
1196
1220
|
type network_RetryAfterSecondsResult = RetryAfterSecondsResult;
|
|
1221
|
+
type network_RobotsGenerateGroup = RobotsGenerateGroup;
|
|
1222
|
+
type network_RobotsGenerateOptions = RobotsGenerateOptions;
|
|
1197
1223
|
type network_RobotsGroup = RobotsGroup;
|
|
1198
1224
|
type network_RobotsIssue = RobotsIssue;
|
|
1199
1225
|
type network_RobotsMetaTagFlag = RobotsMetaTagFlag;
|
|
@@ -1251,6 +1277,7 @@ declare const network_countryCodeToFlag: typeof countryCodeToFlag;
|
|
|
1251
1277
|
declare const network_extractMultipartBoundary: typeof extractMultipartBoundary;
|
|
1252
1278
|
declare const network_formatCoordinates: typeof formatCoordinates;
|
|
1253
1279
|
declare const network_formatTtl: typeof formatTtl;
|
|
1280
|
+
declare const network_generateRobotsTxt: typeof generateRobotsTxt;
|
|
1254
1281
|
declare const network_getByCategory: typeof getByCategory;
|
|
1255
1282
|
declare const network_getHeader: typeof getHeader;
|
|
1256
1283
|
declare const network_getHeadersByCategory: typeof getHeadersByCategory;
|
|
@@ -1298,7 +1325,7 @@ declare const network_validateManifest: typeof validateManifest;
|
|
|
1298
1325
|
declare const network_validateRobotsTxt: typeof validateRobotsTxt;
|
|
1299
1326
|
declare const network_validateSitemap: typeof validateSitemap;
|
|
1300
1327
|
declare namespace network {
|
|
1301
|
-
export { type network_AcceptLanguageEntry as AcceptLanguageEntry, type network_AcceptLanguageResult as AcceptLanguageResult, type network_AuthResultEntry as AuthResultEntry, type network_BuildRangeHeaderOptions as BuildRangeHeaderOptions, network_CLIENT_HINTS as CLIENT_HINTS, type network_CacheControlDirective as CacheControlDirective, type network_CacheControlOptions as CacheControlOptions, type network_CacheControlResult as CacheControlResult, type network_ClientHintDef as ClientHintDef, type network_ClientHintValueType as ClientHintValueType, type network_ClientHintsBuildResult as ClientHintsBuildResult, type network_ClientHintsParseResult as ClientHintsParseResult, type network_CloseCodeInfo as CloseCodeInfo, type network_CloseCodeRange as CloseCodeRange, type network_ContentDispositionBuildOptions as ContentDispositionBuildOptions, type network_ContentDispositionBuildResult as ContentDispositionBuildResult, type network_ContentDispositionParseResult as ContentDispositionParseResult, type network_ContentRangeResult as ContentRangeResult, type network_ContentTypeRiskResult as ContentTypeRiskResult, type network_ContentTypeSniffRisk as ContentTypeSniffRisk, type network_CookieAttributes as CookieAttributes, type network_CookieCheckResult as CookieCheckResult, type network_CookieSizeBudgetResult as CookieSizeBudgetResult, type network_CookieSizeEntry as CookieSizeEntry, network_DNS_RECORD_TYPES as DNS_RECORD_TYPES, type network_DnsRecord as DnsRecord, type network_DnsRecordType as DnsRecordType, type network_DnsResponse as DnsResponse, type network_EmailHeaderAnalysis as EmailHeaderAnalysis, type network_EmailHeaderField as EmailHeaderField, type network_GeoResult as GeoResult, network_HTTP_HEADERS as HTTP_HEADERS, type network_HarEntry as HarEntry, type network_HarParseResult as HarParseResult, type network_HarSummary as HarSummary, type network_HeaderCategory as HeaderCategory, type network_HstsOptions as HstsOptions, type network_HstsResult as HstsResult, type network_HttpHeader as HttpHeader, type network_Ipv6AddressType as Ipv6AddressType, type network_Ipv6ParseResult as Ipv6ParseResult, network_LINK_REL_VALUES as LINK_REL_VALUES, type network_LinkHeaderEntry as LinkHeaderEntry, type network_LinkHeaderEntryInput as LinkHeaderEntryInput, type network_LinkHeaderResult as LinkHeaderResult, type network_LinkRel as LinkRel, type network_ManifestIconInfo as ManifestIconInfo, type network_ManifestIssue as ManifestIssue, type network_ManifestValidationResult as ManifestValidationResult, type network_MultipartParseResult as MultipartParseResult, type network_MultipartPart as MultipartPart, type network_OpcodeCategory as OpcodeCategory, type network_OpcodeInfo as OpcodeInfo, network_PERMISSIONS_POLICY_FEATURES as PERMISSIONS_POLICY_FEATURES, type network_ParsedClientHint as ParsedClientHint, type network_ParsedDnsResult as ParsedDnsResult, type network_ParsedGeoResult as ParsedGeoResult, type network_PermissionsPolicyDirective as PermissionsPolicyDirective, type network_PermissionsPolicyFeatureInput as PermissionsPolicyFeatureInput, type network_PermissionsPolicyResult as PermissionsPolicyResult, type network_PreferParameter as PreferParameter, type network_PreferPreference as PreferPreference, type network_PreferResult as PreferResult, type network_PriorityResult as PriorityResult, network_REFERRER_POLICY_VALUES as REFERRER_POLICY_VALUES, type network_RangeEntry as RangeEntry, type network_RangeEntryInput as RangeEntryInput, type network_RangeHeaderResult as RangeHeaderResult, type network_ReceivedHop as ReceivedHop, type network_ReferrerPolicyEntry as ReferrerPolicyEntry, type network_ReferrerPolicyResult as ReferrerPolicyResult, type network_ReferrerPolicyValue as ReferrerPolicyValue, type network_RetryAfterDateResult as RetryAfterDateResult, type network_RetryAfterResult as RetryAfterResult, type network_RetryAfterSecondsResult as RetryAfterSecondsResult, type network_RobotsGroup as RobotsGroup, type network_RobotsIssue as RobotsIssue, type network_RobotsMetaTagFlag as RobotsMetaTagFlag, type network_RobotsMetaTagOptions as RobotsMetaTagOptions, type network_RobotsMetaTagResult as RobotsMetaTagResult, type network_RobotsRule as RobotsRule, type network_RobotsValidationResult as RobotsValidationResult, network_STATUS_CODES as STATUS_CODES, type network_SameSiteValue as SameSiteValue, type network_SecurityHeaderCheck as SecurityHeaderCheck, type network_SecurityHeaderStatus as SecurityHeaderStatus, type network_SecurityHeadersScorecard as SecurityHeadersScorecard, type network_SitemapIndexEntry as SitemapIndexEntry, type network_SitemapIssue as SitemapIssue, type network_SitemapSplitFile as SitemapSplitFile, type network_SitemapUrlEntry as SitemapUrlEntry, type network_SitemapValidationResult as SitemapValidationResult, type network_SplitSitemapOptions as SplitSitemapOptions, type network_SplitSitemapResult as SplitSitemapResult, type network_StatusCode as StatusCode, type network_UaDeviceType as UaDeviceType, type network_UserAgentInfo as UserAgentInfo, type network_VaryHeaderEntry as VaryHeaderEntry, type network_VaryHeaderResult as VaryHeaderResult, type network_XContentTypeOptionsHeader as XContentTypeOptionsHeader, type network_XContentTypeOptionsParseResult as XContentTypeOptionsParseResult, type network_XRobotsTagFlag as XRobotsTagFlag, type network_XRobotsTagOptions as XRobotsTagOptions, type network_XRobotsTagResult as XRobotsTagResult, network_X_CONTENT_TYPE_OPTIONS_HEADER as X_CONTENT_TYPE_OPTIONS_HEADER, network_analyzeEmailHeaders as analyzeEmailHeaders, network_assessContentTypeRisk as assessContentTypeRisk, network_buildAcceptLanguage as buildAcceptLanguage, network_buildCacheControl as buildCacheControl, network_buildClientHints as buildClientHints, network_buildContentDisposition as buildContentDisposition, network_buildDnsQueryUrl as buildDnsQueryUrl, network_buildGeoUrl as buildGeoUrl, network_buildHsts as buildHsts, network_buildLinkHeader as buildLinkHeader, network_buildMapUrl as buildMapUrl, network_buildPermissionsPolicy as buildPermissionsPolicy, network_buildPreferHeader as buildPreferHeader, network_buildPriorityHeader as buildPriorityHeader, network_buildRangeHeader as buildRangeHeader, network_buildReferrerPolicy as buildReferrerPolicy, network_buildRetryAfterHeader as buildRetryAfterHeader, network_buildRobotsMetaTag as buildRobotsMetaTag, network_buildVaryHeader as buildVaryHeader, network_buildXContentTypeOptionsHeader as buildXContentTypeOptionsHeader, network_buildXRobotsTag as buildXRobotsTag, network_calculateCookieSizeBudget as calculateCookieSizeBudget, network_checkSetCookieHeader as checkSetCookieHeader, network_countryCodeToFlag as countryCodeToFlag, network_extractMultipartBoundary as extractMultipartBoundary, network_formatCoordinates as formatCoordinates, network_formatTtl as formatTtl, network_getByCategory as getByCategory, network_getHeader as getHeader, network_getHeadersByCategory as getHeadersByCategory, network_getStatusByCategory as getStatusByCategory, network_getStatusCode as getStatusCode, network_isClientError as isClientError, network_isServerError as isServerError, network_isSuccess as isSuccess, network_isValidIp as isValidIp, network_isValidIpv4 as isValidIpv4, network_isValidIpv6 as isValidIpv6, network_listCloseCodes as listCloseCodes, network_listOpcodes as listOpcodes, network_lookupCloseCode as lookupCloseCode, network_lookupOpcode as lookupOpcode, network_parseAcceptLanguage as parseAcceptLanguage, network_parseClientHintHeaders as parseClientHintHeaders, network_parseContentDisposition as parseContentDisposition, network_parseContentRangeHeader as parseContentRangeHeader, network_parseDnsResponse as parseDnsResponse, network_parseGeoResponse as parseGeoResponse, network_parseHar as parseHar, network_parseHsts as parseHsts, network_parseIpv6Address as parseIpv6Address, network_parseMultipartFormData as parseMultipartFormData, network_parsePermissionsPolicy as parsePermissionsPolicy, network_parsePreferHeader as parsePreferHeader, network_parsePriorityHeader as parsePriorityHeader, network_parseRetryAfterHeader as parseRetryAfterHeader, network_parseRobotsMetaTag as parseRobotsMetaTag, network_parseUserAgent as parseUserAgent, network_parseVaryHeader as parseVaryHeader, network_parseXContentTypeOptionsHeader as parseXContentTypeOptionsHeader, network_parseXRobotsTag as parseXRobotsTag, network_scoreSecurityHeaders as scoreSecurityHeaders, network_searchHeaders as searchHeaders, network_searchStatusCodes as searchStatusCodes, network_splitSitemap as splitSitemap, network_statusCodeToText as statusCodeToText, network_typeNumberToLabel as typeNumberToLabel, network_validateDomain as validateDomain, network_validateHeaderName as validateHeaderName, network_validateHeaderValue as validateHeaderValue, network_validateManifest as validateManifest, network_validateRobotsTxt as validateRobotsTxt, network_validateSitemap as validateSitemap };
|
|
1328
|
+
export { type network_AcceptLanguageEntry as AcceptLanguageEntry, type network_AcceptLanguageResult as AcceptLanguageResult, type network_AuthResultEntry as AuthResultEntry, type network_BuildRangeHeaderOptions as BuildRangeHeaderOptions, network_CLIENT_HINTS as CLIENT_HINTS, type network_CacheControlDirective as CacheControlDirective, type network_CacheControlOptions as CacheControlOptions, type network_CacheControlResult as CacheControlResult, type network_ClientHintDef as ClientHintDef, type network_ClientHintValueType as ClientHintValueType, type network_ClientHintsBuildResult as ClientHintsBuildResult, type network_ClientHintsParseResult as ClientHintsParseResult, type network_CloseCodeInfo as CloseCodeInfo, type network_CloseCodeRange as CloseCodeRange, type network_ContentDispositionBuildOptions as ContentDispositionBuildOptions, type network_ContentDispositionBuildResult as ContentDispositionBuildResult, type network_ContentDispositionParseResult as ContentDispositionParseResult, type network_ContentRangeResult as ContentRangeResult, type network_ContentTypeRiskResult as ContentTypeRiskResult, type network_ContentTypeSniffRisk as ContentTypeSniffRisk, type network_CookieAttributes as CookieAttributes, type network_CookieCheckResult as CookieCheckResult, type network_CookieSizeBudgetResult as CookieSizeBudgetResult, type network_CookieSizeEntry as CookieSizeEntry, network_DNS_RECORD_TYPES as DNS_RECORD_TYPES, type network_DnsRecord as DnsRecord, type network_DnsRecordType as DnsRecordType, type network_DnsResponse as DnsResponse, type network_EmailHeaderAnalysis as EmailHeaderAnalysis, type network_EmailHeaderField as EmailHeaderField, type network_GeoResult as GeoResult, network_HTTP_HEADERS as HTTP_HEADERS, type network_HarEntry as HarEntry, type network_HarParseResult as HarParseResult, type network_HarSummary as HarSummary, type network_HeaderCategory as HeaderCategory, type network_HstsOptions as HstsOptions, type network_HstsResult as HstsResult, type network_HttpHeader as HttpHeader, type network_Ipv6AddressType as Ipv6AddressType, type network_Ipv6ParseResult as Ipv6ParseResult, network_LINK_REL_VALUES as LINK_REL_VALUES, type network_LinkHeaderEntry as LinkHeaderEntry, type network_LinkHeaderEntryInput as LinkHeaderEntryInput, type network_LinkHeaderResult as LinkHeaderResult, type network_LinkRel as LinkRel, type network_ManifestIconInfo as ManifestIconInfo, type network_ManifestIssue as ManifestIssue, type network_ManifestValidationResult as ManifestValidationResult, type network_MultipartParseResult as MultipartParseResult, type network_MultipartPart as MultipartPart, type network_OpcodeCategory as OpcodeCategory, type network_OpcodeInfo as OpcodeInfo, network_PERMISSIONS_POLICY_FEATURES as PERMISSIONS_POLICY_FEATURES, type network_ParsedClientHint as ParsedClientHint, type network_ParsedDnsResult as ParsedDnsResult, type network_ParsedGeoResult as ParsedGeoResult, type network_PermissionsPolicyDirective as PermissionsPolicyDirective, type network_PermissionsPolicyFeatureInput as PermissionsPolicyFeatureInput, type network_PermissionsPolicyResult as PermissionsPolicyResult, type network_PreferParameter as PreferParameter, type network_PreferPreference as PreferPreference, type network_PreferResult as PreferResult, type network_PriorityResult as PriorityResult, network_REFERRER_POLICY_VALUES as REFERRER_POLICY_VALUES, type network_RangeEntry as RangeEntry, type network_RangeEntryInput as RangeEntryInput, type network_RangeHeaderResult as RangeHeaderResult, type network_ReceivedHop as ReceivedHop, type network_ReferrerPolicyEntry as ReferrerPolicyEntry, type network_ReferrerPolicyResult as ReferrerPolicyResult, type network_ReferrerPolicyValue as ReferrerPolicyValue, type network_RetryAfterDateResult as RetryAfterDateResult, type network_RetryAfterResult as RetryAfterResult, type network_RetryAfterSecondsResult as RetryAfterSecondsResult, type network_RobotsGenerateGroup as RobotsGenerateGroup, type network_RobotsGenerateOptions as RobotsGenerateOptions, type network_RobotsGroup as RobotsGroup, type network_RobotsIssue as RobotsIssue, type network_RobotsMetaTagFlag as RobotsMetaTagFlag, type network_RobotsMetaTagOptions as RobotsMetaTagOptions, type network_RobotsMetaTagResult as RobotsMetaTagResult, type network_RobotsRule as RobotsRule, type network_RobotsValidationResult as RobotsValidationResult, network_STATUS_CODES as STATUS_CODES, type network_SameSiteValue as SameSiteValue, type network_SecurityHeaderCheck as SecurityHeaderCheck, type network_SecurityHeaderStatus as SecurityHeaderStatus, type network_SecurityHeadersScorecard as SecurityHeadersScorecard, type network_SitemapIndexEntry as SitemapIndexEntry, type network_SitemapIssue as SitemapIssue, type network_SitemapSplitFile as SitemapSplitFile, type network_SitemapUrlEntry as SitemapUrlEntry, type network_SitemapValidationResult as SitemapValidationResult, type network_SplitSitemapOptions as SplitSitemapOptions, type network_SplitSitemapResult as SplitSitemapResult, type network_StatusCode as StatusCode, type network_UaDeviceType as UaDeviceType, type network_UserAgentInfo as UserAgentInfo, type network_VaryHeaderEntry as VaryHeaderEntry, type network_VaryHeaderResult as VaryHeaderResult, type network_XContentTypeOptionsHeader as XContentTypeOptionsHeader, type network_XContentTypeOptionsParseResult as XContentTypeOptionsParseResult, type network_XRobotsTagFlag as XRobotsTagFlag, type network_XRobotsTagOptions as XRobotsTagOptions, type network_XRobotsTagResult as XRobotsTagResult, network_X_CONTENT_TYPE_OPTIONS_HEADER as X_CONTENT_TYPE_OPTIONS_HEADER, network_analyzeEmailHeaders as analyzeEmailHeaders, network_assessContentTypeRisk as assessContentTypeRisk, network_buildAcceptLanguage as buildAcceptLanguage, network_buildCacheControl as buildCacheControl, network_buildClientHints as buildClientHints, network_buildContentDisposition as buildContentDisposition, network_buildDnsQueryUrl as buildDnsQueryUrl, network_buildGeoUrl as buildGeoUrl, network_buildHsts as buildHsts, network_buildLinkHeader as buildLinkHeader, network_buildMapUrl as buildMapUrl, network_buildPermissionsPolicy as buildPermissionsPolicy, network_buildPreferHeader as buildPreferHeader, network_buildPriorityHeader as buildPriorityHeader, network_buildRangeHeader as buildRangeHeader, network_buildReferrerPolicy as buildReferrerPolicy, network_buildRetryAfterHeader as buildRetryAfterHeader, network_buildRobotsMetaTag as buildRobotsMetaTag, network_buildVaryHeader as buildVaryHeader, network_buildXContentTypeOptionsHeader as buildXContentTypeOptionsHeader, network_buildXRobotsTag as buildXRobotsTag, network_calculateCookieSizeBudget as calculateCookieSizeBudget, network_checkSetCookieHeader as checkSetCookieHeader, network_countryCodeToFlag as countryCodeToFlag, network_extractMultipartBoundary as extractMultipartBoundary, network_formatCoordinates as formatCoordinates, network_formatTtl as formatTtl, network_generateRobotsTxt as generateRobotsTxt, network_getByCategory as getByCategory, network_getHeader as getHeader, network_getHeadersByCategory as getHeadersByCategory, network_getStatusByCategory as getStatusByCategory, network_getStatusCode as getStatusCode, network_isClientError as isClientError, network_isServerError as isServerError, network_isSuccess as isSuccess, network_isValidIp as isValidIp, network_isValidIpv4 as isValidIpv4, network_isValidIpv6 as isValidIpv6, network_listCloseCodes as listCloseCodes, network_listOpcodes as listOpcodes, network_lookupCloseCode as lookupCloseCode, network_lookupOpcode as lookupOpcode, network_parseAcceptLanguage as parseAcceptLanguage, network_parseClientHintHeaders as parseClientHintHeaders, network_parseContentDisposition as parseContentDisposition, network_parseContentRangeHeader as parseContentRangeHeader, network_parseDnsResponse as parseDnsResponse, network_parseGeoResponse as parseGeoResponse, network_parseHar as parseHar, network_parseHsts as parseHsts, network_parseIpv6Address as parseIpv6Address, network_parseMultipartFormData as parseMultipartFormData, network_parsePermissionsPolicy as parsePermissionsPolicy, network_parsePreferHeader as parsePreferHeader, network_parsePriorityHeader as parsePriorityHeader, network_parseRetryAfterHeader as parseRetryAfterHeader, network_parseRobotsMetaTag as parseRobotsMetaTag, network_parseUserAgent as parseUserAgent, network_parseVaryHeader as parseVaryHeader, network_parseXContentTypeOptionsHeader as parseXContentTypeOptionsHeader, network_parseXRobotsTag as parseXRobotsTag, network_scoreSecurityHeaders as scoreSecurityHeaders, network_searchHeaders as searchHeaders, network_searchStatusCodes as searchStatusCodes, network_splitSitemap as splitSitemap, network_statusCodeToText as statusCodeToText, network_typeNumberToLabel as typeNumberToLabel, network_validateDomain as validateDomain, network_validateHeaderName as validateHeaderName, network_validateHeaderValue as validateHeaderValue, network_validateManifest as validateManifest, network_validateRobotsTxt as validateRobotsTxt, network_validateSitemap as validateSitemap };
|
|
1302
1329
|
}
|
|
1303
1330
|
|
|
1304
|
-
export { type OpcodeInfo as $, type AcceptLanguageEntry as A, type BuildRangeHeaderOptions as B, CLIENT_HINTS as C, DNS_RECORD_TYPES as D, type EmailHeaderAnalysis as E, type HarEntry as F, type GeoResult as G, HTTP_HEADERS as H, type HarParseResult as I, type HarSummary as J, type HeaderCategory as K, type HstsOptions as L, type HstsResult as M, type HttpHeader as N, type Ipv6AddressType as O, type Ipv6ParseResult as P, LINK_REL_VALUES as Q, type LinkHeaderEntry as R, type LinkHeaderEntryInput as S, type LinkHeaderResult as T, type LinkRel as U, type ManifestIconInfo as V, type ManifestIssue as W, type ManifestValidationResult as X, type MultipartParseResult as Y, type MultipartPart as Z, type OpcodeCategory as _, type AcceptLanguageResult as a,
|
|
1331
|
+
export { type OpcodeInfo as $, type AcceptLanguageEntry as A, type BuildRangeHeaderOptions as B, CLIENT_HINTS as C, DNS_RECORD_TYPES as D, type EmailHeaderAnalysis as E, type HarEntry as F, type GeoResult as G, HTTP_HEADERS as H, type HarParseResult as I, type HarSummary as J, type HeaderCategory as K, type HstsOptions as L, type HstsResult as M, type HttpHeader as N, type Ipv6AddressType as O, type Ipv6ParseResult as P, LINK_REL_VALUES as Q, type LinkHeaderEntry as R, type LinkHeaderEntryInput as S, type LinkHeaderResult as T, type LinkRel as U, type ManifestIconInfo as V, type ManifestIssue as W, type ManifestValidationResult as X, type MultipartParseResult as Y, type MultipartPart as Z, type OpcodeCategory as _, type AcceptLanguageResult as a, buildLinkHeader as a$, PERMISSIONS_POLICY_FEATURES as a0, type ParsedClientHint as a1, type ParsedDnsResult as a2, type ParsedGeoResult as a3, type PermissionsPolicyDirective as a4, type PermissionsPolicyFeatureInput as a5, type PermissionsPolicyResult as a6, type PreferParameter as a7, type PreferPreference as a8, type PreferResult as a9, type SitemapIndexEntry as aA, type SitemapIssue as aB, type SitemapSplitFile as aC, type SitemapUrlEntry as aD, type SitemapValidationResult as aE, type SplitSitemapOptions as aF, type SplitSitemapResult as aG, type StatusCode as aH, type UaDeviceType as aI, type UserAgentInfo as aJ, type VaryHeaderEntry as aK, type VaryHeaderResult as aL, type XContentTypeOptionsHeader as aM, type XContentTypeOptionsParseResult as aN, type XRobotsTagFlag as aO, type XRobotsTagOptions as aP, type XRobotsTagResult as aQ, X_CONTENT_TYPE_OPTIONS_HEADER as aR, analyzeEmailHeaders as aS, assessContentTypeRisk as aT, buildAcceptLanguage as aU, buildCacheControl as aV, buildClientHints as aW, buildContentDisposition as aX, buildDnsQueryUrl as aY, buildGeoUrl as aZ, buildHsts as a_, type PriorityResult as aa, REFERRER_POLICY_VALUES as ab, type RangeEntry as ac, type RangeEntryInput as ad, type RangeHeaderResult as ae, type ReceivedHop as af, type ReferrerPolicyEntry as ag, type ReferrerPolicyResult as ah, type ReferrerPolicyValue as ai, type RetryAfterDateResult as aj, type RetryAfterResult as ak, type RetryAfterSecondsResult as al, type RobotsGenerateGroup as am, type RobotsGenerateOptions as an, type RobotsGroup as ao, type RobotsIssue as ap, type RobotsMetaTagFlag as aq, type RobotsMetaTagOptions as ar, type RobotsMetaTagResult as as, type RobotsRule as at, type RobotsValidationResult as au, STATUS_CODES as av, type SameSiteValue as aw, type SecurityHeaderCheck as ax, type SecurityHeaderStatus as ay, type SecurityHeadersScorecard as az, type AuthResultEntry as b, validateSitemap as b$, buildMapUrl as b0, buildPermissionsPolicy as b1, buildPreferHeader as b2, buildPriorityHeader as b3, buildRangeHeader as b4, buildReferrerPolicy as b5, buildRetryAfterHeader as b6, buildRobotsMetaTag as b7, buildVaryHeader as b8, buildXContentTypeOptionsHeader as b9, parseContentRangeHeader as bA, parseDnsResponse as bB, parseGeoResponse as bC, parseHar as bD, parseHsts as bE, parseIpv6Address as bF, parseMultipartFormData as bG, parsePermissionsPolicy as bH, parsePreferHeader as bI, parsePriorityHeader as bJ, parseRetryAfterHeader as bK, parseRobotsMetaTag as bL, parseUserAgent as bM, parseVaryHeader as bN, parseXContentTypeOptionsHeader as bO, parseXRobotsTag as bP, scoreSecurityHeaders as bQ, searchHeaders as bR, searchStatusCodes as bS, splitSitemap as bT, statusCodeToText as bU, typeNumberToLabel as bV, validateDomain as bW, validateHeaderName as bX, validateHeaderValue as bY, validateManifest as bZ, validateRobotsTxt as b_, buildXRobotsTag as ba, calculateCookieSizeBudget as bb, checkSetCookieHeader as bc, countryCodeToFlag as bd, extractMultipartBoundary as be, formatCoordinates as bf, formatTtl as bg, generateRobotsTxt as bh, getByCategory as bi, getHeader as bj, getHeadersByCategory as bk, getStatusByCategory as bl, getStatusCode as bm, isClientError as bn, isServerError as bo, isSuccess as bp, isValidIp as bq, isValidIpv4 as br, isValidIpv6 as bs, listCloseCodes as bt, listOpcodes as bu, lookupCloseCode as bv, lookupOpcode as bw, parseAcceptLanguage as bx, parseClientHintHeaders as by, parseContentDisposition as bz, type CacheControlDirective as c, type CacheControlOptions as d, type CacheControlResult as e, type ClientHintDef as f, type ClientHintValueType as g, type ClientHintsBuildResult as h, type ClientHintsParseResult as i, type CloseCodeInfo as j, type CloseCodeRange as k, type ContentDispositionBuildOptions as l, type ContentDispositionBuildResult as m, network as n, type ContentDispositionParseResult as o, type ContentRangeResult as p, type ContentTypeRiskResult as q, type ContentTypeSniffRisk as r, type CookieAttributes as s, type CookieCheckResult as t, type CookieSizeBudgetResult as u, type CookieSizeEntry as v, type DnsRecord as w, type DnsRecordType as x, type DnsResponse as y, type EmailHeaderField as z };
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* - sitemap-validator: validateSitemap
|
|
12
12
|
* - sitemap-index-splitter: splitSitemap
|
|
13
13
|
* - robots-txt-validator: validateRobotsTxt
|
|
14
|
+
* - robots-txt-generator: generateRobotsTxt
|
|
14
15
|
* - user-agent-parser: parseUserAgent
|
|
15
16
|
* - cache-control-builder: buildCacheControl
|
|
16
17
|
* - referrer-policy-builder: buildReferrerPolicy
|
|
@@ -269,6 +270,29 @@ interface RobotsValidationResult {
|
|
|
269
270
|
declare function validateRobotsTxt(text: string): RobotsValidationResult | {
|
|
270
271
|
error: string;
|
|
271
272
|
};
|
|
273
|
+
interface RobotsGenerateGroup {
|
|
274
|
+
userAgents: string[];
|
|
275
|
+
allow?: string[];
|
|
276
|
+
disallow?: string[];
|
|
277
|
+
crawlDelay?: number;
|
|
278
|
+
}
|
|
279
|
+
interface RobotsGenerateOptions {
|
|
280
|
+
groups: RobotsGenerateGroup[];
|
|
281
|
+
sitemaps?: string[];
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Generate a robots.txt file from a list of User-agent groups (each with its
|
|
285
|
+
* own Allow/Disallow rules and an optional Crawl-delay) plus a list of
|
|
286
|
+
* Sitemap URLs. The inverse of validateRobotsTxt: this always produces text
|
|
287
|
+
* that tool would accept. A group with no Allow or Disallow rules gets an
|
|
288
|
+
* explicit empty "Disallow:" line, the standard way to say that user-agent
|
|
289
|
+
* may crawl everything.
|
|
290
|
+
*/
|
|
291
|
+
declare function generateRobotsTxt(options: RobotsGenerateOptions): {
|
|
292
|
+
text: string;
|
|
293
|
+
} | {
|
|
294
|
+
error: string;
|
|
295
|
+
};
|
|
272
296
|
type UaDeviceType = 'desktop' | 'mobile' | 'tablet' | 'bot';
|
|
273
297
|
interface UserAgentInfo {
|
|
274
298
|
browser: {
|
|
@@ -1194,6 +1218,8 @@ type network_ReferrerPolicyValue = ReferrerPolicyValue;
|
|
|
1194
1218
|
type network_RetryAfterDateResult = RetryAfterDateResult;
|
|
1195
1219
|
type network_RetryAfterResult = RetryAfterResult;
|
|
1196
1220
|
type network_RetryAfterSecondsResult = RetryAfterSecondsResult;
|
|
1221
|
+
type network_RobotsGenerateGroup = RobotsGenerateGroup;
|
|
1222
|
+
type network_RobotsGenerateOptions = RobotsGenerateOptions;
|
|
1197
1223
|
type network_RobotsGroup = RobotsGroup;
|
|
1198
1224
|
type network_RobotsIssue = RobotsIssue;
|
|
1199
1225
|
type network_RobotsMetaTagFlag = RobotsMetaTagFlag;
|
|
@@ -1251,6 +1277,7 @@ declare const network_countryCodeToFlag: typeof countryCodeToFlag;
|
|
|
1251
1277
|
declare const network_extractMultipartBoundary: typeof extractMultipartBoundary;
|
|
1252
1278
|
declare const network_formatCoordinates: typeof formatCoordinates;
|
|
1253
1279
|
declare const network_formatTtl: typeof formatTtl;
|
|
1280
|
+
declare const network_generateRobotsTxt: typeof generateRobotsTxt;
|
|
1254
1281
|
declare const network_getByCategory: typeof getByCategory;
|
|
1255
1282
|
declare const network_getHeader: typeof getHeader;
|
|
1256
1283
|
declare const network_getHeadersByCategory: typeof getHeadersByCategory;
|
|
@@ -1298,7 +1325,7 @@ declare const network_validateManifest: typeof validateManifest;
|
|
|
1298
1325
|
declare const network_validateRobotsTxt: typeof validateRobotsTxt;
|
|
1299
1326
|
declare const network_validateSitemap: typeof validateSitemap;
|
|
1300
1327
|
declare namespace network {
|
|
1301
|
-
export { type network_AcceptLanguageEntry as AcceptLanguageEntry, type network_AcceptLanguageResult as AcceptLanguageResult, type network_AuthResultEntry as AuthResultEntry, type network_BuildRangeHeaderOptions as BuildRangeHeaderOptions, network_CLIENT_HINTS as CLIENT_HINTS, type network_CacheControlDirective as CacheControlDirective, type network_CacheControlOptions as CacheControlOptions, type network_CacheControlResult as CacheControlResult, type network_ClientHintDef as ClientHintDef, type network_ClientHintValueType as ClientHintValueType, type network_ClientHintsBuildResult as ClientHintsBuildResult, type network_ClientHintsParseResult as ClientHintsParseResult, type network_CloseCodeInfo as CloseCodeInfo, type network_CloseCodeRange as CloseCodeRange, type network_ContentDispositionBuildOptions as ContentDispositionBuildOptions, type network_ContentDispositionBuildResult as ContentDispositionBuildResult, type network_ContentDispositionParseResult as ContentDispositionParseResult, type network_ContentRangeResult as ContentRangeResult, type network_ContentTypeRiskResult as ContentTypeRiskResult, type network_ContentTypeSniffRisk as ContentTypeSniffRisk, type network_CookieAttributes as CookieAttributes, type network_CookieCheckResult as CookieCheckResult, type network_CookieSizeBudgetResult as CookieSizeBudgetResult, type network_CookieSizeEntry as CookieSizeEntry, network_DNS_RECORD_TYPES as DNS_RECORD_TYPES, type network_DnsRecord as DnsRecord, type network_DnsRecordType as DnsRecordType, type network_DnsResponse as DnsResponse, type network_EmailHeaderAnalysis as EmailHeaderAnalysis, type network_EmailHeaderField as EmailHeaderField, type network_GeoResult as GeoResult, network_HTTP_HEADERS as HTTP_HEADERS, type network_HarEntry as HarEntry, type network_HarParseResult as HarParseResult, type network_HarSummary as HarSummary, type network_HeaderCategory as HeaderCategory, type network_HstsOptions as HstsOptions, type network_HstsResult as HstsResult, type network_HttpHeader as HttpHeader, type network_Ipv6AddressType as Ipv6AddressType, type network_Ipv6ParseResult as Ipv6ParseResult, network_LINK_REL_VALUES as LINK_REL_VALUES, type network_LinkHeaderEntry as LinkHeaderEntry, type network_LinkHeaderEntryInput as LinkHeaderEntryInput, type network_LinkHeaderResult as LinkHeaderResult, type network_LinkRel as LinkRel, type network_ManifestIconInfo as ManifestIconInfo, type network_ManifestIssue as ManifestIssue, type network_ManifestValidationResult as ManifestValidationResult, type network_MultipartParseResult as MultipartParseResult, type network_MultipartPart as MultipartPart, type network_OpcodeCategory as OpcodeCategory, type network_OpcodeInfo as OpcodeInfo, network_PERMISSIONS_POLICY_FEATURES as PERMISSIONS_POLICY_FEATURES, type network_ParsedClientHint as ParsedClientHint, type network_ParsedDnsResult as ParsedDnsResult, type network_ParsedGeoResult as ParsedGeoResult, type network_PermissionsPolicyDirective as PermissionsPolicyDirective, type network_PermissionsPolicyFeatureInput as PermissionsPolicyFeatureInput, type network_PermissionsPolicyResult as PermissionsPolicyResult, type network_PreferParameter as PreferParameter, type network_PreferPreference as PreferPreference, type network_PreferResult as PreferResult, type network_PriorityResult as PriorityResult, network_REFERRER_POLICY_VALUES as REFERRER_POLICY_VALUES, type network_RangeEntry as RangeEntry, type network_RangeEntryInput as RangeEntryInput, type network_RangeHeaderResult as RangeHeaderResult, type network_ReceivedHop as ReceivedHop, type network_ReferrerPolicyEntry as ReferrerPolicyEntry, type network_ReferrerPolicyResult as ReferrerPolicyResult, type network_ReferrerPolicyValue as ReferrerPolicyValue, type network_RetryAfterDateResult as RetryAfterDateResult, type network_RetryAfterResult as RetryAfterResult, type network_RetryAfterSecondsResult as RetryAfterSecondsResult, type network_RobotsGroup as RobotsGroup, type network_RobotsIssue as RobotsIssue, type network_RobotsMetaTagFlag as RobotsMetaTagFlag, type network_RobotsMetaTagOptions as RobotsMetaTagOptions, type network_RobotsMetaTagResult as RobotsMetaTagResult, type network_RobotsRule as RobotsRule, type network_RobotsValidationResult as RobotsValidationResult, network_STATUS_CODES as STATUS_CODES, type network_SameSiteValue as SameSiteValue, type network_SecurityHeaderCheck as SecurityHeaderCheck, type network_SecurityHeaderStatus as SecurityHeaderStatus, type network_SecurityHeadersScorecard as SecurityHeadersScorecard, type network_SitemapIndexEntry as SitemapIndexEntry, type network_SitemapIssue as SitemapIssue, type network_SitemapSplitFile as SitemapSplitFile, type network_SitemapUrlEntry as SitemapUrlEntry, type network_SitemapValidationResult as SitemapValidationResult, type network_SplitSitemapOptions as SplitSitemapOptions, type network_SplitSitemapResult as SplitSitemapResult, type network_StatusCode as StatusCode, type network_UaDeviceType as UaDeviceType, type network_UserAgentInfo as UserAgentInfo, type network_VaryHeaderEntry as VaryHeaderEntry, type network_VaryHeaderResult as VaryHeaderResult, type network_XContentTypeOptionsHeader as XContentTypeOptionsHeader, type network_XContentTypeOptionsParseResult as XContentTypeOptionsParseResult, type network_XRobotsTagFlag as XRobotsTagFlag, type network_XRobotsTagOptions as XRobotsTagOptions, type network_XRobotsTagResult as XRobotsTagResult, network_X_CONTENT_TYPE_OPTIONS_HEADER as X_CONTENT_TYPE_OPTIONS_HEADER, network_analyzeEmailHeaders as analyzeEmailHeaders, network_assessContentTypeRisk as assessContentTypeRisk, network_buildAcceptLanguage as buildAcceptLanguage, network_buildCacheControl as buildCacheControl, network_buildClientHints as buildClientHints, network_buildContentDisposition as buildContentDisposition, network_buildDnsQueryUrl as buildDnsQueryUrl, network_buildGeoUrl as buildGeoUrl, network_buildHsts as buildHsts, network_buildLinkHeader as buildLinkHeader, network_buildMapUrl as buildMapUrl, network_buildPermissionsPolicy as buildPermissionsPolicy, network_buildPreferHeader as buildPreferHeader, network_buildPriorityHeader as buildPriorityHeader, network_buildRangeHeader as buildRangeHeader, network_buildReferrerPolicy as buildReferrerPolicy, network_buildRetryAfterHeader as buildRetryAfterHeader, network_buildRobotsMetaTag as buildRobotsMetaTag, network_buildVaryHeader as buildVaryHeader, network_buildXContentTypeOptionsHeader as buildXContentTypeOptionsHeader, network_buildXRobotsTag as buildXRobotsTag, network_calculateCookieSizeBudget as calculateCookieSizeBudget, network_checkSetCookieHeader as checkSetCookieHeader, network_countryCodeToFlag as countryCodeToFlag, network_extractMultipartBoundary as extractMultipartBoundary, network_formatCoordinates as formatCoordinates, network_formatTtl as formatTtl, network_getByCategory as getByCategory, network_getHeader as getHeader, network_getHeadersByCategory as getHeadersByCategory, network_getStatusByCategory as getStatusByCategory, network_getStatusCode as getStatusCode, network_isClientError as isClientError, network_isServerError as isServerError, network_isSuccess as isSuccess, network_isValidIp as isValidIp, network_isValidIpv4 as isValidIpv4, network_isValidIpv6 as isValidIpv6, network_listCloseCodes as listCloseCodes, network_listOpcodes as listOpcodes, network_lookupCloseCode as lookupCloseCode, network_lookupOpcode as lookupOpcode, network_parseAcceptLanguage as parseAcceptLanguage, network_parseClientHintHeaders as parseClientHintHeaders, network_parseContentDisposition as parseContentDisposition, network_parseContentRangeHeader as parseContentRangeHeader, network_parseDnsResponse as parseDnsResponse, network_parseGeoResponse as parseGeoResponse, network_parseHar as parseHar, network_parseHsts as parseHsts, network_parseIpv6Address as parseIpv6Address, network_parseMultipartFormData as parseMultipartFormData, network_parsePermissionsPolicy as parsePermissionsPolicy, network_parsePreferHeader as parsePreferHeader, network_parsePriorityHeader as parsePriorityHeader, network_parseRetryAfterHeader as parseRetryAfterHeader, network_parseRobotsMetaTag as parseRobotsMetaTag, network_parseUserAgent as parseUserAgent, network_parseVaryHeader as parseVaryHeader, network_parseXContentTypeOptionsHeader as parseXContentTypeOptionsHeader, network_parseXRobotsTag as parseXRobotsTag, network_scoreSecurityHeaders as scoreSecurityHeaders, network_searchHeaders as searchHeaders, network_searchStatusCodes as searchStatusCodes, network_splitSitemap as splitSitemap, network_statusCodeToText as statusCodeToText, network_typeNumberToLabel as typeNumberToLabel, network_validateDomain as validateDomain, network_validateHeaderName as validateHeaderName, network_validateHeaderValue as validateHeaderValue, network_validateManifest as validateManifest, network_validateRobotsTxt as validateRobotsTxt, network_validateSitemap as validateSitemap };
|
|
1328
|
+
export { type network_AcceptLanguageEntry as AcceptLanguageEntry, type network_AcceptLanguageResult as AcceptLanguageResult, type network_AuthResultEntry as AuthResultEntry, type network_BuildRangeHeaderOptions as BuildRangeHeaderOptions, network_CLIENT_HINTS as CLIENT_HINTS, type network_CacheControlDirective as CacheControlDirective, type network_CacheControlOptions as CacheControlOptions, type network_CacheControlResult as CacheControlResult, type network_ClientHintDef as ClientHintDef, type network_ClientHintValueType as ClientHintValueType, type network_ClientHintsBuildResult as ClientHintsBuildResult, type network_ClientHintsParseResult as ClientHintsParseResult, type network_CloseCodeInfo as CloseCodeInfo, type network_CloseCodeRange as CloseCodeRange, type network_ContentDispositionBuildOptions as ContentDispositionBuildOptions, type network_ContentDispositionBuildResult as ContentDispositionBuildResult, type network_ContentDispositionParseResult as ContentDispositionParseResult, type network_ContentRangeResult as ContentRangeResult, type network_ContentTypeRiskResult as ContentTypeRiskResult, type network_ContentTypeSniffRisk as ContentTypeSniffRisk, type network_CookieAttributes as CookieAttributes, type network_CookieCheckResult as CookieCheckResult, type network_CookieSizeBudgetResult as CookieSizeBudgetResult, type network_CookieSizeEntry as CookieSizeEntry, network_DNS_RECORD_TYPES as DNS_RECORD_TYPES, type network_DnsRecord as DnsRecord, type network_DnsRecordType as DnsRecordType, type network_DnsResponse as DnsResponse, type network_EmailHeaderAnalysis as EmailHeaderAnalysis, type network_EmailHeaderField as EmailHeaderField, type network_GeoResult as GeoResult, network_HTTP_HEADERS as HTTP_HEADERS, type network_HarEntry as HarEntry, type network_HarParseResult as HarParseResult, type network_HarSummary as HarSummary, type network_HeaderCategory as HeaderCategory, type network_HstsOptions as HstsOptions, type network_HstsResult as HstsResult, type network_HttpHeader as HttpHeader, type network_Ipv6AddressType as Ipv6AddressType, type network_Ipv6ParseResult as Ipv6ParseResult, network_LINK_REL_VALUES as LINK_REL_VALUES, type network_LinkHeaderEntry as LinkHeaderEntry, type network_LinkHeaderEntryInput as LinkHeaderEntryInput, type network_LinkHeaderResult as LinkHeaderResult, type network_LinkRel as LinkRel, type network_ManifestIconInfo as ManifestIconInfo, type network_ManifestIssue as ManifestIssue, type network_ManifestValidationResult as ManifestValidationResult, type network_MultipartParseResult as MultipartParseResult, type network_MultipartPart as MultipartPart, type network_OpcodeCategory as OpcodeCategory, type network_OpcodeInfo as OpcodeInfo, network_PERMISSIONS_POLICY_FEATURES as PERMISSIONS_POLICY_FEATURES, type network_ParsedClientHint as ParsedClientHint, type network_ParsedDnsResult as ParsedDnsResult, type network_ParsedGeoResult as ParsedGeoResult, type network_PermissionsPolicyDirective as PermissionsPolicyDirective, type network_PermissionsPolicyFeatureInput as PermissionsPolicyFeatureInput, type network_PermissionsPolicyResult as PermissionsPolicyResult, type network_PreferParameter as PreferParameter, type network_PreferPreference as PreferPreference, type network_PreferResult as PreferResult, type network_PriorityResult as PriorityResult, network_REFERRER_POLICY_VALUES as REFERRER_POLICY_VALUES, type network_RangeEntry as RangeEntry, type network_RangeEntryInput as RangeEntryInput, type network_RangeHeaderResult as RangeHeaderResult, type network_ReceivedHop as ReceivedHop, type network_ReferrerPolicyEntry as ReferrerPolicyEntry, type network_ReferrerPolicyResult as ReferrerPolicyResult, type network_ReferrerPolicyValue as ReferrerPolicyValue, type network_RetryAfterDateResult as RetryAfterDateResult, type network_RetryAfterResult as RetryAfterResult, type network_RetryAfterSecondsResult as RetryAfterSecondsResult, type network_RobotsGenerateGroup as RobotsGenerateGroup, type network_RobotsGenerateOptions as RobotsGenerateOptions, type network_RobotsGroup as RobotsGroup, type network_RobotsIssue as RobotsIssue, type network_RobotsMetaTagFlag as RobotsMetaTagFlag, type network_RobotsMetaTagOptions as RobotsMetaTagOptions, type network_RobotsMetaTagResult as RobotsMetaTagResult, type network_RobotsRule as RobotsRule, type network_RobotsValidationResult as RobotsValidationResult, network_STATUS_CODES as STATUS_CODES, type network_SameSiteValue as SameSiteValue, type network_SecurityHeaderCheck as SecurityHeaderCheck, type network_SecurityHeaderStatus as SecurityHeaderStatus, type network_SecurityHeadersScorecard as SecurityHeadersScorecard, type network_SitemapIndexEntry as SitemapIndexEntry, type network_SitemapIssue as SitemapIssue, type network_SitemapSplitFile as SitemapSplitFile, type network_SitemapUrlEntry as SitemapUrlEntry, type network_SitemapValidationResult as SitemapValidationResult, type network_SplitSitemapOptions as SplitSitemapOptions, type network_SplitSitemapResult as SplitSitemapResult, type network_StatusCode as StatusCode, type network_UaDeviceType as UaDeviceType, type network_UserAgentInfo as UserAgentInfo, type network_VaryHeaderEntry as VaryHeaderEntry, type network_VaryHeaderResult as VaryHeaderResult, type network_XContentTypeOptionsHeader as XContentTypeOptionsHeader, type network_XContentTypeOptionsParseResult as XContentTypeOptionsParseResult, type network_XRobotsTagFlag as XRobotsTagFlag, type network_XRobotsTagOptions as XRobotsTagOptions, type network_XRobotsTagResult as XRobotsTagResult, network_X_CONTENT_TYPE_OPTIONS_HEADER as X_CONTENT_TYPE_OPTIONS_HEADER, network_analyzeEmailHeaders as analyzeEmailHeaders, network_assessContentTypeRisk as assessContentTypeRisk, network_buildAcceptLanguage as buildAcceptLanguage, network_buildCacheControl as buildCacheControl, network_buildClientHints as buildClientHints, network_buildContentDisposition as buildContentDisposition, network_buildDnsQueryUrl as buildDnsQueryUrl, network_buildGeoUrl as buildGeoUrl, network_buildHsts as buildHsts, network_buildLinkHeader as buildLinkHeader, network_buildMapUrl as buildMapUrl, network_buildPermissionsPolicy as buildPermissionsPolicy, network_buildPreferHeader as buildPreferHeader, network_buildPriorityHeader as buildPriorityHeader, network_buildRangeHeader as buildRangeHeader, network_buildReferrerPolicy as buildReferrerPolicy, network_buildRetryAfterHeader as buildRetryAfterHeader, network_buildRobotsMetaTag as buildRobotsMetaTag, network_buildVaryHeader as buildVaryHeader, network_buildXContentTypeOptionsHeader as buildXContentTypeOptionsHeader, network_buildXRobotsTag as buildXRobotsTag, network_calculateCookieSizeBudget as calculateCookieSizeBudget, network_checkSetCookieHeader as checkSetCookieHeader, network_countryCodeToFlag as countryCodeToFlag, network_extractMultipartBoundary as extractMultipartBoundary, network_formatCoordinates as formatCoordinates, network_formatTtl as formatTtl, network_generateRobotsTxt as generateRobotsTxt, network_getByCategory as getByCategory, network_getHeader as getHeader, network_getHeadersByCategory as getHeadersByCategory, network_getStatusByCategory as getStatusByCategory, network_getStatusCode as getStatusCode, network_isClientError as isClientError, network_isServerError as isServerError, network_isSuccess as isSuccess, network_isValidIp as isValidIp, network_isValidIpv4 as isValidIpv4, network_isValidIpv6 as isValidIpv6, network_listCloseCodes as listCloseCodes, network_listOpcodes as listOpcodes, network_lookupCloseCode as lookupCloseCode, network_lookupOpcode as lookupOpcode, network_parseAcceptLanguage as parseAcceptLanguage, network_parseClientHintHeaders as parseClientHintHeaders, network_parseContentDisposition as parseContentDisposition, network_parseContentRangeHeader as parseContentRangeHeader, network_parseDnsResponse as parseDnsResponse, network_parseGeoResponse as parseGeoResponse, network_parseHar as parseHar, network_parseHsts as parseHsts, network_parseIpv6Address as parseIpv6Address, network_parseMultipartFormData as parseMultipartFormData, network_parsePermissionsPolicy as parsePermissionsPolicy, network_parsePreferHeader as parsePreferHeader, network_parsePriorityHeader as parsePriorityHeader, network_parseRetryAfterHeader as parseRetryAfterHeader, network_parseRobotsMetaTag as parseRobotsMetaTag, network_parseUserAgent as parseUserAgent, network_parseVaryHeader as parseVaryHeader, network_parseXContentTypeOptionsHeader as parseXContentTypeOptionsHeader, network_parseXRobotsTag as parseXRobotsTag, network_scoreSecurityHeaders as scoreSecurityHeaders, network_searchHeaders as searchHeaders, network_searchStatusCodes as searchStatusCodes, network_splitSitemap as splitSitemap, network_statusCodeToText as statusCodeToText, network_typeNumberToLabel as typeNumberToLabel, network_validateDomain as validateDomain, network_validateHeaderName as validateHeaderName, network_validateHeaderValue as validateHeaderValue, network_validateManifest as validateManifest, network_validateRobotsTxt as validateRobotsTxt, network_validateSitemap as validateSitemap };
|
|
1302
1329
|
}
|
|
1303
1330
|
|
|
1304
|
-
export { type OpcodeInfo as $, type AcceptLanguageEntry as A, type BuildRangeHeaderOptions as B, CLIENT_HINTS as C, DNS_RECORD_TYPES as D, type EmailHeaderAnalysis as E, type HarEntry as F, type GeoResult as G, HTTP_HEADERS as H, type HarParseResult as I, type HarSummary as J, type HeaderCategory as K, type HstsOptions as L, type HstsResult as M, type HttpHeader as N, type Ipv6AddressType as O, type Ipv6ParseResult as P, LINK_REL_VALUES as Q, type LinkHeaderEntry as R, type LinkHeaderEntryInput as S, type LinkHeaderResult as T, type LinkRel as U, type ManifestIconInfo as V, type ManifestIssue as W, type ManifestValidationResult as X, type MultipartParseResult as Y, type MultipartPart as Z, type OpcodeCategory as _, type AcceptLanguageResult as a,
|
|
1331
|
+
export { type OpcodeInfo as $, type AcceptLanguageEntry as A, type BuildRangeHeaderOptions as B, CLIENT_HINTS as C, DNS_RECORD_TYPES as D, type EmailHeaderAnalysis as E, type HarEntry as F, type GeoResult as G, HTTP_HEADERS as H, type HarParseResult as I, type HarSummary as J, type HeaderCategory as K, type HstsOptions as L, type HstsResult as M, type HttpHeader as N, type Ipv6AddressType as O, type Ipv6ParseResult as P, LINK_REL_VALUES as Q, type LinkHeaderEntry as R, type LinkHeaderEntryInput as S, type LinkHeaderResult as T, type LinkRel as U, type ManifestIconInfo as V, type ManifestIssue as W, type ManifestValidationResult as X, type MultipartParseResult as Y, type MultipartPart as Z, type OpcodeCategory as _, type AcceptLanguageResult as a, buildLinkHeader as a$, PERMISSIONS_POLICY_FEATURES as a0, type ParsedClientHint as a1, type ParsedDnsResult as a2, type ParsedGeoResult as a3, type PermissionsPolicyDirective as a4, type PermissionsPolicyFeatureInput as a5, type PermissionsPolicyResult as a6, type PreferParameter as a7, type PreferPreference as a8, type PreferResult as a9, type SitemapIndexEntry as aA, type SitemapIssue as aB, type SitemapSplitFile as aC, type SitemapUrlEntry as aD, type SitemapValidationResult as aE, type SplitSitemapOptions as aF, type SplitSitemapResult as aG, type StatusCode as aH, type UaDeviceType as aI, type UserAgentInfo as aJ, type VaryHeaderEntry as aK, type VaryHeaderResult as aL, type XContentTypeOptionsHeader as aM, type XContentTypeOptionsParseResult as aN, type XRobotsTagFlag as aO, type XRobotsTagOptions as aP, type XRobotsTagResult as aQ, X_CONTENT_TYPE_OPTIONS_HEADER as aR, analyzeEmailHeaders as aS, assessContentTypeRisk as aT, buildAcceptLanguage as aU, buildCacheControl as aV, buildClientHints as aW, buildContentDisposition as aX, buildDnsQueryUrl as aY, buildGeoUrl as aZ, buildHsts as a_, type PriorityResult as aa, REFERRER_POLICY_VALUES as ab, type RangeEntry as ac, type RangeEntryInput as ad, type RangeHeaderResult as ae, type ReceivedHop as af, type ReferrerPolicyEntry as ag, type ReferrerPolicyResult as ah, type ReferrerPolicyValue as ai, type RetryAfterDateResult as aj, type RetryAfterResult as ak, type RetryAfterSecondsResult as al, type RobotsGenerateGroup as am, type RobotsGenerateOptions as an, type RobotsGroup as ao, type RobotsIssue as ap, type RobotsMetaTagFlag as aq, type RobotsMetaTagOptions as ar, type RobotsMetaTagResult as as, type RobotsRule as at, type RobotsValidationResult as au, STATUS_CODES as av, type SameSiteValue as aw, type SecurityHeaderCheck as ax, type SecurityHeaderStatus as ay, type SecurityHeadersScorecard as az, type AuthResultEntry as b, validateSitemap as b$, buildMapUrl as b0, buildPermissionsPolicy as b1, buildPreferHeader as b2, buildPriorityHeader as b3, buildRangeHeader as b4, buildReferrerPolicy as b5, buildRetryAfterHeader as b6, buildRobotsMetaTag as b7, buildVaryHeader as b8, buildXContentTypeOptionsHeader as b9, parseContentRangeHeader as bA, parseDnsResponse as bB, parseGeoResponse as bC, parseHar as bD, parseHsts as bE, parseIpv6Address as bF, parseMultipartFormData as bG, parsePermissionsPolicy as bH, parsePreferHeader as bI, parsePriorityHeader as bJ, parseRetryAfterHeader as bK, parseRobotsMetaTag as bL, parseUserAgent as bM, parseVaryHeader as bN, parseXContentTypeOptionsHeader as bO, parseXRobotsTag as bP, scoreSecurityHeaders as bQ, searchHeaders as bR, searchStatusCodes as bS, splitSitemap as bT, statusCodeToText as bU, typeNumberToLabel as bV, validateDomain as bW, validateHeaderName as bX, validateHeaderValue as bY, validateManifest as bZ, validateRobotsTxt as b_, buildXRobotsTag as ba, calculateCookieSizeBudget as bb, checkSetCookieHeader as bc, countryCodeToFlag as bd, extractMultipartBoundary as be, formatCoordinates as bf, formatTtl as bg, generateRobotsTxt as bh, getByCategory as bi, getHeader as bj, getHeadersByCategory as bk, getStatusByCategory as bl, getStatusCode as bm, isClientError as bn, isServerError as bo, isSuccess as bp, isValidIp as bq, isValidIpv4 as br, isValidIpv6 as bs, listCloseCodes as bt, listOpcodes as bu, lookupCloseCode as bv, lookupOpcode as bw, parseAcceptLanguage as bx, parseClientHintHeaders as by, parseContentDisposition as bz, type CacheControlDirective as c, type CacheControlOptions as d, type CacheControlResult as e, type ClientHintDef as f, type ClientHintValueType as g, type ClientHintsBuildResult as h, type ClientHintsParseResult as i, type CloseCodeInfo as j, type CloseCodeRange as k, type ContentDispositionBuildOptions as l, type ContentDispositionBuildResult as m, network as n, type ContentDispositionParseResult as o, type ContentRangeResult as p, type ContentTypeRiskResult as q, type ContentTypeSniffRisk as r, type CookieAttributes as s, type CookieCheckResult as t, type CookieSizeBudgetResult as u, type CookieSizeEntry as v, type DnsRecord as w, type DnsRecordType as x, type DnsResponse as y, type EmailHeaderField as z };
|