@utilix-tech/sdk 0.76.0 → 0.77.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.
@@ -87,6 +87,32 @@ interface PdfPageDimensionsResult {
87
87
  * PDF spec requires. No PDF rendering library required.
88
88
  */
89
89
  declare function readPdfPageDimensions(bytes: Uint8Array): PdfPageDimensionsResult | PdfMetadataError;
90
+ type PdfOutlineDestType = 'page' | 'uri' | 'named' | 'none';
91
+ interface PdfOutlineItem {
92
+ title: string;
93
+ level: number;
94
+ destType: PdfOutlineDestType;
95
+ target: string | null;
96
+ }
97
+ interface PdfOutlineResult {
98
+ version: string | null;
99
+ bookmarkCount: number;
100
+ bookmarks: PdfOutlineItem[];
101
+ }
102
+ interface PdfOutlineError {
103
+ error: string;
104
+ }
105
+ /**
106
+ * Walk a PDF's /Outlines bookmark tree (the Root -> Outlines -> First/Next/
107
+ * First chain of entries a PDF viewer's sidebar builds its table of
108
+ * contents from) and list every bookmark's title, nesting level, and link
109
+ * target, in document order. Only the destination's raw target is reported
110
+ * (an object reference for a page link, a URI for a web link, or a name for
111
+ * a named destination) — this does not resolve a page-ref target to a page
112
+ * number, since that requires a second pass over the page tree; pair it
113
+ * with readPdfPageDimensions's output if you need that mapping.
114
+ */
115
+ declare function readPdfOutline(bytes: Uint8Array): PdfOutlineResult | PdfOutlineError;
90
116
  interface WavInfo {
91
117
  audioFormat: number;
92
118
  audioFormatLabel: string;
@@ -285,6 +311,10 @@ type media_MidiTimeSignature = MidiTimeSignature;
285
311
  type media_MidiTrackInfo = MidiTrackInfo;
286
312
  type media_PdfMetadata = PdfMetadata;
287
313
  type media_PdfMetadataError = PdfMetadataError;
314
+ type media_PdfOutlineDestType = PdfOutlineDestType;
315
+ type media_PdfOutlineError = PdfOutlineError;
316
+ type media_PdfOutlineItem = PdfOutlineItem;
317
+ type media_PdfOutlineResult = PdfOutlineResult;
288
318
  type media_PdfPageDimension = PdfPageDimension;
289
319
  type media_PdfPageDimensionsResult = PdfPageDimensionsResult;
290
320
  type media_PdfPageOrientation = PdfPageOrientation;
@@ -300,11 +330,12 @@ declare const media_readId3Tags: typeof readId3Tags;
300
330
  declare const media_readImageInfo: typeof readImageInfo;
301
331
  declare const media_readMidiInfo: typeof readMidiInfo;
302
332
  declare const media_readPdfMetadata: typeof readPdfMetadata;
333
+ declare const media_readPdfOutline: typeof readPdfOutline;
303
334
  declare const media_readPdfPageDimensions: typeof readPdfPageDimensions;
304
335
  declare const media_readVideoInfo: typeof readVideoInfo;
305
336
  declare const media_readWavInfo: typeof readWavInfo;
306
337
  declare namespace media {
307
- export { type media_ExifData as ExifData, type media_ExifError as ExifError, type media_FlacInfo as FlacInfo, type media_FlacInfoError as FlacInfoError, type media_GifInfo as GifInfo, type media_GifInfoError as GifInfoError, type media_IcoImageEntry as IcoImageEntry, type media_IcoInfo as IcoInfo, type media_IcoInfoError as IcoInfoError, type media_Id3Tags as Id3Tags, type media_Id3TagsError as Id3TagsError, type media_ImageFormat as ImageFormat, type media_ImageInfo as ImageInfo, type media_ImageInfoError as ImageInfoError, type media_MidiDivision as MidiDivision, type media_MidiInfo as MidiInfo, type media_MidiInfoError as MidiInfoError, type media_MidiTimeSignature as MidiTimeSignature, type media_MidiTrackInfo as MidiTrackInfo, type media_PdfMetadata as PdfMetadata, type media_PdfMetadataError as PdfMetadataError, type media_PdfPageDimension as PdfPageDimension, type media_PdfPageDimensionsResult as PdfPageDimensionsResult, type media_PdfPageOrientation as PdfPageOrientation, type media_VideoInfo as VideoInfo, type media_VideoInfoError as VideoInfoError, type media_WavInfo as WavInfo, type media_WavInfoError as WavInfoError, media_inspectGifFrames as inspectGifFrames, media_readExifData as readExifData, media_readFlacInfo as readFlacInfo, media_readIcoInfo as readIcoInfo, media_readId3Tags as readId3Tags, media_readImageInfo as readImageInfo, media_readMidiInfo as readMidiInfo, media_readPdfMetadata as readPdfMetadata, media_readPdfPageDimensions as readPdfPageDimensions, media_readVideoInfo as readVideoInfo, media_readWavInfo as readWavInfo };
338
+ export { type media_ExifData as ExifData, type media_ExifError as ExifError, type media_FlacInfo as FlacInfo, type media_FlacInfoError as FlacInfoError, type media_GifInfo as GifInfo, type media_GifInfoError as GifInfoError, type media_IcoImageEntry as IcoImageEntry, type media_IcoInfo as IcoInfo, type media_IcoInfoError as IcoInfoError, type media_Id3Tags as Id3Tags, type media_Id3TagsError as Id3TagsError, type media_ImageFormat as ImageFormat, type media_ImageInfo as ImageInfo, type media_ImageInfoError as ImageInfoError, type media_MidiDivision as MidiDivision, type media_MidiInfo as MidiInfo, type media_MidiInfoError as MidiInfoError, type media_MidiTimeSignature as MidiTimeSignature, type media_MidiTrackInfo as MidiTrackInfo, type media_PdfMetadata as PdfMetadata, type media_PdfMetadataError as PdfMetadataError, type media_PdfOutlineDestType as PdfOutlineDestType, type media_PdfOutlineError as PdfOutlineError, type media_PdfOutlineItem as PdfOutlineItem, type media_PdfOutlineResult as PdfOutlineResult, type media_PdfPageDimension as PdfPageDimension, type media_PdfPageDimensionsResult as PdfPageDimensionsResult, type media_PdfPageOrientation as PdfPageOrientation, type media_VideoInfo as VideoInfo, type media_VideoInfoError as VideoInfoError, type media_WavInfo as WavInfo, type media_WavInfoError as WavInfoError, media_inspectGifFrames as inspectGifFrames, media_readExifData as readExifData, media_readFlacInfo as readFlacInfo, media_readIcoInfo as readIcoInfo, media_readId3Tags as readId3Tags, media_readImageInfo as readImageInfo, media_readMidiInfo as readMidiInfo, media_readPdfMetadata as readPdfMetadata, media_readPdfOutline as readPdfOutline, media_readPdfPageDimensions as readPdfPageDimensions, media_readVideoInfo as readVideoInfo, media_readWavInfo as readWavInfo };
308
339
  }
309
340
 
310
- export { readImageInfo as A, readMidiInfo as B, readPdfMetadata as C, readPdfPageDimensions as D, type ExifData as E, type FlacInfo as F, type GifInfo as G, readVideoInfo as H, type IcoImageEntry as I, readWavInfo as J, type MidiDivision as M, type PdfMetadata as P, type VideoInfo as V, type WavInfo as W, type ExifError as a, type FlacInfoError as b, type GifInfoError as c, type IcoInfo as d, type IcoInfoError as e, type Id3Tags as f, type Id3TagsError as g, type ImageFormat as h, type ImageInfo as i, type ImageInfoError as j, type MidiInfo as k, type MidiInfoError as l, media as m, type MidiTimeSignature as n, type MidiTrackInfo as o, type PdfMetadataError as p, type PdfPageDimension as q, type PdfPageDimensionsResult as r, type PdfPageOrientation as s, type VideoInfoError as t, type WavInfoError as u, inspectGifFrames as v, readExifData as w, readFlacInfo as x, readIcoInfo as y, readId3Tags as z };
341
+ export { readExifData as A, readFlacInfo as B, readIcoInfo as C, readId3Tags as D, type ExifData as E, type FlacInfo as F, type GifInfo as G, readImageInfo as H, type IcoImageEntry as I, readMidiInfo as J, readPdfMetadata as K, readPdfOutline as L, type MidiDivision as M, readPdfPageDimensions as N, readVideoInfo as O, type PdfMetadata as P, readWavInfo as Q, type VideoInfo as V, type WavInfo as W, type ExifError as a, type FlacInfoError as b, type GifInfoError as c, type IcoInfo as d, type IcoInfoError as e, type Id3Tags as f, type Id3TagsError as g, type ImageFormat as h, type ImageInfo as i, type ImageInfoError as j, type MidiInfo as k, type MidiInfoError as l, media as m, type MidiTimeSignature as n, type MidiTrackInfo as o, type PdfMetadataError as p, type PdfOutlineDestType as q, type PdfOutlineError as r, type PdfOutlineItem as s, type PdfOutlineResult as t, type PdfPageDimension as u, type PdfPageDimensionsResult as v, type PdfPageOrientation as w, type VideoInfoError as x, type WavInfoError as y, inspectGifFrames as z };
@@ -1090,6 +1090,34 @@ interface CookieSizeBudgetResult {
1090
1090
  declare function calculateCookieSizeBudget(cookieHeader: string, budgetBytes?: number): CookieSizeBudgetResult | {
1091
1091
  error: string;
1092
1092
  };
1093
+ type SecurityHeaderStatus = 'pass' | 'warning' | 'missing';
1094
+ interface SecurityHeaderCheck {
1095
+ header: string;
1096
+ status: SecurityHeaderStatus;
1097
+ value: string | null;
1098
+ note: string;
1099
+ }
1100
+ interface SecurityHeadersScorecard {
1101
+ checks: SecurityHeaderCheck[];
1102
+ score: number;
1103
+ grade: 'A' | 'B' | 'C' | 'D' | 'F';
1104
+ passCount: number;
1105
+ warningCount: number;
1106
+ missingCount: number;
1107
+ totalChecks: number;
1108
+ }
1109
+ /**
1110
+ * Parse a pasted block of raw HTTP response headers (one "Name: value" pair
1111
+ * per line) and score it against a fixed list of commonly recommended
1112
+ * security headers, flagging each as pass, warning, or missing, with an
1113
+ * overall 0-100 score and A-F letter grade. Evaluates the header text you
1114
+ * give it, not a live request, and each check is intentionally shallow —
1115
+ * this is a quick scorecard, not a replacement for a header's own dedicated
1116
+ * builder/validator tool (e.g. the CSP Header Builder) for a deeper look.
1117
+ */
1118
+ declare function scoreSecurityHeaders(rawHeaders: string): SecurityHeadersScorecard | {
1119
+ error: string;
1120
+ };
1093
1121
 
1094
1122
  type network_AcceptLanguageEntry = AcceptLanguageEntry;
1095
1123
  type network_AcceptLanguageResult = AcceptLanguageResult;
@@ -1175,6 +1203,9 @@ type network_RobotsRule = RobotsRule;
1175
1203
  type network_RobotsValidationResult = RobotsValidationResult;
1176
1204
  declare const network_STATUS_CODES: typeof STATUS_CODES;
1177
1205
  type network_SameSiteValue = SameSiteValue;
1206
+ type network_SecurityHeaderCheck = SecurityHeaderCheck;
1207
+ type network_SecurityHeaderStatus = SecurityHeaderStatus;
1208
+ type network_SecurityHeadersScorecard = SecurityHeadersScorecard;
1178
1209
  type network_SitemapIndexEntry = SitemapIndexEntry;
1179
1210
  type network_SitemapIssue = SitemapIssue;
1180
1211
  type network_SitemapSplitFile = SitemapSplitFile;
@@ -1254,6 +1285,7 @@ declare const network_parseUserAgent: typeof parseUserAgent;
1254
1285
  declare const network_parseVaryHeader: typeof parseVaryHeader;
1255
1286
  declare const network_parseXContentTypeOptionsHeader: typeof parseXContentTypeOptionsHeader;
1256
1287
  declare const network_parseXRobotsTag: typeof parseXRobotsTag;
1288
+ declare const network_scoreSecurityHeaders: typeof scoreSecurityHeaders;
1257
1289
  declare const network_searchHeaders: typeof searchHeaders;
1258
1290
  declare const network_searchStatusCodes: typeof searchStatusCodes;
1259
1291
  declare const network_splitSitemap: typeof splitSitemap;
@@ -1266,7 +1298,7 @@ declare const network_validateManifest: typeof validateManifest;
1266
1298
  declare const network_validateRobotsTxt: typeof validateRobotsTxt;
1267
1299
  declare const network_validateSitemap: typeof validateSitemap;
1268
1300
  declare namespace network {
1269
- 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_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_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 };
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 };
1270
1302
  }
1271
1303
 
1272
- 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, buildRangeHeader 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 SplitSitemapOptions as aA, type SplitSitemapResult as aB, type StatusCode as aC, type UaDeviceType as aD, type UserAgentInfo as aE, type VaryHeaderEntry as aF, type VaryHeaderResult as aG, type XContentTypeOptionsHeader as aH, type XContentTypeOptionsParseResult as aI, type XRobotsTagFlag as aJ, type XRobotsTagOptions as aK, type XRobotsTagResult as aL, X_CONTENT_TYPE_OPTIONS_HEADER as aM, analyzeEmailHeaders as aN, assessContentTypeRisk as aO, buildAcceptLanguage as aP, buildCacheControl as aQ, buildClientHints as aR, buildContentDisposition as aS, buildDnsQueryUrl as aT, buildGeoUrl as aU, buildHsts as aV, buildLinkHeader as aW, buildMapUrl as aX, buildPermissionsPolicy as aY, buildPreferHeader as aZ, buildPriorityHeader 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 RobotsGroup as am, type RobotsIssue as an, type RobotsMetaTagFlag as ao, type RobotsMetaTagOptions as ap, type RobotsMetaTagResult as aq, type RobotsRule as ar, type RobotsValidationResult as as, STATUS_CODES as at, type SameSiteValue as au, type SitemapIndexEntry as av, type SitemapIssue as aw, type SitemapSplitFile as ax, type SitemapUrlEntry as ay, type SitemapValidationResult as az, type AuthResultEntry as b, buildReferrerPolicy as b0, buildRetryAfterHeader as b1, buildRobotsMetaTag as b2, buildVaryHeader as b3, buildXContentTypeOptionsHeader as b4, buildXRobotsTag as b5, calculateCookieSizeBudget as b6, checkSetCookieHeader as b7, countryCodeToFlag as b8, extractMultipartBoundary as b9, parseMultipartFormData as bA, parsePermissionsPolicy as bB, parsePreferHeader as bC, parsePriorityHeader as bD, parseRetryAfterHeader as bE, parseRobotsMetaTag as bF, parseUserAgent as bG, parseVaryHeader as bH, parseXContentTypeOptionsHeader as bI, parseXRobotsTag as bJ, searchHeaders as bK, searchStatusCodes as bL, splitSitemap as bM, statusCodeToText as bN, typeNumberToLabel as bO, validateDomain as bP, validateHeaderName as bQ, validateHeaderValue as bR, validateManifest as bS, validateRobotsTxt as bT, validateSitemap as bU, formatCoordinates as ba, formatTtl as bb, getByCategory as bc, getHeader as bd, getHeadersByCategory as be, getStatusByCategory as bf, getStatusCode as bg, isClientError as bh, isServerError as bi, isSuccess as bj, isValidIp as bk, isValidIpv4 as bl, isValidIpv6 as bm, listCloseCodes as bn, listOpcodes as bo, lookupCloseCode as bp, lookupOpcode as bq, parseAcceptLanguage as br, parseClientHintHeaders as bs, parseContentDisposition as bt, parseContentRangeHeader as bu, parseDnsResponse as bv, parseGeoResponse as bw, parseHar as bx, parseHsts as by, parseIpv6Address 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 };
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, buildPermissionsPolicy 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 SitemapSplitFile as aA, type SitemapUrlEntry as aB, type SitemapValidationResult as aC, type SplitSitemapOptions as aD, type SplitSitemapResult as aE, type StatusCode as aF, type UaDeviceType as aG, type UserAgentInfo as aH, type VaryHeaderEntry as aI, type VaryHeaderResult as aJ, type XContentTypeOptionsHeader as aK, type XContentTypeOptionsParseResult as aL, type XRobotsTagFlag as aM, type XRobotsTagOptions as aN, type XRobotsTagResult as aO, X_CONTENT_TYPE_OPTIONS_HEADER as aP, analyzeEmailHeaders as aQ, assessContentTypeRisk as aR, buildAcceptLanguage as aS, buildCacheControl as aT, buildClientHints as aU, buildContentDisposition as aV, buildDnsQueryUrl as aW, buildGeoUrl as aX, buildHsts as aY, buildLinkHeader as aZ, buildMapUrl 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 RobotsGroup as am, type RobotsIssue as an, type RobotsMetaTagFlag as ao, type RobotsMetaTagOptions as ap, type RobotsMetaTagResult as aq, type RobotsRule as ar, type RobotsValidationResult as as, STATUS_CODES as at, type SameSiteValue as au, type SecurityHeaderCheck as av, type SecurityHeaderStatus as aw, type SecurityHeadersScorecard as ax, type SitemapIndexEntry as ay, type SitemapIssue as az, type AuthResultEntry as b, buildPreferHeader as b0, buildPriorityHeader as b1, buildRangeHeader as b2, buildReferrerPolicy as b3, buildRetryAfterHeader as b4, buildRobotsMetaTag as b5, buildVaryHeader as b6, buildXContentTypeOptionsHeader as b7, buildXRobotsTag as b8, calculateCookieSizeBudget as b9, parseHar as bA, parseHsts as bB, parseIpv6Address as bC, parseMultipartFormData as bD, parsePermissionsPolicy as bE, parsePreferHeader as bF, parsePriorityHeader as bG, parseRetryAfterHeader as bH, parseRobotsMetaTag as bI, parseUserAgent as bJ, parseVaryHeader as bK, parseXContentTypeOptionsHeader as bL, parseXRobotsTag as bM, scoreSecurityHeaders as bN, searchHeaders as bO, searchStatusCodes as bP, splitSitemap as bQ, statusCodeToText as bR, typeNumberToLabel as bS, validateDomain as bT, validateHeaderName as bU, validateHeaderValue as bV, validateManifest as bW, validateRobotsTxt as bX, validateSitemap as bY, checkSetCookieHeader as ba, countryCodeToFlag as bb, extractMultipartBoundary as bc, formatCoordinates as bd, formatTtl as be, getByCategory as bf, getHeader as bg, getHeadersByCategory as bh, getStatusByCategory as bi, getStatusCode as bj, isClientError as bk, isServerError as bl, isSuccess as bm, isValidIp as bn, isValidIpv4 as bo, isValidIpv6 as bp, listCloseCodes as bq, listOpcodes as br, lookupCloseCode as bs, lookupOpcode as bt, parseAcceptLanguage as bu, parseClientHintHeaders as bv, parseContentDisposition as bw, parseContentRangeHeader as bx, parseDnsResponse as by, parseGeoResponse 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 };
@@ -1090,6 +1090,34 @@ interface CookieSizeBudgetResult {
1090
1090
  declare function calculateCookieSizeBudget(cookieHeader: string, budgetBytes?: number): CookieSizeBudgetResult | {
1091
1091
  error: string;
1092
1092
  };
1093
+ type SecurityHeaderStatus = 'pass' | 'warning' | 'missing';
1094
+ interface SecurityHeaderCheck {
1095
+ header: string;
1096
+ status: SecurityHeaderStatus;
1097
+ value: string | null;
1098
+ note: string;
1099
+ }
1100
+ interface SecurityHeadersScorecard {
1101
+ checks: SecurityHeaderCheck[];
1102
+ score: number;
1103
+ grade: 'A' | 'B' | 'C' | 'D' | 'F';
1104
+ passCount: number;
1105
+ warningCount: number;
1106
+ missingCount: number;
1107
+ totalChecks: number;
1108
+ }
1109
+ /**
1110
+ * Parse a pasted block of raw HTTP response headers (one "Name: value" pair
1111
+ * per line) and score it against a fixed list of commonly recommended
1112
+ * security headers, flagging each as pass, warning, or missing, with an
1113
+ * overall 0-100 score and A-F letter grade. Evaluates the header text you
1114
+ * give it, not a live request, and each check is intentionally shallow —
1115
+ * this is a quick scorecard, not a replacement for a header's own dedicated
1116
+ * builder/validator tool (e.g. the CSP Header Builder) for a deeper look.
1117
+ */
1118
+ declare function scoreSecurityHeaders(rawHeaders: string): SecurityHeadersScorecard | {
1119
+ error: string;
1120
+ };
1093
1121
 
1094
1122
  type network_AcceptLanguageEntry = AcceptLanguageEntry;
1095
1123
  type network_AcceptLanguageResult = AcceptLanguageResult;
@@ -1175,6 +1203,9 @@ type network_RobotsRule = RobotsRule;
1175
1203
  type network_RobotsValidationResult = RobotsValidationResult;
1176
1204
  declare const network_STATUS_CODES: typeof STATUS_CODES;
1177
1205
  type network_SameSiteValue = SameSiteValue;
1206
+ type network_SecurityHeaderCheck = SecurityHeaderCheck;
1207
+ type network_SecurityHeaderStatus = SecurityHeaderStatus;
1208
+ type network_SecurityHeadersScorecard = SecurityHeadersScorecard;
1178
1209
  type network_SitemapIndexEntry = SitemapIndexEntry;
1179
1210
  type network_SitemapIssue = SitemapIssue;
1180
1211
  type network_SitemapSplitFile = SitemapSplitFile;
@@ -1254,6 +1285,7 @@ declare const network_parseUserAgent: typeof parseUserAgent;
1254
1285
  declare const network_parseVaryHeader: typeof parseVaryHeader;
1255
1286
  declare const network_parseXContentTypeOptionsHeader: typeof parseXContentTypeOptionsHeader;
1256
1287
  declare const network_parseXRobotsTag: typeof parseXRobotsTag;
1288
+ declare const network_scoreSecurityHeaders: typeof scoreSecurityHeaders;
1257
1289
  declare const network_searchHeaders: typeof searchHeaders;
1258
1290
  declare const network_searchStatusCodes: typeof searchStatusCodes;
1259
1291
  declare const network_splitSitemap: typeof splitSitemap;
@@ -1266,7 +1298,7 @@ declare const network_validateManifest: typeof validateManifest;
1266
1298
  declare const network_validateRobotsTxt: typeof validateRobotsTxt;
1267
1299
  declare const network_validateSitemap: typeof validateSitemap;
1268
1300
  declare namespace network {
1269
- 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_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_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 };
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 };
1270
1302
  }
1271
1303
 
1272
- 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, buildRangeHeader 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 SplitSitemapOptions as aA, type SplitSitemapResult as aB, type StatusCode as aC, type UaDeviceType as aD, type UserAgentInfo as aE, type VaryHeaderEntry as aF, type VaryHeaderResult as aG, type XContentTypeOptionsHeader as aH, type XContentTypeOptionsParseResult as aI, type XRobotsTagFlag as aJ, type XRobotsTagOptions as aK, type XRobotsTagResult as aL, X_CONTENT_TYPE_OPTIONS_HEADER as aM, analyzeEmailHeaders as aN, assessContentTypeRisk as aO, buildAcceptLanguage as aP, buildCacheControl as aQ, buildClientHints as aR, buildContentDisposition as aS, buildDnsQueryUrl as aT, buildGeoUrl as aU, buildHsts as aV, buildLinkHeader as aW, buildMapUrl as aX, buildPermissionsPolicy as aY, buildPreferHeader as aZ, buildPriorityHeader 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 RobotsGroup as am, type RobotsIssue as an, type RobotsMetaTagFlag as ao, type RobotsMetaTagOptions as ap, type RobotsMetaTagResult as aq, type RobotsRule as ar, type RobotsValidationResult as as, STATUS_CODES as at, type SameSiteValue as au, type SitemapIndexEntry as av, type SitemapIssue as aw, type SitemapSplitFile as ax, type SitemapUrlEntry as ay, type SitemapValidationResult as az, type AuthResultEntry as b, buildReferrerPolicy as b0, buildRetryAfterHeader as b1, buildRobotsMetaTag as b2, buildVaryHeader as b3, buildXContentTypeOptionsHeader as b4, buildXRobotsTag as b5, calculateCookieSizeBudget as b6, checkSetCookieHeader as b7, countryCodeToFlag as b8, extractMultipartBoundary as b9, parseMultipartFormData as bA, parsePermissionsPolicy as bB, parsePreferHeader as bC, parsePriorityHeader as bD, parseRetryAfterHeader as bE, parseRobotsMetaTag as bF, parseUserAgent as bG, parseVaryHeader as bH, parseXContentTypeOptionsHeader as bI, parseXRobotsTag as bJ, searchHeaders as bK, searchStatusCodes as bL, splitSitemap as bM, statusCodeToText as bN, typeNumberToLabel as bO, validateDomain as bP, validateHeaderName as bQ, validateHeaderValue as bR, validateManifest as bS, validateRobotsTxt as bT, validateSitemap as bU, formatCoordinates as ba, formatTtl as bb, getByCategory as bc, getHeader as bd, getHeadersByCategory as be, getStatusByCategory as bf, getStatusCode as bg, isClientError as bh, isServerError as bi, isSuccess as bj, isValidIp as bk, isValidIpv4 as bl, isValidIpv6 as bm, listCloseCodes as bn, listOpcodes as bo, lookupCloseCode as bp, lookupOpcode as bq, parseAcceptLanguage as br, parseClientHintHeaders as bs, parseContentDisposition as bt, parseContentRangeHeader as bu, parseDnsResponse as bv, parseGeoResponse as bw, parseHar as bx, parseHsts as by, parseIpv6Address 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 };
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, buildPermissionsPolicy 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 SitemapSplitFile as aA, type SitemapUrlEntry as aB, type SitemapValidationResult as aC, type SplitSitemapOptions as aD, type SplitSitemapResult as aE, type StatusCode as aF, type UaDeviceType as aG, type UserAgentInfo as aH, type VaryHeaderEntry as aI, type VaryHeaderResult as aJ, type XContentTypeOptionsHeader as aK, type XContentTypeOptionsParseResult as aL, type XRobotsTagFlag as aM, type XRobotsTagOptions as aN, type XRobotsTagResult as aO, X_CONTENT_TYPE_OPTIONS_HEADER as aP, analyzeEmailHeaders as aQ, assessContentTypeRisk as aR, buildAcceptLanguage as aS, buildCacheControl as aT, buildClientHints as aU, buildContentDisposition as aV, buildDnsQueryUrl as aW, buildGeoUrl as aX, buildHsts as aY, buildLinkHeader as aZ, buildMapUrl 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 RobotsGroup as am, type RobotsIssue as an, type RobotsMetaTagFlag as ao, type RobotsMetaTagOptions as ap, type RobotsMetaTagResult as aq, type RobotsRule as ar, type RobotsValidationResult as as, STATUS_CODES as at, type SameSiteValue as au, type SecurityHeaderCheck as av, type SecurityHeaderStatus as aw, type SecurityHeadersScorecard as ax, type SitemapIndexEntry as ay, type SitemapIssue as az, type AuthResultEntry as b, buildPreferHeader as b0, buildPriorityHeader as b1, buildRangeHeader as b2, buildReferrerPolicy as b3, buildRetryAfterHeader as b4, buildRobotsMetaTag as b5, buildVaryHeader as b6, buildXContentTypeOptionsHeader as b7, buildXRobotsTag as b8, calculateCookieSizeBudget as b9, parseHar as bA, parseHsts as bB, parseIpv6Address as bC, parseMultipartFormData as bD, parsePermissionsPolicy as bE, parsePreferHeader as bF, parsePriorityHeader as bG, parseRetryAfterHeader as bH, parseRobotsMetaTag as bI, parseUserAgent as bJ, parseVaryHeader as bK, parseXContentTypeOptionsHeader as bL, parseXRobotsTag as bM, scoreSecurityHeaders as bN, searchHeaders as bO, searchStatusCodes as bP, splitSitemap as bQ, statusCodeToText as bR, typeNumberToLabel as bS, validateDomain as bT, validateHeaderName as bU, validateHeaderValue as bV, validateManifest as bW, validateRobotsTxt as bX, validateSitemap as bY, checkSetCookieHeader as ba, countryCodeToFlag as bb, extractMultipartBoundary as bc, formatCoordinates as bd, formatTtl as be, getByCategory as bf, getHeader as bg, getHeadersByCategory as bh, getStatusByCategory as bi, getStatusCode as bj, isClientError as bk, isServerError as bl, isSuccess as bm, isValidIp as bn, isValidIpv4 as bo, isValidIpv6 as bp, listCloseCodes as bq, listOpcodes as br, lookupCloseCode as bs, lookupOpcode as bt, parseAcceptLanguage as bu, parseClientHintHeaders as bv, parseContentDisposition as bw, parseContentRangeHeader as bx, parseDnsResponse as by, parseGeoResponse 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 };
@@ -567,6 +567,74 @@ function readPdfPageDimensions(bytes) {
567
567
  if (out.length === 0) return { error: "Could not locate any page objects in this PDF" };
568
568
  return { version, pageCount: out.length, pages: out };
569
569
  }
570
+ function parsePdfOutlineDest(dict) {
571
+ const directRef = dict.match(/\/Dest\s*\[\s*(\d+)\s+(\d+)\s+R/);
572
+ if (directRef) return { destType: "page", target: `${directRef[1]} ${directRef[2]} R` };
573
+ const directName = dict.match(/\/Dest\s*\/([^\s/()<>[\]]+)/);
574
+ if (directName) return { destType: "named", target: directName[1] };
575
+ const directString = dict.match(/\/Dest\s*\(((?:\\.|[^\\()])*)\)/);
576
+ if (directString) return { destType: "named", target: decodePdfString(directString[1], false) };
577
+ const actionUri = dict.match(/\/S\s*\/URI[\s\S]*?\/URI\s*\(((?:\\.|[^\\()])*)\)/);
578
+ if (actionUri) return { destType: "uri", target: decodePdfString(actionUri[1], false) };
579
+ const actionGotoRef = dict.match(/\/S\s*\/GoTo[\s\S]*?\/D\s*\[\s*(\d+)\s+(\d+)\s+R/);
580
+ if (actionGotoRef) return { destType: "page", target: `${actionGotoRef[1]} ${actionGotoRef[2]} R` };
581
+ const actionGotoName = dict.match(/\/S\s*\/GoTo[\s\S]*?\/D\s*\/([^\s/()<>[\]]+)/);
582
+ if (actionGotoName) return { destType: "named", target: actionGotoName[1] };
583
+ return { destType: "none", target: null };
584
+ }
585
+ function walkPdfOutlineChain(objMap, startRef, level, visited, out) {
586
+ let ref = startRef;
587
+ while (ref) {
588
+ if (visited.has(ref)) break;
589
+ visited.add(ref);
590
+ const body = objMap.get(ref);
591
+ if (!body) break;
592
+ const titleRaw = extractDictField(body, "Title");
593
+ const { destType, target } = parsePdfOutlineDest(body);
594
+ out.push({ title: titleRaw ?? "(untitled)", level, destType, target });
595
+ const firstMatch = body.match(/\/First\s+(\d+)\s+(\d+)\s+R/);
596
+ if (firstMatch) walkPdfOutlineChain(objMap, `${firstMatch[1]} ${firstMatch[2]}`, level + 1, visited, out);
597
+ const nextMatch = body.match(/\/Next\s+(\d+)\s+(\d+)\s+R/);
598
+ ref = nextMatch ? `${nextMatch[1]} ${nextMatch[2]}` : null;
599
+ }
600
+ }
601
+ function readPdfOutline(bytes) {
602
+ if (bytes.length < 8) return { error: "File too small to be a PDF" };
603
+ const header = bytesToLatin1(bytes.subarray(0, 16));
604
+ const versionMatch = header.match(/%PDF-(\d\.\d)/);
605
+ if (!versionMatch) return { error: "Not a valid PDF file (missing %PDF header)" };
606
+ const version = versionMatch[1];
607
+ const text = bytesToLatin1(bytes);
608
+ const objBlocks = [...text.matchAll(/(\d+)\s+(\d+)\s+obj([\s\S]*?)endobj/g)];
609
+ const objMap = /* @__PURE__ */ new Map();
610
+ for (const b of objBlocks) objMap.set(`${b[1]} ${b[2]}`, b[3]);
611
+ let outlinesBody = null;
612
+ const trailerMatches = [...text.matchAll(/trailer\s*<<([\s\S]*?)>>/g)];
613
+ if (trailerMatches.length > 0) {
614
+ const trailer = trailerMatches[trailerMatches.length - 1][1];
615
+ const rootRef = trailer.match(/\/Root\s+(\d+)\s+(\d+)\s+R/);
616
+ if (rootRef) {
617
+ const catalogBody = objMap.get(`${rootRef[1]} ${rootRef[2]}`);
618
+ const outlinesRef = catalogBody?.match(/\/Outlines\s+(\d+)\s+(\d+)\s+R/);
619
+ if (outlinesRef) outlinesBody = objMap.get(`${outlinesRef[1]} ${outlinesRef[2]}`) ?? null;
620
+ }
621
+ }
622
+ if (!outlinesBody) {
623
+ for (const b of objBlocks) {
624
+ if (/\/Type\s*\/Outlines\b/.test(b[3])) {
625
+ outlinesBody = b[3];
626
+ break;
627
+ }
628
+ }
629
+ }
630
+ if (!outlinesBody) return { error: "No /Outlines bookmark tree found in this PDF" };
631
+ const out = [];
632
+ const firstMatch = outlinesBody.match(/\/First\s+(\d+)\s+(\d+)\s+R/);
633
+ if (firstMatch) {
634
+ walkPdfOutlineChain(objMap, `${firstMatch[1]} ${firstMatch[2]}`, 0, /* @__PURE__ */ new Set(), out);
635
+ }
636
+ return { version, bookmarkCount: out.length, bookmarks: out };
637
+ }
570
638
  var AUDIO_FORMAT_LABELS = {
571
639
  1: "PCM",
572
640
  3: "IEEE float",
@@ -1432,6 +1500,7 @@ exports.readId3Tags = readId3Tags;
1432
1500
  exports.readImageInfo = readImageInfo;
1433
1501
  exports.readMidiInfo = readMidiInfo;
1434
1502
  exports.readPdfMetadata = readPdfMetadata;
1503
+ exports.readPdfOutline = readPdfOutline;
1435
1504
  exports.readPdfPageDimensions = readPdfPageDimensions;
1436
1505
  exports.readVideoInfo = readVideoInfo;
1437
1506
  exports.readWavInfo = readWavInfo;
@@ -1 +1 @@
1
- export { E as ExifData, a as ExifError, F as FlacInfo, b as FlacInfoError, G as GifInfo, c as GifInfoError, I as IcoImageEntry, d as IcoInfo, e as IcoInfoError, f as Id3Tags, g as Id3TagsError, h as ImageFormat, i as ImageInfo, j as ImageInfoError, M as MidiDivision, k as MidiInfo, l as MidiInfoError, n as MidiTimeSignature, o as MidiTrackInfo, P as PdfMetadata, p as PdfMetadataError, q as PdfPageDimension, r as PdfPageDimensionsResult, s as PdfPageOrientation, V as VideoInfo, t as VideoInfoError, W as WavInfo, u as WavInfoError, v as inspectGifFrames, w as readExifData, x as readFlacInfo, y as readIcoInfo, z as readId3Tags, A as readImageInfo, B as readMidiInfo, C as readPdfMetadata, D as readPdfPageDimensions, H as readVideoInfo, J as readWavInfo } from '../media-56zrIBw4.cjs';
1
+ export { E as ExifData, a as ExifError, F as FlacInfo, b as FlacInfoError, G as GifInfo, c as GifInfoError, I as IcoImageEntry, d as IcoInfo, e as IcoInfoError, f as Id3Tags, g as Id3TagsError, h as ImageFormat, i as ImageInfo, j as ImageInfoError, M as MidiDivision, k as MidiInfo, l as MidiInfoError, n as MidiTimeSignature, o as MidiTrackInfo, P as PdfMetadata, p as PdfMetadataError, q as PdfOutlineDestType, r as PdfOutlineError, s as PdfOutlineItem, t as PdfOutlineResult, u as PdfPageDimension, v as PdfPageDimensionsResult, w as PdfPageOrientation, V as VideoInfo, x as VideoInfoError, W as WavInfo, y as WavInfoError, z as inspectGifFrames, A as readExifData, B as readFlacInfo, C as readIcoInfo, D as readId3Tags, H as readImageInfo, J as readMidiInfo, K as readPdfMetadata, L as readPdfOutline, N as readPdfPageDimensions, O as readVideoInfo, Q as readWavInfo } from '../media-DF8BS-iA.cjs';
@@ -1 +1 @@
1
- export { E as ExifData, a as ExifError, F as FlacInfo, b as FlacInfoError, G as GifInfo, c as GifInfoError, I as IcoImageEntry, d as IcoInfo, e as IcoInfoError, f as Id3Tags, g as Id3TagsError, h as ImageFormat, i as ImageInfo, j as ImageInfoError, M as MidiDivision, k as MidiInfo, l as MidiInfoError, n as MidiTimeSignature, o as MidiTrackInfo, P as PdfMetadata, p as PdfMetadataError, q as PdfPageDimension, r as PdfPageDimensionsResult, s as PdfPageOrientation, V as VideoInfo, t as VideoInfoError, W as WavInfo, u as WavInfoError, v as inspectGifFrames, w as readExifData, x as readFlacInfo, y as readIcoInfo, z as readId3Tags, A as readImageInfo, B as readMidiInfo, C as readPdfMetadata, D as readPdfPageDimensions, H as readVideoInfo, J as readWavInfo } from '../media-56zrIBw4.js';
1
+ export { E as ExifData, a as ExifError, F as FlacInfo, b as FlacInfoError, G as GifInfo, c as GifInfoError, I as IcoImageEntry, d as IcoInfo, e as IcoInfoError, f as Id3Tags, g as Id3TagsError, h as ImageFormat, i as ImageInfo, j as ImageInfoError, M as MidiDivision, k as MidiInfo, l as MidiInfoError, n as MidiTimeSignature, o as MidiTrackInfo, P as PdfMetadata, p as PdfMetadataError, q as PdfOutlineDestType, r as PdfOutlineError, s as PdfOutlineItem, t as PdfOutlineResult, u as PdfPageDimension, v as PdfPageDimensionsResult, w as PdfPageOrientation, V as VideoInfo, x as VideoInfoError, W as WavInfo, y as WavInfoError, z as inspectGifFrames, A as readExifData, B as readFlacInfo, C as readIcoInfo, D as readId3Tags, H as readImageInfo, J as readMidiInfo, K as readPdfMetadata, L as readPdfOutline, N as readPdfPageDimensions, O as readVideoInfo, Q as readWavInfo } from '../media-DF8BS-iA.js';
@@ -1,2 +1,2 @@
1
- export { inspectGifFrames, readExifData, readFlacInfo, readIcoInfo, readId3Tags, readImageInfo, readMidiInfo, readPdfMetadata, readPdfPageDimensions, readVideoInfo, readWavInfo } from '../chunk-PT4N4UBL.js';
1
+ export { inspectGifFrames, readExifData, readFlacInfo, readIcoInfo, readId3Tags, readImageInfo, readMidiInfo, readPdfMetadata, readPdfOutline, readPdfPageDimensions, readVideoInfo, readWavInfo } from '../chunk-ZWFZRDQ4.js';
2
2
  import '../chunk-MLKGABMK.js';
@@ -3428,6 +3428,123 @@ function calculateCookieSizeBudget(cookieHeader, budgetBytes = DEFAULT_COOKIE_BU
3428
3428
  exceedsBudget: totalBytes > budgetBytes
3429
3429
  };
3430
3430
  }
3431
+ function parseRawHeaderBlock(raw) {
3432
+ const map = /* @__PURE__ */ new Map();
3433
+ for (const line of raw.split(/\r?\n/)) {
3434
+ const trimmed = line.trim();
3435
+ if (!trimmed) continue;
3436
+ const idx = trimmed.indexOf(":");
3437
+ if (idx === -1) continue;
3438
+ const name = trimmed.slice(0, idx).trim().toLowerCase();
3439
+ const value = trimmed.slice(idx + 1).trim();
3440
+ if (!map.has(name)) map.set(name, value);
3441
+ }
3442
+ return map;
3443
+ }
3444
+ var SECURITY_HEADER_CHECKS = [
3445
+ {
3446
+ header: "Content-Security-Policy",
3447
+ evaluate: (v) => {
3448
+ if (!v) return { status: "missing", note: "Without a CSP, an injected script runs with full page privileges." };
3449
+ if (/unsafe-inline|unsafe-eval/i.test(v)) return { status: "warning", note: "Contains unsafe-inline or unsafe-eval, which weakens XSS protection." };
3450
+ return { status: "pass", note: "Present. Use the CSP Header Builder tool to validate its directives in depth." };
3451
+ }
3452
+ },
3453
+ {
3454
+ header: "Strict-Transport-Security",
3455
+ evaluate: (v) => {
3456
+ if (!v) return { status: "missing", note: "Without HSTS, a user's first visit (and any later downgrade) can be sent over plain HTTP." };
3457
+ const maxAgeMatch = v.match(/max-age\s*=\s*(\d+)/i);
3458
+ if (!maxAgeMatch) return { status: "warning", note: "Present but missing a max-age directive." };
3459
+ const maxAge = Number(maxAgeMatch[1]);
3460
+ if (maxAge < 31536e3) return { status: "warning", note: "max-age is below the recommended 1 year (31536000 seconds)." };
3461
+ return { status: "pass", note: "Present with a max-age of at least 1 year." };
3462
+ }
3463
+ },
3464
+ {
3465
+ header: "X-Content-Type-Options",
3466
+ evaluate: (v) => {
3467
+ if (!v) return { status: "missing", note: "Without this header, browsers may MIME-sniff a response into an unintended content type." };
3468
+ if (v.trim().toLowerCase() !== "nosniff") return { status: "warning", note: `"nosniff" is the only valid value; this value won't take effect.` };
3469
+ return { status: "pass", note: "Set to the only valid value, nosniff." };
3470
+ }
3471
+ },
3472
+ {
3473
+ header: "X-Frame-Options",
3474
+ evaluate: (v) => {
3475
+ if (!v) return { status: "missing", note: "Without this (or a CSP frame-ancestors directive), the page can be framed by another site for clickjacking." };
3476
+ const upper = v.trim().toUpperCase();
3477
+ if (upper === "DENY" || upper === "SAMEORIGIN") return { status: "pass", note: `Framing restricted (${upper}).` };
3478
+ if (upper.startsWith("ALLOW-FROM")) return { status: "warning", note: "ALLOW-FROM is deprecated and ignored by most modern browsers." };
3479
+ return { status: "warning", note: "Unrecognized value." };
3480
+ }
3481
+ },
3482
+ {
3483
+ header: "Referrer-Policy",
3484
+ evaluate: (v) => {
3485
+ if (!v) return { status: "missing", note: "Without this header, the browser's default referrer behavior applies, which can leak full URLs to third parties." };
3486
+ if (v.trim().toLowerCase() === "unsafe-url") return { status: "warning", note: "unsafe-url leaks the full URL, including path and query string, to every destination." };
3487
+ return { status: "pass", note: "Present." };
3488
+ }
3489
+ },
3490
+ {
3491
+ header: "Permissions-Policy",
3492
+ evaluate: (v) => {
3493
+ if (!v) return { status: "missing", note: "Without this header, embedded content can use powerful browser features (camera, geolocation, etc.) unless restricted another way." };
3494
+ return { status: "pass", note: "Present." };
3495
+ }
3496
+ },
3497
+ {
3498
+ header: "Cross-Origin-Opener-Policy",
3499
+ evaluate: (v) => {
3500
+ if (!v) return { status: "missing", note: "Without COOP, this page can be put in the same browsing context group as a malicious opener window." };
3501
+ const lower = v.trim().toLowerCase();
3502
+ if (lower === "same-origin") return { status: "pass", note: "Set to same-origin, the strongest isolation value." };
3503
+ return { status: "warning", note: `Set to "${v.trim()}", which is weaker than same-origin.` };
3504
+ }
3505
+ },
3506
+ {
3507
+ header: "Cross-Origin-Embedder-Policy",
3508
+ evaluate: (v) => {
3509
+ if (!v) return { status: "missing", note: "Required alongside COOP for cross-origin isolation (e.g. to use SharedArrayBuffer)." };
3510
+ const lower = v.trim().toLowerCase();
3511
+ if (lower === "require-corp" || lower === "credentialless") return { status: "pass", note: `Set to ${lower}.` };
3512
+ return { status: "warning", note: `Unrecognized value "${v.trim()}".` };
3513
+ }
3514
+ },
3515
+ {
3516
+ header: "Cross-Origin-Resource-Policy",
3517
+ evaluate: (v) => {
3518
+ if (!v) return { status: "missing", note: "Without CORP, this resource can be loaded cross-origin by any site that knows its URL." };
3519
+ const lower = v.trim().toLowerCase();
3520
+ if (lower === "same-origin" || lower === "same-site") return { status: "pass", note: `Set to ${lower}.` };
3521
+ if (lower === "cross-origin") return { status: "warning", note: "Set to cross-origin, which allows any site to load this resource." };
3522
+ return { status: "warning", note: `Unrecognized value "${v.trim()}".` };
3523
+ }
3524
+ }
3525
+ ];
3526
+ function scoreSecurityHeaders(rawHeaders) {
3527
+ if (typeof rawHeaders !== "string" || !rawHeaders.trim()) {
3528
+ return { error: 'Paste one or more response headers, one per line in "Name: value" form' };
3529
+ }
3530
+ const headerMap = parseRawHeaderBlock(rawHeaders);
3531
+ if (headerMap.size === 0) {
3532
+ return { error: 'Could not parse any "Name: value" header lines from the input' };
3533
+ }
3534
+ const checks = SECURITY_HEADER_CHECKS.map((def) => {
3535
+ const value = headerMap.get(def.header.toLowerCase()) ?? null;
3536
+ const { status, note } = def.evaluate(value);
3537
+ return { header: def.header, status, value, note };
3538
+ });
3539
+ const passCount = checks.filter((c) => c.status === "pass").length;
3540
+ const warningCount = checks.filter((c) => c.status === "warning").length;
3541
+ const missingCount = checks.filter((c) => c.status === "missing").length;
3542
+ const totalChecks = checks.length;
3543
+ const points = passCount + warningCount * 0.5;
3544
+ const score = Math.round(points / totalChecks * 100);
3545
+ const grade = score >= 90 ? "A" : score >= 75 ? "B" : score >= 60 ? "C" : score >= 40 ? "D" : "F";
3546
+ return { checks, score, grade, passCount, warningCount, missingCount, totalChecks };
3547
+ }
3431
3548
 
3432
3549
  exports.CLIENT_HINTS = CLIENT_HINTS;
3433
3550
  exports.DNS_RECORD_TYPES = DNS_RECORD_TYPES;
@@ -3498,6 +3615,7 @@ exports.parseUserAgent = parseUserAgent;
3498
3615
  exports.parseVaryHeader = parseVaryHeader;
3499
3616
  exports.parseXContentTypeOptionsHeader = parseXContentTypeOptionsHeader;
3500
3617
  exports.parseXRobotsTag = parseXRobotsTag;
3618
+ exports.scoreSecurityHeaders = scoreSecurityHeaders;
3501
3619
  exports.searchHeaders = searchHeaders;
3502
3620
  exports.searchStatusCodes = searchStatusCodes;
3503
3621
  exports.splitSitemap = splitSitemap;
@@ -1 +1 @@
1
- export { A as AcceptLanguageEntry, a as AcceptLanguageResult, b as AuthResultEntry, B as BuildRangeHeaderOptions, C as CLIENT_HINTS, c as CacheControlDirective, d as CacheControlOptions, e as CacheControlResult, f as ClientHintDef, g as ClientHintValueType, h as ClientHintsBuildResult, i as ClientHintsParseResult, j as CloseCodeInfo, k as CloseCodeRange, l as ContentDispositionBuildOptions, m as ContentDispositionBuildResult, o as ContentDispositionParseResult, p as ContentRangeResult, q as ContentTypeRiskResult, r as ContentTypeSniffRisk, s as CookieAttributes, t as CookieCheckResult, u as CookieSizeBudgetResult, v as CookieSizeEntry, D as DNS_RECORD_TYPES, w as DnsRecord, x as DnsRecordType, y as DnsResponse, E as EmailHeaderAnalysis, z as EmailHeaderField, G as GeoResult, H as HTTP_HEADERS, F as HarEntry, I as HarParseResult, J as HarSummary, K as HeaderCategory, L as HstsOptions, M as HstsResult, N as HttpHeader, O as Ipv6AddressType, P as Ipv6ParseResult, Q as LINK_REL_VALUES, R as LinkHeaderEntry, S as LinkHeaderEntryInput, T as LinkHeaderResult, U as LinkRel, V as ManifestIconInfo, W as ManifestIssue, X as ManifestValidationResult, Y as MultipartParseResult, Z as MultipartPart, _ as OpcodeCategory, $ as OpcodeInfo, a0 as PERMISSIONS_POLICY_FEATURES, a1 as ParsedClientHint, a2 as ParsedDnsResult, a3 as ParsedGeoResult, a4 as PermissionsPolicyDirective, a5 as PermissionsPolicyFeatureInput, a6 as PermissionsPolicyResult, a7 as PreferParameter, a8 as PreferPreference, a9 as PreferResult, aa as PriorityResult, ab as REFERRER_POLICY_VALUES, ac as RangeEntry, ad as RangeEntryInput, ae as RangeHeaderResult, af as ReceivedHop, ag as ReferrerPolicyEntry, ah as ReferrerPolicyResult, ai as ReferrerPolicyValue, aj as RetryAfterDateResult, ak as RetryAfterResult, al as RetryAfterSecondsResult, am as RobotsGroup, an as RobotsIssue, ao as RobotsMetaTagFlag, ap as RobotsMetaTagOptions, aq as RobotsMetaTagResult, ar as RobotsRule, as as RobotsValidationResult, at as STATUS_CODES, au as SameSiteValue, av as SitemapIndexEntry, aw as SitemapIssue, ax as SitemapSplitFile, ay as SitemapUrlEntry, az as SitemapValidationResult, aA as SplitSitemapOptions, aB as SplitSitemapResult, aC as StatusCode, aD as UaDeviceType, aE as UserAgentInfo, aF as VaryHeaderEntry, aG as VaryHeaderResult, aH as XContentTypeOptionsHeader, aI as XContentTypeOptionsParseResult, aJ as XRobotsTagFlag, aK as XRobotsTagOptions, aL as XRobotsTagResult, aM as X_CONTENT_TYPE_OPTIONS_HEADER, aN as analyzeEmailHeaders, aO as assessContentTypeRisk, aP as buildAcceptLanguage, aQ as buildCacheControl, aR as buildClientHints, aS as buildContentDisposition, aT as buildDnsQueryUrl, aU as buildGeoUrl, aV as buildHsts, aW as buildLinkHeader, aX as buildMapUrl, aY as buildPermissionsPolicy, aZ as buildPreferHeader, a_ as buildPriorityHeader, a$ as buildRangeHeader, b0 as buildReferrerPolicy, b1 as buildRetryAfterHeader, b2 as buildRobotsMetaTag, b3 as buildVaryHeader, b4 as buildXContentTypeOptionsHeader, b5 as buildXRobotsTag, b6 as calculateCookieSizeBudget, b7 as checkSetCookieHeader, b8 as countryCodeToFlag, b9 as extractMultipartBoundary, ba as formatCoordinates, bb as formatTtl, bc as getByCategory, bd as getHeader, be as getHeadersByCategory, bf as getStatusByCategory, bg as getStatusCode, bh as isClientError, bi as isServerError, bj as isSuccess, bk as isValidIp, bl as isValidIpv4, bm as isValidIpv6, bn as listCloseCodes, bo as listOpcodes, bp as lookupCloseCode, bq as lookupOpcode, br as parseAcceptLanguage, bs as parseClientHintHeaders, bt as parseContentDisposition, bu as parseContentRangeHeader, bv as parseDnsResponse, bw as parseGeoResponse, bx as parseHar, by as parseHsts, bz as parseIpv6Address, bA as parseMultipartFormData, bB as parsePermissionsPolicy, bC as parsePreferHeader, bD as parsePriorityHeader, bE as parseRetryAfterHeader, bF as parseRobotsMetaTag, bG as parseUserAgent, bH as parseVaryHeader, bI as parseXContentTypeOptionsHeader, bJ as parseXRobotsTag, bK as searchHeaders, bL as searchStatusCodes, bM as splitSitemap, bN as statusCodeToText, bO as typeNumberToLabel, bP as validateDomain, bQ as validateHeaderName, bR as validateHeaderValue, bS as validateManifest, bT as validateRobotsTxt, bU as validateSitemap } from '../network-Da3meCWM.cjs';
1
+ export { A as AcceptLanguageEntry, a as AcceptLanguageResult, b as AuthResultEntry, B as BuildRangeHeaderOptions, C as CLIENT_HINTS, c as CacheControlDirective, d as CacheControlOptions, e as CacheControlResult, f as ClientHintDef, g as ClientHintValueType, h as ClientHintsBuildResult, i as ClientHintsParseResult, j as CloseCodeInfo, k as CloseCodeRange, l as ContentDispositionBuildOptions, m as ContentDispositionBuildResult, o as ContentDispositionParseResult, p as ContentRangeResult, q as ContentTypeRiskResult, r as ContentTypeSniffRisk, s as CookieAttributes, t as CookieCheckResult, u as CookieSizeBudgetResult, v as CookieSizeEntry, D as DNS_RECORD_TYPES, w as DnsRecord, x as DnsRecordType, y as DnsResponse, E as EmailHeaderAnalysis, z as EmailHeaderField, G as GeoResult, H as HTTP_HEADERS, F as HarEntry, I as HarParseResult, J as HarSummary, K as HeaderCategory, L as HstsOptions, M as HstsResult, N as HttpHeader, O as Ipv6AddressType, P as Ipv6ParseResult, Q as LINK_REL_VALUES, R as LinkHeaderEntry, S as LinkHeaderEntryInput, T as LinkHeaderResult, U as LinkRel, V as ManifestIconInfo, W as ManifestIssue, X as ManifestValidationResult, Y as MultipartParseResult, Z as MultipartPart, _ as OpcodeCategory, $ as OpcodeInfo, a0 as PERMISSIONS_POLICY_FEATURES, a1 as ParsedClientHint, a2 as ParsedDnsResult, a3 as ParsedGeoResult, a4 as PermissionsPolicyDirective, a5 as PermissionsPolicyFeatureInput, a6 as PermissionsPolicyResult, a7 as PreferParameter, a8 as PreferPreference, a9 as PreferResult, aa as PriorityResult, ab as REFERRER_POLICY_VALUES, ac as RangeEntry, ad as RangeEntryInput, ae as RangeHeaderResult, af as ReceivedHop, ag as ReferrerPolicyEntry, ah as ReferrerPolicyResult, ai as ReferrerPolicyValue, aj as RetryAfterDateResult, ak as RetryAfterResult, al as RetryAfterSecondsResult, am as RobotsGroup, an as RobotsIssue, ao as RobotsMetaTagFlag, ap as RobotsMetaTagOptions, aq as RobotsMetaTagResult, ar as RobotsRule, as as RobotsValidationResult, at as STATUS_CODES, au as SameSiteValue, av as SecurityHeaderCheck, aw as SecurityHeaderStatus, ax as SecurityHeadersScorecard, ay as SitemapIndexEntry, az as SitemapIssue, aA as SitemapSplitFile, aB as SitemapUrlEntry, aC as SitemapValidationResult, aD as SplitSitemapOptions, aE as SplitSitemapResult, aF as StatusCode, aG as UaDeviceType, aH as UserAgentInfo, aI as VaryHeaderEntry, aJ as VaryHeaderResult, aK as XContentTypeOptionsHeader, aL as XContentTypeOptionsParseResult, aM as XRobotsTagFlag, aN as XRobotsTagOptions, aO as XRobotsTagResult, aP as X_CONTENT_TYPE_OPTIONS_HEADER, aQ as analyzeEmailHeaders, aR as assessContentTypeRisk, aS as buildAcceptLanguage, aT as buildCacheControl, aU as buildClientHints, aV as buildContentDisposition, aW as buildDnsQueryUrl, aX as buildGeoUrl, aY as buildHsts, aZ as buildLinkHeader, a_ as buildMapUrl, a$ as buildPermissionsPolicy, b0 as buildPreferHeader, b1 as buildPriorityHeader, b2 as buildRangeHeader, b3 as buildReferrerPolicy, b4 as buildRetryAfterHeader, b5 as buildRobotsMetaTag, b6 as buildVaryHeader, b7 as buildXContentTypeOptionsHeader, b8 as buildXRobotsTag, b9 as calculateCookieSizeBudget, ba as checkSetCookieHeader, bb as countryCodeToFlag, bc as extractMultipartBoundary, bd as formatCoordinates, be as formatTtl, bf as getByCategory, bg as getHeader, bh as getHeadersByCategory, bi as getStatusByCategory, bj as getStatusCode, bk as isClientError, bl as isServerError, bm as isSuccess, bn as isValidIp, bo as isValidIpv4, bp as isValidIpv6, bq as listCloseCodes, br as listOpcodes, bs as lookupCloseCode, bt as lookupOpcode, bu as parseAcceptLanguage, bv as parseClientHintHeaders, bw as parseContentDisposition, bx as parseContentRangeHeader, by as parseDnsResponse, bz as parseGeoResponse, bA as parseHar, bB as parseHsts, bC as parseIpv6Address, bD as parseMultipartFormData, bE as parsePermissionsPolicy, bF as parsePreferHeader, bG as parsePriorityHeader, bH as parseRetryAfterHeader, bI as parseRobotsMetaTag, bJ as parseUserAgent, bK as parseVaryHeader, bL as parseXContentTypeOptionsHeader, bM as parseXRobotsTag, bN as scoreSecurityHeaders, bO as searchHeaders, bP as searchStatusCodes, bQ as splitSitemap, bR as statusCodeToText, bS as typeNumberToLabel, bT as validateDomain, bU as validateHeaderName, bV as validateHeaderValue, bW as validateManifest, bX as validateRobotsTxt, bY as validateSitemap } from '../network-BskZe1n2.cjs';
@@ -1 +1 @@
1
- export { A as AcceptLanguageEntry, a as AcceptLanguageResult, b as AuthResultEntry, B as BuildRangeHeaderOptions, C as CLIENT_HINTS, c as CacheControlDirective, d as CacheControlOptions, e as CacheControlResult, f as ClientHintDef, g as ClientHintValueType, h as ClientHintsBuildResult, i as ClientHintsParseResult, j as CloseCodeInfo, k as CloseCodeRange, l as ContentDispositionBuildOptions, m as ContentDispositionBuildResult, o as ContentDispositionParseResult, p as ContentRangeResult, q as ContentTypeRiskResult, r as ContentTypeSniffRisk, s as CookieAttributes, t as CookieCheckResult, u as CookieSizeBudgetResult, v as CookieSizeEntry, D as DNS_RECORD_TYPES, w as DnsRecord, x as DnsRecordType, y as DnsResponse, E as EmailHeaderAnalysis, z as EmailHeaderField, G as GeoResult, H as HTTP_HEADERS, F as HarEntry, I as HarParseResult, J as HarSummary, K as HeaderCategory, L as HstsOptions, M as HstsResult, N as HttpHeader, O as Ipv6AddressType, P as Ipv6ParseResult, Q as LINK_REL_VALUES, R as LinkHeaderEntry, S as LinkHeaderEntryInput, T as LinkHeaderResult, U as LinkRel, V as ManifestIconInfo, W as ManifestIssue, X as ManifestValidationResult, Y as MultipartParseResult, Z as MultipartPart, _ as OpcodeCategory, $ as OpcodeInfo, a0 as PERMISSIONS_POLICY_FEATURES, a1 as ParsedClientHint, a2 as ParsedDnsResult, a3 as ParsedGeoResult, a4 as PermissionsPolicyDirective, a5 as PermissionsPolicyFeatureInput, a6 as PermissionsPolicyResult, a7 as PreferParameter, a8 as PreferPreference, a9 as PreferResult, aa as PriorityResult, ab as REFERRER_POLICY_VALUES, ac as RangeEntry, ad as RangeEntryInput, ae as RangeHeaderResult, af as ReceivedHop, ag as ReferrerPolicyEntry, ah as ReferrerPolicyResult, ai as ReferrerPolicyValue, aj as RetryAfterDateResult, ak as RetryAfterResult, al as RetryAfterSecondsResult, am as RobotsGroup, an as RobotsIssue, ao as RobotsMetaTagFlag, ap as RobotsMetaTagOptions, aq as RobotsMetaTagResult, ar as RobotsRule, as as RobotsValidationResult, at as STATUS_CODES, au as SameSiteValue, av as SitemapIndexEntry, aw as SitemapIssue, ax as SitemapSplitFile, ay as SitemapUrlEntry, az as SitemapValidationResult, aA as SplitSitemapOptions, aB as SplitSitemapResult, aC as StatusCode, aD as UaDeviceType, aE as UserAgentInfo, aF as VaryHeaderEntry, aG as VaryHeaderResult, aH as XContentTypeOptionsHeader, aI as XContentTypeOptionsParseResult, aJ as XRobotsTagFlag, aK as XRobotsTagOptions, aL as XRobotsTagResult, aM as X_CONTENT_TYPE_OPTIONS_HEADER, aN as analyzeEmailHeaders, aO as assessContentTypeRisk, aP as buildAcceptLanguage, aQ as buildCacheControl, aR as buildClientHints, aS as buildContentDisposition, aT as buildDnsQueryUrl, aU as buildGeoUrl, aV as buildHsts, aW as buildLinkHeader, aX as buildMapUrl, aY as buildPermissionsPolicy, aZ as buildPreferHeader, a_ as buildPriorityHeader, a$ as buildRangeHeader, b0 as buildReferrerPolicy, b1 as buildRetryAfterHeader, b2 as buildRobotsMetaTag, b3 as buildVaryHeader, b4 as buildXContentTypeOptionsHeader, b5 as buildXRobotsTag, b6 as calculateCookieSizeBudget, b7 as checkSetCookieHeader, b8 as countryCodeToFlag, b9 as extractMultipartBoundary, ba as formatCoordinates, bb as formatTtl, bc as getByCategory, bd as getHeader, be as getHeadersByCategory, bf as getStatusByCategory, bg as getStatusCode, bh as isClientError, bi as isServerError, bj as isSuccess, bk as isValidIp, bl as isValidIpv4, bm as isValidIpv6, bn as listCloseCodes, bo as listOpcodes, bp as lookupCloseCode, bq as lookupOpcode, br as parseAcceptLanguage, bs as parseClientHintHeaders, bt as parseContentDisposition, bu as parseContentRangeHeader, bv as parseDnsResponse, bw as parseGeoResponse, bx as parseHar, by as parseHsts, bz as parseIpv6Address, bA as parseMultipartFormData, bB as parsePermissionsPolicy, bC as parsePreferHeader, bD as parsePriorityHeader, bE as parseRetryAfterHeader, bF as parseRobotsMetaTag, bG as parseUserAgent, bH as parseVaryHeader, bI as parseXContentTypeOptionsHeader, bJ as parseXRobotsTag, bK as searchHeaders, bL as searchStatusCodes, bM as splitSitemap, bN as statusCodeToText, bO as typeNumberToLabel, bP as validateDomain, bQ as validateHeaderName, bR as validateHeaderValue, bS as validateManifest, bT as validateRobotsTxt, bU as validateSitemap } from '../network-Da3meCWM.js';
1
+ export { A as AcceptLanguageEntry, a as AcceptLanguageResult, b as AuthResultEntry, B as BuildRangeHeaderOptions, C as CLIENT_HINTS, c as CacheControlDirective, d as CacheControlOptions, e as CacheControlResult, f as ClientHintDef, g as ClientHintValueType, h as ClientHintsBuildResult, i as ClientHintsParseResult, j as CloseCodeInfo, k as CloseCodeRange, l as ContentDispositionBuildOptions, m as ContentDispositionBuildResult, o as ContentDispositionParseResult, p as ContentRangeResult, q as ContentTypeRiskResult, r as ContentTypeSniffRisk, s as CookieAttributes, t as CookieCheckResult, u as CookieSizeBudgetResult, v as CookieSizeEntry, D as DNS_RECORD_TYPES, w as DnsRecord, x as DnsRecordType, y as DnsResponse, E as EmailHeaderAnalysis, z as EmailHeaderField, G as GeoResult, H as HTTP_HEADERS, F as HarEntry, I as HarParseResult, J as HarSummary, K as HeaderCategory, L as HstsOptions, M as HstsResult, N as HttpHeader, O as Ipv6AddressType, P as Ipv6ParseResult, Q as LINK_REL_VALUES, R as LinkHeaderEntry, S as LinkHeaderEntryInput, T as LinkHeaderResult, U as LinkRel, V as ManifestIconInfo, W as ManifestIssue, X as ManifestValidationResult, Y as MultipartParseResult, Z as MultipartPart, _ as OpcodeCategory, $ as OpcodeInfo, a0 as PERMISSIONS_POLICY_FEATURES, a1 as ParsedClientHint, a2 as ParsedDnsResult, a3 as ParsedGeoResult, a4 as PermissionsPolicyDirective, a5 as PermissionsPolicyFeatureInput, a6 as PermissionsPolicyResult, a7 as PreferParameter, a8 as PreferPreference, a9 as PreferResult, aa as PriorityResult, ab as REFERRER_POLICY_VALUES, ac as RangeEntry, ad as RangeEntryInput, ae as RangeHeaderResult, af as ReceivedHop, ag as ReferrerPolicyEntry, ah as ReferrerPolicyResult, ai as ReferrerPolicyValue, aj as RetryAfterDateResult, ak as RetryAfterResult, al as RetryAfterSecondsResult, am as RobotsGroup, an as RobotsIssue, ao as RobotsMetaTagFlag, ap as RobotsMetaTagOptions, aq as RobotsMetaTagResult, ar as RobotsRule, as as RobotsValidationResult, at as STATUS_CODES, au as SameSiteValue, av as SecurityHeaderCheck, aw as SecurityHeaderStatus, ax as SecurityHeadersScorecard, ay as SitemapIndexEntry, az as SitemapIssue, aA as SitemapSplitFile, aB as SitemapUrlEntry, aC as SitemapValidationResult, aD as SplitSitemapOptions, aE as SplitSitemapResult, aF as StatusCode, aG as UaDeviceType, aH as UserAgentInfo, aI as VaryHeaderEntry, aJ as VaryHeaderResult, aK as XContentTypeOptionsHeader, aL as XContentTypeOptionsParseResult, aM as XRobotsTagFlag, aN as XRobotsTagOptions, aO as XRobotsTagResult, aP as X_CONTENT_TYPE_OPTIONS_HEADER, aQ as analyzeEmailHeaders, aR as assessContentTypeRisk, aS as buildAcceptLanguage, aT as buildCacheControl, aU as buildClientHints, aV as buildContentDisposition, aW as buildDnsQueryUrl, aX as buildGeoUrl, aY as buildHsts, aZ as buildLinkHeader, a_ as buildMapUrl, a$ as buildPermissionsPolicy, b0 as buildPreferHeader, b1 as buildPriorityHeader, b2 as buildRangeHeader, b3 as buildReferrerPolicy, b4 as buildRetryAfterHeader, b5 as buildRobotsMetaTag, b6 as buildVaryHeader, b7 as buildXContentTypeOptionsHeader, b8 as buildXRobotsTag, b9 as calculateCookieSizeBudget, ba as checkSetCookieHeader, bb as countryCodeToFlag, bc as extractMultipartBoundary, bd as formatCoordinates, be as formatTtl, bf as getByCategory, bg as getHeader, bh as getHeadersByCategory, bi as getStatusByCategory, bj as getStatusCode, bk as isClientError, bl as isServerError, bm as isSuccess, bn as isValidIp, bo as isValidIpv4, bp as isValidIpv6, bq as listCloseCodes, br as listOpcodes, bs as lookupCloseCode, bt as lookupOpcode, bu as parseAcceptLanguage, bv as parseClientHintHeaders, bw as parseContentDisposition, bx as parseContentRangeHeader, by as parseDnsResponse, bz as parseGeoResponse, bA as parseHar, bB as parseHsts, bC as parseIpv6Address, bD as parseMultipartFormData, bE as parsePermissionsPolicy, bF as parsePreferHeader, bG as parsePriorityHeader, bH as parseRetryAfterHeader, bI as parseRobotsMetaTag, bJ as parseUserAgent, bK as parseVaryHeader, bL as parseXContentTypeOptionsHeader, bM as parseXRobotsTag, bN as scoreSecurityHeaders, bO as searchHeaders, bP as searchStatusCodes, bQ as splitSitemap, bR as statusCodeToText, bS as typeNumberToLabel, bT as validateDomain, bU as validateHeaderName, bV as validateHeaderValue, bW as validateManifest, bX as validateRobotsTxt, bY as validateSitemap } from '../network-BskZe1n2.js';
@@ -1,2 +1,2 @@
1
- export { CLIENT_HINTS, DNS_RECORD_TYPES, HTTP_HEADERS, LINK_REL_VALUES, PERMISSIONS_POLICY_FEATURES, REFERRER_POLICY_VALUES, STATUS_CODES, X_CONTENT_TYPE_OPTIONS_HEADER, analyzeEmailHeaders, assessContentTypeRisk, buildAcceptLanguage, buildCacheControl, buildClientHints, buildContentDisposition, buildDnsQueryUrl, buildGeoUrl, buildHsts, buildLinkHeader, buildMapUrl, buildPermissionsPolicy, buildPreferHeader, buildPriorityHeader, buildRangeHeader, buildReferrerPolicy, buildRetryAfterHeader, buildRobotsMetaTag, buildVaryHeader, buildXContentTypeOptionsHeader, buildXRobotsTag, calculateCookieSizeBudget, checkSetCookieHeader, countryCodeToFlag, extractMultipartBoundary, formatCoordinates, formatTtl, getByCategory, getHeader, getHeadersByCategory, getStatusByCategory, getStatusCode, isClientError, isServerError, isSuccess, isValidIp, isValidIpv4, isValidIpv6, listCloseCodes, listOpcodes, lookupCloseCode, lookupOpcode, parseAcceptLanguage, parseClientHintHeaders, parseContentDisposition, parseContentRangeHeader, parseDnsResponse, parseGeoResponse, parseHar, parseHsts, parseIpv6Address, parseMultipartFormData, parsePermissionsPolicy, parsePreferHeader, parsePriorityHeader, parseRetryAfterHeader, parseRobotsMetaTag, parseUserAgent, parseVaryHeader, parseXContentTypeOptionsHeader, parseXRobotsTag, searchHeaders, searchStatusCodes, splitSitemap, statusCodeToText, typeNumberToLabel, validateDomain, validateHeaderName, validateHeaderValue, validateManifest, validateRobotsTxt, validateSitemap } from '../chunk-CXUOV672.js';
1
+ export { CLIENT_HINTS, DNS_RECORD_TYPES, HTTP_HEADERS, LINK_REL_VALUES, PERMISSIONS_POLICY_FEATURES, REFERRER_POLICY_VALUES, STATUS_CODES, X_CONTENT_TYPE_OPTIONS_HEADER, analyzeEmailHeaders, assessContentTypeRisk, buildAcceptLanguage, buildCacheControl, buildClientHints, buildContentDisposition, buildDnsQueryUrl, buildGeoUrl, buildHsts, buildLinkHeader, buildMapUrl, buildPermissionsPolicy, buildPreferHeader, buildPriorityHeader, buildRangeHeader, buildReferrerPolicy, buildRetryAfterHeader, buildRobotsMetaTag, buildVaryHeader, buildXContentTypeOptionsHeader, buildXRobotsTag, calculateCookieSizeBudget, checkSetCookieHeader, countryCodeToFlag, extractMultipartBoundary, formatCoordinates, formatTtl, getByCategory, getHeader, getHeadersByCategory, getStatusByCategory, getStatusCode, isClientError, isServerError, isSuccess, isValidIp, isValidIpv4, isValidIpv6, listCloseCodes, listOpcodes, lookupCloseCode, lookupOpcode, parseAcceptLanguage, parseClientHintHeaders, parseContentDisposition, parseContentRangeHeader, parseDnsResponse, parseGeoResponse, parseHar, parseHsts, parseIpv6Address, parseMultipartFormData, parsePermissionsPolicy, parsePreferHeader, parsePriorityHeader, parseRetryAfterHeader, parseRobotsMetaTag, parseUserAgent, parseVaryHeader, parseXContentTypeOptionsHeader, parseXRobotsTag, scoreSecurityHeaders, searchHeaders, searchStatusCodes, splitSitemap, statusCodeToText, typeNumberToLabel, validateDomain, validateHeaderName, validateHeaderValue, validateManifest, validateRobotsTxt, validateSitemap } from '../chunk-KWS4ZCYG.js';
2
2
  import '../chunk-MLKGABMK.js';