@utilix-tech/sdk 0.51.0 → 0.52.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.
@@ -2886,6 +2886,340 @@ function testGitignorePatterns(gitignoreContent, paths) {
2886
2886
  return { path, ignored, matchedPattern, matchedLine };
2887
2887
  });
2888
2888
  }
2889
+ var EDITORCONFIG_ENUM_PROPERTIES = {
2890
+ indent_style: ["tab", "space"],
2891
+ end_of_line: ["lf", "cr", "crlf"],
2892
+ charset: ["latin1", "utf-8", "utf-8-bom", "utf-16be", "utf-16le"],
2893
+ trim_trailing_whitespace: ["true", "false"],
2894
+ insert_final_newline: ["true", "false"]
2895
+ };
2896
+ var EDITORCONFIG_KNOWN_PROPERTIES = /* @__PURE__ */ new Set([
2897
+ "indent_style",
2898
+ "indent_size",
2899
+ "tab_width",
2900
+ "end_of_line",
2901
+ "charset",
2902
+ "trim_trailing_whitespace",
2903
+ "insert_final_newline",
2904
+ "max_line_length",
2905
+ "root"
2906
+ ]);
2907
+ var POSITIVE_INT_RE = /^[1-9][0-9]*$/;
2908
+ function validateEditorConfig(text) {
2909
+ if (!text || !text.trim()) return { error: "Input is empty" };
2910
+ const lines = text.split("\n");
2911
+ const issues = [];
2912
+ const sections = [];
2913
+ let root = false;
2914
+ let rootSeen = false;
2915
+ let currentSection = null;
2916
+ for (let i = 0; i < lines.length; i++) {
2917
+ const lineNum = i + 1;
2918
+ const trimmed = lines[i].trim();
2919
+ if (!trimmed || trimmed.startsWith("#") || trimmed.startsWith(";")) continue;
2920
+ const sectionMatch = trimmed.match(/^\[(.*)\]$/);
2921
+ if (sectionMatch) {
2922
+ const glob = sectionMatch[1];
2923
+ if (!glob) {
2924
+ issues.push({ severity: "warning", line: lineNum, message: 'Section header is empty ("[]" matches no files)' });
2925
+ }
2926
+ if (sections.some((s) => s.glob === glob)) {
2927
+ issues.push({ severity: "warning", line: lineNum, message: `Duplicate section "[${glob}]" (an earlier section already uses this exact glob)` });
2928
+ }
2929
+ currentSection = { glob, line: lineNum, properties: [] };
2930
+ sections.push(currentSection);
2931
+ continue;
2932
+ }
2933
+ const eqIdx = trimmed.indexOf("=");
2934
+ if (eqIdx === -1) {
2935
+ issues.push({ severity: "error", line: lineNum, message: `Malformed line (missing '='): "${trimmed}"` });
2936
+ continue;
2937
+ }
2938
+ const rawKey = trimmed.slice(0, eqIdx).trim();
2939
+ const key = rawKey.toLowerCase();
2940
+ const rawValue = trimmed.slice(eqIdx + 1).trim();
2941
+ const normalizedValue = rawValue.toLowerCase();
2942
+ if (!rawKey) {
2943
+ issues.push({ severity: "error", line: lineNum, message: "Property is missing a name" });
2944
+ continue;
2945
+ }
2946
+ if (key === "root") {
2947
+ if (sections.length > 0) {
2948
+ issues.push({ severity: "error", line: lineNum, message: `"root" must appear before any section, in the file's preamble` });
2949
+ } else if (rootSeen) {
2950
+ issues.push({ severity: "warning", line: lineNum, message: 'Duplicate "root" declaration' });
2951
+ } else if (normalizedValue !== "true" && normalizedValue !== "false") {
2952
+ issues.push({ severity: "error", line: lineNum, message: `"root" must be "true" or "false", got "${rawValue}"` });
2953
+ } else {
2954
+ root = normalizedValue === "true";
2955
+ }
2956
+ rootSeen = true;
2957
+ continue;
2958
+ }
2959
+ if (!currentSection) {
2960
+ issues.push({ severity: "error", line: lineNum, message: `Property "${rawKey}" found before any section header` });
2961
+ continue;
2962
+ }
2963
+ if (currentSection.properties.some((p) => p.key === key)) {
2964
+ issues.push({ severity: "warning", line: lineNum, message: `Duplicate property "${key}" in section "[${currentSection.glob}]"` });
2965
+ }
2966
+ currentSection.properties.push({ key, value: rawValue, line: lineNum });
2967
+ if (!EDITORCONFIG_KNOWN_PROPERTIES.has(key)) {
2968
+ issues.push({ severity: "warning", line: lineNum, message: `Unknown property "${key}"` });
2969
+ continue;
2970
+ }
2971
+ if (key in EDITORCONFIG_ENUM_PROPERTIES) {
2972
+ if (!EDITORCONFIG_ENUM_PROPERTIES[key].includes(normalizedValue)) {
2973
+ issues.push({ severity: "error", line: lineNum, message: `"${key}" must be one of ${EDITORCONFIG_ENUM_PROPERTIES[key].join(", ")}, got "${rawValue}"` });
2974
+ }
2975
+ } else if (key === "indent_size") {
2976
+ if (normalizedValue !== "tab" && !POSITIVE_INT_RE.test(rawValue)) {
2977
+ issues.push({ severity: "error", line: lineNum, message: `"indent_size" must be a positive integer or "tab", got "${rawValue}"` });
2978
+ }
2979
+ } else if (key === "tab_width") {
2980
+ if (!POSITIVE_INT_RE.test(rawValue)) {
2981
+ issues.push({ severity: "error", line: lineNum, message: `"tab_width" must be a positive integer, got "${rawValue}"` });
2982
+ }
2983
+ } else if (key === "max_line_length") {
2984
+ if (normalizedValue !== "off" && !POSITIVE_INT_RE.test(rawValue)) {
2985
+ issues.push({ severity: "error", line: lineNum, message: `"max_line_length" must be a positive integer or "off", got "${rawValue}"` });
2986
+ }
2987
+ }
2988
+ }
2989
+ if (sections.length === 0 && !rootSeen) {
2990
+ issues.push({ severity: "warning", line: 1, message: "File has no section headers and no root declaration" });
2991
+ }
2992
+ const valid = !issues.some((i) => i.severity === "error");
2993
+ return { root, sections, issues, valid };
2994
+ }
2995
+ function stripJsonComments(input) {
2996
+ let out = "";
2997
+ let i = 0;
2998
+ const n = input.length;
2999
+ let inString = false;
3000
+ while (i < n) {
3001
+ const c = input[i];
3002
+ const next = input[i + 1];
3003
+ if (inString) {
3004
+ out += c;
3005
+ if (c === "\\") {
3006
+ out += next ?? "";
3007
+ i += 2;
3008
+ continue;
3009
+ }
3010
+ if (c === '"') inString = false;
3011
+ i++;
3012
+ continue;
3013
+ }
3014
+ if (c === '"') {
3015
+ inString = true;
3016
+ out += c;
3017
+ i++;
3018
+ continue;
3019
+ }
3020
+ if (c === "/" && next === "/") {
3021
+ while (i < n && input[i] !== "\n") i++;
3022
+ continue;
3023
+ }
3024
+ if (c === "/" && next === "*") {
3025
+ i += 2;
3026
+ while (i < n && !(input[i] === "*" && input[i + 1] === "/")) {
3027
+ out += input[i] === "\n" ? "\n" : "";
3028
+ i++;
3029
+ }
3030
+ i += 2;
3031
+ continue;
3032
+ }
3033
+ out += c;
3034
+ i++;
3035
+ }
3036
+ return out;
3037
+ }
3038
+ function stripTrailingCommas(input) {
3039
+ return input.replace(/,(\s*[}\]])/g, "$1");
3040
+ }
3041
+ var TSCONFIG_TOP_LEVEL_KEYS = /* @__PURE__ */ new Set([
3042
+ "compilerOptions",
3043
+ "files",
3044
+ "include",
3045
+ "exclude",
3046
+ "extends",
3047
+ "references",
3048
+ "compileOnSave",
3049
+ "typeAcquisition",
3050
+ "watchOptions",
3051
+ "buildOptions",
3052
+ "$schema"
3053
+ ]);
3054
+ var TSCONFIG_ENUM_OPTIONS = {
3055
+ target: ["es3", "es5", "es6", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "es2023", "esnext"],
3056
+ module: ["none", "commonjs", "amd", "umd", "system", "es6", "es2015", "es2020", "es2022", "esnext", "node16", "nodenext", "node18", "preserve"],
3057
+ moduleResolution: ["classic", "node", "node10", "node16", "nodenext", "bundler"],
3058
+ moduleDetection: ["legacy", "auto", "force"],
3059
+ jsx: ["preserve", "react", "react-jsx", "react-jsxdev", "react-native"],
3060
+ newLine: ["crlf", "lf"],
3061
+ importsNotUsedAsValues: ["remove", "preserve", "error"]
3062
+ };
3063
+ var TSCONFIG_BOOLEAN_OPTIONS = /* @__PURE__ */ new Set([
3064
+ "allowJs",
3065
+ "checkJs",
3066
+ "strict",
3067
+ "noImplicitAny",
3068
+ "strictNullChecks",
3069
+ "strictFunctionTypes",
3070
+ "strictBindCallApply",
3071
+ "strictPropertyInitialization",
3072
+ "noImplicitThis",
3073
+ "useUnknownInCatchVariables",
3074
+ "alwaysStrict",
3075
+ "noUnusedLocals",
3076
+ "noUnusedParameters",
3077
+ "exactOptionalPropertyTypes",
3078
+ "noImplicitReturns",
3079
+ "noFallthroughCasesInSwitch",
3080
+ "noUncheckedIndexedAccess",
3081
+ "noImplicitOverride",
3082
+ "noPropertyAccessFromIndexSignature",
3083
+ "esModuleInterop",
3084
+ "allowSyntheticDefaultImports",
3085
+ "forceConsistentCasingInFileNames",
3086
+ "isolatedModules",
3087
+ "verbatimModuleSyntax",
3088
+ "declaration",
3089
+ "declarationMap",
3090
+ "emitDeclarationOnly",
3091
+ "sourceMap",
3092
+ "inlineSourceMap",
3093
+ "inlineSources",
3094
+ "noEmit",
3095
+ "noEmitOnError",
3096
+ "preserveConstEnums",
3097
+ "removeComments",
3098
+ "skipLibCheck",
3099
+ "composite",
3100
+ "incremental",
3101
+ "experimentalDecorators",
3102
+ "emitDecoratorMetadata",
3103
+ "resolveJsonModule",
3104
+ "allowUmdGlobalAccess",
3105
+ "downlevelIteration",
3106
+ "importHelpers",
3107
+ "preserveSymlinks",
3108
+ "allowUnreachableCode",
3109
+ "allowUnusedLabels",
3110
+ "disableSizeLimit",
3111
+ "noResolve",
3112
+ "skipDefaultLibCheck",
3113
+ "suppressImplicitAnyIndexErrors"
3114
+ ]);
3115
+ var TSCONFIG_STRING_OPTIONS = /* @__PURE__ */ new Set([
3116
+ "outDir",
3117
+ "rootDir",
3118
+ "baseUrl",
3119
+ "outFile",
3120
+ "declarationDir",
3121
+ "tsBuildInfoFile",
3122
+ "jsxFactory",
3123
+ "jsxFragmentFactory",
3124
+ "jsxImportSource"
3125
+ ]);
3126
+ var TSCONFIG_ARRAY_OPTIONS = /* @__PURE__ */ new Set(["lib", "types", "typeRoots", "rootDirs"]);
3127
+ function validateTsconfig(text) {
3128
+ if (!text || !text.trim()) return { error: "Input is empty" };
3129
+ const stripped = stripTrailingCommas(stripJsonComments(text));
3130
+ let parsed;
3131
+ try {
3132
+ parsed = JSON.parse(stripped);
3133
+ } catch (e) {
3134
+ return { error: `Invalid JSON: ${e.message}` };
3135
+ }
3136
+ if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) {
3137
+ return { error: "Root of tsconfig.json must be an object" };
3138
+ }
3139
+ const obj = parsed;
3140
+ const issues = [];
3141
+ const topLevelKeys = Object.keys(obj);
3142
+ for (const key of topLevelKeys) {
3143
+ if (!TSCONFIG_TOP_LEVEL_KEYS.has(key)) {
3144
+ issues.push({ severity: "warning", path: key, message: `Unknown top-level key "${key}"` });
3145
+ }
3146
+ }
3147
+ for (const key of ["files", "include", "exclude"]) {
3148
+ if (key in obj) {
3149
+ const v = obj[key];
3150
+ if (!Array.isArray(v) || !v.every((x) => typeof x === "string")) {
3151
+ issues.push({ severity: "error", path: key, message: `"${key}" must be an array of strings` });
3152
+ }
3153
+ }
3154
+ }
3155
+ if ("extends" in obj) {
3156
+ const v = obj.extends;
3157
+ const validExtends = typeof v === "string" || Array.isArray(v) && v.every((x) => typeof x === "string");
3158
+ if (!validExtends) {
3159
+ issues.push({ severity: "error", path: "extends", message: '"extends" must be a string or an array of strings' });
3160
+ }
3161
+ }
3162
+ if ("references" in obj) {
3163
+ const v = obj.references;
3164
+ const validRefs = Array.isArray(v) && v.every((r) => typeof r === "object" && r !== null && typeof r.path === "string");
3165
+ if (!validRefs) {
3166
+ issues.push({ severity: "error", path: "references", message: '"references" must be an array of objects with a "path" string' });
3167
+ }
3168
+ }
3169
+ let compilerOptionKeys = [];
3170
+ if ("compilerOptions" in obj) {
3171
+ const co = obj.compilerOptions;
3172
+ if (typeof co !== "object" || co === null || Array.isArray(co)) {
3173
+ issues.push({ severity: "error", path: "compilerOptions", message: '"compilerOptions" must be an object' });
3174
+ } else {
3175
+ const coObj = co;
3176
+ compilerOptionKeys = Object.keys(coObj);
3177
+ for (const key of compilerOptionKeys) {
3178
+ const value = coObj[key];
3179
+ const path = `compilerOptions.${key}`;
3180
+ if (key === "paths") {
3181
+ if (typeof value !== "object" || value === null || Array.isArray(value)) {
3182
+ issues.push({ severity: "error", path, message: '"paths" must be an object mapping patterns to arrays of strings' });
3183
+ } else {
3184
+ for (const [k, v] of Object.entries(value)) {
3185
+ if (!Array.isArray(v) || !v.every((x) => typeof x === "string")) {
3186
+ issues.push({ severity: "error", path: `${path}.${k}`, message: `"paths.${k}" must be an array of strings` });
3187
+ }
3188
+ }
3189
+ }
3190
+ continue;
3191
+ }
3192
+ if (key in TSCONFIG_ENUM_OPTIONS) {
3193
+ if (typeof value !== "string" || !TSCONFIG_ENUM_OPTIONS[key].includes(value.toLowerCase())) {
3194
+ issues.push({ severity: "error", path, message: `"${key}" must be one of ${TSCONFIG_ENUM_OPTIONS[key].join(", ")}, got ${JSON.stringify(value)}` });
3195
+ }
3196
+ continue;
3197
+ }
3198
+ if (TSCONFIG_BOOLEAN_OPTIONS.has(key)) {
3199
+ if (typeof value !== "boolean") {
3200
+ issues.push({ severity: "error", path, message: `"${key}" must be a boolean, got ${JSON.stringify(value)}` });
3201
+ }
3202
+ continue;
3203
+ }
3204
+ if (TSCONFIG_STRING_OPTIONS.has(key)) {
3205
+ if (typeof value !== "string") {
3206
+ issues.push({ severity: "error", path, message: `"${key}" must be a string, got ${JSON.stringify(value)}` });
3207
+ }
3208
+ continue;
3209
+ }
3210
+ if (TSCONFIG_ARRAY_OPTIONS.has(key)) {
3211
+ if (!Array.isArray(value) || !value.every((x) => typeof x === "string")) {
3212
+ issues.push({ severity: "error", path, message: `"${key}" must be an array of strings, got ${JSON.stringify(value)}` });
3213
+ }
3214
+ continue;
3215
+ }
3216
+ issues.push({ severity: "warning", path, message: `Unknown compilerOption "${key}"` });
3217
+ }
3218
+ }
3219
+ }
3220
+ const valid = !issues.some((i) => i.severity === "error");
3221
+ return { parsed: true, topLevelKeys, compilerOptionKeys, issues, valid };
3222
+ }
2889
3223
 
2890
3224
  exports.ALL_FLAGS = ALL_FLAGS;
2891
3225
  exports.CHEATSHEET = CHEATSHEET;
@@ -2938,4 +3272,6 @@ exports.splitStatements = splitStatements;
2938
3272
  exports.testGitignorePatterns = testGitignorePatterns;
2939
3273
  exports.testPattern = testPattern;
2940
3274
  exports.testRegex = testRegex;
3275
+ exports.validateEditorConfig = validateEditorConfig;
2941
3276
  exports.validateEnvKey = validateEnvKey;
3277
+ exports.validateTsconfig = validateTsconfig;
@@ -1 +1 @@
1
- export { A as ALL_FLAGS, a as ApiEndpoint, b as ApiInfo, C as CHEATSHEET, d as CheatsheetEntry, e as ConventionalCommitFinding, f as ConventionalCommitFooter, g as ConventionalCommitOptions, h as ConventionalCommitParsed, i as ConventionalCommitResult, j as ConventionalCommitSeverity, k as CssResult, D as DEFAULT_COMMIT_TYPES, l as DockerImageRef, E as EnvEntry, m as EnvParseResult, G as GitCommandConfig, n as GitCommandResult, o as GitOperation, p as GithubUrlInfo, q as GithubUrlType, r as GitignoreTestResult, s as GqlFormatResult, H as HtmlFormatResult, t as HtmlMinifyOptions, u as HtmlMinifyResult, J as JsMinifyOptions, v as JsMinifyResult, M as MIME_TABLE, w as MatchResult, x as MimeEntry, y as MimeLookupResult, O as OPERATIONS, P as ParsedSpec, R as RedosFinding, z as RedosResult, B as RedosSeverity, F as RegexError, I as RegexFlag, K as RegexMatch, L as RegexResult, N as RegexSuccess, S as SQL_DEFAULT_OPTIONS, Q as Segment, T as SpecVersion, U as SqlDialect, V as SqlFormatOptions, W as TestPatternResult, X as buildDockerPull, Y as buildDockerRun, Z as buildGitCommand, _ as collapseHtmlWhitespace, $ as collapseJsWhitespace, a0 as countProperties, a1 as countRules, a2 as detectDialect, a3 as detectOperationType, a4 as detectRedos, a5 as envToExport, a6 as envToJson, a7 as formatCss, a8 as formatGql, a9 as formatHtml, aa as formatSql, ab as getEndpointsByTag, ac as getHtmlStats, ad as getJsStats, ae as getMethodColor, af as isValidTag, ag as lintConventionalCommit, ah as lookupMime, ai as minifyCss, aj as minifyGql, ak as minifyHtml, al as minifyJs, am as minifySql, an as normalizeRef, ao as parseDockerImage, ap as parseEnv, aq as parseGitCommand, ar as parseGithubUrl, as as parseSpec, at as removeConsoleCalls, au as removeEmptyAttributes, av as removeHtmlComments, aw as removeJsComments, ax as removeRedundantAttributes, ay as searchCheatsheet, az as searchEndpoints, aA as splitStatements, aB as testGitignorePatterns, aC as testPattern, aD as testRegex, aE as validateEnvKey } from '../code-KXoRsHtl.cjs';
1
+ export { A as ALL_FLAGS, a as ApiEndpoint, b as ApiInfo, C as CHEATSHEET, d as CheatsheetEntry, e as ConventionalCommitFinding, f as ConventionalCommitFooter, g as ConventionalCommitOptions, h as ConventionalCommitParsed, i as ConventionalCommitResult, j as ConventionalCommitSeverity, k as CssResult, D as DEFAULT_COMMIT_TYPES, l as DockerImageRef, E as EditorConfigIssue, m as EditorConfigProperty, n as EditorConfigSection, o as EditorConfigValidationResult, p as EnvEntry, q as EnvParseResult, G as GitCommandConfig, r as GitCommandResult, s as GitOperation, t as GithubUrlInfo, u as GithubUrlType, v as GitignoreTestResult, w as GqlFormatResult, H as HtmlFormatResult, x as HtmlMinifyOptions, y as HtmlMinifyResult, J as JsMinifyOptions, z as JsMinifyResult, M as MIME_TABLE, B as MatchResult, F as MimeEntry, I as MimeLookupResult, O as OPERATIONS, P as ParsedSpec, R as RedosFinding, K as RedosResult, L as RedosSeverity, N as RegexError, Q as RegexFlag, S as RegexMatch, T as RegexResult, U as RegexSuccess, V as SQL_DEFAULT_OPTIONS, W as Segment, X as SpecVersion, Y as SqlDialect, Z as SqlFormatOptions, _ as TestPatternResult, $ as TsconfigIssue, a0 as TsconfigValidationResult, a1 as buildDockerPull, a2 as buildDockerRun, a3 as buildGitCommand, a4 as collapseHtmlWhitespace, a5 as collapseJsWhitespace, a6 as countProperties, a7 as countRules, a8 as detectDialect, a9 as detectOperationType, aa as detectRedos, ab as envToExport, ac as envToJson, ad as formatCss, ae as formatGql, af as formatHtml, ag as formatSql, ah as getEndpointsByTag, ai as getHtmlStats, aj as getJsStats, ak as getMethodColor, al as isValidTag, am as lintConventionalCommit, an as lookupMime, ao as minifyCss, ap as minifyGql, aq as minifyHtml, ar as minifyJs, as as minifySql, at as normalizeRef, au as parseDockerImage, av as parseEnv, aw as parseGitCommand, ax as parseGithubUrl, ay as parseSpec, az as removeConsoleCalls, aA as removeEmptyAttributes, aB as removeHtmlComments, aC as removeJsComments, aD as removeRedundantAttributes, aE as searchCheatsheet, aF as searchEndpoints, aG as splitStatements, aH as testGitignorePatterns, aI as testPattern, aJ as testRegex, aK as validateEditorConfig, aL as validateEnvKey, aM as validateTsconfig } from '../code-B_gDkRAx.cjs';
@@ -1 +1 @@
1
- export { A as ALL_FLAGS, a as ApiEndpoint, b as ApiInfo, C as CHEATSHEET, d as CheatsheetEntry, e as ConventionalCommitFinding, f as ConventionalCommitFooter, g as ConventionalCommitOptions, h as ConventionalCommitParsed, i as ConventionalCommitResult, j as ConventionalCommitSeverity, k as CssResult, D as DEFAULT_COMMIT_TYPES, l as DockerImageRef, E as EnvEntry, m as EnvParseResult, G as GitCommandConfig, n as GitCommandResult, o as GitOperation, p as GithubUrlInfo, q as GithubUrlType, r as GitignoreTestResult, s as GqlFormatResult, H as HtmlFormatResult, t as HtmlMinifyOptions, u as HtmlMinifyResult, J as JsMinifyOptions, v as JsMinifyResult, M as MIME_TABLE, w as MatchResult, x as MimeEntry, y as MimeLookupResult, O as OPERATIONS, P as ParsedSpec, R as RedosFinding, z as RedosResult, B as RedosSeverity, F as RegexError, I as RegexFlag, K as RegexMatch, L as RegexResult, N as RegexSuccess, S as SQL_DEFAULT_OPTIONS, Q as Segment, T as SpecVersion, U as SqlDialect, V as SqlFormatOptions, W as TestPatternResult, X as buildDockerPull, Y as buildDockerRun, Z as buildGitCommand, _ as collapseHtmlWhitespace, $ as collapseJsWhitespace, a0 as countProperties, a1 as countRules, a2 as detectDialect, a3 as detectOperationType, a4 as detectRedos, a5 as envToExport, a6 as envToJson, a7 as formatCss, a8 as formatGql, a9 as formatHtml, aa as formatSql, ab as getEndpointsByTag, ac as getHtmlStats, ad as getJsStats, ae as getMethodColor, af as isValidTag, ag as lintConventionalCommit, ah as lookupMime, ai as minifyCss, aj as minifyGql, ak as minifyHtml, al as minifyJs, am as minifySql, an as normalizeRef, ao as parseDockerImage, ap as parseEnv, aq as parseGitCommand, ar as parseGithubUrl, as as parseSpec, at as removeConsoleCalls, au as removeEmptyAttributes, av as removeHtmlComments, aw as removeJsComments, ax as removeRedundantAttributes, ay as searchCheatsheet, az as searchEndpoints, aA as splitStatements, aB as testGitignorePatterns, aC as testPattern, aD as testRegex, aE as validateEnvKey } from '../code-KXoRsHtl.js';
1
+ export { A as ALL_FLAGS, a as ApiEndpoint, b as ApiInfo, C as CHEATSHEET, d as CheatsheetEntry, e as ConventionalCommitFinding, f as ConventionalCommitFooter, g as ConventionalCommitOptions, h as ConventionalCommitParsed, i as ConventionalCommitResult, j as ConventionalCommitSeverity, k as CssResult, D as DEFAULT_COMMIT_TYPES, l as DockerImageRef, E as EditorConfigIssue, m as EditorConfigProperty, n as EditorConfigSection, o as EditorConfigValidationResult, p as EnvEntry, q as EnvParseResult, G as GitCommandConfig, r as GitCommandResult, s as GitOperation, t as GithubUrlInfo, u as GithubUrlType, v as GitignoreTestResult, w as GqlFormatResult, H as HtmlFormatResult, x as HtmlMinifyOptions, y as HtmlMinifyResult, J as JsMinifyOptions, z as JsMinifyResult, M as MIME_TABLE, B as MatchResult, F as MimeEntry, I as MimeLookupResult, O as OPERATIONS, P as ParsedSpec, R as RedosFinding, K as RedosResult, L as RedosSeverity, N as RegexError, Q as RegexFlag, S as RegexMatch, T as RegexResult, U as RegexSuccess, V as SQL_DEFAULT_OPTIONS, W as Segment, X as SpecVersion, Y as SqlDialect, Z as SqlFormatOptions, _ as TestPatternResult, $ as TsconfigIssue, a0 as TsconfigValidationResult, a1 as buildDockerPull, a2 as buildDockerRun, a3 as buildGitCommand, a4 as collapseHtmlWhitespace, a5 as collapseJsWhitespace, a6 as countProperties, a7 as countRules, a8 as detectDialect, a9 as detectOperationType, aa as detectRedos, ab as envToExport, ac as envToJson, ad as formatCss, ae as formatGql, af as formatHtml, ag as formatSql, ah as getEndpointsByTag, ai as getHtmlStats, aj as getJsStats, ak as getMethodColor, al as isValidTag, am as lintConventionalCommit, an as lookupMime, ao as minifyCss, ap as minifyGql, aq as minifyHtml, ar as minifyJs, as as minifySql, at as normalizeRef, au as parseDockerImage, av as parseEnv, aw as parseGitCommand, ax as parseGithubUrl, ay as parseSpec, az as removeConsoleCalls, aA as removeEmptyAttributes, aB as removeHtmlComments, aC as removeJsComments, aD as removeRedundantAttributes, aE as searchCheatsheet, aF as searchEndpoints, aG as splitStatements, aH as testGitignorePatterns, aI as testPattern, aJ as testRegex, aK as validateEditorConfig, aL as validateEnvKey, aM as validateTsconfig } from '../code-B_gDkRAx.js';
@@ -1,2 +1,2 @@
1
- export { ALL_FLAGS, CHEATSHEET, DEFAULT_COMMIT_TYPES, MIME_TABLE, OPERATIONS, SQL_DEFAULT_OPTIONS, buildDockerPull, buildDockerRun, buildGitCommand, collapseHtmlWhitespace, collapseJsWhitespace, countProperties, countRules, detectDialect, detectOperationType, detectRedos, envToExport, envToJson, formatCss, formatGql, formatHtml, formatSql, getEndpointsByTag, getHtmlStats, getJsStats, getMethodColor, isValidTag, lintConventionalCommit, lookupMime, minifyCss, minifyGql, minifyHtml, minifyJs, minifySql, normalizeRef, parseDockerImage, parseEnv, parseGitCommand, parseGithubUrl, parseSpec, removeConsoleCalls, removeEmptyAttributes, removeHtmlComments, removeJsComments, removeRedundantAttributes, searchCheatsheet, searchEndpoints, splitStatements, testGitignorePatterns, testPattern, testRegex, validateEnvKey } from '../chunk-JL7YTXRB.js';
1
+ export { ALL_FLAGS, CHEATSHEET, DEFAULT_COMMIT_TYPES, MIME_TABLE, OPERATIONS, SQL_DEFAULT_OPTIONS, buildDockerPull, buildDockerRun, buildGitCommand, collapseHtmlWhitespace, collapseJsWhitespace, countProperties, countRules, detectDialect, detectOperationType, detectRedos, envToExport, envToJson, formatCss, formatGql, formatHtml, formatSql, getEndpointsByTag, getHtmlStats, getJsStats, getMethodColor, isValidTag, lintConventionalCommit, lookupMime, minifyCss, minifyGql, minifyHtml, minifyJs, minifySql, normalizeRef, parseDockerImage, parseEnv, parseGitCommand, parseGithubUrl, parseSpec, removeConsoleCalls, removeEmptyAttributes, removeHtmlComments, removeJsComments, removeRedundantAttributes, searchCheatsheet, searchEndpoints, splitStatements, testGitignorePatterns, testPattern, testRegex, validateEditorConfig, validateEnvKey, validateTsconfig } from '../chunk-K4ZERKBD.js';
2
2
  import '../chunk-MLKGABMK.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utilix-tech/sdk",
3
- "version": "0.51.0",
3
+ "version": "0.52.0",
4
4
  "description": "154+ developer utility tools 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",