@utilix-tech/sdk 0.91.0 → 0.92.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Full release notes for all Utilix surfaces (browser tools, REST API, SDKs, MCP server) live at [utilix.tech/changelog](https://utilix.tech/changelog). This file tracks just this package.
4
4
 
5
+ ## 0.92.0
6
+ - Add `buildClearSiteData`/`parseClearSiteData` (clear-site-data-header-builder): build a `Clear-Site-Data` response header from directives (cache, cookies, storage, executionContexts, or `*` for all of them), flagging redundant directives alongside the wildcard, or parse an existing header back into its directives.
7
+ - Add `summarizeCsvColumnStats` (csv-column-stats-summarizer): parse CSV/TSV data and compute per-column null/unique counts plus min/max/mean/median/standard deviation for numeric columns, or the most common value for categorical ones.
8
+
5
9
  ## 0.91.0
6
10
  - Add `findYamlDuplicateKeys` (yaml-duplicate-key-detector): report every mapping key that collides with an earlier key in the same YAML mapping scope, with the line and column of each repeated occurrence.
7
11
  - Add `detectNegativeAmortization` (negative-amortization-detector): check whether a proposed loan payment covers the interest accruing each period and, if not, project the shortfall and the resulting balance growth, optionally flagging the month a balance cap is crossed.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @utilix-tech/sdk
2
2
 
3
- **732 developer utility functions for Node.js: runs locally, no API key required.**
3
+ **735 developer utility functions for Node.js: runs locally, no API key required.**
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@utilix-tech/sdk?style=flat-square&color=cb3837)](https://www.npmjs.com/package/@utilix-tech/sdk)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/@utilix-tech/sdk?style=flat-square)](https://www.npmjs.com/package/@utilix-tech/sdk)
@@ -747,6 +747,16 @@ calculateCookieSizeBudget("session=abc123; theme=dark; cart=42");
747
747
  import { scoreSecurityHeaders } from "@utilix-tech/sdk/network";
748
748
  scoreSecurityHeaders("Content-Security-Policy: default-src 'self'\nStrict-Transport-Security: max-age=63072000");
749
749
  // { score: 22, grade: "F", passCount: 2, warningCount: 0, missingCount: 7, totalChecks: 9, checks: [...] }
750
+
751
+ // Build a Clear-Site-Data header (cache, cookies, storage, executionContexts, or *), or parse an existing one
752
+ import { buildClearSiteData, parseClearSiteData } from "@utilix-tech/sdk/network";
753
+ buildClearSiteData(["cache", "cookies"]);
754
+ // { header: '"cache", "cookies"', headerName: "Clear-Site-Data", snippet: 'Clear-Site-Data: "cache", "cookies"', directives: ["cache", "cookies"], warnings: [] }
755
+
756
+ // Per-column CSV summary stats: null/unique counts for every column, numeric stats or most-common value
757
+ import { summarizeCsvColumnStats } from "@utilix-tech/sdk/data";
758
+ summarizeCsvColumnStats("name,score\nAlice,90\nBob,80\n");
759
+ // { rowCount: 2, columns: [{ name: "name", isNumeric: false, ... }, { name: "score", isNumeric: true, min: 80, max: 90, mean: 85, median: 85, stdDev: 5, ... }] }
750
760
  ```
751
761
 
752
762
  ---
@@ -15,6 +15,7 @@ __export(network_exports, {
15
15
  assessContentTypeRisk: () => assessContentTypeRisk,
16
16
  buildAcceptLanguage: () => buildAcceptLanguage,
17
17
  buildCacheControl: () => buildCacheControl,
18
+ buildClearSiteData: () => buildClearSiteData,
18
19
  buildClientHints: () => buildClientHints,
19
20
  buildContentDisposition: () => buildContentDisposition,
20
21
  buildDnsQueryUrl: () => buildDnsQueryUrl,
@@ -55,6 +56,7 @@ __export(network_exports, {
55
56
  lookupCloseCode: () => lookupCloseCode,
56
57
  lookupOpcode: () => lookupOpcode,
57
58
  parseAcceptLanguage: () => parseAcceptLanguage,
59
+ parseClearSiteData: () => parseClearSiteData,
58
60
  parseClientHintHeaders: () => parseClientHintHeaders,
59
61
  parseContentDisposition: () => parseContentDisposition,
60
62
  parseContentRangeHeader: () => parseContentRangeHeader,
@@ -3664,5 +3666,50 @@ function scoreSecurityHeaders(rawHeaders) {
3664
3666
  const grade = score >= 90 ? "A" : score >= 75 ? "B" : score >= 60 ? "C" : score >= 40 ? "D" : "F";
3665
3667
  return { checks, score, grade, passCount, warningCount, missingCount, totalChecks };
3666
3668
  }
3669
+ var CLEAR_SITE_DATA_DIRECTIVES = /* @__PURE__ */ new Set(["cache", "cookies", "storage", "executionContexts", "*"]);
3670
+ function buildClearSiteData(directives) {
3671
+ if (!Array.isArray(directives) || directives.length === 0) {
3672
+ return { error: "directives must be a non-empty array" };
3673
+ }
3674
+ const seen = /* @__PURE__ */ new Set();
3675
+ const normalized = [];
3676
+ for (const raw of directives) {
3677
+ if (typeof raw !== "string") return { error: "Each directive must be a string" };
3678
+ if (!CLEAR_SITE_DATA_DIRECTIVES.has(raw)) {
3679
+ return { error: `Unrecognized directive "${raw}". Valid directives: cache, cookies, storage, executionContexts, *` };
3680
+ }
3681
+ if (seen.has(raw)) continue;
3682
+ seen.add(raw);
3683
+ normalized.push(raw);
3684
+ }
3685
+ const warnings = [];
3686
+ if (normalized.includes("*") && normalized.length > 1) {
3687
+ warnings.push('"*" already clears cache, cookies, storage, and executionContexts (plus any future data types the spec adds), so listing other directives alongside it is redundant.');
3688
+ }
3689
+ const header = normalized.map((d) => `"${d}"`).join(", ");
3690
+ return {
3691
+ header,
3692
+ headerName: "Clear-Site-Data",
3693
+ snippet: `Clear-Site-Data: ${header}`,
3694
+ directives: normalized,
3695
+ warnings
3696
+ };
3697
+ }
3698
+ function parseClearSiteData(raw) {
3699
+ if (!raw || raw.trim() === "") return { error: "Input is empty" };
3700
+ const withoutLabel = raw.trim().replace(/^clear-site-data:\s*/i, "");
3701
+ const tokens = withoutLabel.split(",").map((t) => t.trim()).filter((t) => t !== "");
3702
+ if (tokens.length === 0) return { error: "No directives found" };
3703
+ const directives = [];
3704
+ for (const token of tokens) {
3705
+ const match = token.match(/^"(.*)"$/);
3706
+ const value = match ? match[1] : token;
3707
+ if (!CLEAR_SITE_DATA_DIRECTIVES.has(value)) {
3708
+ return { error: `Unrecognized directive "${token}"; each directive should be a quoted string like "cookies"` };
3709
+ }
3710
+ directives.push(value);
3711
+ }
3712
+ return buildClearSiteData(directives);
3713
+ }
3667
3714
 
3668
- 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, generateRobotsTxt, getByCategory, getHeader, getHeadersByCategory, getStatusByCategory, getStatusCode, isClientError, isServerError, isSuccess, isValidIp, isValidIpv4, isValidIpv6, listCloseCodes, listOpcodes, lookupCloseCode, lookupOpcode, network_exports, 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 };
3715
+ 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, buildClearSiteData, buildClientHints, buildContentDisposition, buildDnsQueryUrl, buildGeoUrl, buildHsts, buildLinkHeader, buildMapUrl, buildPermissionsPolicy, buildPreferHeader, buildPriorityHeader, buildRangeHeader, buildReferrerPolicy, buildRetryAfterHeader, buildRobotsMetaTag, buildVaryHeader, buildXContentTypeOptionsHeader, buildXRobotsTag, calculateCookieSizeBudget, checkSetCookieHeader, countryCodeToFlag, extractMultipartBoundary, formatCoordinates, formatTtl, generateRobotsTxt, getByCategory, getHeader, getHeadersByCategory, getStatusByCategory, getStatusCode, isClientError, isServerError, isSuccess, isValidIp, isValidIpv4, isValidIpv6, listCloseCodes, listOpcodes, lookupCloseCode, lookupOpcode, network_exports, parseAcceptLanguage, parseClearSiteData, 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 };
@@ -52,6 +52,7 @@ __export(data_exports, {
52
52
  serializeSubtitles: () => serializeSubtitles,
53
53
  shiftSubtitles: () => shiftSubtitles,
54
54
  stringifyIni: () => stringifyIni,
55
+ summarizeCsvColumnStats: () => summarizeCsvColumnStats,
55
56
  toCsvString: () => toCsvString,
56
57
  tomlToJson: () => tomlToJson,
57
58
  validateEnvKey: () => validateEnvKey,
@@ -2160,5 +2161,67 @@ function alignMarkdownTables(markdown) {
2160
2161
  if (tables.length === 0) return { error: "No Markdown tables found" };
2161
2162
  return { output: outputLines.join("\n"), tables, warnings };
2162
2163
  }
2164
+ var _CSV_NUMERIC_RE = /^-?\d+(\.\d+)?([eE][+-]?\d+)?$/;
2165
+ function _parseCsvNumeric(raw) {
2166
+ if (!_CSV_NUMERIC_RE.test(raw)) return null;
2167
+ const n = Number(raw);
2168
+ return Number.isFinite(n) ? n : null;
2169
+ }
2170
+ function summarizeCsvColumnStats(input, options) {
2171
+ const parsed = parseCsv(input, {
2172
+ delimiter: options?.delimiter ?? ",",
2173
+ hasHeader: options?.hasHeader !== false
2174
+ });
2175
+ if ("error" in parsed) return parsed;
2176
+ if (parsed.rows.length === 0) return { error: "No data rows found" };
2177
+ const columns = parsed.headers.map((name, colIdx) => {
2178
+ let nullCount = 0;
2179
+ let nonNumericCount = 0;
2180
+ const numericValues = [];
2181
+ const freq = /* @__PURE__ */ new Map();
2182
+ for (const row of parsed.rows) {
2183
+ const raw = (row[colIdx] ?? "").trim();
2184
+ if (raw === "") {
2185
+ nullCount++;
2186
+ continue;
2187
+ }
2188
+ freq.set(raw, (freq.get(raw) ?? 0) + 1);
2189
+ const n = _parseCsvNumeric(raw);
2190
+ if (n !== null) numericValues.push(n);
2191
+ else nonNumericCount++;
2192
+ }
2193
+ const nonEmptyCount = parsed.rows.length - nullCount;
2194
+ const isNumeric = nonEmptyCount > 0 && nonNumericCount === 0;
2195
+ let mostCommon;
2196
+ for (const [value, count] of freq) {
2197
+ if (!mostCommon || count > mostCommon.count) mostCommon = { value, count };
2198
+ }
2199
+ const stats = {
2200
+ name,
2201
+ totalCount: parsed.rows.length,
2202
+ nullCount,
2203
+ uniqueCount: freq.size,
2204
+ isNumeric,
2205
+ numericCount: numericValues.length
2206
+ };
2207
+ if (isNumeric && numericValues.length > 0) {
2208
+ const sorted = [...numericValues].sort((a, b) => a - b);
2209
+ const sum = sorted.reduce((a, b) => a + b, 0);
2210
+ const mean = sum / sorted.length;
2211
+ const mid = Math.floor(sorted.length / 2);
2212
+ const median = sorted.length % 2 === 0 ? (sorted[mid - 1] + sorted[mid]) / 2 : sorted[mid];
2213
+ const variance = sorted.reduce((acc, v) => acc + (v - mean) ** 2, 0) / sorted.length;
2214
+ stats.min = sorted[0];
2215
+ stats.max = sorted[sorted.length - 1];
2216
+ stats.mean = mean;
2217
+ stats.median = median;
2218
+ stats.stdDev = Math.sqrt(variance);
2219
+ } else {
2220
+ stats.mostCommon = mostCommon;
2221
+ }
2222
+ return stats;
2223
+ });
2224
+ return { columns, rowCount: parsed.rows.length };
2225
+ }
2163
2226
 
2164
- export { alignMarkdownTables, analyzeCaptionSpeed, calculateMarkdownTaskListProgress, checkMarkdownInternalLinks, convertSubtitles, csvToJson, csvToSqlInsert, data_exports, dedupeNdjson, detectDelimiter, detectSubtitleFormat, diffEnvExample, envToExport, envToJson, findCsvDuplicateRows, findYamlDuplicateKeys, formatNdjson, formatSubtitleTimestamp, formatToml, formatXml, generateMarkdownToc, getSection, getSectionNames, getTomlStats, getXmlStats, getYamlStats, inferCsvColumnTypes, iniToJson, jsonArrayToNdjson, jsonToIni, jsonToToml, jsonToXml, minifyNdjson, minifyToml, minifyXml, ndjsonToCsv, ndjsonToJsonArray, parseCsv, parseEnv, parseFrontMatter, parseIni, parseSubtitleTimestamp, parseSubtitles, parseXmlToObject, resolveYamlAnchors, serializeSubtitles, shiftSubtitles, stringifyIni, toCsvString, tomlToJson, validateEnvKey, validateIni, validateMarkdownHeadingHierarchy, validateNdjson, validateToml, validateXml, validateYaml, xmlToJson };
2227
+ export { alignMarkdownTables, analyzeCaptionSpeed, calculateMarkdownTaskListProgress, checkMarkdownInternalLinks, convertSubtitles, csvToJson, csvToSqlInsert, data_exports, dedupeNdjson, detectDelimiter, detectSubtitleFormat, diffEnvExample, envToExport, envToJson, findCsvDuplicateRows, findYamlDuplicateKeys, formatNdjson, formatSubtitleTimestamp, formatToml, formatXml, generateMarkdownToc, getSection, getSectionNames, getTomlStats, getXmlStats, getYamlStats, inferCsvColumnTypes, iniToJson, jsonArrayToNdjson, jsonToIni, jsonToToml, jsonToXml, minifyNdjson, minifyToml, minifyXml, ndjsonToCsv, ndjsonToJsonArray, parseCsv, parseEnv, parseFrontMatter, parseIni, parseSubtitleTimestamp, parseSubtitles, parseXmlToObject, resolveYamlAnchors, serializeSubtitles, shiftSubtitles, stringifyIni, summarizeCsvColumnStats, toCsvString, tomlToJson, validateEnvKey, validateIni, validateMarkdownHeadingHierarchy, validateNdjson, validateToml, validateXml, validateYaml, xmlToJson };
@@ -24,6 +24,7 @@
24
24
  * - markdown-heading-hierarchy-validator: validateMarkdownHeadingHierarchy
25
25
  * - markdown-internal-link-checker: checkMarkdownInternalLinks
26
26
  * - yaml-duplicate-key-detector: findYamlDuplicateKeys
27
+ * - csv-column-stats-summarizer: summarizeCsvColumnStats
27
28
  */
28
29
  interface ValidationResult {
29
30
  valid: boolean;
@@ -618,10 +619,51 @@ interface MarkdownTableAlignResult {
618
619
  declare function alignMarkdownTables(markdown: string): MarkdownTableAlignResult | {
619
620
  error: string;
620
621
  };
622
+ interface CsvColumnStatsOptions {
623
+ delimiter?: string;
624
+ hasHeader?: boolean;
625
+ }
626
+ interface CsvColumnMostCommon {
627
+ value: string;
628
+ count: number;
629
+ }
630
+ interface CsvColumnStats {
631
+ name: string;
632
+ totalCount: number;
633
+ nullCount: number;
634
+ uniqueCount: number;
635
+ isNumeric: boolean;
636
+ numericCount: number;
637
+ min?: number;
638
+ max?: number;
639
+ mean?: number;
640
+ median?: number;
641
+ stdDev?: number;
642
+ mostCommon?: CsvColumnMostCommon;
643
+ }
644
+ interface CsvColumnStatsResult {
645
+ columns: CsvColumnStats[];
646
+ rowCount: number;
647
+ }
648
+ /**
649
+ * Parse CSV/TSV data and compute per-column summary statistics: null and
650
+ * unique-value counts for every column, plus min/max/mean/median/standard
651
+ * deviation for any column where every non-empty value parses as a plain
652
+ * number. A column with even one non-numeric non-empty value is treated as
653
+ * categorical instead, where the most frequent value and its count are
654
+ * reported in place of the numeric stats.
655
+ */
656
+ declare function summarizeCsvColumnStats(input: string, options?: CsvColumnStatsOptions): CsvColumnStatsResult | {
657
+ error: string;
658
+ };
621
659
 
622
660
  type data_CaptionSpeedCue = CaptionSpeedCue;
623
661
  type data_CaptionSpeedResult = CaptionSpeedResult;
624
662
  type data_ConvertedSubtitles = ConvertedSubtitles;
663
+ type data_CsvColumnMostCommon = CsvColumnMostCommon;
664
+ type data_CsvColumnStats = CsvColumnStats;
665
+ type data_CsvColumnStatsOptions = CsvColumnStatsOptions;
666
+ type data_CsvColumnStatsResult = CsvColumnStatsResult;
625
667
  type data_CsvColumnType = CsvColumnType;
626
668
  type data_CsvColumnTypeInfo = CsvColumnTypeInfo;
627
669
  type data_CsvColumnTypeOptions = CsvColumnTypeOptions;
@@ -720,6 +762,7 @@ declare const data_resolveYamlAnchors: typeof resolveYamlAnchors;
720
762
  declare const data_serializeSubtitles: typeof serializeSubtitles;
721
763
  declare const data_shiftSubtitles: typeof shiftSubtitles;
722
764
  declare const data_stringifyIni: typeof stringifyIni;
765
+ declare const data_summarizeCsvColumnStats: typeof summarizeCsvColumnStats;
723
766
  declare const data_toCsvString: typeof toCsvString;
724
767
  declare const data_tomlToJson: typeof tomlToJson;
725
768
  declare const data_validateEnvKey: typeof validateEnvKey;
@@ -731,7 +774,7 @@ declare const data_validateXml: typeof validateXml;
731
774
  declare const data_validateYaml: typeof validateYaml;
732
775
  declare const data_xmlToJson: typeof xmlToJson;
733
776
  declare namespace data {
734
- export { type data_CaptionSpeedCue as CaptionSpeedCue, type data_CaptionSpeedResult as CaptionSpeedResult, type data_ConvertedSubtitles as ConvertedSubtitles, type data_CsvColumnType as CsvColumnType, type data_CsvColumnTypeInfo as CsvColumnTypeInfo, type data_CsvColumnTypeOptions as CsvColumnTypeOptions, type data_CsvColumnTypeResult as CsvColumnTypeResult, type data_CsvDuplicateGroup as CsvDuplicateGroup, type data_CsvDuplicateOptions as CsvDuplicateOptions, type data_CsvDuplicateResult as CsvDuplicateResult, type data_CsvParseResult as CsvParseResult, type data_CsvToSqlOptions as CsvToSqlOptions, type data_CsvToSqlResult as CsvToSqlResult, type data_EnvDiffError as EnvDiffError, type data_EnvDiffResult as EnvDiffResult, type data_EnvEntry as EnvEntry, type data_EnvParseResult as EnvParseResult, type data_FrontMatterError as FrontMatterError, type data_FrontMatterResult as FrontMatterResult, type data_HeadingEntry as HeadingEntry, type data_HeadingHierarchyResult as HeadingHierarchyResult, type data_HeadingIssue as HeadingIssue, type data_HeadingIssueType as HeadingIssueType, type data_IniSection as IniSection, type data_MarkdownAnchorHeading as MarkdownAnchorHeading, type data_MarkdownAnchorLink as MarkdownAnchorLink, type data_MarkdownInternalLinkCheckResult as MarkdownInternalLinkCheckResult, type data_MarkdownTableAlignResult as MarkdownTableAlignResult, type data_MarkdownTableColumnAlignment as MarkdownTableColumnAlignment, type data_MarkdownTableInfo as MarkdownTableInfo, type data_MarkdownTaskListItem as MarkdownTaskListItem, type data_MarkdownTaskListProgressResult as MarkdownTaskListProgressResult, type data_MarkdownTaskListSectionSummary as MarkdownTaskListSectionSummary, type data_MarkdownTocEntry as MarkdownTocEntry, type data_MarkdownTocOptions as MarkdownTocOptions, type data_MarkdownTocResult as MarkdownTocResult, type data_NdjsonDedupeResult as NdjsonDedupeResult, type data_NdjsonLineResult as NdjsonLineResult, type data_NdjsonValidateResult as NdjsonValidateResult, type data_ParseOptions as ParseOptions, type data_ParsedIni as ParsedIni, type data_ParsedSubtitles as ParsedSubtitles, type data_SubtitleCue as SubtitleCue, type data_SubtitleFormat as SubtitleFormat, type data_TomlFormatResult as TomlFormatResult, type data_ValidationResult as ValidationResult, type data_XmlFormatResult as XmlFormatResult, type data_XmlToJsonOptions as XmlToJsonOptions, type data_YamlAnchorInfo as YamlAnchorInfo, type data_YamlAnchorResolveError as YamlAnchorResolveError, type data_YamlAnchorResolveResult as YamlAnchorResolveResult, type data_YamlDuplicateKeyEntry as YamlDuplicateKeyEntry, type data_YamlDuplicateKeyError as YamlDuplicateKeyError, type data_YamlDuplicateKeyResult as YamlDuplicateKeyResult, data_alignMarkdownTables as alignMarkdownTables, data_analyzeCaptionSpeed as analyzeCaptionSpeed, data_calculateMarkdownTaskListProgress as calculateMarkdownTaskListProgress, data_checkMarkdownInternalLinks as checkMarkdownInternalLinks, data_convertSubtitles as convertSubtitles, data_csvToJson as csvToJson, data_csvToSqlInsert as csvToSqlInsert, data_dedupeNdjson as dedupeNdjson, data_detectDelimiter as detectDelimiter, data_detectSubtitleFormat as detectSubtitleFormat, data_diffEnvExample as diffEnvExample, data_envToExport as envToExport, data_envToJson as envToJson, data_findCsvDuplicateRows as findCsvDuplicateRows, data_findYamlDuplicateKeys as findYamlDuplicateKeys, data_formatNdjson as formatNdjson, data_formatSubtitleTimestamp as formatSubtitleTimestamp, data_formatToml as formatToml, data_formatXml as formatXml, data_generateMarkdownToc as generateMarkdownToc, data_getSection as getSection, data_getSectionNames as getSectionNames, data_getTomlStats as getTomlStats, data_getXmlStats as getXmlStats, data_getYamlStats as getYamlStats, data_inferCsvColumnTypes as inferCsvColumnTypes, data_iniToJson as iniToJson, data_jsonArrayToNdjson as jsonArrayToNdjson, data_jsonToIni as jsonToIni, data_jsonToToml as jsonToToml, data_jsonToXml as jsonToXml, data_minifyNdjson as minifyNdjson, data_minifyToml as minifyToml, data_minifyXml as minifyXml, data_ndjsonToCsv as ndjsonToCsv, data_ndjsonToJsonArray as ndjsonToJsonArray, data_parseCsv as parseCsv, data_parseEnv as parseEnv, data_parseFrontMatter as parseFrontMatter, data_parseIni as parseIni, data_parseSubtitleTimestamp as parseSubtitleTimestamp, data_parseSubtitles as parseSubtitles, data_parseXmlToObject as parseXmlToObject, data_resolveYamlAnchors as resolveYamlAnchors, data_serializeSubtitles as serializeSubtitles, data_shiftSubtitles as shiftSubtitles, data_stringifyIni as stringifyIni, data_toCsvString as toCsvString, data_tomlToJson as tomlToJson, data_validateEnvKey as validateEnvKey, data_validateIni as validateIni, data_validateMarkdownHeadingHierarchy as validateMarkdownHeadingHierarchy, data_validateNdjson as validateNdjson, data_validateToml as validateToml, data_validateXml as validateXml, data_validateYaml as validateYaml, data_xmlToJson as xmlToJson };
777
+ export { type data_CaptionSpeedCue as CaptionSpeedCue, type data_CaptionSpeedResult as CaptionSpeedResult, type data_ConvertedSubtitles as ConvertedSubtitles, type data_CsvColumnMostCommon as CsvColumnMostCommon, type data_CsvColumnStats as CsvColumnStats, type data_CsvColumnStatsOptions as CsvColumnStatsOptions, type data_CsvColumnStatsResult as CsvColumnStatsResult, type data_CsvColumnType as CsvColumnType, type data_CsvColumnTypeInfo as CsvColumnTypeInfo, type data_CsvColumnTypeOptions as CsvColumnTypeOptions, type data_CsvColumnTypeResult as CsvColumnTypeResult, type data_CsvDuplicateGroup as CsvDuplicateGroup, type data_CsvDuplicateOptions as CsvDuplicateOptions, type data_CsvDuplicateResult as CsvDuplicateResult, type data_CsvParseResult as CsvParseResult, type data_CsvToSqlOptions as CsvToSqlOptions, type data_CsvToSqlResult as CsvToSqlResult, type data_EnvDiffError as EnvDiffError, type data_EnvDiffResult as EnvDiffResult, type data_EnvEntry as EnvEntry, type data_EnvParseResult as EnvParseResult, type data_FrontMatterError as FrontMatterError, type data_FrontMatterResult as FrontMatterResult, type data_HeadingEntry as HeadingEntry, type data_HeadingHierarchyResult as HeadingHierarchyResult, type data_HeadingIssue as HeadingIssue, type data_HeadingIssueType as HeadingIssueType, type data_IniSection as IniSection, type data_MarkdownAnchorHeading as MarkdownAnchorHeading, type data_MarkdownAnchorLink as MarkdownAnchorLink, type data_MarkdownInternalLinkCheckResult as MarkdownInternalLinkCheckResult, type data_MarkdownTableAlignResult as MarkdownTableAlignResult, type data_MarkdownTableColumnAlignment as MarkdownTableColumnAlignment, type data_MarkdownTableInfo as MarkdownTableInfo, type data_MarkdownTaskListItem as MarkdownTaskListItem, type data_MarkdownTaskListProgressResult as MarkdownTaskListProgressResult, type data_MarkdownTaskListSectionSummary as MarkdownTaskListSectionSummary, type data_MarkdownTocEntry as MarkdownTocEntry, type data_MarkdownTocOptions as MarkdownTocOptions, type data_MarkdownTocResult as MarkdownTocResult, type data_NdjsonDedupeResult as NdjsonDedupeResult, type data_NdjsonLineResult as NdjsonLineResult, type data_NdjsonValidateResult as NdjsonValidateResult, type data_ParseOptions as ParseOptions, type data_ParsedIni as ParsedIni, type data_ParsedSubtitles as ParsedSubtitles, type data_SubtitleCue as SubtitleCue, type data_SubtitleFormat as SubtitleFormat, type data_TomlFormatResult as TomlFormatResult, type data_ValidationResult as ValidationResult, type data_XmlFormatResult as XmlFormatResult, type data_XmlToJsonOptions as XmlToJsonOptions, type data_YamlAnchorInfo as YamlAnchorInfo, type data_YamlAnchorResolveError as YamlAnchorResolveError, type data_YamlAnchorResolveResult as YamlAnchorResolveResult, type data_YamlDuplicateKeyEntry as YamlDuplicateKeyEntry, type data_YamlDuplicateKeyError as YamlDuplicateKeyError, type data_YamlDuplicateKeyResult as YamlDuplicateKeyResult, data_alignMarkdownTables as alignMarkdownTables, data_analyzeCaptionSpeed as analyzeCaptionSpeed, data_calculateMarkdownTaskListProgress as calculateMarkdownTaskListProgress, data_checkMarkdownInternalLinks as checkMarkdownInternalLinks, data_convertSubtitles as convertSubtitles, data_csvToJson as csvToJson, data_csvToSqlInsert as csvToSqlInsert, data_dedupeNdjson as dedupeNdjson, data_detectDelimiter as detectDelimiter, data_detectSubtitleFormat as detectSubtitleFormat, data_diffEnvExample as diffEnvExample, data_envToExport as envToExport, data_envToJson as envToJson, data_findCsvDuplicateRows as findCsvDuplicateRows, data_findYamlDuplicateKeys as findYamlDuplicateKeys, data_formatNdjson as formatNdjson, data_formatSubtitleTimestamp as formatSubtitleTimestamp, data_formatToml as formatToml, data_formatXml as formatXml, data_generateMarkdownToc as generateMarkdownToc, data_getSection as getSection, data_getSectionNames as getSectionNames, data_getTomlStats as getTomlStats, data_getXmlStats as getXmlStats, data_getYamlStats as getYamlStats, data_inferCsvColumnTypes as inferCsvColumnTypes, data_iniToJson as iniToJson, data_jsonArrayToNdjson as jsonArrayToNdjson, data_jsonToIni as jsonToIni, data_jsonToToml as jsonToToml, data_jsonToXml as jsonToXml, data_minifyNdjson as minifyNdjson, data_minifyToml as minifyToml, data_minifyXml as minifyXml, data_ndjsonToCsv as ndjsonToCsv, data_ndjsonToJsonArray as ndjsonToJsonArray, data_parseCsv as parseCsv, data_parseEnv as parseEnv, data_parseFrontMatter as parseFrontMatter, data_parseIni as parseIni, data_parseSubtitleTimestamp as parseSubtitleTimestamp, data_parseSubtitles as parseSubtitles, data_parseXmlToObject as parseXmlToObject, data_resolveYamlAnchors as resolveYamlAnchors, data_serializeSubtitles as serializeSubtitles, data_shiftSubtitles as shiftSubtitles, data_stringifyIni as stringifyIni, data_summarizeCsvColumnStats as summarizeCsvColumnStats, data_toCsvString as toCsvString, data_tomlToJson as tomlToJson, data_validateEnvKey as validateEnvKey, data_validateIni as validateIni, data_validateMarkdownHeadingHierarchy as validateMarkdownHeadingHierarchy, data_validateNdjson as validateNdjson, data_validateToml as validateToml, data_validateXml as validateXml, data_validateYaml as validateYaml, data_xmlToJson as xmlToJson };
735
778
  }
736
779
 
737
- export { type YamlDuplicateKeyError as $, type MarkdownTaskListProgressResult as A, type MarkdownTaskListSectionSummary as B, type CaptionSpeedCue as C, type MarkdownTocEntry as D, type EnvDiffError as E, type FrontMatterError as F, type MarkdownTocOptions as G, type HeadingEntry as H, type IniSection as I, type MarkdownTocResult as J, type NdjsonLineResult as K, type NdjsonValidateResult as L, type MarkdownAnchorHeading as M, type NdjsonDedupeResult as N, type ParsedIni as O, type ParseOptions as P, type ParsedSubtitles as Q, type SubtitleFormat as R, type SubtitleCue as S, type TomlFormatResult as T, type XmlToJsonOptions as U, type ValidationResult as V, type YamlAnchorResolveError as W, type XmlFormatResult as X, type YamlAnchorInfo as Y, type YamlAnchorResolveResult as Z, type YamlDuplicateKeyEntry as _, type CaptionSpeedResult as a, type YamlDuplicateKeyResult as a0, alignMarkdownTables as a1, analyzeCaptionSpeed as a2, calculateMarkdownTaskListProgress as a3, checkMarkdownInternalLinks as a4, convertSubtitles as a5, csvToJson as a6, csvToSqlInsert as a7, dedupeNdjson as a8, detectDelimiter as a9, ndjsonToJsonArray as aA, parseCsv as aB, parseEnv as aC, parseFrontMatter as aD, parseIni as aE, parseSubtitleTimestamp as aF, parseSubtitles as aG, parseXmlToObject as aH, resolveYamlAnchors as aI, serializeSubtitles as aJ, shiftSubtitles as aK, stringifyIni as aL, toCsvString as aM, tomlToJson as aN, validateEnvKey as aO, validateIni as aP, validateMarkdownHeadingHierarchy as aQ, validateNdjson as aR, validateToml as aS, validateXml as aT, validateYaml as aU, xmlToJson as aV, detectSubtitleFormat as aa, diffEnvExample as ab, envToExport as ac, envToJson as ad, findCsvDuplicateRows as ae, findYamlDuplicateKeys as af, formatNdjson as ag, formatSubtitleTimestamp as ah, formatToml as ai, formatXml as aj, generateMarkdownToc as ak, getSection as al, getSectionNames as am, getTomlStats as an, getXmlStats as ao, getYamlStats as ap, inferCsvColumnTypes as aq, iniToJson as ar, jsonArrayToNdjson as as, jsonToIni as at, jsonToToml as au, jsonToXml as av, minifyNdjson as aw, minifyToml as ax, minifyXml as ay, ndjsonToCsv as az, type ConvertedSubtitles as b, type CsvColumnType as c, data as d, type CsvColumnTypeInfo as e, type CsvColumnTypeOptions as f, type CsvColumnTypeResult as g, type CsvDuplicateGroup as h, type CsvDuplicateOptions as i, type CsvDuplicateResult as j, type CsvParseResult as k, type CsvToSqlOptions as l, type CsvToSqlResult as m, type EnvDiffResult as n, type EnvEntry as o, type EnvParseResult as p, type FrontMatterResult as q, type HeadingHierarchyResult as r, type HeadingIssue as s, type HeadingIssueType as t, type MarkdownAnchorLink as u, type MarkdownInternalLinkCheckResult as v, type MarkdownTableAlignResult as w, type MarkdownTableColumnAlignment as x, type MarkdownTableInfo as y, type MarkdownTaskListItem as z };
780
+ export { type YamlAnchorInfo as $, type MarkdownTableAlignResult as A, type MarkdownTableColumnAlignment as B, type CaptionSpeedCue as C, type MarkdownTableInfo as D, type EnvDiffError as E, type FrontMatterError as F, type MarkdownTaskListItem as G, type HeadingEntry as H, type IniSection as I, type MarkdownTaskListProgressResult as J, type MarkdownTaskListSectionSummary as K, type MarkdownTocEntry as L, type MarkdownAnchorHeading as M, type MarkdownTocOptions as N, type MarkdownTocResult as O, type NdjsonDedupeResult as P, type NdjsonLineResult as Q, type NdjsonValidateResult as R, type ParseOptions as S, type ParsedIni as T, type ParsedSubtitles as U, type SubtitleCue as V, type SubtitleFormat as W, type TomlFormatResult as X, type ValidationResult as Y, type XmlFormatResult as Z, type XmlToJsonOptions as _, type CaptionSpeedResult as a, type YamlAnchorResolveError as a0, type YamlAnchorResolveResult as a1, type YamlDuplicateKeyEntry as a2, type YamlDuplicateKeyError as a3, type YamlDuplicateKeyResult as a4, alignMarkdownTables as a5, analyzeCaptionSpeed as a6, calculateMarkdownTaskListProgress as a7, checkMarkdownInternalLinks as a8, convertSubtitles as a9, minifyNdjson as aA, minifyToml as aB, minifyXml as aC, ndjsonToCsv as aD, ndjsonToJsonArray as aE, parseCsv as aF, parseEnv as aG, parseFrontMatter as aH, parseIni as aI, parseSubtitleTimestamp as aJ, parseSubtitles as aK, parseXmlToObject as aL, resolveYamlAnchors as aM, serializeSubtitles as aN, shiftSubtitles as aO, stringifyIni as aP, summarizeCsvColumnStats as aQ, toCsvString as aR, tomlToJson as aS, validateEnvKey as aT, validateIni as aU, validateMarkdownHeadingHierarchy as aV, validateNdjson as aW, validateToml as aX, validateXml as aY, validateYaml as aZ, xmlToJson as a_, csvToJson as aa, csvToSqlInsert as ab, dedupeNdjson as ac, detectDelimiter as ad, detectSubtitleFormat as ae, diffEnvExample as af, envToExport as ag, envToJson as ah, findCsvDuplicateRows as ai, findYamlDuplicateKeys as aj, formatNdjson as ak, formatSubtitleTimestamp as al, formatToml as am, formatXml as an, generateMarkdownToc as ao, getSection as ap, getSectionNames as aq, getTomlStats as ar, getXmlStats as as, getYamlStats as at, inferCsvColumnTypes as au, iniToJson as av, jsonArrayToNdjson as aw, jsonToIni as ax, jsonToToml as ay, jsonToXml as az, type ConvertedSubtitles as b, type CsvColumnMostCommon as c, data as d, type CsvColumnStats as e, type CsvColumnStatsOptions as f, type CsvColumnStatsResult as g, type CsvColumnType as h, type CsvColumnTypeInfo as i, type CsvColumnTypeOptions as j, type CsvColumnTypeResult as k, type CsvDuplicateGroup as l, type CsvDuplicateOptions as m, type CsvDuplicateResult as n, type CsvParseResult as o, type CsvToSqlOptions as p, type CsvToSqlResult as q, type EnvDiffResult as r, type EnvEntry as s, type EnvParseResult as t, type FrontMatterResult as u, type HeadingHierarchyResult as v, type HeadingIssue as w, type HeadingIssueType as x, type MarkdownAnchorLink as y, type MarkdownInternalLinkCheckResult as z };
@@ -24,6 +24,7 @@
24
24
  * - markdown-heading-hierarchy-validator: validateMarkdownHeadingHierarchy
25
25
  * - markdown-internal-link-checker: checkMarkdownInternalLinks
26
26
  * - yaml-duplicate-key-detector: findYamlDuplicateKeys
27
+ * - csv-column-stats-summarizer: summarizeCsvColumnStats
27
28
  */
28
29
  interface ValidationResult {
29
30
  valid: boolean;
@@ -618,10 +619,51 @@ interface MarkdownTableAlignResult {
618
619
  declare function alignMarkdownTables(markdown: string): MarkdownTableAlignResult | {
619
620
  error: string;
620
621
  };
622
+ interface CsvColumnStatsOptions {
623
+ delimiter?: string;
624
+ hasHeader?: boolean;
625
+ }
626
+ interface CsvColumnMostCommon {
627
+ value: string;
628
+ count: number;
629
+ }
630
+ interface CsvColumnStats {
631
+ name: string;
632
+ totalCount: number;
633
+ nullCount: number;
634
+ uniqueCount: number;
635
+ isNumeric: boolean;
636
+ numericCount: number;
637
+ min?: number;
638
+ max?: number;
639
+ mean?: number;
640
+ median?: number;
641
+ stdDev?: number;
642
+ mostCommon?: CsvColumnMostCommon;
643
+ }
644
+ interface CsvColumnStatsResult {
645
+ columns: CsvColumnStats[];
646
+ rowCount: number;
647
+ }
648
+ /**
649
+ * Parse CSV/TSV data and compute per-column summary statistics: null and
650
+ * unique-value counts for every column, plus min/max/mean/median/standard
651
+ * deviation for any column where every non-empty value parses as a plain
652
+ * number. A column with even one non-numeric non-empty value is treated as
653
+ * categorical instead, where the most frequent value and its count are
654
+ * reported in place of the numeric stats.
655
+ */
656
+ declare function summarizeCsvColumnStats(input: string, options?: CsvColumnStatsOptions): CsvColumnStatsResult | {
657
+ error: string;
658
+ };
621
659
 
622
660
  type data_CaptionSpeedCue = CaptionSpeedCue;
623
661
  type data_CaptionSpeedResult = CaptionSpeedResult;
624
662
  type data_ConvertedSubtitles = ConvertedSubtitles;
663
+ type data_CsvColumnMostCommon = CsvColumnMostCommon;
664
+ type data_CsvColumnStats = CsvColumnStats;
665
+ type data_CsvColumnStatsOptions = CsvColumnStatsOptions;
666
+ type data_CsvColumnStatsResult = CsvColumnStatsResult;
625
667
  type data_CsvColumnType = CsvColumnType;
626
668
  type data_CsvColumnTypeInfo = CsvColumnTypeInfo;
627
669
  type data_CsvColumnTypeOptions = CsvColumnTypeOptions;
@@ -720,6 +762,7 @@ declare const data_resolveYamlAnchors: typeof resolveYamlAnchors;
720
762
  declare const data_serializeSubtitles: typeof serializeSubtitles;
721
763
  declare const data_shiftSubtitles: typeof shiftSubtitles;
722
764
  declare const data_stringifyIni: typeof stringifyIni;
765
+ declare const data_summarizeCsvColumnStats: typeof summarizeCsvColumnStats;
723
766
  declare const data_toCsvString: typeof toCsvString;
724
767
  declare const data_tomlToJson: typeof tomlToJson;
725
768
  declare const data_validateEnvKey: typeof validateEnvKey;
@@ -731,7 +774,7 @@ declare const data_validateXml: typeof validateXml;
731
774
  declare const data_validateYaml: typeof validateYaml;
732
775
  declare const data_xmlToJson: typeof xmlToJson;
733
776
  declare namespace data {
734
- export { type data_CaptionSpeedCue as CaptionSpeedCue, type data_CaptionSpeedResult as CaptionSpeedResult, type data_ConvertedSubtitles as ConvertedSubtitles, type data_CsvColumnType as CsvColumnType, type data_CsvColumnTypeInfo as CsvColumnTypeInfo, type data_CsvColumnTypeOptions as CsvColumnTypeOptions, type data_CsvColumnTypeResult as CsvColumnTypeResult, type data_CsvDuplicateGroup as CsvDuplicateGroup, type data_CsvDuplicateOptions as CsvDuplicateOptions, type data_CsvDuplicateResult as CsvDuplicateResult, type data_CsvParseResult as CsvParseResult, type data_CsvToSqlOptions as CsvToSqlOptions, type data_CsvToSqlResult as CsvToSqlResult, type data_EnvDiffError as EnvDiffError, type data_EnvDiffResult as EnvDiffResult, type data_EnvEntry as EnvEntry, type data_EnvParseResult as EnvParseResult, type data_FrontMatterError as FrontMatterError, type data_FrontMatterResult as FrontMatterResult, type data_HeadingEntry as HeadingEntry, type data_HeadingHierarchyResult as HeadingHierarchyResult, type data_HeadingIssue as HeadingIssue, type data_HeadingIssueType as HeadingIssueType, type data_IniSection as IniSection, type data_MarkdownAnchorHeading as MarkdownAnchorHeading, type data_MarkdownAnchorLink as MarkdownAnchorLink, type data_MarkdownInternalLinkCheckResult as MarkdownInternalLinkCheckResult, type data_MarkdownTableAlignResult as MarkdownTableAlignResult, type data_MarkdownTableColumnAlignment as MarkdownTableColumnAlignment, type data_MarkdownTableInfo as MarkdownTableInfo, type data_MarkdownTaskListItem as MarkdownTaskListItem, type data_MarkdownTaskListProgressResult as MarkdownTaskListProgressResult, type data_MarkdownTaskListSectionSummary as MarkdownTaskListSectionSummary, type data_MarkdownTocEntry as MarkdownTocEntry, type data_MarkdownTocOptions as MarkdownTocOptions, type data_MarkdownTocResult as MarkdownTocResult, type data_NdjsonDedupeResult as NdjsonDedupeResult, type data_NdjsonLineResult as NdjsonLineResult, type data_NdjsonValidateResult as NdjsonValidateResult, type data_ParseOptions as ParseOptions, type data_ParsedIni as ParsedIni, type data_ParsedSubtitles as ParsedSubtitles, type data_SubtitleCue as SubtitleCue, type data_SubtitleFormat as SubtitleFormat, type data_TomlFormatResult as TomlFormatResult, type data_ValidationResult as ValidationResult, type data_XmlFormatResult as XmlFormatResult, type data_XmlToJsonOptions as XmlToJsonOptions, type data_YamlAnchorInfo as YamlAnchorInfo, type data_YamlAnchorResolveError as YamlAnchorResolveError, type data_YamlAnchorResolveResult as YamlAnchorResolveResult, type data_YamlDuplicateKeyEntry as YamlDuplicateKeyEntry, type data_YamlDuplicateKeyError as YamlDuplicateKeyError, type data_YamlDuplicateKeyResult as YamlDuplicateKeyResult, data_alignMarkdownTables as alignMarkdownTables, data_analyzeCaptionSpeed as analyzeCaptionSpeed, data_calculateMarkdownTaskListProgress as calculateMarkdownTaskListProgress, data_checkMarkdownInternalLinks as checkMarkdownInternalLinks, data_convertSubtitles as convertSubtitles, data_csvToJson as csvToJson, data_csvToSqlInsert as csvToSqlInsert, data_dedupeNdjson as dedupeNdjson, data_detectDelimiter as detectDelimiter, data_detectSubtitleFormat as detectSubtitleFormat, data_diffEnvExample as diffEnvExample, data_envToExport as envToExport, data_envToJson as envToJson, data_findCsvDuplicateRows as findCsvDuplicateRows, data_findYamlDuplicateKeys as findYamlDuplicateKeys, data_formatNdjson as formatNdjson, data_formatSubtitleTimestamp as formatSubtitleTimestamp, data_formatToml as formatToml, data_formatXml as formatXml, data_generateMarkdownToc as generateMarkdownToc, data_getSection as getSection, data_getSectionNames as getSectionNames, data_getTomlStats as getTomlStats, data_getXmlStats as getXmlStats, data_getYamlStats as getYamlStats, data_inferCsvColumnTypes as inferCsvColumnTypes, data_iniToJson as iniToJson, data_jsonArrayToNdjson as jsonArrayToNdjson, data_jsonToIni as jsonToIni, data_jsonToToml as jsonToToml, data_jsonToXml as jsonToXml, data_minifyNdjson as minifyNdjson, data_minifyToml as minifyToml, data_minifyXml as minifyXml, data_ndjsonToCsv as ndjsonToCsv, data_ndjsonToJsonArray as ndjsonToJsonArray, data_parseCsv as parseCsv, data_parseEnv as parseEnv, data_parseFrontMatter as parseFrontMatter, data_parseIni as parseIni, data_parseSubtitleTimestamp as parseSubtitleTimestamp, data_parseSubtitles as parseSubtitles, data_parseXmlToObject as parseXmlToObject, data_resolveYamlAnchors as resolveYamlAnchors, data_serializeSubtitles as serializeSubtitles, data_shiftSubtitles as shiftSubtitles, data_stringifyIni as stringifyIni, data_toCsvString as toCsvString, data_tomlToJson as tomlToJson, data_validateEnvKey as validateEnvKey, data_validateIni as validateIni, data_validateMarkdownHeadingHierarchy as validateMarkdownHeadingHierarchy, data_validateNdjson as validateNdjson, data_validateToml as validateToml, data_validateXml as validateXml, data_validateYaml as validateYaml, data_xmlToJson as xmlToJson };
777
+ export { type data_CaptionSpeedCue as CaptionSpeedCue, type data_CaptionSpeedResult as CaptionSpeedResult, type data_ConvertedSubtitles as ConvertedSubtitles, type data_CsvColumnMostCommon as CsvColumnMostCommon, type data_CsvColumnStats as CsvColumnStats, type data_CsvColumnStatsOptions as CsvColumnStatsOptions, type data_CsvColumnStatsResult as CsvColumnStatsResult, type data_CsvColumnType as CsvColumnType, type data_CsvColumnTypeInfo as CsvColumnTypeInfo, type data_CsvColumnTypeOptions as CsvColumnTypeOptions, type data_CsvColumnTypeResult as CsvColumnTypeResult, type data_CsvDuplicateGroup as CsvDuplicateGroup, type data_CsvDuplicateOptions as CsvDuplicateOptions, type data_CsvDuplicateResult as CsvDuplicateResult, type data_CsvParseResult as CsvParseResult, type data_CsvToSqlOptions as CsvToSqlOptions, type data_CsvToSqlResult as CsvToSqlResult, type data_EnvDiffError as EnvDiffError, type data_EnvDiffResult as EnvDiffResult, type data_EnvEntry as EnvEntry, type data_EnvParseResult as EnvParseResult, type data_FrontMatterError as FrontMatterError, type data_FrontMatterResult as FrontMatterResult, type data_HeadingEntry as HeadingEntry, type data_HeadingHierarchyResult as HeadingHierarchyResult, type data_HeadingIssue as HeadingIssue, type data_HeadingIssueType as HeadingIssueType, type data_IniSection as IniSection, type data_MarkdownAnchorHeading as MarkdownAnchorHeading, type data_MarkdownAnchorLink as MarkdownAnchorLink, type data_MarkdownInternalLinkCheckResult as MarkdownInternalLinkCheckResult, type data_MarkdownTableAlignResult as MarkdownTableAlignResult, type data_MarkdownTableColumnAlignment as MarkdownTableColumnAlignment, type data_MarkdownTableInfo as MarkdownTableInfo, type data_MarkdownTaskListItem as MarkdownTaskListItem, type data_MarkdownTaskListProgressResult as MarkdownTaskListProgressResult, type data_MarkdownTaskListSectionSummary as MarkdownTaskListSectionSummary, type data_MarkdownTocEntry as MarkdownTocEntry, type data_MarkdownTocOptions as MarkdownTocOptions, type data_MarkdownTocResult as MarkdownTocResult, type data_NdjsonDedupeResult as NdjsonDedupeResult, type data_NdjsonLineResult as NdjsonLineResult, type data_NdjsonValidateResult as NdjsonValidateResult, type data_ParseOptions as ParseOptions, type data_ParsedIni as ParsedIni, type data_ParsedSubtitles as ParsedSubtitles, type data_SubtitleCue as SubtitleCue, type data_SubtitleFormat as SubtitleFormat, type data_TomlFormatResult as TomlFormatResult, type data_ValidationResult as ValidationResult, type data_XmlFormatResult as XmlFormatResult, type data_XmlToJsonOptions as XmlToJsonOptions, type data_YamlAnchorInfo as YamlAnchorInfo, type data_YamlAnchorResolveError as YamlAnchorResolveError, type data_YamlAnchorResolveResult as YamlAnchorResolveResult, type data_YamlDuplicateKeyEntry as YamlDuplicateKeyEntry, type data_YamlDuplicateKeyError as YamlDuplicateKeyError, type data_YamlDuplicateKeyResult as YamlDuplicateKeyResult, data_alignMarkdownTables as alignMarkdownTables, data_analyzeCaptionSpeed as analyzeCaptionSpeed, data_calculateMarkdownTaskListProgress as calculateMarkdownTaskListProgress, data_checkMarkdownInternalLinks as checkMarkdownInternalLinks, data_convertSubtitles as convertSubtitles, data_csvToJson as csvToJson, data_csvToSqlInsert as csvToSqlInsert, data_dedupeNdjson as dedupeNdjson, data_detectDelimiter as detectDelimiter, data_detectSubtitleFormat as detectSubtitleFormat, data_diffEnvExample as diffEnvExample, data_envToExport as envToExport, data_envToJson as envToJson, data_findCsvDuplicateRows as findCsvDuplicateRows, data_findYamlDuplicateKeys as findYamlDuplicateKeys, data_formatNdjson as formatNdjson, data_formatSubtitleTimestamp as formatSubtitleTimestamp, data_formatToml as formatToml, data_formatXml as formatXml, data_generateMarkdownToc as generateMarkdownToc, data_getSection as getSection, data_getSectionNames as getSectionNames, data_getTomlStats as getTomlStats, data_getXmlStats as getXmlStats, data_getYamlStats as getYamlStats, data_inferCsvColumnTypes as inferCsvColumnTypes, data_iniToJson as iniToJson, data_jsonArrayToNdjson as jsonArrayToNdjson, data_jsonToIni as jsonToIni, data_jsonToToml as jsonToToml, data_jsonToXml as jsonToXml, data_minifyNdjson as minifyNdjson, data_minifyToml as minifyToml, data_minifyXml as minifyXml, data_ndjsonToCsv as ndjsonToCsv, data_ndjsonToJsonArray as ndjsonToJsonArray, data_parseCsv as parseCsv, data_parseEnv as parseEnv, data_parseFrontMatter as parseFrontMatter, data_parseIni as parseIni, data_parseSubtitleTimestamp as parseSubtitleTimestamp, data_parseSubtitles as parseSubtitles, data_parseXmlToObject as parseXmlToObject, data_resolveYamlAnchors as resolveYamlAnchors, data_serializeSubtitles as serializeSubtitles, data_shiftSubtitles as shiftSubtitles, data_stringifyIni as stringifyIni, data_summarizeCsvColumnStats as summarizeCsvColumnStats, data_toCsvString as toCsvString, data_tomlToJson as tomlToJson, data_validateEnvKey as validateEnvKey, data_validateIni as validateIni, data_validateMarkdownHeadingHierarchy as validateMarkdownHeadingHierarchy, data_validateNdjson as validateNdjson, data_validateToml as validateToml, data_validateXml as validateXml, data_validateYaml as validateYaml, data_xmlToJson as xmlToJson };
735
778
  }
736
779
 
737
- export { type YamlDuplicateKeyError as $, type MarkdownTaskListProgressResult as A, type MarkdownTaskListSectionSummary as B, type CaptionSpeedCue as C, type MarkdownTocEntry as D, type EnvDiffError as E, type FrontMatterError as F, type MarkdownTocOptions as G, type HeadingEntry as H, type IniSection as I, type MarkdownTocResult as J, type NdjsonLineResult as K, type NdjsonValidateResult as L, type MarkdownAnchorHeading as M, type NdjsonDedupeResult as N, type ParsedIni as O, type ParseOptions as P, type ParsedSubtitles as Q, type SubtitleFormat as R, type SubtitleCue as S, type TomlFormatResult as T, type XmlToJsonOptions as U, type ValidationResult as V, type YamlAnchorResolveError as W, type XmlFormatResult as X, type YamlAnchorInfo as Y, type YamlAnchorResolveResult as Z, type YamlDuplicateKeyEntry as _, type CaptionSpeedResult as a, type YamlDuplicateKeyResult as a0, alignMarkdownTables as a1, analyzeCaptionSpeed as a2, calculateMarkdownTaskListProgress as a3, checkMarkdownInternalLinks as a4, convertSubtitles as a5, csvToJson as a6, csvToSqlInsert as a7, dedupeNdjson as a8, detectDelimiter as a9, ndjsonToJsonArray as aA, parseCsv as aB, parseEnv as aC, parseFrontMatter as aD, parseIni as aE, parseSubtitleTimestamp as aF, parseSubtitles as aG, parseXmlToObject as aH, resolveYamlAnchors as aI, serializeSubtitles as aJ, shiftSubtitles as aK, stringifyIni as aL, toCsvString as aM, tomlToJson as aN, validateEnvKey as aO, validateIni as aP, validateMarkdownHeadingHierarchy as aQ, validateNdjson as aR, validateToml as aS, validateXml as aT, validateYaml as aU, xmlToJson as aV, detectSubtitleFormat as aa, diffEnvExample as ab, envToExport as ac, envToJson as ad, findCsvDuplicateRows as ae, findYamlDuplicateKeys as af, formatNdjson as ag, formatSubtitleTimestamp as ah, formatToml as ai, formatXml as aj, generateMarkdownToc as ak, getSection as al, getSectionNames as am, getTomlStats as an, getXmlStats as ao, getYamlStats as ap, inferCsvColumnTypes as aq, iniToJson as ar, jsonArrayToNdjson as as, jsonToIni as at, jsonToToml as au, jsonToXml as av, minifyNdjson as aw, minifyToml as ax, minifyXml as ay, ndjsonToCsv as az, type ConvertedSubtitles as b, type CsvColumnType as c, data as d, type CsvColumnTypeInfo as e, type CsvColumnTypeOptions as f, type CsvColumnTypeResult as g, type CsvDuplicateGroup as h, type CsvDuplicateOptions as i, type CsvDuplicateResult as j, type CsvParseResult as k, type CsvToSqlOptions as l, type CsvToSqlResult as m, type EnvDiffResult as n, type EnvEntry as o, type EnvParseResult as p, type FrontMatterResult as q, type HeadingHierarchyResult as r, type HeadingIssue as s, type HeadingIssueType as t, type MarkdownAnchorLink as u, type MarkdownInternalLinkCheckResult as v, type MarkdownTableAlignResult as w, type MarkdownTableColumnAlignment as x, type MarkdownTableInfo as y, type MarkdownTaskListItem as z };
780
+ export { type YamlAnchorInfo as $, type MarkdownTableAlignResult as A, type MarkdownTableColumnAlignment as B, type CaptionSpeedCue as C, type MarkdownTableInfo as D, type EnvDiffError as E, type FrontMatterError as F, type MarkdownTaskListItem as G, type HeadingEntry as H, type IniSection as I, type MarkdownTaskListProgressResult as J, type MarkdownTaskListSectionSummary as K, type MarkdownTocEntry as L, type MarkdownAnchorHeading as M, type MarkdownTocOptions as N, type MarkdownTocResult as O, type NdjsonDedupeResult as P, type NdjsonLineResult as Q, type NdjsonValidateResult as R, type ParseOptions as S, type ParsedIni as T, type ParsedSubtitles as U, type SubtitleCue as V, type SubtitleFormat as W, type TomlFormatResult as X, type ValidationResult as Y, type XmlFormatResult as Z, type XmlToJsonOptions as _, type CaptionSpeedResult as a, type YamlAnchorResolveError as a0, type YamlAnchorResolveResult as a1, type YamlDuplicateKeyEntry as a2, type YamlDuplicateKeyError as a3, type YamlDuplicateKeyResult as a4, alignMarkdownTables as a5, analyzeCaptionSpeed as a6, calculateMarkdownTaskListProgress as a7, checkMarkdownInternalLinks as a8, convertSubtitles as a9, minifyNdjson as aA, minifyToml as aB, minifyXml as aC, ndjsonToCsv as aD, ndjsonToJsonArray as aE, parseCsv as aF, parseEnv as aG, parseFrontMatter as aH, parseIni as aI, parseSubtitleTimestamp as aJ, parseSubtitles as aK, parseXmlToObject as aL, resolveYamlAnchors as aM, serializeSubtitles as aN, shiftSubtitles as aO, stringifyIni as aP, summarizeCsvColumnStats as aQ, toCsvString as aR, tomlToJson as aS, validateEnvKey as aT, validateIni as aU, validateMarkdownHeadingHierarchy as aV, validateNdjson as aW, validateToml as aX, validateXml as aY, validateYaml as aZ, xmlToJson as a_, csvToJson as aa, csvToSqlInsert as ab, dedupeNdjson as ac, detectDelimiter as ad, detectSubtitleFormat as ae, diffEnvExample as af, envToExport as ag, envToJson as ah, findCsvDuplicateRows as ai, findYamlDuplicateKeys as aj, formatNdjson as ak, formatSubtitleTimestamp as al, formatToml as am, formatXml as an, generateMarkdownToc as ao, getSection as ap, getSectionNames as aq, getTomlStats as ar, getXmlStats as as, getYamlStats as at, inferCsvColumnTypes as au, iniToJson as av, jsonArrayToNdjson as aw, jsonToIni as ax, jsonToToml as ay, jsonToXml as az, type ConvertedSubtitles as b, type CsvColumnMostCommon as c, data as d, type CsvColumnStats as e, type CsvColumnStatsOptions as f, type CsvColumnStatsResult as g, type CsvColumnType as h, type CsvColumnTypeInfo as i, type CsvColumnTypeOptions as j, type CsvColumnTypeResult as k, type CsvDuplicateGroup as l, type CsvDuplicateOptions as m, type CsvDuplicateResult as n, type CsvParseResult as o, type CsvToSqlOptions as p, type CsvToSqlResult as q, type EnvDiffResult as r, type EnvEntry as s, type EnvParseResult as t, type FrontMatterResult as u, type HeadingHierarchyResult as v, type HeadingIssue as w, type HeadingIssueType as x, type MarkdownAnchorLink as y, type MarkdownInternalLinkCheckResult as z };
package/dist/index.cjs CHANGED
@@ -5682,6 +5682,7 @@ __export(data_exports, {
5682
5682
  serializeSubtitles: () => serializeSubtitles,
5683
5683
  shiftSubtitles: () => shiftSubtitles,
5684
5684
  stringifyIni: () => stringifyIni,
5685
+ summarizeCsvColumnStats: () => summarizeCsvColumnStats,
5685
5686
  toCsvString: () => toCsvString,
5686
5687
  tomlToJson: () => tomlToJson,
5687
5688
  validateEnvKey: () => validateEnvKey,
@@ -7790,6 +7791,68 @@ function alignMarkdownTables(markdown) {
7790
7791
  if (tables.length === 0) return { error: "No Markdown tables found" };
7791
7792
  return { output: outputLines.join("\n"), tables, warnings };
7792
7793
  }
7794
+ var _CSV_NUMERIC_RE = /^-?\d+(\.\d+)?([eE][+-]?\d+)?$/;
7795
+ function _parseCsvNumeric(raw) {
7796
+ if (!_CSV_NUMERIC_RE.test(raw)) return null;
7797
+ const n = Number(raw);
7798
+ return Number.isFinite(n) ? n : null;
7799
+ }
7800
+ function summarizeCsvColumnStats(input, options) {
7801
+ const parsed = parseCsv(input, {
7802
+ delimiter: options?.delimiter ?? ",",
7803
+ hasHeader: options?.hasHeader !== false
7804
+ });
7805
+ if ("error" in parsed) return parsed;
7806
+ if (parsed.rows.length === 0) return { error: "No data rows found" };
7807
+ const columns = parsed.headers.map((name, colIdx) => {
7808
+ let nullCount = 0;
7809
+ let nonNumericCount = 0;
7810
+ const numericValues = [];
7811
+ const freq = /* @__PURE__ */ new Map();
7812
+ for (const row of parsed.rows) {
7813
+ const raw = (row[colIdx] ?? "").trim();
7814
+ if (raw === "") {
7815
+ nullCount++;
7816
+ continue;
7817
+ }
7818
+ freq.set(raw, (freq.get(raw) ?? 0) + 1);
7819
+ const n = _parseCsvNumeric(raw);
7820
+ if (n !== null) numericValues.push(n);
7821
+ else nonNumericCount++;
7822
+ }
7823
+ const nonEmptyCount = parsed.rows.length - nullCount;
7824
+ const isNumeric = nonEmptyCount > 0 && nonNumericCount === 0;
7825
+ let mostCommon;
7826
+ for (const [value, count] of freq) {
7827
+ if (!mostCommon || count > mostCommon.count) mostCommon = { value, count };
7828
+ }
7829
+ const stats = {
7830
+ name,
7831
+ totalCount: parsed.rows.length,
7832
+ nullCount,
7833
+ uniqueCount: freq.size,
7834
+ isNumeric,
7835
+ numericCount: numericValues.length
7836
+ };
7837
+ if (isNumeric && numericValues.length > 0) {
7838
+ const sorted = [...numericValues].sort((a, b) => a - b);
7839
+ const sum = sorted.reduce((a, b) => a + b, 0);
7840
+ const mean = sum / sorted.length;
7841
+ const mid = Math.floor(sorted.length / 2);
7842
+ const median = sorted.length % 2 === 0 ? (sorted[mid - 1] + sorted[mid]) / 2 : sorted[mid];
7843
+ const variance = sorted.reduce((acc, v) => acc + (v - mean) ** 2, 0) / sorted.length;
7844
+ stats.min = sorted[0];
7845
+ stats.max = sorted[sorted.length - 1];
7846
+ stats.mean = mean;
7847
+ stats.median = median;
7848
+ stats.stdDev = Math.sqrt(variance);
7849
+ } else {
7850
+ stats.mostCommon = mostCommon;
7851
+ }
7852
+ return stats;
7853
+ });
7854
+ return { columns, rowCount: parsed.rows.length };
7855
+ }
7793
7856
 
7794
7857
  // src/tools/generators.ts
7795
7858
  var generators_exports = {};
@@ -12421,6 +12484,7 @@ __export(network_exports, {
12421
12484
  assessContentTypeRisk: () => assessContentTypeRisk,
12422
12485
  buildAcceptLanguage: () => buildAcceptLanguage,
12423
12486
  buildCacheControl: () => buildCacheControl,
12487
+ buildClearSiteData: () => buildClearSiteData,
12424
12488
  buildClientHints: () => buildClientHints,
12425
12489
  buildContentDisposition: () => buildContentDisposition,
12426
12490
  buildDnsQueryUrl: () => buildDnsQueryUrl,
@@ -12461,6 +12525,7 @@ __export(network_exports, {
12461
12525
  lookupCloseCode: () => lookupCloseCode,
12462
12526
  lookupOpcode: () => lookupOpcode,
12463
12527
  parseAcceptLanguage: () => parseAcceptLanguage,
12528
+ parseClearSiteData: () => parseClearSiteData,
12464
12529
  parseClientHintHeaders: () => parseClientHintHeaders,
12465
12530
  parseContentDisposition: () => parseContentDisposition,
12466
12531
  parseContentRangeHeader: () => parseContentRangeHeader,
@@ -16070,6 +16135,51 @@ function scoreSecurityHeaders(rawHeaders) {
16070
16135
  const grade = score >= 90 ? "A" : score >= 75 ? "B" : score >= 60 ? "C" : score >= 40 ? "D" : "F";
16071
16136
  return { checks, score, grade, passCount, warningCount, missingCount, totalChecks };
16072
16137
  }
16138
+ var CLEAR_SITE_DATA_DIRECTIVES = /* @__PURE__ */ new Set(["cache", "cookies", "storage", "executionContexts", "*"]);
16139
+ function buildClearSiteData(directives) {
16140
+ if (!Array.isArray(directives) || directives.length === 0) {
16141
+ return { error: "directives must be a non-empty array" };
16142
+ }
16143
+ const seen = /* @__PURE__ */ new Set();
16144
+ const normalized = [];
16145
+ for (const raw of directives) {
16146
+ if (typeof raw !== "string") return { error: "Each directive must be a string" };
16147
+ if (!CLEAR_SITE_DATA_DIRECTIVES.has(raw)) {
16148
+ return { error: `Unrecognized directive "${raw}". Valid directives: cache, cookies, storage, executionContexts, *` };
16149
+ }
16150
+ if (seen.has(raw)) continue;
16151
+ seen.add(raw);
16152
+ normalized.push(raw);
16153
+ }
16154
+ const warnings = [];
16155
+ if (normalized.includes("*") && normalized.length > 1) {
16156
+ warnings.push('"*" already clears cache, cookies, storage, and executionContexts (plus any future data types the spec adds), so listing other directives alongside it is redundant.');
16157
+ }
16158
+ const header = normalized.map((d) => `"${d}"`).join(", ");
16159
+ return {
16160
+ header,
16161
+ headerName: "Clear-Site-Data",
16162
+ snippet: `Clear-Site-Data: ${header}`,
16163
+ directives: normalized,
16164
+ warnings
16165
+ };
16166
+ }
16167
+ function parseClearSiteData(raw) {
16168
+ if (!raw || raw.trim() === "") return { error: "Input is empty" };
16169
+ const withoutLabel = raw.trim().replace(/^clear-site-data:\s*/i, "");
16170
+ const tokens = withoutLabel.split(",").map((t) => t.trim()).filter((t) => t !== "");
16171
+ if (tokens.length === 0) return { error: "No directives found" };
16172
+ const directives = [];
16173
+ for (const token of tokens) {
16174
+ const match = token.match(/^"(.*)"$/);
16175
+ const value = match ? match[1] : token;
16176
+ if (!CLEAR_SITE_DATA_DIRECTIVES.has(value)) {
16177
+ return { error: `Unrecognized directive "${token}"; each directive should be a quoted string like "cookies"` };
16178
+ }
16179
+ directives.push(value);
16180
+ }
16181
+ return buildClearSiteData(directives);
16182
+ }
16073
16183
 
16074
16184
  // src/tools/api.ts
16075
16185
  var api_exports = {};
package/dist/index.d.cts CHANGED
@@ -2,11 +2,11 @@ export { j as json } from './json-Ca6gZCNB.cjs';
2
2
  export { e as encoding } from './encoding-Dk3wpmb3.cjs';
3
3
  export { h as hashing } from './hashing-CJjlvqS_.cjs';
4
4
  export { t as text } from './text-DOopHoK3.cjs';
5
- export { d as data } from './data-cDudn2P6.cjs';
5
+ export { d as data } from './data-3qMdFIF5.cjs';
6
6
  export { g as generators } from './generators-DAXXrMvG.cjs';
7
7
  export { t as time } from './time-VMAy_SrV.cjs';
8
8
  export { u as units } from './units-DnWrOTSV.cjs';
9
- export { n as network } from './network-ylRtLPEs.cjs';
9
+ export { n as network } from './network-9j5aKpoR.cjs';
10
10
  export { a as api } from './api-CQnIUrVB.cjs';
11
11
  export { c as code } from './code-DvJYYTea.cjs';
12
12
  export { c as color } from './color-tPwZCr9H.cjs';
package/dist/index.d.ts CHANGED
@@ -2,11 +2,11 @@ export { j as json } from './json-Ca6gZCNB.js';
2
2
  export { e as encoding } from './encoding-Dk3wpmb3.js';
3
3
  export { h as hashing } from './hashing-CJjlvqS_.js';
4
4
  export { t as text } from './text-DOopHoK3.js';
5
- export { d as data } from './data-cDudn2P6.js';
5
+ export { d as data } from './data-3qMdFIF5.js';
6
6
  export { g as generators } from './generators-DAXXrMvG.js';
7
7
  export { t as time } from './time-VMAy_SrV.js';
8
8
  export { u as units } from './units-DnWrOTSV.js';
9
- export { n as network } from './network-ylRtLPEs.js';
9
+ export { n as network } from './network-9j5aKpoR.js';
10
10
  export { a as api } from './api-CQnIUrVB.js';
11
11
  export { c as code } from './code-DvJYYTea.js';
12
12
  export { c as color } from './color-tPwZCr9H.js';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { media_exports as media } from './chunk-ZWFZRDQ4.js';
2
2
  export { units_exports as units } from './chunk-XAPHAUPI.js';
3
- export { network_exports as network } from './chunk-SW3J5CAI.js';
3
+ export { network_exports as network } from './chunk-K3B4JTHN.js';
4
4
  export { api_exports as api } from './chunk-U2HREMZU.js';
5
5
  export { code_exports as code } from './chunk-KYBI62YY.js';
6
6
  export { color_exports as color } from './chunk-BPVAB4P2.js';
@@ -11,7 +11,7 @@ export { json_exports as json } from './chunk-WUOZHCIC.js';
11
11
  export { encoding_exports as encoding } from './chunk-DOWQZUTP.js';
12
12
  export { hashing_exports as hashing } from './chunk-PET2CGTH.js';
13
13
  export { text_exports as text } from './chunk-YQJ7CEUL.js';
14
- export { data_exports as data } from './chunk-2QNU6KRL.js';
14
+ export { data_exports as data } from './chunk-PEMPPDMM.js';
15
15
  export { generators_exports as generators } from './chunk-422ICOZX.js';
16
16
  export { time_exports as time } from './chunk-6EJVNQSY.js';
17
17
  import './chunk-MLKGABMK.js';
@@ -33,6 +33,7 @@
33
33
  * - websocket-opcode-reference: lookupOpcode, listOpcodes
34
34
  * - robots-meta-tag-builder: buildRobotsMetaTag, parseRobotsMetaTag
35
35
  * - cookie-size-budget-calculator: calculateCookieSizeBudget
36
+ * - clear-site-data-header-builder: buildClearSiteData, parseClearSiteData
36
37
  */
37
38
  declare const DNS_RECORD_TYPES: readonly ["A", "AAAA", "CNAME", "MX", "TXT", "NS", "SOA", "PTR", "SRV", "CAA"];
38
39
  type DnsRecordType = typeof DNS_RECORD_TYPES[number];
@@ -1142,6 +1143,36 @@ interface SecurityHeadersScorecard {
1142
1143
  declare function scoreSecurityHeaders(rawHeaders: string): SecurityHeadersScorecard | {
1143
1144
  error: string;
1144
1145
  };
1146
+ type ClearSiteDataDirective = 'cache' | 'cookies' | 'storage' | 'executionContexts' | '*';
1147
+ interface ClearSiteDataResult {
1148
+ header: string;
1149
+ headerName: 'Clear-Site-Data';
1150
+ snippet: string;
1151
+ directives: ClearSiteDataDirective[];
1152
+ warnings: string[];
1153
+ }
1154
+ /**
1155
+ * Build a `Clear-Site-Data` response-header value from a list of directives
1156
+ * (`cache`, `cookies`, `storage`, `executionContexts`, or `*` for all of
1157
+ * them), per the spec's quoted-string-list syntax, e.g.
1158
+ * `"cache", "cookies"`. Duplicate directives are deduplicated, and listing
1159
+ * other directives alongside `*` is flagged as redundant since `*` already
1160
+ * covers every current (and future) data type on its own. Pure string
1161
+ * assembly; it never clears anything in a real browser.
1162
+ */
1163
+ declare function buildClearSiteData(directives: string[]): ClearSiteDataResult | {
1164
+ error: string;
1165
+ };
1166
+ /**
1167
+ * Parse an existing `Clear-Site-Data` header value (with or without a
1168
+ * leading `Clear-Site-Data:` label) into the same shape `buildClearSiteData`
1169
+ * returns. Accepts directives with or without the quotes the spec requires
1170
+ * on a real response, so a value copied from a note or a bug report without
1171
+ * its quoting still parses.
1172
+ */
1173
+ declare function parseClearSiteData(raw: string): ClearSiteDataResult | {
1174
+ error: string;
1175
+ };
1145
1176
 
1146
1177
  type network_AcceptLanguageEntry = AcceptLanguageEntry;
1147
1178
  type network_AcceptLanguageResult = AcceptLanguageResult;
@@ -1151,6 +1182,8 @@ declare const network_CLIENT_HINTS: typeof CLIENT_HINTS;
1151
1182
  type network_CacheControlDirective = CacheControlDirective;
1152
1183
  type network_CacheControlOptions = CacheControlOptions;
1153
1184
  type network_CacheControlResult = CacheControlResult;
1185
+ type network_ClearSiteDataDirective = ClearSiteDataDirective;
1186
+ type network_ClearSiteDataResult = ClearSiteDataResult;
1154
1187
  type network_ClientHintDef = ClientHintDef;
1155
1188
  type network_ClientHintValueType = ClientHintValueType;
1156
1189
  type network_ClientHintsBuildResult = ClientHintsBuildResult;
@@ -1254,6 +1287,7 @@ declare const network_analyzeEmailHeaders: typeof analyzeEmailHeaders;
1254
1287
  declare const network_assessContentTypeRisk: typeof assessContentTypeRisk;
1255
1288
  declare const network_buildAcceptLanguage: typeof buildAcceptLanguage;
1256
1289
  declare const network_buildCacheControl: typeof buildCacheControl;
1290
+ declare const network_buildClearSiteData: typeof buildClearSiteData;
1257
1291
  declare const network_buildClientHints: typeof buildClientHints;
1258
1292
  declare const network_buildContentDisposition: typeof buildContentDisposition;
1259
1293
  declare const network_buildDnsQueryUrl: typeof buildDnsQueryUrl;
@@ -1294,6 +1328,7 @@ declare const network_listOpcodes: typeof listOpcodes;
1294
1328
  declare const network_lookupCloseCode: typeof lookupCloseCode;
1295
1329
  declare const network_lookupOpcode: typeof lookupOpcode;
1296
1330
  declare const network_parseAcceptLanguage: typeof parseAcceptLanguage;
1331
+ declare const network_parseClearSiteData: typeof parseClearSiteData;
1297
1332
  declare const network_parseClientHintHeaders: typeof parseClientHintHeaders;
1298
1333
  declare const network_parseContentDisposition: typeof parseContentDisposition;
1299
1334
  declare const network_parseContentRangeHeader: typeof parseContentRangeHeader;
@@ -1325,7 +1360,7 @@ declare const network_validateManifest: typeof validateManifest;
1325
1360
  declare const network_validateRobotsTxt: typeof validateRobotsTxt;
1326
1361
  declare const network_validateSitemap: typeof validateSitemap;
1327
1362
  declare namespace network {
1328
- export { type network_AcceptLanguageEntry as AcceptLanguageEntry, type network_AcceptLanguageResult as AcceptLanguageResult, type network_AuthResultEntry as AuthResultEntry, type network_BuildRangeHeaderOptions as BuildRangeHeaderOptions, network_CLIENT_HINTS as CLIENT_HINTS, type network_CacheControlDirective as CacheControlDirective, type network_CacheControlOptions as CacheControlOptions, type network_CacheControlResult as CacheControlResult, type network_ClientHintDef as ClientHintDef, type network_ClientHintValueType as ClientHintValueType, type network_ClientHintsBuildResult as ClientHintsBuildResult, type network_ClientHintsParseResult as ClientHintsParseResult, type network_CloseCodeInfo as CloseCodeInfo, type network_CloseCodeRange as CloseCodeRange, type network_ContentDispositionBuildOptions as ContentDispositionBuildOptions, type network_ContentDispositionBuildResult as ContentDispositionBuildResult, type network_ContentDispositionParseResult as ContentDispositionParseResult, type network_ContentRangeResult as ContentRangeResult, type network_ContentTypeRiskResult as ContentTypeRiskResult, type network_ContentTypeSniffRisk as ContentTypeSniffRisk, type network_CookieAttributes as CookieAttributes, type network_CookieCheckResult as CookieCheckResult, type network_CookieSizeBudgetResult as CookieSizeBudgetResult, type network_CookieSizeEntry as CookieSizeEntry, network_DNS_RECORD_TYPES as DNS_RECORD_TYPES, type network_DnsRecord as DnsRecord, type network_DnsRecordType as DnsRecordType, type network_DnsResponse as DnsResponse, type network_EmailHeaderAnalysis as EmailHeaderAnalysis, type network_EmailHeaderField as EmailHeaderField, type network_GeoResult as GeoResult, network_HTTP_HEADERS as HTTP_HEADERS, type network_HarEntry as HarEntry, type network_HarParseResult as HarParseResult, type network_HarSummary as HarSummary, type network_HeaderCategory as HeaderCategory, type network_HstsOptions as HstsOptions, type network_HstsResult as HstsResult, type network_HttpHeader as HttpHeader, type network_Ipv6AddressType as Ipv6AddressType, type network_Ipv6ParseResult as Ipv6ParseResult, network_LINK_REL_VALUES as LINK_REL_VALUES, type network_LinkHeaderEntry as LinkHeaderEntry, type network_LinkHeaderEntryInput as LinkHeaderEntryInput, type network_LinkHeaderResult as LinkHeaderResult, type network_LinkRel as LinkRel, type network_ManifestIconInfo as ManifestIconInfo, type network_ManifestIssue as ManifestIssue, type network_ManifestValidationResult as ManifestValidationResult, type network_MultipartParseResult as MultipartParseResult, type network_MultipartPart as MultipartPart, type network_OpcodeCategory as OpcodeCategory, type network_OpcodeInfo as OpcodeInfo, network_PERMISSIONS_POLICY_FEATURES as PERMISSIONS_POLICY_FEATURES, type network_ParsedClientHint as ParsedClientHint, type network_ParsedDnsResult as ParsedDnsResult, type network_ParsedGeoResult as ParsedGeoResult, type network_PermissionsPolicyDirective as PermissionsPolicyDirective, type network_PermissionsPolicyFeatureInput as PermissionsPolicyFeatureInput, type network_PermissionsPolicyResult as PermissionsPolicyResult, type network_PreferParameter as PreferParameter, type network_PreferPreference as PreferPreference, type network_PreferResult as PreferResult, type network_PriorityResult as PriorityResult, network_REFERRER_POLICY_VALUES as REFERRER_POLICY_VALUES, type network_RangeEntry as RangeEntry, type network_RangeEntryInput as RangeEntryInput, type network_RangeHeaderResult as RangeHeaderResult, type network_ReceivedHop as ReceivedHop, type network_ReferrerPolicyEntry as ReferrerPolicyEntry, type network_ReferrerPolicyResult as ReferrerPolicyResult, type network_ReferrerPolicyValue as ReferrerPolicyValue, type network_RetryAfterDateResult as RetryAfterDateResult, type network_RetryAfterResult as RetryAfterResult, type network_RetryAfterSecondsResult as RetryAfterSecondsResult, type network_RobotsGenerateGroup as RobotsGenerateGroup, type network_RobotsGenerateOptions as RobotsGenerateOptions, type network_RobotsGroup as RobotsGroup, type network_RobotsIssue as RobotsIssue, type network_RobotsMetaTagFlag as RobotsMetaTagFlag, type network_RobotsMetaTagOptions as RobotsMetaTagOptions, type network_RobotsMetaTagResult as RobotsMetaTagResult, type network_RobotsRule as RobotsRule, type network_RobotsValidationResult as RobotsValidationResult, network_STATUS_CODES as STATUS_CODES, type network_SameSiteValue as SameSiteValue, type network_SecurityHeaderCheck as SecurityHeaderCheck, type network_SecurityHeaderStatus as SecurityHeaderStatus, type network_SecurityHeadersScorecard as SecurityHeadersScorecard, type network_SitemapIndexEntry as SitemapIndexEntry, type network_SitemapIssue as SitemapIssue, type network_SitemapSplitFile as SitemapSplitFile, type network_SitemapUrlEntry as SitemapUrlEntry, type network_SitemapValidationResult as SitemapValidationResult, type network_SplitSitemapOptions as SplitSitemapOptions, type network_SplitSitemapResult as SplitSitemapResult, type network_StatusCode as StatusCode, type network_UaDeviceType as UaDeviceType, type network_UserAgentInfo as UserAgentInfo, type network_VaryHeaderEntry as VaryHeaderEntry, type network_VaryHeaderResult as VaryHeaderResult, type network_XContentTypeOptionsHeader as XContentTypeOptionsHeader, type network_XContentTypeOptionsParseResult as XContentTypeOptionsParseResult, type network_XRobotsTagFlag as XRobotsTagFlag, type network_XRobotsTagOptions as XRobotsTagOptions, type network_XRobotsTagResult as XRobotsTagResult, network_X_CONTENT_TYPE_OPTIONS_HEADER as X_CONTENT_TYPE_OPTIONS_HEADER, network_analyzeEmailHeaders as analyzeEmailHeaders, network_assessContentTypeRisk as assessContentTypeRisk, network_buildAcceptLanguage as buildAcceptLanguage, network_buildCacheControl as buildCacheControl, network_buildClientHints as buildClientHints, network_buildContentDisposition as buildContentDisposition, network_buildDnsQueryUrl as buildDnsQueryUrl, network_buildGeoUrl as buildGeoUrl, network_buildHsts as buildHsts, network_buildLinkHeader as buildLinkHeader, network_buildMapUrl as buildMapUrl, network_buildPermissionsPolicy as buildPermissionsPolicy, network_buildPreferHeader as buildPreferHeader, network_buildPriorityHeader as buildPriorityHeader, network_buildRangeHeader as buildRangeHeader, network_buildReferrerPolicy as buildReferrerPolicy, network_buildRetryAfterHeader as buildRetryAfterHeader, network_buildRobotsMetaTag as buildRobotsMetaTag, network_buildVaryHeader as buildVaryHeader, network_buildXContentTypeOptionsHeader as buildXContentTypeOptionsHeader, network_buildXRobotsTag as buildXRobotsTag, network_calculateCookieSizeBudget as calculateCookieSizeBudget, network_checkSetCookieHeader as checkSetCookieHeader, network_countryCodeToFlag as countryCodeToFlag, network_extractMultipartBoundary as extractMultipartBoundary, network_formatCoordinates as formatCoordinates, network_formatTtl as formatTtl, network_generateRobotsTxt as generateRobotsTxt, network_getByCategory as getByCategory, network_getHeader as getHeader, network_getHeadersByCategory as getHeadersByCategory, network_getStatusByCategory as getStatusByCategory, network_getStatusCode as getStatusCode, network_isClientError as isClientError, network_isServerError as isServerError, network_isSuccess as isSuccess, network_isValidIp as isValidIp, network_isValidIpv4 as isValidIpv4, network_isValidIpv6 as isValidIpv6, network_listCloseCodes as listCloseCodes, network_listOpcodes as listOpcodes, network_lookupCloseCode as lookupCloseCode, network_lookupOpcode as lookupOpcode, network_parseAcceptLanguage as parseAcceptLanguage, network_parseClientHintHeaders as parseClientHintHeaders, network_parseContentDisposition as parseContentDisposition, network_parseContentRangeHeader as parseContentRangeHeader, network_parseDnsResponse as parseDnsResponse, network_parseGeoResponse as parseGeoResponse, network_parseHar as parseHar, network_parseHsts as parseHsts, network_parseIpv6Address as parseIpv6Address, network_parseMultipartFormData as parseMultipartFormData, network_parsePermissionsPolicy as parsePermissionsPolicy, network_parsePreferHeader as parsePreferHeader, network_parsePriorityHeader as parsePriorityHeader, network_parseRetryAfterHeader as parseRetryAfterHeader, network_parseRobotsMetaTag as parseRobotsMetaTag, network_parseUserAgent as parseUserAgent, network_parseVaryHeader as parseVaryHeader, network_parseXContentTypeOptionsHeader as parseXContentTypeOptionsHeader, network_parseXRobotsTag as parseXRobotsTag, network_scoreSecurityHeaders as scoreSecurityHeaders, network_searchHeaders as searchHeaders, network_searchStatusCodes as searchStatusCodes, network_splitSitemap as splitSitemap, network_statusCodeToText as statusCodeToText, network_typeNumberToLabel as typeNumberToLabel, network_validateDomain as validateDomain, network_validateHeaderName as validateHeaderName, network_validateHeaderValue as validateHeaderValue, network_validateManifest as validateManifest, network_validateRobotsTxt as validateRobotsTxt, network_validateSitemap as validateSitemap };
1363
+ 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_ClearSiteDataDirective as ClearSiteDataDirective, type network_ClearSiteDataResult as ClearSiteDataResult, type network_ClientHintDef as ClientHintDef, type network_ClientHintValueType as ClientHintValueType, type network_ClientHintsBuildResult as ClientHintsBuildResult, type network_ClientHintsParseResult as ClientHintsParseResult, type network_CloseCodeInfo as CloseCodeInfo, type network_CloseCodeRange as CloseCodeRange, type network_ContentDispositionBuildOptions as ContentDispositionBuildOptions, type network_ContentDispositionBuildResult as ContentDispositionBuildResult, type network_ContentDispositionParseResult as ContentDispositionParseResult, type network_ContentRangeResult as ContentRangeResult, type network_ContentTypeRiskResult as ContentTypeRiskResult, type network_ContentTypeSniffRisk as ContentTypeSniffRisk, type network_CookieAttributes as CookieAttributes, type network_CookieCheckResult as CookieCheckResult, type network_CookieSizeBudgetResult as CookieSizeBudgetResult, type network_CookieSizeEntry as CookieSizeEntry, network_DNS_RECORD_TYPES as DNS_RECORD_TYPES, type network_DnsRecord as DnsRecord, type network_DnsRecordType as DnsRecordType, type network_DnsResponse as DnsResponse, type network_EmailHeaderAnalysis as EmailHeaderAnalysis, type network_EmailHeaderField as EmailHeaderField, type network_GeoResult as GeoResult, network_HTTP_HEADERS as HTTP_HEADERS, type network_HarEntry as HarEntry, type network_HarParseResult as HarParseResult, type network_HarSummary as HarSummary, type network_HeaderCategory as HeaderCategory, type network_HstsOptions as HstsOptions, type network_HstsResult as HstsResult, type network_HttpHeader as HttpHeader, type network_Ipv6AddressType as Ipv6AddressType, type network_Ipv6ParseResult as Ipv6ParseResult, network_LINK_REL_VALUES as LINK_REL_VALUES, type network_LinkHeaderEntry as LinkHeaderEntry, type network_LinkHeaderEntryInput as LinkHeaderEntryInput, type network_LinkHeaderResult as LinkHeaderResult, type network_LinkRel as LinkRel, type network_ManifestIconInfo as ManifestIconInfo, type network_ManifestIssue as ManifestIssue, type network_ManifestValidationResult as ManifestValidationResult, type network_MultipartParseResult as MultipartParseResult, type network_MultipartPart as MultipartPart, type network_OpcodeCategory as OpcodeCategory, type network_OpcodeInfo as OpcodeInfo, network_PERMISSIONS_POLICY_FEATURES as PERMISSIONS_POLICY_FEATURES, type network_ParsedClientHint as ParsedClientHint, type network_ParsedDnsResult as ParsedDnsResult, type network_ParsedGeoResult as ParsedGeoResult, type network_PermissionsPolicyDirective as PermissionsPolicyDirective, type network_PermissionsPolicyFeatureInput as PermissionsPolicyFeatureInput, type network_PermissionsPolicyResult as PermissionsPolicyResult, type network_PreferParameter as PreferParameter, type network_PreferPreference as PreferPreference, type network_PreferResult as PreferResult, type network_PriorityResult as PriorityResult, network_REFERRER_POLICY_VALUES as REFERRER_POLICY_VALUES, type network_RangeEntry as RangeEntry, type network_RangeEntryInput as RangeEntryInput, type network_RangeHeaderResult as RangeHeaderResult, type network_ReceivedHop as ReceivedHop, type network_ReferrerPolicyEntry as ReferrerPolicyEntry, type network_ReferrerPolicyResult as ReferrerPolicyResult, type network_ReferrerPolicyValue as ReferrerPolicyValue, type network_RetryAfterDateResult as RetryAfterDateResult, type network_RetryAfterResult as RetryAfterResult, type network_RetryAfterSecondsResult as RetryAfterSecondsResult, type network_RobotsGenerateGroup as RobotsGenerateGroup, type network_RobotsGenerateOptions as RobotsGenerateOptions, type network_RobotsGroup as RobotsGroup, type network_RobotsIssue as RobotsIssue, type network_RobotsMetaTagFlag as RobotsMetaTagFlag, type network_RobotsMetaTagOptions as RobotsMetaTagOptions, type network_RobotsMetaTagResult as RobotsMetaTagResult, type network_RobotsRule as RobotsRule, type network_RobotsValidationResult as RobotsValidationResult, network_STATUS_CODES as STATUS_CODES, type network_SameSiteValue as SameSiteValue, type network_SecurityHeaderCheck as SecurityHeaderCheck, type network_SecurityHeaderStatus as SecurityHeaderStatus, type network_SecurityHeadersScorecard as SecurityHeadersScorecard, type network_SitemapIndexEntry as SitemapIndexEntry, type network_SitemapIssue as SitemapIssue, type network_SitemapSplitFile as SitemapSplitFile, type network_SitemapUrlEntry as SitemapUrlEntry, type network_SitemapValidationResult as SitemapValidationResult, type network_SplitSitemapOptions as SplitSitemapOptions, type network_SplitSitemapResult as SplitSitemapResult, type network_StatusCode as StatusCode, type network_UaDeviceType as UaDeviceType, type network_UserAgentInfo as UserAgentInfo, type network_VaryHeaderEntry as VaryHeaderEntry, type network_VaryHeaderResult as VaryHeaderResult, type network_XContentTypeOptionsHeader as XContentTypeOptionsHeader, type network_XContentTypeOptionsParseResult as XContentTypeOptionsParseResult, type network_XRobotsTagFlag as XRobotsTagFlag, type network_XRobotsTagOptions as XRobotsTagOptions, type network_XRobotsTagResult as XRobotsTagResult, network_X_CONTENT_TYPE_OPTIONS_HEADER as X_CONTENT_TYPE_OPTIONS_HEADER, network_analyzeEmailHeaders as analyzeEmailHeaders, network_assessContentTypeRisk as assessContentTypeRisk, network_buildAcceptLanguage as buildAcceptLanguage, network_buildCacheControl as buildCacheControl, network_buildClearSiteData as buildClearSiteData, network_buildClientHints as buildClientHints, network_buildContentDisposition as buildContentDisposition, network_buildDnsQueryUrl as buildDnsQueryUrl, network_buildGeoUrl as buildGeoUrl, network_buildHsts as buildHsts, network_buildLinkHeader as buildLinkHeader, network_buildMapUrl as buildMapUrl, network_buildPermissionsPolicy as buildPermissionsPolicy, network_buildPreferHeader as buildPreferHeader, network_buildPriorityHeader as buildPriorityHeader, network_buildRangeHeader as buildRangeHeader, network_buildReferrerPolicy as buildReferrerPolicy, network_buildRetryAfterHeader as buildRetryAfterHeader, network_buildRobotsMetaTag as buildRobotsMetaTag, network_buildVaryHeader as buildVaryHeader, network_buildXContentTypeOptionsHeader as buildXContentTypeOptionsHeader, network_buildXRobotsTag as buildXRobotsTag, network_calculateCookieSizeBudget as calculateCookieSizeBudget, network_checkSetCookieHeader as checkSetCookieHeader, network_countryCodeToFlag as countryCodeToFlag, network_extractMultipartBoundary as extractMultipartBoundary, network_formatCoordinates as formatCoordinates, network_formatTtl as formatTtl, network_generateRobotsTxt as generateRobotsTxt, network_getByCategory as getByCategory, network_getHeader as getHeader, network_getHeadersByCategory as getHeadersByCategory, network_getStatusByCategory as getStatusByCategory, network_getStatusCode as getStatusCode, network_isClientError as isClientError, network_isServerError as isServerError, network_isSuccess as isSuccess, network_isValidIp as isValidIp, network_isValidIpv4 as isValidIpv4, network_isValidIpv6 as isValidIpv6, network_listCloseCodes as listCloseCodes, network_listOpcodes as listOpcodes, network_lookupCloseCode as lookupCloseCode, network_lookupOpcode as lookupOpcode, network_parseAcceptLanguage as parseAcceptLanguage, network_parseClearSiteData as parseClearSiteData, 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 };
1329
1364
  }
1330
1365
 
1331
- export { type OpcodeInfo as $, type AcceptLanguageEntry as A, type BuildRangeHeaderOptions as B, CLIENT_HINTS as C, DNS_RECORD_TYPES as D, type EmailHeaderAnalysis as E, type HarEntry as F, type GeoResult as G, HTTP_HEADERS as H, type HarParseResult as I, type HarSummary as J, type HeaderCategory as K, type HstsOptions as L, type HstsResult as M, type HttpHeader as N, type Ipv6AddressType as O, type Ipv6ParseResult as P, LINK_REL_VALUES as Q, type LinkHeaderEntry as R, type LinkHeaderEntryInput as S, type LinkHeaderResult as T, type LinkRel as U, type ManifestIconInfo as V, type ManifestIssue as W, type ManifestValidationResult as X, type MultipartParseResult as Y, type MultipartPart as Z, type OpcodeCategory as _, type AcceptLanguageResult as a, buildLinkHeader as a$, PERMISSIONS_POLICY_FEATURES as a0, type ParsedClientHint as a1, type ParsedDnsResult as a2, type ParsedGeoResult as a3, type PermissionsPolicyDirective as a4, type PermissionsPolicyFeatureInput as a5, type PermissionsPolicyResult as a6, type PreferParameter as a7, type PreferPreference as a8, type PreferResult as a9, type SitemapIndexEntry as aA, type SitemapIssue as aB, type SitemapSplitFile as aC, type SitemapUrlEntry as aD, type SitemapValidationResult as aE, type SplitSitemapOptions as aF, type SplitSitemapResult as aG, type StatusCode as aH, type UaDeviceType as aI, type UserAgentInfo as aJ, type VaryHeaderEntry as aK, type VaryHeaderResult as aL, type XContentTypeOptionsHeader as aM, type XContentTypeOptionsParseResult as aN, type XRobotsTagFlag as aO, type XRobotsTagOptions as aP, type XRobotsTagResult as aQ, X_CONTENT_TYPE_OPTIONS_HEADER as aR, analyzeEmailHeaders as aS, assessContentTypeRisk as aT, buildAcceptLanguage as aU, buildCacheControl as aV, buildClientHints as aW, buildContentDisposition as aX, buildDnsQueryUrl as aY, buildGeoUrl as aZ, buildHsts as a_, type PriorityResult as aa, REFERRER_POLICY_VALUES as ab, type RangeEntry as ac, type RangeEntryInput as ad, type RangeHeaderResult as ae, type ReceivedHop as af, type ReferrerPolicyEntry as ag, type ReferrerPolicyResult as ah, type ReferrerPolicyValue as ai, type RetryAfterDateResult as aj, type RetryAfterResult as ak, type RetryAfterSecondsResult as al, type RobotsGenerateGroup as am, type RobotsGenerateOptions as an, type RobotsGroup as ao, type RobotsIssue as ap, type RobotsMetaTagFlag as aq, type RobotsMetaTagOptions as ar, type RobotsMetaTagResult as as, type RobotsRule as at, type RobotsValidationResult as au, STATUS_CODES as av, type SameSiteValue as aw, type SecurityHeaderCheck as ax, type SecurityHeaderStatus as ay, type SecurityHeadersScorecard as az, type AuthResultEntry as b, validateSitemap as b$, buildMapUrl as b0, buildPermissionsPolicy as b1, buildPreferHeader as b2, buildPriorityHeader as b3, buildRangeHeader as b4, buildReferrerPolicy as b5, buildRetryAfterHeader as b6, buildRobotsMetaTag as b7, buildVaryHeader as b8, buildXContentTypeOptionsHeader as b9, parseContentRangeHeader as bA, parseDnsResponse as bB, parseGeoResponse as bC, parseHar as bD, parseHsts as bE, parseIpv6Address as bF, parseMultipartFormData as bG, parsePermissionsPolicy as bH, parsePreferHeader as bI, parsePriorityHeader as bJ, parseRetryAfterHeader as bK, parseRobotsMetaTag as bL, parseUserAgent as bM, parseVaryHeader as bN, parseXContentTypeOptionsHeader as bO, parseXRobotsTag as bP, scoreSecurityHeaders as bQ, searchHeaders as bR, searchStatusCodes as bS, splitSitemap as bT, statusCodeToText as bU, typeNumberToLabel as bV, validateDomain as bW, validateHeaderName as bX, validateHeaderValue as bY, validateManifest as bZ, validateRobotsTxt as b_, buildXRobotsTag as ba, calculateCookieSizeBudget as bb, checkSetCookieHeader as bc, countryCodeToFlag as bd, extractMultipartBoundary as be, formatCoordinates as bf, formatTtl as bg, generateRobotsTxt as bh, getByCategory as bi, getHeader as bj, getHeadersByCategory as bk, getStatusByCategory as bl, getStatusCode as bm, isClientError as bn, isServerError as bo, isSuccess as bp, isValidIp as bq, isValidIpv4 as br, isValidIpv6 as bs, listCloseCodes as bt, listOpcodes as bu, lookupCloseCode as bv, lookupOpcode as bw, parseAcceptLanguage as bx, parseClientHintHeaders as by, parseContentDisposition as bz, type CacheControlDirective as c, type CacheControlOptions as d, type CacheControlResult as e, type ClientHintDef as f, type ClientHintValueType as g, type ClientHintsBuildResult as h, type ClientHintsParseResult as i, type CloseCodeInfo as j, type CloseCodeRange as k, type ContentDispositionBuildOptions as l, type ContentDispositionBuildResult as m, network as n, type ContentDispositionParseResult as o, type ContentRangeResult as p, type ContentTypeRiskResult as q, type ContentTypeSniffRisk as r, type CookieAttributes as s, type CookieCheckResult as t, type CookieSizeBudgetResult as u, type CookieSizeEntry as v, type DnsRecord as w, type DnsRecordType as x, type DnsResponse as y, type EmailHeaderField as z };
1366
+ export { type MultipartPart as $, type AcceptLanguageEntry as A, type BuildRangeHeaderOptions as B, CLIENT_HINTS as C, DNS_RECORD_TYPES as D, type DnsResponse as E, type EmailHeaderAnalysis as F, type EmailHeaderField as G, type GeoResult as H, HTTP_HEADERS as I, type HarEntry as J, type HarParseResult as K, type HarSummary as L, type HeaderCategory as M, type HstsOptions as N, type HstsResult as O, type HttpHeader as P, type Ipv6AddressType as Q, type Ipv6ParseResult as R, LINK_REL_VALUES as S, type LinkHeaderEntry as T, type LinkHeaderEntryInput as U, type LinkHeaderResult as V, type LinkRel as W, type ManifestIconInfo as X, type ManifestIssue as Y, type ManifestValidationResult as Z, type MultipartParseResult as _, type AcceptLanguageResult as a, buildDnsQueryUrl as a$, type OpcodeCategory as a0, type OpcodeInfo as a1, PERMISSIONS_POLICY_FEATURES as a2, type ParsedClientHint as a3, type ParsedDnsResult as a4, type ParsedGeoResult as a5, type PermissionsPolicyDirective as a6, type PermissionsPolicyFeatureInput as a7, type PermissionsPolicyResult as a8, type PreferParameter as a9, type SecurityHeaderStatus as aA, type SecurityHeadersScorecard as aB, type SitemapIndexEntry as aC, type SitemapIssue as aD, type SitemapSplitFile as aE, type SitemapUrlEntry as aF, type SitemapValidationResult as aG, type SplitSitemapOptions as aH, type SplitSitemapResult as aI, type StatusCode as aJ, type UaDeviceType as aK, type UserAgentInfo as aL, type VaryHeaderEntry as aM, type VaryHeaderResult as aN, type XContentTypeOptionsHeader as aO, type XContentTypeOptionsParseResult as aP, type XRobotsTagFlag as aQ, type XRobotsTagOptions as aR, type XRobotsTagResult as aS, X_CONTENT_TYPE_OPTIONS_HEADER as aT, analyzeEmailHeaders as aU, assessContentTypeRisk as aV, buildAcceptLanguage as aW, buildCacheControl as aX, buildClearSiteData as aY, buildClientHints as aZ, buildContentDisposition as a_, type PreferPreference as aa, type PreferResult as ab, type PriorityResult as ac, REFERRER_POLICY_VALUES as ad, type RangeEntry as ae, type RangeEntryInput as af, type RangeHeaderResult as ag, type ReceivedHop as ah, type ReferrerPolicyEntry as ai, type ReferrerPolicyResult as aj, type ReferrerPolicyValue as ak, type RetryAfterDateResult as al, type RetryAfterResult as am, type RetryAfterSecondsResult as an, type RobotsGenerateGroup as ao, type RobotsGenerateOptions as ap, type RobotsGroup as aq, type RobotsIssue as ar, type RobotsMetaTagFlag as as, type RobotsMetaTagOptions as at, type RobotsMetaTagResult as au, type RobotsRule as av, type RobotsValidationResult as aw, STATUS_CODES as ax, type SameSiteValue as ay, type SecurityHeaderCheck as az, type AuthResultEntry as b, validateHeaderName as b$, buildGeoUrl as b0, buildHsts as b1, buildLinkHeader as b2, buildMapUrl as b3, buildPermissionsPolicy as b4, buildPreferHeader as b5, buildPriorityHeader as b6, buildRangeHeader as b7, buildReferrerPolicy as b8, buildRetryAfterHeader as b9, parseAcceptLanguage as bA, parseClearSiteData as bB, parseClientHintHeaders as bC, parseContentDisposition as bD, parseContentRangeHeader as bE, parseDnsResponse as bF, parseGeoResponse as bG, parseHar as bH, parseHsts as bI, parseIpv6Address as bJ, parseMultipartFormData as bK, parsePermissionsPolicy as bL, parsePreferHeader as bM, parsePriorityHeader as bN, parseRetryAfterHeader as bO, parseRobotsMetaTag as bP, parseUserAgent as bQ, parseVaryHeader as bR, parseXContentTypeOptionsHeader as bS, parseXRobotsTag as bT, scoreSecurityHeaders as bU, searchHeaders as bV, searchStatusCodes as bW, splitSitemap as bX, statusCodeToText as bY, typeNumberToLabel as bZ, validateDomain as b_, buildRobotsMetaTag as ba, buildVaryHeader as bb, buildXContentTypeOptionsHeader as bc, buildXRobotsTag as bd, calculateCookieSizeBudget as be, checkSetCookieHeader as bf, countryCodeToFlag as bg, extractMultipartBoundary as bh, formatCoordinates as bi, formatTtl as bj, generateRobotsTxt as bk, getByCategory as bl, getHeader as bm, getHeadersByCategory as bn, getStatusByCategory as bo, getStatusCode as bp, isClientError as bq, isServerError as br, isSuccess as bs, isValidIp as bt, isValidIpv4 as bu, isValidIpv6 as bv, listCloseCodes as bw, listOpcodes as bx, lookupCloseCode as by, lookupOpcode as bz, type CacheControlDirective as c, validateHeaderValue as c0, validateManifest as c1, validateRobotsTxt as c2, validateSitemap as c3, type CacheControlOptions as d, type CacheControlResult as e, type ClearSiteDataDirective as f, type ClearSiteDataResult as g, type ClientHintDef as h, type ClientHintValueType as i, type ClientHintsBuildResult as j, type ClientHintsParseResult as k, type CloseCodeInfo as l, type CloseCodeRange as m, network as n, type ContentDispositionBuildOptions as o, type ContentDispositionBuildResult as p, type ContentDispositionParseResult as q, type ContentRangeResult as r, type ContentTypeRiskResult as s, type ContentTypeSniffRisk as t, type CookieAttributes as u, type CookieCheckResult as v, type CookieSizeBudgetResult as w, type CookieSizeEntry as x, type DnsRecord as y, type DnsRecordType as z };
@@ -33,6 +33,7 @@
33
33
  * - websocket-opcode-reference: lookupOpcode, listOpcodes
34
34
  * - robots-meta-tag-builder: buildRobotsMetaTag, parseRobotsMetaTag
35
35
  * - cookie-size-budget-calculator: calculateCookieSizeBudget
36
+ * - clear-site-data-header-builder: buildClearSiteData, parseClearSiteData
36
37
  */
37
38
  declare const DNS_RECORD_TYPES: readonly ["A", "AAAA", "CNAME", "MX", "TXT", "NS", "SOA", "PTR", "SRV", "CAA"];
38
39
  type DnsRecordType = typeof DNS_RECORD_TYPES[number];
@@ -1142,6 +1143,36 @@ interface SecurityHeadersScorecard {
1142
1143
  declare function scoreSecurityHeaders(rawHeaders: string): SecurityHeadersScorecard | {
1143
1144
  error: string;
1144
1145
  };
1146
+ type ClearSiteDataDirective = 'cache' | 'cookies' | 'storage' | 'executionContexts' | '*';
1147
+ interface ClearSiteDataResult {
1148
+ header: string;
1149
+ headerName: 'Clear-Site-Data';
1150
+ snippet: string;
1151
+ directives: ClearSiteDataDirective[];
1152
+ warnings: string[];
1153
+ }
1154
+ /**
1155
+ * Build a `Clear-Site-Data` response-header value from a list of directives
1156
+ * (`cache`, `cookies`, `storage`, `executionContexts`, or `*` for all of
1157
+ * them), per the spec's quoted-string-list syntax, e.g.
1158
+ * `"cache", "cookies"`. Duplicate directives are deduplicated, and listing
1159
+ * other directives alongside `*` is flagged as redundant since `*` already
1160
+ * covers every current (and future) data type on its own. Pure string
1161
+ * assembly; it never clears anything in a real browser.
1162
+ */
1163
+ declare function buildClearSiteData(directives: string[]): ClearSiteDataResult | {
1164
+ error: string;
1165
+ };
1166
+ /**
1167
+ * Parse an existing `Clear-Site-Data` header value (with or without a
1168
+ * leading `Clear-Site-Data:` label) into the same shape `buildClearSiteData`
1169
+ * returns. Accepts directives with or without the quotes the spec requires
1170
+ * on a real response, so a value copied from a note or a bug report without
1171
+ * its quoting still parses.
1172
+ */
1173
+ declare function parseClearSiteData(raw: string): ClearSiteDataResult | {
1174
+ error: string;
1175
+ };
1145
1176
 
1146
1177
  type network_AcceptLanguageEntry = AcceptLanguageEntry;
1147
1178
  type network_AcceptLanguageResult = AcceptLanguageResult;
@@ -1151,6 +1182,8 @@ declare const network_CLIENT_HINTS: typeof CLIENT_HINTS;
1151
1182
  type network_CacheControlDirective = CacheControlDirective;
1152
1183
  type network_CacheControlOptions = CacheControlOptions;
1153
1184
  type network_CacheControlResult = CacheControlResult;
1185
+ type network_ClearSiteDataDirective = ClearSiteDataDirective;
1186
+ type network_ClearSiteDataResult = ClearSiteDataResult;
1154
1187
  type network_ClientHintDef = ClientHintDef;
1155
1188
  type network_ClientHintValueType = ClientHintValueType;
1156
1189
  type network_ClientHintsBuildResult = ClientHintsBuildResult;
@@ -1254,6 +1287,7 @@ declare const network_analyzeEmailHeaders: typeof analyzeEmailHeaders;
1254
1287
  declare const network_assessContentTypeRisk: typeof assessContentTypeRisk;
1255
1288
  declare const network_buildAcceptLanguage: typeof buildAcceptLanguage;
1256
1289
  declare const network_buildCacheControl: typeof buildCacheControl;
1290
+ declare const network_buildClearSiteData: typeof buildClearSiteData;
1257
1291
  declare const network_buildClientHints: typeof buildClientHints;
1258
1292
  declare const network_buildContentDisposition: typeof buildContentDisposition;
1259
1293
  declare const network_buildDnsQueryUrl: typeof buildDnsQueryUrl;
@@ -1294,6 +1328,7 @@ declare const network_listOpcodes: typeof listOpcodes;
1294
1328
  declare const network_lookupCloseCode: typeof lookupCloseCode;
1295
1329
  declare const network_lookupOpcode: typeof lookupOpcode;
1296
1330
  declare const network_parseAcceptLanguage: typeof parseAcceptLanguage;
1331
+ declare const network_parseClearSiteData: typeof parseClearSiteData;
1297
1332
  declare const network_parseClientHintHeaders: typeof parseClientHintHeaders;
1298
1333
  declare const network_parseContentDisposition: typeof parseContentDisposition;
1299
1334
  declare const network_parseContentRangeHeader: typeof parseContentRangeHeader;
@@ -1325,7 +1360,7 @@ declare const network_validateManifest: typeof validateManifest;
1325
1360
  declare const network_validateRobotsTxt: typeof validateRobotsTxt;
1326
1361
  declare const network_validateSitemap: typeof validateSitemap;
1327
1362
  declare namespace network {
1328
- export { type network_AcceptLanguageEntry as AcceptLanguageEntry, type network_AcceptLanguageResult as AcceptLanguageResult, type network_AuthResultEntry as AuthResultEntry, type network_BuildRangeHeaderOptions as BuildRangeHeaderOptions, network_CLIENT_HINTS as CLIENT_HINTS, type network_CacheControlDirective as CacheControlDirective, type network_CacheControlOptions as CacheControlOptions, type network_CacheControlResult as CacheControlResult, type network_ClientHintDef as ClientHintDef, type network_ClientHintValueType as ClientHintValueType, type network_ClientHintsBuildResult as ClientHintsBuildResult, type network_ClientHintsParseResult as ClientHintsParseResult, type network_CloseCodeInfo as CloseCodeInfo, type network_CloseCodeRange as CloseCodeRange, type network_ContentDispositionBuildOptions as ContentDispositionBuildOptions, type network_ContentDispositionBuildResult as ContentDispositionBuildResult, type network_ContentDispositionParseResult as ContentDispositionParseResult, type network_ContentRangeResult as ContentRangeResult, type network_ContentTypeRiskResult as ContentTypeRiskResult, type network_ContentTypeSniffRisk as ContentTypeSniffRisk, type network_CookieAttributes as CookieAttributes, type network_CookieCheckResult as CookieCheckResult, type network_CookieSizeBudgetResult as CookieSizeBudgetResult, type network_CookieSizeEntry as CookieSizeEntry, network_DNS_RECORD_TYPES as DNS_RECORD_TYPES, type network_DnsRecord as DnsRecord, type network_DnsRecordType as DnsRecordType, type network_DnsResponse as DnsResponse, type network_EmailHeaderAnalysis as EmailHeaderAnalysis, type network_EmailHeaderField as EmailHeaderField, type network_GeoResult as GeoResult, network_HTTP_HEADERS as HTTP_HEADERS, type network_HarEntry as HarEntry, type network_HarParseResult as HarParseResult, type network_HarSummary as HarSummary, type network_HeaderCategory as HeaderCategory, type network_HstsOptions as HstsOptions, type network_HstsResult as HstsResult, type network_HttpHeader as HttpHeader, type network_Ipv6AddressType as Ipv6AddressType, type network_Ipv6ParseResult as Ipv6ParseResult, network_LINK_REL_VALUES as LINK_REL_VALUES, type network_LinkHeaderEntry as LinkHeaderEntry, type network_LinkHeaderEntryInput as LinkHeaderEntryInput, type network_LinkHeaderResult as LinkHeaderResult, type network_LinkRel as LinkRel, type network_ManifestIconInfo as ManifestIconInfo, type network_ManifestIssue as ManifestIssue, type network_ManifestValidationResult as ManifestValidationResult, type network_MultipartParseResult as MultipartParseResult, type network_MultipartPart as MultipartPart, type network_OpcodeCategory as OpcodeCategory, type network_OpcodeInfo as OpcodeInfo, network_PERMISSIONS_POLICY_FEATURES as PERMISSIONS_POLICY_FEATURES, type network_ParsedClientHint as ParsedClientHint, type network_ParsedDnsResult as ParsedDnsResult, type network_ParsedGeoResult as ParsedGeoResult, type network_PermissionsPolicyDirective as PermissionsPolicyDirective, type network_PermissionsPolicyFeatureInput as PermissionsPolicyFeatureInput, type network_PermissionsPolicyResult as PermissionsPolicyResult, type network_PreferParameter as PreferParameter, type network_PreferPreference as PreferPreference, type network_PreferResult as PreferResult, type network_PriorityResult as PriorityResult, network_REFERRER_POLICY_VALUES as REFERRER_POLICY_VALUES, type network_RangeEntry as RangeEntry, type network_RangeEntryInput as RangeEntryInput, type network_RangeHeaderResult as RangeHeaderResult, type network_ReceivedHop as ReceivedHop, type network_ReferrerPolicyEntry as ReferrerPolicyEntry, type network_ReferrerPolicyResult as ReferrerPolicyResult, type network_ReferrerPolicyValue as ReferrerPolicyValue, type network_RetryAfterDateResult as RetryAfterDateResult, type network_RetryAfterResult as RetryAfterResult, type network_RetryAfterSecondsResult as RetryAfterSecondsResult, type network_RobotsGenerateGroup as RobotsGenerateGroup, type network_RobotsGenerateOptions as RobotsGenerateOptions, type network_RobotsGroup as RobotsGroup, type network_RobotsIssue as RobotsIssue, type network_RobotsMetaTagFlag as RobotsMetaTagFlag, type network_RobotsMetaTagOptions as RobotsMetaTagOptions, type network_RobotsMetaTagResult as RobotsMetaTagResult, type network_RobotsRule as RobotsRule, type network_RobotsValidationResult as RobotsValidationResult, network_STATUS_CODES as STATUS_CODES, type network_SameSiteValue as SameSiteValue, type network_SecurityHeaderCheck as SecurityHeaderCheck, type network_SecurityHeaderStatus as SecurityHeaderStatus, type network_SecurityHeadersScorecard as SecurityHeadersScorecard, type network_SitemapIndexEntry as SitemapIndexEntry, type network_SitemapIssue as SitemapIssue, type network_SitemapSplitFile as SitemapSplitFile, type network_SitemapUrlEntry as SitemapUrlEntry, type network_SitemapValidationResult as SitemapValidationResult, type network_SplitSitemapOptions as SplitSitemapOptions, type network_SplitSitemapResult as SplitSitemapResult, type network_StatusCode as StatusCode, type network_UaDeviceType as UaDeviceType, type network_UserAgentInfo as UserAgentInfo, type network_VaryHeaderEntry as VaryHeaderEntry, type network_VaryHeaderResult as VaryHeaderResult, type network_XContentTypeOptionsHeader as XContentTypeOptionsHeader, type network_XContentTypeOptionsParseResult as XContentTypeOptionsParseResult, type network_XRobotsTagFlag as XRobotsTagFlag, type network_XRobotsTagOptions as XRobotsTagOptions, type network_XRobotsTagResult as XRobotsTagResult, network_X_CONTENT_TYPE_OPTIONS_HEADER as X_CONTENT_TYPE_OPTIONS_HEADER, network_analyzeEmailHeaders as analyzeEmailHeaders, network_assessContentTypeRisk as assessContentTypeRisk, network_buildAcceptLanguage as buildAcceptLanguage, network_buildCacheControl as buildCacheControl, network_buildClientHints as buildClientHints, network_buildContentDisposition as buildContentDisposition, network_buildDnsQueryUrl as buildDnsQueryUrl, network_buildGeoUrl as buildGeoUrl, network_buildHsts as buildHsts, network_buildLinkHeader as buildLinkHeader, network_buildMapUrl as buildMapUrl, network_buildPermissionsPolicy as buildPermissionsPolicy, network_buildPreferHeader as buildPreferHeader, network_buildPriorityHeader as buildPriorityHeader, network_buildRangeHeader as buildRangeHeader, network_buildReferrerPolicy as buildReferrerPolicy, network_buildRetryAfterHeader as buildRetryAfterHeader, network_buildRobotsMetaTag as buildRobotsMetaTag, network_buildVaryHeader as buildVaryHeader, network_buildXContentTypeOptionsHeader as buildXContentTypeOptionsHeader, network_buildXRobotsTag as buildXRobotsTag, network_calculateCookieSizeBudget as calculateCookieSizeBudget, network_checkSetCookieHeader as checkSetCookieHeader, network_countryCodeToFlag as countryCodeToFlag, network_extractMultipartBoundary as extractMultipartBoundary, network_formatCoordinates as formatCoordinates, network_formatTtl as formatTtl, network_generateRobotsTxt as generateRobotsTxt, network_getByCategory as getByCategory, network_getHeader as getHeader, network_getHeadersByCategory as getHeadersByCategory, network_getStatusByCategory as getStatusByCategory, network_getStatusCode as getStatusCode, network_isClientError as isClientError, network_isServerError as isServerError, network_isSuccess as isSuccess, network_isValidIp as isValidIp, network_isValidIpv4 as isValidIpv4, network_isValidIpv6 as isValidIpv6, network_listCloseCodes as listCloseCodes, network_listOpcodes as listOpcodes, network_lookupCloseCode as lookupCloseCode, network_lookupOpcode as lookupOpcode, network_parseAcceptLanguage as parseAcceptLanguage, network_parseClientHintHeaders as parseClientHintHeaders, network_parseContentDisposition as parseContentDisposition, network_parseContentRangeHeader as parseContentRangeHeader, network_parseDnsResponse as parseDnsResponse, network_parseGeoResponse as parseGeoResponse, network_parseHar as parseHar, network_parseHsts as parseHsts, network_parseIpv6Address as parseIpv6Address, network_parseMultipartFormData as parseMultipartFormData, network_parsePermissionsPolicy as parsePermissionsPolicy, network_parsePreferHeader as parsePreferHeader, network_parsePriorityHeader as parsePriorityHeader, network_parseRetryAfterHeader as parseRetryAfterHeader, network_parseRobotsMetaTag as parseRobotsMetaTag, network_parseUserAgent as parseUserAgent, network_parseVaryHeader as parseVaryHeader, network_parseXContentTypeOptionsHeader as parseXContentTypeOptionsHeader, network_parseXRobotsTag as parseXRobotsTag, network_scoreSecurityHeaders as scoreSecurityHeaders, network_searchHeaders as searchHeaders, network_searchStatusCodes as searchStatusCodes, network_splitSitemap as splitSitemap, network_statusCodeToText as statusCodeToText, network_typeNumberToLabel as typeNumberToLabel, network_validateDomain as validateDomain, network_validateHeaderName as validateHeaderName, network_validateHeaderValue as validateHeaderValue, network_validateManifest as validateManifest, network_validateRobotsTxt as validateRobotsTxt, network_validateSitemap as validateSitemap };
1363
+ 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_ClearSiteDataDirective as ClearSiteDataDirective, type network_ClearSiteDataResult as ClearSiteDataResult, type network_ClientHintDef as ClientHintDef, type network_ClientHintValueType as ClientHintValueType, type network_ClientHintsBuildResult as ClientHintsBuildResult, type network_ClientHintsParseResult as ClientHintsParseResult, type network_CloseCodeInfo as CloseCodeInfo, type network_CloseCodeRange as CloseCodeRange, type network_ContentDispositionBuildOptions as ContentDispositionBuildOptions, type network_ContentDispositionBuildResult as ContentDispositionBuildResult, type network_ContentDispositionParseResult as ContentDispositionParseResult, type network_ContentRangeResult as ContentRangeResult, type network_ContentTypeRiskResult as ContentTypeRiskResult, type network_ContentTypeSniffRisk as ContentTypeSniffRisk, type network_CookieAttributes as CookieAttributes, type network_CookieCheckResult as CookieCheckResult, type network_CookieSizeBudgetResult as CookieSizeBudgetResult, type network_CookieSizeEntry as CookieSizeEntry, network_DNS_RECORD_TYPES as DNS_RECORD_TYPES, type network_DnsRecord as DnsRecord, type network_DnsRecordType as DnsRecordType, type network_DnsResponse as DnsResponse, type network_EmailHeaderAnalysis as EmailHeaderAnalysis, type network_EmailHeaderField as EmailHeaderField, type network_GeoResult as GeoResult, network_HTTP_HEADERS as HTTP_HEADERS, type network_HarEntry as HarEntry, type network_HarParseResult as HarParseResult, type network_HarSummary as HarSummary, type network_HeaderCategory as HeaderCategory, type network_HstsOptions as HstsOptions, type network_HstsResult as HstsResult, type network_HttpHeader as HttpHeader, type network_Ipv6AddressType as Ipv6AddressType, type network_Ipv6ParseResult as Ipv6ParseResult, network_LINK_REL_VALUES as LINK_REL_VALUES, type network_LinkHeaderEntry as LinkHeaderEntry, type network_LinkHeaderEntryInput as LinkHeaderEntryInput, type network_LinkHeaderResult as LinkHeaderResult, type network_LinkRel as LinkRel, type network_ManifestIconInfo as ManifestIconInfo, type network_ManifestIssue as ManifestIssue, type network_ManifestValidationResult as ManifestValidationResult, type network_MultipartParseResult as MultipartParseResult, type network_MultipartPart as MultipartPart, type network_OpcodeCategory as OpcodeCategory, type network_OpcodeInfo as OpcodeInfo, network_PERMISSIONS_POLICY_FEATURES as PERMISSIONS_POLICY_FEATURES, type network_ParsedClientHint as ParsedClientHint, type network_ParsedDnsResult as ParsedDnsResult, type network_ParsedGeoResult as ParsedGeoResult, type network_PermissionsPolicyDirective as PermissionsPolicyDirective, type network_PermissionsPolicyFeatureInput as PermissionsPolicyFeatureInput, type network_PermissionsPolicyResult as PermissionsPolicyResult, type network_PreferParameter as PreferParameter, type network_PreferPreference as PreferPreference, type network_PreferResult as PreferResult, type network_PriorityResult as PriorityResult, network_REFERRER_POLICY_VALUES as REFERRER_POLICY_VALUES, type network_RangeEntry as RangeEntry, type network_RangeEntryInput as RangeEntryInput, type network_RangeHeaderResult as RangeHeaderResult, type network_ReceivedHop as ReceivedHop, type network_ReferrerPolicyEntry as ReferrerPolicyEntry, type network_ReferrerPolicyResult as ReferrerPolicyResult, type network_ReferrerPolicyValue as ReferrerPolicyValue, type network_RetryAfterDateResult as RetryAfterDateResult, type network_RetryAfterResult as RetryAfterResult, type network_RetryAfterSecondsResult as RetryAfterSecondsResult, type network_RobotsGenerateGroup as RobotsGenerateGroup, type network_RobotsGenerateOptions as RobotsGenerateOptions, type network_RobotsGroup as RobotsGroup, type network_RobotsIssue as RobotsIssue, type network_RobotsMetaTagFlag as RobotsMetaTagFlag, type network_RobotsMetaTagOptions as RobotsMetaTagOptions, type network_RobotsMetaTagResult as RobotsMetaTagResult, type network_RobotsRule as RobotsRule, type network_RobotsValidationResult as RobotsValidationResult, network_STATUS_CODES as STATUS_CODES, type network_SameSiteValue as SameSiteValue, type network_SecurityHeaderCheck as SecurityHeaderCheck, type network_SecurityHeaderStatus as SecurityHeaderStatus, type network_SecurityHeadersScorecard as SecurityHeadersScorecard, type network_SitemapIndexEntry as SitemapIndexEntry, type network_SitemapIssue as SitemapIssue, type network_SitemapSplitFile as SitemapSplitFile, type network_SitemapUrlEntry as SitemapUrlEntry, type network_SitemapValidationResult as SitemapValidationResult, type network_SplitSitemapOptions as SplitSitemapOptions, type network_SplitSitemapResult as SplitSitemapResult, type network_StatusCode as StatusCode, type network_UaDeviceType as UaDeviceType, type network_UserAgentInfo as UserAgentInfo, type network_VaryHeaderEntry as VaryHeaderEntry, type network_VaryHeaderResult as VaryHeaderResult, type network_XContentTypeOptionsHeader as XContentTypeOptionsHeader, type network_XContentTypeOptionsParseResult as XContentTypeOptionsParseResult, type network_XRobotsTagFlag as XRobotsTagFlag, type network_XRobotsTagOptions as XRobotsTagOptions, type network_XRobotsTagResult as XRobotsTagResult, network_X_CONTENT_TYPE_OPTIONS_HEADER as X_CONTENT_TYPE_OPTIONS_HEADER, network_analyzeEmailHeaders as analyzeEmailHeaders, network_assessContentTypeRisk as assessContentTypeRisk, network_buildAcceptLanguage as buildAcceptLanguage, network_buildCacheControl as buildCacheControl, network_buildClearSiteData as buildClearSiteData, network_buildClientHints as buildClientHints, network_buildContentDisposition as buildContentDisposition, network_buildDnsQueryUrl as buildDnsQueryUrl, network_buildGeoUrl as buildGeoUrl, network_buildHsts as buildHsts, network_buildLinkHeader as buildLinkHeader, network_buildMapUrl as buildMapUrl, network_buildPermissionsPolicy as buildPermissionsPolicy, network_buildPreferHeader as buildPreferHeader, network_buildPriorityHeader as buildPriorityHeader, network_buildRangeHeader as buildRangeHeader, network_buildReferrerPolicy as buildReferrerPolicy, network_buildRetryAfterHeader as buildRetryAfterHeader, network_buildRobotsMetaTag as buildRobotsMetaTag, network_buildVaryHeader as buildVaryHeader, network_buildXContentTypeOptionsHeader as buildXContentTypeOptionsHeader, network_buildXRobotsTag as buildXRobotsTag, network_calculateCookieSizeBudget as calculateCookieSizeBudget, network_checkSetCookieHeader as checkSetCookieHeader, network_countryCodeToFlag as countryCodeToFlag, network_extractMultipartBoundary as extractMultipartBoundary, network_formatCoordinates as formatCoordinates, network_formatTtl as formatTtl, network_generateRobotsTxt as generateRobotsTxt, network_getByCategory as getByCategory, network_getHeader as getHeader, network_getHeadersByCategory as getHeadersByCategory, network_getStatusByCategory as getStatusByCategory, network_getStatusCode as getStatusCode, network_isClientError as isClientError, network_isServerError as isServerError, network_isSuccess as isSuccess, network_isValidIp as isValidIp, network_isValidIpv4 as isValidIpv4, network_isValidIpv6 as isValidIpv6, network_listCloseCodes as listCloseCodes, network_listOpcodes as listOpcodes, network_lookupCloseCode as lookupCloseCode, network_lookupOpcode as lookupOpcode, network_parseAcceptLanguage as parseAcceptLanguage, network_parseClearSiteData as parseClearSiteData, 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 };
1329
1364
  }
1330
1365
 
1331
- export { type OpcodeInfo as $, type AcceptLanguageEntry as A, type BuildRangeHeaderOptions as B, CLIENT_HINTS as C, DNS_RECORD_TYPES as D, type EmailHeaderAnalysis as E, type HarEntry as F, type GeoResult as G, HTTP_HEADERS as H, type HarParseResult as I, type HarSummary as J, type HeaderCategory as K, type HstsOptions as L, type HstsResult as M, type HttpHeader as N, type Ipv6AddressType as O, type Ipv6ParseResult as P, LINK_REL_VALUES as Q, type LinkHeaderEntry as R, type LinkHeaderEntryInput as S, type LinkHeaderResult as T, type LinkRel as U, type ManifestIconInfo as V, type ManifestIssue as W, type ManifestValidationResult as X, type MultipartParseResult as Y, type MultipartPart as Z, type OpcodeCategory as _, type AcceptLanguageResult as a, buildLinkHeader as a$, PERMISSIONS_POLICY_FEATURES as a0, type ParsedClientHint as a1, type ParsedDnsResult as a2, type ParsedGeoResult as a3, type PermissionsPolicyDirective as a4, type PermissionsPolicyFeatureInput as a5, type PermissionsPolicyResult as a6, type PreferParameter as a7, type PreferPreference as a8, type PreferResult as a9, type SitemapIndexEntry as aA, type SitemapIssue as aB, type SitemapSplitFile as aC, type SitemapUrlEntry as aD, type SitemapValidationResult as aE, type SplitSitemapOptions as aF, type SplitSitemapResult as aG, type StatusCode as aH, type UaDeviceType as aI, type UserAgentInfo as aJ, type VaryHeaderEntry as aK, type VaryHeaderResult as aL, type XContentTypeOptionsHeader as aM, type XContentTypeOptionsParseResult as aN, type XRobotsTagFlag as aO, type XRobotsTagOptions as aP, type XRobotsTagResult as aQ, X_CONTENT_TYPE_OPTIONS_HEADER as aR, analyzeEmailHeaders as aS, assessContentTypeRisk as aT, buildAcceptLanguage as aU, buildCacheControl as aV, buildClientHints as aW, buildContentDisposition as aX, buildDnsQueryUrl as aY, buildGeoUrl as aZ, buildHsts as a_, type PriorityResult as aa, REFERRER_POLICY_VALUES as ab, type RangeEntry as ac, type RangeEntryInput as ad, type RangeHeaderResult as ae, type ReceivedHop as af, type ReferrerPolicyEntry as ag, type ReferrerPolicyResult as ah, type ReferrerPolicyValue as ai, type RetryAfterDateResult as aj, type RetryAfterResult as ak, type RetryAfterSecondsResult as al, type RobotsGenerateGroup as am, type RobotsGenerateOptions as an, type RobotsGroup as ao, type RobotsIssue as ap, type RobotsMetaTagFlag as aq, type RobotsMetaTagOptions as ar, type RobotsMetaTagResult as as, type RobotsRule as at, type RobotsValidationResult as au, STATUS_CODES as av, type SameSiteValue as aw, type SecurityHeaderCheck as ax, type SecurityHeaderStatus as ay, type SecurityHeadersScorecard as az, type AuthResultEntry as b, validateSitemap as b$, buildMapUrl as b0, buildPermissionsPolicy as b1, buildPreferHeader as b2, buildPriorityHeader as b3, buildRangeHeader as b4, buildReferrerPolicy as b5, buildRetryAfterHeader as b6, buildRobotsMetaTag as b7, buildVaryHeader as b8, buildXContentTypeOptionsHeader as b9, parseContentRangeHeader as bA, parseDnsResponse as bB, parseGeoResponse as bC, parseHar as bD, parseHsts as bE, parseIpv6Address as bF, parseMultipartFormData as bG, parsePermissionsPolicy as bH, parsePreferHeader as bI, parsePriorityHeader as bJ, parseRetryAfterHeader as bK, parseRobotsMetaTag as bL, parseUserAgent as bM, parseVaryHeader as bN, parseXContentTypeOptionsHeader as bO, parseXRobotsTag as bP, scoreSecurityHeaders as bQ, searchHeaders as bR, searchStatusCodes as bS, splitSitemap as bT, statusCodeToText as bU, typeNumberToLabel as bV, validateDomain as bW, validateHeaderName as bX, validateHeaderValue as bY, validateManifest as bZ, validateRobotsTxt as b_, buildXRobotsTag as ba, calculateCookieSizeBudget as bb, checkSetCookieHeader as bc, countryCodeToFlag as bd, extractMultipartBoundary as be, formatCoordinates as bf, formatTtl as bg, generateRobotsTxt as bh, getByCategory as bi, getHeader as bj, getHeadersByCategory as bk, getStatusByCategory as bl, getStatusCode as bm, isClientError as bn, isServerError as bo, isSuccess as bp, isValidIp as bq, isValidIpv4 as br, isValidIpv6 as bs, listCloseCodes as bt, listOpcodes as bu, lookupCloseCode as bv, lookupOpcode as bw, parseAcceptLanguage as bx, parseClientHintHeaders as by, parseContentDisposition as bz, type CacheControlDirective as c, type CacheControlOptions as d, type CacheControlResult as e, type ClientHintDef as f, type ClientHintValueType as g, type ClientHintsBuildResult as h, type ClientHintsParseResult as i, type CloseCodeInfo as j, type CloseCodeRange as k, type ContentDispositionBuildOptions as l, type ContentDispositionBuildResult as m, network as n, type ContentDispositionParseResult as o, type ContentRangeResult as p, type ContentTypeRiskResult as q, type ContentTypeSniffRisk as r, type CookieAttributes as s, type CookieCheckResult as t, type CookieSizeBudgetResult as u, type CookieSizeEntry as v, type DnsRecord as w, type DnsRecordType as x, type DnsResponse as y, type EmailHeaderField as z };
1366
+ export { type MultipartPart as $, type AcceptLanguageEntry as A, type BuildRangeHeaderOptions as B, CLIENT_HINTS as C, DNS_RECORD_TYPES as D, type DnsResponse as E, type EmailHeaderAnalysis as F, type EmailHeaderField as G, type GeoResult as H, HTTP_HEADERS as I, type HarEntry as J, type HarParseResult as K, type HarSummary as L, type HeaderCategory as M, type HstsOptions as N, type HstsResult as O, type HttpHeader as P, type Ipv6AddressType as Q, type Ipv6ParseResult as R, LINK_REL_VALUES as S, type LinkHeaderEntry as T, type LinkHeaderEntryInput as U, type LinkHeaderResult as V, type LinkRel as W, type ManifestIconInfo as X, type ManifestIssue as Y, type ManifestValidationResult as Z, type MultipartParseResult as _, type AcceptLanguageResult as a, buildDnsQueryUrl as a$, type OpcodeCategory as a0, type OpcodeInfo as a1, PERMISSIONS_POLICY_FEATURES as a2, type ParsedClientHint as a3, type ParsedDnsResult as a4, type ParsedGeoResult as a5, type PermissionsPolicyDirective as a6, type PermissionsPolicyFeatureInput as a7, type PermissionsPolicyResult as a8, type PreferParameter as a9, type SecurityHeaderStatus as aA, type SecurityHeadersScorecard as aB, type SitemapIndexEntry as aC, type SitemapIssue as aD, type SitemapSplitFile as aE, type SitemapUrlEntry as aF, type SitemapValidationResult as aG, type SplitSitemapOptions as aH, type SplitSitemapResult as aI, type StatusCode as aJ, type UaDeviceType as aK, type UserAgentInfo as aL, type VaryHeaderEntry as aM, type VaryHeaderResult as aN, type XContentTypeOptionsHeader as aO, type XContentTypeOptionsParseResult as aP, type XRobotsTagFlag as aQ, type XRobotsTagOptions as aR, type XRobotsTagResult as aS, X_CONTENT_TYPE_OPTIONS_HEADER as aT, analyzeEmailHeaders as aU, assessContentTypeRisk as aV, buildAcceptLanguage as aW, buildCacheControl as aX, buildClearSiteData as aY, buildClientHints as aZ, buildContentDisposition as a_, type PreferPreference as aa, type PreferResult as ab, type PriorityResult as ac, REFERRER_POLICY_VALUES as ad, type RangeEntry as ae, type RangeEntryInput as af, type RangeHeaderResult as ag, type ReceivedHop as ah, type ReferrerPolicyEntry as ai, type ReferrerPolicyResult as aj, type ReferrerPolicyValue as ak, type RetryAfterDateResult as al, type RetryAfterResult as am, type RetryAfterSecondsResult as an, type RobotsGenerateGroup as ao, type RobotsGenerateOptions as ap, type RobotsGroup as aq, type RobotsIssue as ar, type RobotsMetaTagFlag as as, type RobotsMetaTagOptions as at, type RobotsMetaTagResult as au, type RobotsRule as av, type RobotsValidationResult as aw, STATUS_CODES as ax, type SameSiteValue as ay, type SecurityHeaderCheck as az, type AuthResultEntry as b, validateHeaderName as b$, buildGeoUrl as b0, buildHsts as b1, buildLinkHeader as b2, buildMapUrl as b3, buildPermissionsPolicy as b4, buildPreferHeader as b5, buildPriorityHeader as b6, buildRangeHeader as b7, buildReferrerPolicy as b8, buildRetryAfterHeader as b9, parseAcceptLanguage as bA, parseClearSiteData as bB, parseClientHintHeaders as bC, parseContentDisposition as bD, parseContentRangeHeader as bE, parseDnsResponse as bF, parseGeoResponse as bG, parseHar as bH, parseHsts as bI, parseIpv6Address as bJ, parseMultipartFormData as bK, parsePermissionsPolicy as bL, parsePreferHeader as bM, parsePriorityHeader as bN, parseRetryAfterHeader as bO, parseRobotsMetaTag as bP, parseUserAgent as bQ, parseVaryHeader as bR, parseXContentTypeOptionsHeader as bS, parseXRobotsTag as bT, scoreSecurityHeaders as bU, searchHeaders as bV, searchStatusCodes as bW, splitSitemap as bX, statusCodeToText as bY, typeNumberToLabel as bZ, validateDomain as b_, buildRobotsMetaTag as ba, buildVaryHeader as bb, buildXContentTypeOptionsHeader as bc, buildXRobotsTag as bd, calculateCookieSizeBudget as be, checkSetCookieHeader as bf, countryCodeToFlag as bg, extractMultipartBoundary as bh, formatCoordinates as bi, formatTtl as bj, generateRobotsTxt as bk, getByCategory as bl, getHeader as bm, getHeadersByCategory as bn, getStatusByCategory as bo, getStatusCode as bp, isClientError as bq, isServerError as br, isSuccess as bs, isValidIp as bt, isValidIpv4 as bu, isValidIpv6 as bv, listCloseCodes as bw, listOpcodes as bx, lookupCloseCode as by, lookupOpcode as bz, type CacheControlDirective as c, validateHeaderValue as c0, validateManifest as c1, validateRobotsTxt as c2, validateSitemap as c3, type CacheControlOptions as d, type CacheControlResult as e, type ClearSiteDataDirective as f, type ClearSiteDataResult as g, type ClientHintDef as h, type ClientHintValueType as i, type ClientHintsBuildResult as j, type ClientHintsParseResult as k, type CloseCodeInfo as l, type CloseCodeRange as m, network as n, type ContentDispositionBuildOptions as o, type ContentDispositionBuildResult as p, type ContentDispositionParseResult as q, type ContentRangeResult as r, type ContentTypeRiskResult as s, type ContentTypeSniffRisk as t, type CookieAttributes as u, type CookieCheckResult as v, type CookieSizeBudgetResult as w, type CookieSizeEntry as x, type DnsRecord as y, type DnsRecordType as z };
@@ -2121,6 +2121,68 @@ function alignMarkdownTables(markdown) {
2121
2121
  if (tables.length === 0) return { error: "No Markdown tables found" };
2122
2122
  return { output: outputLines.join("\n"), tables, warnings };
2123
2123
  }
2124
+ var _CSV_NUMERIC_RE = /^-?\d+(\.\d+)?([eE][+-]?\d+)?$/;
2125
+ function _parseCsvNumeric(raw) {
2126
+ if (!_CSV_NUMERIC_RE.test(raw)) return null;
2127
+ const n = Number(raw);
2128
+ return Number.isFinite(n) ? n : null;
2129
+ }
2130
+ function summarizeCsvColumnStats(input, options) {
2131
+ const parsed = parseCsv(input, {
2132
+ delimiter: options?.delimiter ?? ",",
2133
+ hasHeader: options?.hasHeader !== false
2134
+ });
2135
+ if ("error" in parsed) return parsed;
2136
+ if (parsed.rows.length === 0) return { error: "No data rows found" };
2137
+ const columns = parsed.headers.map((name, colIdx) => {
2138
+ let nullCount = 0;
2139
+ let nonNumericCount = 0;
2140
+ const numericValues = [];
2141
+ const freq = /* @__PURE__ */ new Map();
2142
+ for (const row of parsed.rows) {
2143
+ const raw = (row[colIdx] ?? "").trim();
2144
+ if (raw === "") {
2145
+ nullCount++;
2146
+ continue;
2147
+ }
2148
+ freq.set(raw, (freq.get(raw) ?? 0) + 1);
2149
+ const n = _parseCsvNumeric(raw);
2150
+ if (n !== null) numericValues.push(n);
2151
+ else nonNumericCount++;
2152
+ }
2153
+ const nonEmptyCount = parsed.rows.length - nullCount;
2154
+ const isNumeric = nonEmptyCount > 0 && nonNumericCount === 0;
2155
+ let mostCommon;
2156
+ for (const [value, count] of freq) {
2157
+ if (!mostCommon || count > mostCommon.count) mostCommon = { value, count };
2158
+ }
2159
+ const stats = {
2160
+ name,
2161
+ totalCount: parsed.rows.length,
2162
+ nullCount,
2163
+ uniqueCount: freq.size,
2164
+ isNumeric,
2165
+ numericCount: numericValues.length
2166
+ };
2167
+ if (isNumeric && numericValues.length > 0) {
2168
+ const sorted = [...numericValues].sort((a, b) => a - b);
2169
+ const sum = sorted.reduce((a, b) => a + b, 0);
2170
+ const mean = sum / sorted.length;
2171
+ const mid = Math.floor(sorted.length / 2);
2172
+ const median = sorted.length % 2 === 0 ? (sorted[mid - 1] + sorted[mid]) / 2 : sorted[mid];
2173
+ const variance = sorted.reduce((acc, v) => acc + (v - mean) ** 2, 0) / sorted.length;
2174
+ stats.min = sorted[0];
2175
+ stats.max = sorted[sorted.length - 1];
2176
+ stats.mean = mean;
2177
+ stats.median = median;
2178
+ stats.stdDev = Math.sqrt(variance);
2179
+ } else {
2180
+ stats.mostCommon = mostCommon;
2181
+ }
2182
+ return stats;
2183
+ });
2184
+ return { columns, rowCount: parsed.rows.length };
2185
+ }
2124
2186
 
2125
2187
  exports.alignMarkdownTables = alignMarkdownTables;
2126
2188
  exports.analyzeCaptionSpeed = analyzeCaptionSpeed;
@@ -2169,6 +2231,7 @@ exports.resolveYamlAnchors = resolveYamlAnchors;
2169
2231
  exports.serializeSubtitles = serializeSubtitles;
2170
2232
  exports.shiftSubtitles = shiftSubtitles;
2171
2233
  exports.stringifyIni = stringifyIni;
2234
+ exports.summarizeCsvColumnStats = summarizeCsvColumnStats;
2172
2235
  exports.toCsvString = toCsvString;
2173
2236
  exports.tomlToJson = tomlToJson;
2174
2237
  exports.validateEnvKey = validateEnvKey;
@@ -1 +1 @@
1
- export { C as CaptionSpeedCue, a as CaptionSpeedResult, b as ConvertedSubtitles, c as CsvColumnType, e as CsvColumnTypeInfo, f as CsvColumnTypeOptions, g as CsvColumnTypeResult, h as CsvDuplicateGroup, i as CsvDuplicateOptions, j as CsvDuplicateResult, k as CsvParseResult, l as CsvToSqlOptions, m as CsvToSqlResult, E as EnvDiffError, n as EnvDiffResult, o as EnvEntry, p as EnvParseResult, F as FrontMatterError, q as FrontMatterResult, H as HeadingEntry, r as HeadingHierarchyResult, s as HeadingIssue, t as HeadingIssueType, I as IniSection, M as MarkdownAnchorHeading, u as MarkdownAnchorLink, v as MarkdownInternalLinkCheckResult, w as MarkdownTableAlignResult, x as MarkdownTableColumnAlignment, y as MarkdownTableInfo, z as MarkdownTaskListItem, A as MarkdownTaskListProgressResult, B as MarkdownTaskListSectionSummary, D as MarkdownTocEntry, G as MarkdownTocOptions, J as MarkdownTocResult, N as NdjsonDedupeResult, K as NdjsonLineResult, L as NdjsonValidateResult, P as ParseOptions, O as ParsedIni, Q as ParsedSubtitles, S as SubtitleCue, R as SubtitleFormat, T as TomlFormatResult, V as ValidationResult, X as XmlFormatResult, U as XmlToJsonOptions, Y as YamlAnchorInfo, W as YamlAnchorResolveError, Z as YamlAnchorResolveResult, _ as YamlDuplicateKeyEntry, $ as YamlDuplicateKeyError, a0 as YamlDuplicateKeyResult, a1 as alignMarkdownTables, a2 as analyzeCaptionSpeed, a3 as calculateMarkdownTaskListProgress, a4 as checkMarkdownInternalLinks, a5 as convertSubtitles, a6 as csvToJson, a7 as csvToSqlInsert, a8 as dedupeNdjson, a9 as detectDelimiter, aa as detectSubtitleFormat, ab as diffEnvExample, ac as envToExport, ad as envToJson, ae as findCsvDuplicateRows, af as findYamlDuplicateKeys, ag as formatNdjson, ah as formatSubtitleTimestamp, ai as formatToml, aj as formatXml, ak as generateMarkdownToc, al as getSection, am as getSectionNames, an as getTomlStats, ao as getXmlStats, ap as getYamlStats, aq as inferCsvColumnTypes, ar as iniToJson, as as jsonArrayToNdjson, at as jsonToIni, au as jsonToToml, av as jsonToXml, aw as minifyNdjson, ax as minifyToml, ay as minifyXml, az as ndjsonToCsv, aA as ndjsonToJsonArray, aB as parseCsv, aC as parseEnv, aD as parseFrontMatter, aE as parseIni, aF as parseSubtitleTimestamp, aG as parseSubtitles, aH as parseXmlToObject, aI as resolveYamlAnchors, aJ as serializeSubtitles, aK as shiftSubtitles, aL as stringifyIni, aM as toCsvString, aN as tomlToJson, aO as validateEnvKey, aP as validateIni, aQ as validateMarkdownHeadingHierarchy, aR as validateNdjson, aS as validateToml, aT as validateXml, aU as validateYaml, aV as xmlToJson } from '../data-cDudn2P6.cjs';
1
+ export { C as CaptionSpeedCue, a as CaptionSpeedResult, b as ConvertedSubtitles, c as CsvColumnMostCommon, e as CsvColumnStats, f as CsvColumnStatsOptions, g as CsvColumnStatsResult, h as CsvColumnType, i as CsvColumnTypeInfo, j as CsvColumnTypeOptions, k as CsvColumnTypeResult, l as CsvDuplicateGroup, m as CsvDuplicateOptions, n as CsvDuplicateResult, o as CsvParseResult, p as CsvToSqlOptions, q as CsvToSqlResult, E as EnvDiffError, r as EnvDiffResult, s as EnvEntry, t as EnvParseResult, F as FrontMatterError, u as FrontMatterResult, H as HeadingEntry, v as HeadingHierarchyResult, w as HeadingIssue, x as HeadingIssueType, I as IniSection, M as MarkdownAnchorHeading, y as MarkdownAnchorLink, z as MarkdownInternalLinkCheckResult, A as MarkdownTableAlignResult, B as MarkdownTableColumnAlignment, D as MarkdownTableInfo, G as MarkdownTaskListItem, J as MarkdownTaskListProgressResult, K as MarkdownTaskListSectionSummary, L as MarkdownTocEntry, N as MarkdownTocOptions, O as MarkdownTocResult, P as NdjsonDedupeResult, Q as NdjsonLineResult, R as NdjsonValidateResult, S as ParseOptions, T as ParsedIni, U as ParsedSubtitles, V as SubtitleCue, W as SubtitleFormat, X as TomlFormatResult, Y as ValidationResult, Z as XmlFormatResult, _ as XmlToJsonOptions, $ as YamlAnchorInfo, a0 as YamlAnchorResolveError, a1 as YamlAnchorResolveResult, a2 as YamlDuplicateKeyEntry, a3 as YamlDuplicateKeyError, a4 as YamlDuplicateKeyResult, a5 as alignMarkdownTables, a6 as analyzeCaptionSpeed, a7 as calculateMarkdownTaskListProgress, a8 as checkMarkdownInternalLinks, a9 as convertSubtitles, aa as csvToJson, ab as csvToSqlInsert, ac as dedupeNdjson, ad as detectDelimiter, ae as detectSubtitleFormat, af as diffEnvExample, ag as envToExport, ah as envToJson, ai as findCsvDuplicateRows, aj as findYamlDuplicateKeys, ak as formatNdjson, al as formatSubtitleTimestamp, am as formatToml, an as formatXml, ao as generateMarkdownToc, ap as getSection, aq as getSectionNames, ar as getTomlStats, as as getXmlStats, at as getYamlStats, au as inferCsvColumnTypes, av as iniToJson, aw as jsonArrayToNdjson, ax as jsonToIni, ay as jsonToToml, az as jsonToXml, aA as minifyNdjson, aB as minifyToml, aC as minifyXml, aD as ndjsonToCsv, aE as ndjsonToJsonArray, aF as parseCsv, aG as parseEnv, aH as parseFrontMatter, aI as parseIni, aJ as parseSubtitleTimestamp, aK as parseSubtitles, aL as parseXmlToObject, aM as resolveYamlAnchors, aN as serializeSubtitles, aO as shiftSubtitles, aP as stringifyIni, aQ as summarizeCsvColumnStats, aR as toCsvString, aS as tomlToJson, aT as validateEnvKey, aU as validateIni, aV as validateMarkdownHeadingHierarchy, aW as validateNdjson, aX as validateToml, aY as validateXml, aZ as validateYaml, a_ as xmlToJson } from '../data-3qMdFIF5.cjs';
@@ -1 +1 @@
1
- export { C as CaptionSpeedCue, a as CaptionSpeedResult, b as ConvertedSubtitles, c as CsvColumnType, e as CsvColumnTypeInfo, f as CsvColumnTypeOptions, g as CsvColumnTypeResult, h as CsvDuplicateGroup, i as CsvDuplicateOptions, j as CsvDuplicateResult, k as CsvParseResult, l as CsvToSqlOptions, m as CsvToSqlResult, E as EnvDiffError, n as EnvDiffResult, o as EnvEntry, p as EnvParseResult, F as FrontMatterError, q as FrontMatterResult, H as HeadingEntry, r as HeadingHierarchyResult, s as HeadingIssue, t as HeadingIssueType, I as IniSection, M as MarkdownAnchorHeading, u as MarkdownAnchorLink, v as MarkdownInternalLinkCheckResult, w as MarkdownTableAlignResult, x as MarkdownTableColumnAlignment, y as MarkdownTableInfo, z as MarkdownTaskListItem, A as MarkdownTaskListProgressResult, B as MarkdownTaskListSectionSummary, D as MarkdownTocEntry, G as MarkdownTocOptions, J as MarkdownTocResult, N as NdjsonDedupeResult, K as NdjsonLineResult, L as NdjsonValidateResult, P as ParseOptions, O as ParsedIni, Q as ParsedSubtitles, S as SubtitleCue, R as SubtitleFormat, T as TomlFormatResult, V as ValidationResult, X as XmlFormatResult, U as XmlToJsonOptions, Y as YamlAnchorInfo, W as YamlAnchorResolveError, Z as YamlAnchorResolveResult, _ as YamlDuplicateKeyEntry, $ as YamlDuplicateKeyError, a0 as YamlDuplicateKeyResult, a1 as alignMarkdownTables, a2 as analyzeCaptionSpeed, a3 as calculateMarkdownTaskListProgress, a4 as checkMarkdownInternalLinks, a5 as convertSubtitles, a6 as csvToJson, a7 as csvToSqlInsert, a8 as dedupeNdjson, a9 as detectDelimiter, aa as detectSubtitleFormat, ab as diffEnvExample, ac as envToExport, ad as envToJson, ae as findCsvDuplicateRows, af as findYamlDuplicateKeys, ag as formatNdjson, ah as formatSubtitleTimestamp, ai as formatToml, aj as formatXml, ak as generateMarkdownToc, al as getSection, am as getSectionNames, an as getTomlStats, ao as getXmlStats, ap as getYamlStats, aq as inferCsvColumnTypes, ar as iniToJson, as as jsonArrayToNdjson, at as jsonToIni, au as jsonToToml, av as jsonToXml, aw as minifyNdjson, ax as minifyToml, ay as minifyXml, az as ndjsonToCsv, aA as ndjsonToJsonArray, aB as parseCsv, aC as parseEnv, aD as parseFrontMatter, aE as parseIni, aF as parseSubtitleTimestamp, aG as parseSubtitles, aH as parseXmlToObject, aI as resolveYamlAnchors, aJ as serializeSubtitles, aK as shiftSubtitles, aL as stringifyIni, aM as toCsvString, aN as tomlToJson, aO as validateEnvKey, aP as validateIni, aQ as validateMarkdownHeadingHierarchy, aR as validateNdjson, aS as validateToml, aT as validateXml, aU as validateYaml, aV as xmlToJson } from '../data-cDudn2P6.js';
1
+ export { C as CaptionSpeedCue, a as CaptionSpeedResult, b as ConvertedSubtitles, c as CsvColumnMostCommon, e as CsvColumnStats, f as CsvColumnStatsOptions, g as CsvColumnStatsResult, h as CsvColumnType, i as CsvColumnTypeInfo, j as CsvColumnTypeOptions, k as CsvColumnTypeResult, l as CsvDuplicateGroup, m as CsvDuplicateOptions, n as CsvDuplicateResult, o as CsvParseResult, p as CsvToSqlOptions, q as CsvToSqlResult, E as EnvDiffError, r as EnvDiffResult, s as EnvEntry, t as EnvParseResult, F as FrontMatterError, u as FrontMatterResult, H as HeadingEntry, v as HeadingHierarchyResult, w as HeadingIssue, x as HeadingIssueType, I as IniSection, M as MarkdownAnchorHeading, y as MarkdownAnchorLink, z as MarkdownInternalLinkCheckResult, A as MarkdownTableAlignResult, B as MarkdownTableColumnAlignment, D as MarkdownTableInfo, G as MarkdownTaskListItem, J as MarkdownTaskListProgressResult, K as MarkdownTaskListSectionSummary, L as MarkdownTocEntry, N as MarkdownTocOptions, O as MarkdownTocResult, P as NdjsonDedupeResult, Q as NdjsonLineResult, R as NdjsonValidateResult, S as ParseOptions, T as ParsedIni, U as ParsedSubtitles, V as SubtitleCue, W as SubtitleFormat, X as TomlFormatResult, Y as ValidationResult, Z as XmlFormatResult, _ as XmlToJsonOptions, $ as YamlAnchorInfo, a0 as YamlAnchorResolveError, a1 as YamlAnchorResolveResult, a2 as YamlDuplicateKeyEntry, a3 as YamlDuplicateKeyError, a4 as YamlDuplicateKeyResult, a5 as alignMarkdownTables, a6 as analyzeCaptionSpeed, a7 as calculateMarkdownTaskListProgress, a8 as checkMarkdownInternalLinks, a9 as convertSubtitles, aa as csvToJson, ab as csvToSqlInsert, ac as dedupeNdjson, ad as detectDelimiter, ae as detectSubtitleFormat, af as diffEnvExample, ag as envToExport, ah as envToJson, ai as findCsvDuplicateRows, aj as findYamlDuplicateKeys, ak as formatNdjson, al as formatSubtitleTimestamp, am as formatToml, an as formatXml, ao as generateMarkdownToc, ap as getSection, aq as getSectionNames, ar as getTomlStats, as as getXmlStats, at as getYamlStats, au as inferCsvColumnTypes, av as iniToJson, aw as jsonArrayToNdjson, ax as jsonToIni, ay as jsonToToml, az as jsonToXml, aA as minifyNdjson, aB as minifyToml, aC as minifyXml, aD as ndjsonToCsv, aE as ndjsonToJsonArray, aF as parseCsv, aG as parseEnv, aH as parseFrontMatter, aI as parseIni, aJ as parseSubtitleTimestamp, aK as parseSubtitles, aL as parseXmlToObject, aM as resolveYamlAnchors, aN as serializeSubtitles, aO as shiftSubtitles, aP as stringifyIni, aQ as summarizeCsvColumnStats, aR as toCsvString, aS as tomlToJson, aT as validateEnvKey, aU as validateIni, aV as validateMarkdownHeadingHierarchy, aW as validateNdjson, aX as validateToml, aY as validateXml, aZ as validateYaml, a_ as xmlToJson } from '../data-3qMdFIF5.js';
@@ -1,2 +1,2 @@
1
- export { alignMarkdownTables, analyzeCaptionSpeed, calculateMarkdownTaskListProgress, checkMarkdownInternalLinks, convertSubtitles, csvToJson, csvToSqlInsert, dedupeNdjson, detectDelimiter, detectSubtitleFormat, diffEnvExample, envToExport, envToJson, findCsvDuplicateRows, findYamlDuplicateKeys, formatNdjson, formatSubtitleTimestamp, formatToml, formatXml, generateMarkdownToc, getSection, getSectionNames, getTomlStats, getXmlStats, getYamlStats, inferCsvColumnTypes, iniToJson, jsonArrayToNdjson, jsonToIni, jsonToToml, jsonToXml, minifyNdjson, minifyToml, minifyXml, ndjsonToCsv, ndjsonToJsonArray, parseCsv, parseEnv, parseFrontMatter, parseIni, parseSubtitleTimestamp, parseSubtitles, parseXmlToObject, resolveYamlAnchors, serializeSubtitles, shiftSubtitles, stringifyIni, toCsvString, tomlToJson, validateEnvKey, validateIni, validateMarkdownHeadingHierarchy, validateNdjson, validateToml, validateXml, validateYaml, xmlToJson } from '../chunk-2QNU6KRL.js';
1
+ export { alignMarkdownTables, analyzeCaptionSpeed, calculateMarkdownTaskListProgress, checkMarkdownInternalLinks, convertSubtitles, csvToJson, csvToSqlInsert, dedupeNdjson, detectDelimiter, detectSubtitleFormat, diffEnvExample, envToExport, envToJson, findCsvDuplicateRows, findYamlDuplicateKeys, formatNdjson, formatSubtitleTimestamp, formatToml, formatXml, generateMarkdownToc, getSection, getSectionNames, getTomlStats, getXmlStats, getYamlStats, inferCsvColumnTypes, iniToJson, jsonArrayToNdjson, jsonToIni, jsonToToml, jsonToXml, minifyNdjson, minifyToml, minifyXml, ndjsonToCsv, ndjsonToJsonArray, parseCsv, parseEnv, parseFrontMatter, parseIni, parseSubtitleTimestamp, parseSubtitles, parseXmlToObject, resolveYamlAnchors, serializeSubtitles, shiftSubtitles, stringifyIni, summarizeCsvColumnStats, toCsvString, tomlToJson, validateEnvKey, validateIni, validateMarkdownHeadingHierarchy, validateNdjson, validateToml, validateXml, validateYaml, xmlToJson } from '../chunk-PEMPPDMM.js';
2
2
  import '../chunk-MLKGABMK.js';
@@ -3579,6 +3579,51 @@ function scoreSecurityHeaders(rawHeaders) {
3579
3579
  const grade = score >= 90 ? "A" : score >= 75 ? "B" : score >= 60 ? "C" : score >= 40 ? "D" : "F";
3580
3580
  return { checks, score, grade, passCount, warningCount, missingCount, totalChecks };
3581
3581
  }
3582
+ var CLEAR_SITE_DATA_DIRECTIVES = /* @__PURE__ */ new Set(["cache", "cookies", "storage", "executionContexts", "*"]);
3583
+ function buildClearSiteData(directives) {
3584
+ if (!Array.isArray(directives) || directives.length === 0) {
3585
+ return { error: "directives must be a non-empty array" };
3586
+ }
3587
+ const seen = /* @__PURE__ */ new Set();
3588
+ const normalized = [];
3589
+ for (const raw of directives) {
3590
+ if (typeof raw !== "string") return { error: "Each directive must be a string" };
3591
+ if (!CLEAR_SITE_DATA_DIRECTIVES.has(raw)) {
3592
+ return { error: `Unrecognized directive "${raw}". Valid directives: cache, cookies, storage, executionContexts, *` };
3593
+ }
3594
+ if (seen.has(raw)) continue;
3595
+ seen.add(raw);
3596
+ normalized.push(raw);
3597
+ }
3598
+ const warnings = [];
3599
+ if (normalized.includes("*") && normalized.length > 1) {
3600
+ warnings.push('"*" already clears cache, cookies, storage, and executionContexts (plus any future data types the spec adds), so listing other directives alongside it is redundant.');
3601
+ }
3602
+ const header = normalized.map((d) => `"${d}"`).join(", ");
3603
+ return {
3604
+ header,
3605
+ headerName: "Clear-Site-Data",
3606
+ snippet: `Clear-Site-Data: ${header}`,
3607
+ directives: normalized,
3608
+ warnings
3609
+ };
3610
+ }
3611
+ function parseClearSiteData(raw) {
3612
+ if (!raw || raw.trim() === "") return { error: "Input is empty" };
3613
+ const withoutLabel = raw.trim().replace(/^clear-site-data:\s*/i, "");
3614
+ const tokens = withoutLabel.split(",").map((t) => t.trim()).filter((t) => t !== "");
3615
+ if (tokens.length === 0) return { error: "No directives found" };
3616
+ const directives = [];
3617
+ for (const token of tokens) {
3618
+ const match = token.match(/^"(.*)"$/);
3619
+ const value = match ? match[1] : token;
3620
+ if (!CLEAR_SITE_DATA_DIRECTIVES.has(value)) {
3621
+ return { error: `Unrecognized directive "${token}"; each directive should be a quoted string like "cookies"` };
3622
+ }
3623
+ directives.push(value);
3624
+ }
3625
+ return buildClearSiteData(directives);
3626
+ }
3582
3627
 
3583
3628
  exports.CLIENT_HINTS = CLIENT_HINTS;
3584
3629
  exports.DNS_RECORD_TYPES = DNS_RECORD_TYPES;
@@ -3592,6 +3637,7 @@ exports.analyzeEmailHeaders = analyzeEmailHeaders;
3592
3637
  exports.assessContentTypeRisk = assessContentTypeRisk;
3593
3638
  exports.buildAcceptLanguage = buildAcceptLanguage;
3594
3639
  exports.buildCacheControl = buildCacheControl;
3640
+ exports.buildClearSiteData = buildClearSiteData;
3595
3641
  exports.buildClientHints = buildClientHints;
3596
3642
  exports.buildContentDisposition = buildContentDisposition;
3597
3643
  exports.buildDnsQueryUrl = buildDnsQueryUrl;
@@ -3632,6 +3678,7 @@ exports.listOpcodes = listOpcodes;
3632
3678
  exports.lookupCloseCode = lookupCloseCode;
3633
3679
  exports.lookupOpcode = lookupOpcode;
3634
3680
  exports.parseAcceptLanguage = parseAcceptLanguage;
3681
+ exports.parseClearSiteData = parseClearSiteData;
3635
3682
  exports.parseClientHintHeaders = parseClientHintHeaders;
3636
3683
  exports.parseContentDisposition = parseContentDisposition;
3637
3684
  exports.parseContentRangeHeader = parseContentRangeHeader;
@@ -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 RobotsGenerateGroup, an as RobotsGenerateOptions, ao as RobotsGroup, ap as RobotsIssue, aq as RobotsMetaTagFlag, ar as RobotsMetaTagOptions, as as RobotsMetaTagResult, at as RobotsRule, au as RobotsValidationResult, av as STATUS_CODES, aw as SameSiteValue, ax as SecurityHeaderCheck, ay as SecurityHeaderStatus, az as SecurityHeadersScorecard, aA as SitemapIndexEntry, aB as SitemapIssue, aC as SitemapSplitFile, aD as SitemapUrlEntry, aE as SitemapValidationResult, aF as SplitSitemapOptions, aG as SplitSitemapResult, aH as StatusCode, aI as UaDeviceType, aJ as UserAgentInfo, aK as VaryHeaderEntry, aL as VaryHeaderResult, aM as XContentTypeOptionsHeader, aN as XContentTypeOptionsParseResult, aO as XRobotsTagFlag, aP as XRobotsTagOptions, aQ as XRobotsTagResult, aR as X_CONTENT_TYPE_OPTIONS_HEADER, aS as analyzeEmailHeaders, aT as assessContentTypeRisk, aU as buildAcceptLanguage, aV as buildCacheControl, aW as buildClientHints, aX as buildContentDisposition, aY as buildDnsQueryUrl, aZ as buildGeoUrl, a_ as buildHsts, a$ as buildLinkHeader, b0 as buildMapUrl, b1 as buildPermissionsPolicy, b2 as buildPreferHeader, b3 as buildPriorityHeader, b4 as buildRangeHeader, b5 as buildReferrerPolicy, b6 as buildRetryAfterHeader, b7 as buildRobotsMetaTag, b8 as buildVaryHeader, b9 as buildXContentTypeOptionsHeader, ba as buildXRobotsTag, bb as calculateCookieSizeBudget, bc as checkSetCookieHeader, bd as countryCodeToFlag, be as extractMultipartBoundary, bf as formatCoordinates, bg as formatTtl, bh as generateRobotsTxt, bi as getByCategory, bj as getHeader, bk as getHeadersByCategory, bl as getStatusByCategory, bm as getStatusCode, bn as isClientError, bo as isServerError, bp as isSuccess, bq as isValidIp, br as isValidIpv4, bs as isValidIpv6, bt as listCloseCodes, bu as listOpcodes, bv as lookupCloseCode, bw as lookupOpcode, bx as parseAcceptLanguage, by as parseClientHintHeaders, bz as parseContentDisposition, bA as parseContentRangeHeader, bB as parseDnsResponse, bC as parseGeoResponse, bD as parseHar, bE as parseHsts, bF as parseIpv6Address, bG as parseMultipartFormData, bH as parsePermissionsPolicy, bI as parsePreferHeader, bJ as parsePriorityHeader, bK as parseRetryAfterHeader, bL as parseRobotsMetaTag, bM as parseUserAgent, bN as parseVaryHeader, bO as parseXContentTypeOptionsHeader, bP as parseXRobotsTag, bQ as scoreSecurityHeaders, bR as searchHeaders, bS as searchStatusCodes, bT as splitSitemap, bU as statusCodeToText, bV as typeNumberToLabel, bW as validateDomain, bX as validateHeaderName, bY as validateHeaderValue, bZ as validateManifest, b_ as validateRobotsTxt, b$ as validateSitemap } from '../network-ylRtLPEs.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 ClearSiteDataDirective, g as ClearSiteDataResult, h as ClientHintDef, i as ClientHintValueType, j as ClientHintsBuildResult, k as ClientHintsParseResult, l as CloseCodeInfo, m as CloseCodeRange, o as ContentDispositionBuildOptions, p as ContentDispositionBuildResult, q as ContentDispositionParseResult, r as ContentRangeResult, s as ContentTypeRiskResult, t as ContentTypeSniffRisk, u as CookieAttributes, v as CookieCheckResult, w as CookieSizeBudgetResult, x as CookieSizeEntry, D as DNS_RECORD_TYPES, y as DnsRecord, z as DnsRecordType, E as DnsResponse, F as EmailHeaderAnalysis, G as EmailHeaderField, H as GeoResult, I as HTTP_HEADERS, J as HarEntry, K as HarParseResult, L as HarSummary, M as HeaderCategory, N as HstsOptions, O as HstsResult, P as HttpHeader, Q as Ipv6AddressType, R as Ipv6ParseResult, S as LINK_REL_VALUES, T as LinkHeaderEntry, U as LinkHeaderEntryInput, V as LinkHeaderResult, W as LinkRel, X as ManifestIconInfo, Y as ManifestIssue, Z as ManifestValidationResult, _ as MultipartParseResult, $ as MultipartPart, a0 as OpcodeCategory, a1 as OpcodeInfo, a2 as PERMISSIONS_POLICY_FEATURES, a3 as ParsedClientHint, a4 as ParsedDnsResult, a5 as ParsedGeoResult, a6 as PermissionsPolicyDirective, a7 as PermissionsPolicyFeatureInput, a8 as PermissionsPolicyResult, a9 as PreferParameter, aa as PreferPreference, ab as PreferResult, ac as PriorityResult, ad as REFERRER_POLICY_VALUES, ae as RangeEntry, af as RangeEntryInput, ag as RangeHeaderResult, ah as ReceivedHop, ai as ReferrerPolicyEntry, aj as ReferrerPolicyResult, ak as ReferrerPolicyValue, al as RetryAfterDateResult, am as RetryAfterResult, an as RetryAfterSecondsResult, ao as RobotsGenerateGroup, ap as RobotsGenerateOptions, aq as RobotsGroup, ar as RobotsIssue, as as RobotsMetaTagFlag, at as RobotsMetaTagOptions, au as RobotsMetaTagResult, av as RobotsRule, aw as RobotsValidationResult, ax as STATUS_CODES, ay as SameSiteValue, az as SecurityHeaderCheck, aA as SecurityHeaderStatus, aB as SecurityHeadersScorecard, aC as SitemapIndexEntry, aD as SitemapIssue, aE as SitemapSplitFile, aF as SitemapUrlEntry, aG as SitemapValidationResult, aH as SplitSitemapOptions, aI as SplitSitemapResult, aJ as StatusCode, aK as UaDeviceType, aL as UserAgentInfo, aM as VaryHeaderEntry, aN as VaryHeaderResult, aO as XContentTypeOptionsHeader, aP as XContentTypeOptionsParseResult, aQ as XRobotsTagFlag, aR as XRobotsTagOptions, aS as XRobotsTagResult, aT as X_CONTENT_TYPE_OPTIONS_HEADER, aU as analyzeEmailHeaders, aV as assessContentTypeRisk, aW as buildAcceptLanguage, aX as buildCacheControl, aY as buildClearSiteData, aZ as buildClientHints, a_ as buildContentDisposition, a$ as buildDnsQueryUrl, b0 as buildGeoUrl, b1 as buildHsts, b2 as buildLinkHeader, b3 as buildMapUrl, b4 as buildPermissionsPolicy, b5 as buildPreferHeader, b6 as buildPriorityHeader, b7 as buildRangeHeader, b8 as buildReferrerPolicy, b9 as buildRetryAfterHeader, ba as buildRobotsMetaTag, bb as buildVaryHeader, bc as buildXContentTypeOptionsHeader, bd as buildXRobotsTag, be as calculateCookieSizeBudget, bf as checkSetCookieHeader, bg as countryCodeToFlag, bh as extractMultipartBoundary, bi as formatCoordinates, bj as formatTtl, bk as generateRobotsTxt, bl as getByCategory, bm as getHeader, bn as getHeadersByCategory, bo as getStatusByCategory, bp as getStatusCode, bq as isClientError, br as isServerError, bs as isSuccess, bt as isValidIp, bu as isValidIpv4, bv as isValidIpv6, bw as listCloseCodes, bx as listOpcodes, by as lookupCloseCode, bz as lookupOpcode, bA as parseAcceptLanguage, bB as parseClearSiteData, bC as parseClientHintHeaders, bD as parseContentDisposition, bE as parseContentRangeHeader, bF as parseDnsResponse, bG as parseGeoResponse, bH as parseHar, bI as parseHsts, bJ as parseIpv6Address, bK as parseMultipartFormData, bL as parsePermissionsPolicy, bM as parsePreferHeader, bN as parsePriorityHeader, bO as parseRetryAfterHeader, bP as parseRobotsMetaTag, bQ as parseUserAgent, bR as parseVaryHeader, bS as parseXContentTypeOptionsHeader, bT as parseXRobotsTag, bU as scoreSecurityHeaders, bV as searchHeaders, bW as searchStatusCodes, bX as splitSitemap, bY as statusCodeToText, bZ as typeNumberToLabel, b_ as validateDomain, b$ as validateHeaderName, c0 as validateHeaderValue, c1 as validateManifest, c2 as validateRobotsTxt, c3 as validateSitemap } from '../network-9j5aKpoR.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 RobotsGenerateGroup, an as RobotsGenerateOptions, ao as RobotsGroup, ap as RobotsIssue, aq as RobotsMetaTagFlag, ar as RobotsMetaTagOptions, as as RobotsMetaTagResult, at as RobotsRule, au as RobotsValidationResult, av as STATUS_CODES, aw as SameSiteValue, ax as SecurityHeaderCheck, ay as SecurityHeaderStatus, az as SecurityHeadersScorecard, aA as SitemapIndexEntry, aB as SitemapIssue, aC as SitemapSplitFile, aD as SitemapUrlEntry, aE as SitemapValidationResult, aF as SplitSitemapOptions, aG as SplitSitemapResult, aH as StatusCode, aI as UaDeviceType, aJ as UserAgentInfo, aK as VaryHeaderEntry, aL as VaryHeaderResult, aM as XContentTypeOptionsHeader, aN as XContentTypeOptionsParseResult, aO as XRobotsTagFlag, aP as XRobotsTagOptions, aQ as XRobotsTagResult, aR as X_CONTENT_TYPE_OPTIONS_HEADER, aS as analyzeEmailHeaders, aT as assessContentTypeRisk, aU as buildAcceptLanguage, aV as buildCacheControl, aW as buildClientHints, aX as buildContentDisposition, aY as buildDnsQueryUrl, aZ as buildGeoUrl, a_ as buildHsts, a$ as buildLinkHeader, b0 as buildMapUrl, b1 as buildPermissionsPolicy, b2 as buildPreferHeader, b3 as buildPriorityHeader, b4 as buildRangeHeader, b5 as buildReferrerPolicy, b6 as buildRetryAfterHeader, b7 as buildRobotsMetaTag, b8 as buildVaryHeader, b9 as buildXContentTypeOptionsHeader, ba as buildXRobotsTag, bb as calculateCookieSizeBudget, bc as checkSetCookieHeader, bd as countryCodeToFlag, be as extractMultipartBoundary, bf as formatCoordinates, bg as formatTtl, bh as generateRobotsTxt, bi as getByCategory, bj as getHeader, bk as getHeadersByCategory, bl as getStatusByCategory, bm as getStatusCode, bn as isClientError, bo as isServerError, bp as isSuccess, bq as isValidIp, br as isValidIpv4, bs as isValidIpv6, bt as listCloseCodes, bu as listOpcodes, bv as lookupCloseCode, bw as lookupOpcode, bx as parseAcceptLanguage, by as parseClientHintHeaders, bz as parseContentDisposition, bA as parseContentRangeHeader, bB as parseDnsResponse, bC as parseGeoResponse, bD as parseHar, bE as parseHsts, bF as parseIpv6Address, bG as parseMultipartFormData, bH as parsePermissionsPolicy, bI as parsePreferHeader, bJ as parsePriorityHeader, bK as parseRetryAfterHeader, bL as parseRobotsMetaTag, bM as parseUserAgent, bN as parseVaryHeader, bO as parseXContentTypeOptionsHeader, bP as parseXRobotsTag, bQ as scoreSecurityHeaders, bR as searchHeaders, bS as searchStatusCodes, bT as splitSitemap, bU as statusCodeToText, bV as typeNumberToLabel, bW as validateDomain, bX as validateHeaderName, bY as validateHeaderValue, bZ as validateManifest, b_ as validateRobotsTxt, b$ as validateSitemap } from '../network-ylRtLPEs.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 ClearSiteDataDirective, g as ClearSiteDataResult, h as ClientHintDef, i as ClientHintValueType, j as ClientHintsBuildResult, k as ClientHintsParseResult, l as CloseCodeInfo, m as CloseCodeRange, o as ContentDispositionBuildOptions, p as ContentDispositionBuildResult, q as ContentDispositionParseResult, r as ContentRangeResult, s as ContentTypeRiskResult, t as ContentTypeSniffRisk, u as CookieAttributes, v as CookieCheckResult, w as CookieSizeBudgetResult, x as CookieSizeEntry, D as DNS_RECORD_TYPES, y as DnsRecord, z as DnsRecordType, E as DnsResponse, F as EmailHeaderAnalysis, G as EmailHeaderField, H as GeoResult, I as HTTP_HEADERS, J as HarEntry, K as HarParseResult, L as HarSummary, M as HeaderCategory, N as HstsOptions, O as HstsResult, P as HttpHeader, Q as Ipv6AddressType, R as Ipv6ParseResult, S as LINK_REL_VALUES, T as LinkHeaderEntry, U as LinkHeaderEntryInput, V as LinkHeaderResult, W as LinkRel, X as ManifestIconInfo, Y as ManifestIssue, Z as ManifestValidationResult, _ as MultipartParseResult, $ as MultipartPart, a0 as OpcodeCategory, a1 as OpcodeInfo, a2 as PERMISSIONS_POLICY_FEATURES, a3 as ParsedClientHint, a4 as ParsedDnsResult, a5 as ParsedGeoResult, a6 as PermissionsPolicyDirective, a7 as PermissionsPolicyFeatureInput, a8 as PermissionsPolicyResult, a9 as PreferParameter, aa as PreferPreference, ab as PreferResult, ac as PriorityResult, ad as REFERRER_POLICY_VALUES, ae as RangeEntry, af as RangeEntryInput, ag as RangeHeaderResult, ah as ReceivedHop, ai as ReferrerPolicyEntry, aj as ReferrerPolicyResult, ak as ReferrerPolicyValue, al as RetryAfterDateResult, am as RetryAfterResult, an as RetryAfterSecondsResult, ao as RobotsGenerateGroup, ap as RobotsGenerateOptions, aq as RobotsGroup, ar as RobotsIssue, as as RobotsMetaTagFlag, at as RobotsMetaTagOptions, au as RobotsMetaTagResult, av as RobotsRule, aw as RobotsValidationResult, ax as STATUS_CODES, ay as SameSiteValue, az as SecurityHeaderCheck, aA as SecurityHeaderStatus, aB as SecurityHeadersScorecard, aC as SitemapIndexEntry, aD as SitemapIssue, aE as SitemapSplitFile, aF as SitemapUrlEntry, aG as SitemapValidationResult, aH as SplitSitemapOptions, aI as SplitSitemapResult, aJ as StatusCode, aK as UaDeviceType, aL as UserAgentInfo, aM as VaryHeaderEntry, aN as VaryHeaderResult, aO as XContentTypeOptionsHeader, aP as XContentTypeOptionsParseResult, aQ as XRobotsTagFlag, aR as XRobotsTagOptions, aS as XRobotsTagResult, aT as X_CONTENT_TYPE_OPTIONS_HEADER, aU as analyzeEmailHeaders, aV as assessContentTypeRisk, aW as buildAcceptLanguage, aX as buildCacheControl, aY as buildClearSiteData, aZ as buildClientHints, a_ as buildContentDisposition, a$ as buildDnsQueryUrl, b0 as buildGeoUrl, b1 as buildHsts, b2 as buildLinkHeader, b3 as buildMapUrl, b4 as buildPermissionsPolicy, b5 as buildPreferHeader, b6 as buildPriorityHeader, b7 as buildRangeHeader, b8 as buildReferrerPolicy, b9 as buildRetryAfterHeader, ba as buildRobotsMetaTag, bb as buildVaryHeader, bc as buildXContentTypeOptionsHeader, bd as buildXRobotsTag, be as calculateCookieSizeBudget, bf as checkSetCookieHeader, bg as countryCodeToFlag, bh as extractMultipartBoundary, bi as formatCoordinates, bj as formatTtl, bk as generateRobotsTxt, bl as getByCategory, bm as getHeader, bn as getHeadersByCategory, bo as getStatusByCategory, bp as getStatusCode, bq as isClientError, br as isServerError, bs as isSuccess, bt as isValidIp, bu as isValidIpv4, bv as isValidIpv6, bw as listCloseCodes, bx as listOpcodes, by as lookupCloseCode, bz as lookupOpcode, bA as parseAcceptLanguage, bB as parseClearSiteData, bC as parseClientHintHeaders, bD as parseContentDisposition, bE as parseContentRangeHeader, bF as parseDnsResponse, bG as parseGeoResponse, bH as parseHar, bI as parseHsts, bJ as parseIpv6Address, bK as parseMultipartFormData, bL as parsePermissionsPolicy, bM as parsePreferHeader, bN as parsePriorityHeader, bO as parseRetryAfterHeader, bP as parseRobotsMetaTag, bQ as parseUserAgent, bR as parseVaryHeader, bS as parseXContentTypeOptionsHeader, bT as parseXRobotsTag, bU as scoreSecurityHeaders, bV as searchHeaders, bW as searchStatusCodes, bX as splitSitemap, bY as statusCodeToText, bZ as typeNumberToLabel, b_ as validateDomain, b$ as validateHeaderName, c0 as validateHeaderValue, c1 as validateManifest, c2 as validateRobotsTxt, c3 as validateSitemap } from '../network-9j5aKpoR.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, generateRobotsTxt, 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-SW3J5CAI.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, buildClearSiteData, buildClientHints, buildContentDisposition, buildDnsQueryUrl, buildGeoUrl, buildHsts, buildLinkHeader, buildMapUrl, buildPermissionsPolicy, buildPreferHeader, buildPriorityHeader, buildRangeHeader, buildReferrerPolicy, buildRetryAfterHeader, buildRobotsMetaTag, buildVaryHeader, buildXContentTypeOptionsHeader, buildXRobotsTag, calculateCookieSizeBudget, checkSetCookieHeader, countryCodeToFlag, extractMultipartBoundary, formatCoordinates, formatTtl, generateRobotsTxt, getByCategory, getHeader, getHeadersByCategory, getStatusByCategory, getStatusCode, isClientError, isServerError, isSuccess, isValidIp, isValidIpv4, isValidIpv6, listCloseCodes, listOpcodes, lookupCloseCode, lookupOpcode, parseAcceptLanguage, parseClearSiteData, 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-K3B4JTHN.js';
2
2
  import '../chunk-MLKGABMK.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@utilix-tech/sdk",
3
- "version": "0.91.0",
4
- "description": "730 developer utility functions for Node.js: JSON, encoding, hashing, color, CSS, network and more. Runs locally, no API key required.",
3
+ "version": "0.92.0",
4
+ "description": "735 developer utility functions for Node.js: JSON, encoding, hashing, color, CSS, network and more. Runs locally, no API key required.",
5
5
  "author": "Utilix <hello@utilix.tech>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://www.utilix.tech/docs#node-sdk",