@utilix-tech/sdk 0.80.0 → 0.81.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 +4 -0
- package/README.md +12 -3
- package/dist/{chunk-RYSN5JNA.js → chunk-FPFA4ZHC.js} +345 -1
- package/dist/{code-C4n621_i.d.cts → code-B8yHwP3m.d.cts} +55 -2
- package/dist/{code-C4n621_i.d.ts → code-B8yHwP3m.d.ts} +55 -2
- package/dist/index.cjs +344 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/tools/code.cjs +344 -0
- package/dist/tools/code.d.cts +1 -1
- package/dist/tools/code.d.ts +1 -1
- package/dist/tools/code.js +1 -1
- package/package.json +1 -1
package/dist/tools/code.cjs
CHANGED
|
@@ -3860,10 +3860,352 @@ function parseConnectionString(input) {
|
|
|
3860
3860
|
}
|
|
3861
3861
|
return { scheme, user, password, hosts, database, params };
|
|
3862
3862
|
}
|
|
3863
|
+
var KNOWN_LANGUAGE_TAGS = /* @__PURE__ */ new Set([
|
|
3864
|
+
"js",
|
|
3865
|
+
"jsx",
|
|
3866
|
+
"mjs",
|
|
3867
|
+
"cjs",
|
|
3868
|
+
"javascript",
|
|
3869
|
+
"ts",
|
|
3870
|
+
"tsx",
|
|
3871
|
+
"typescript",
|
|
3872
|
+
"json",
|
|
3873
|
+
"json5",
|
|
3874
|
+
"jsonc",
|
|
3875
|
+
"jsonl",
|
|
3876
|
+
"ndjson",
|
|
3877
|
+
"yaml",
|
|
3878
|
+
"yml",
|
|
3879
|
+
"toml",
|
|
3880
|
+
"ini",
|
|
3881
|
+
"cfg",
|
|
3882
|
+
"conf",
|
|
3883
|
+
"properties",
|
|
3884
|
+
"env",
|
|
3885
|
+
"dotenv",
|
|
3886
|
+
"html",
|
|
3887
|
+
"htm",
|
|
3888
|
+
"xml",
|
|
3889
|
+
"svg",
|
|
3890
|
+
"xhtml",
|
|
3891
|
+
"css",
|
|
3892
|
+
"scss",
|
|
3893
|
+
"sass",
|
|
3894
|
+
"less",
|
|
3895
|
+
"stylus",
|
|
3896
|
+
"styl",
|
|
3897
|
+
"markdown",
|
|
3898
|
+
"md",
|
|
3899
|
+
"mdx",
|
|
3900
|
+
"bash",
|
|
3901
|
+
"sh",
|
|
3902
|
+
"shell",
|
|
3903
|
+
"zsh",
|
|
3904
|
+
"fish",
|
|
3905
|
+
"console",
|
|
3906
|
+
"powershell",
|
|
3907
|
+
"ps1",
|
|
3908
|
+
"bat",
|
|
3909
|
+
"cmd",
|
|
3910
|
+
"python",
|
|
3911
|
+
"py",
|
|
3912
|
+
"py3",
|
|
3913
|
+
"ipynb",
|
|
3914
|
+
"ruby",
|
|
3915
|
+
"rb",
|
|
3916
|
+
"erb",
|
|
3917
|
+
"php",
|
|
3918
|
+
"java",
|
|
3919
|
+
"kotlin",
|
|
3920
|
+
"kt",
|
|
3921
|
+
"kts",
|
|
3922
|
+
"groovy",
|
|
3923
|
+
"gradle",
|
|
3924
|
+
"swift",
|
|
3925
|
+
"objectivec",
|
|
3926
|
+
"objc",
|
|
3927
|
+
"go",
|
|
3928
|
+
"golang",
|
|
3929
|
+
"rust",
|
|
3930
|
+
"rs",
|
|
3931
|
+
"c",
|
|
3932
|
+
"h",
|
|
3933
|
+
"cpp",
|
|
3934
|
+
"cc",
|
|
3935
|
+
"cxx",
|
|
3936
|
+
"hpp",
|
|
3937
|
+
"c++",
|
|
3938
|
+
"csharp",
|
|
3939
|
+
"cs",
|
|
3940
|
+
"fsharp",
|
|
3941
|
+
"fs",
|
|
3942
|
+
"perl",
|
|
3943
|
+
"pl",
|
|
3944
|
+
"lua",
|
|
3945
|
+
"r",
|
|
3946
|
+
"matlab",
|
|
3947
|
+
"m",
|
|
3948
|
+
"scala",
|
|
3949
|
+
"nim",
|
|
3950
|
+
"zig",
|
|
3951
|
+
"julia",
|
|
3952
|
+
"jl",
|
|
3953
|
+
"haskell",
|
|
3954
|
+
"hs",
|
|
3955
|
+
"elixir",
|
|
3956
|
+
"ex",
|
|
3957
|
+
"exs",
|
|
3958
|
+
"erlang",
|
|
3959
|
+
"erl",
|
|
3960
|
+
"clojure",
|
|
3961
|
+
"clj",
|
|
3962
|
+
"cljs",
|
|
3963
|
+
"dart",
|
|
3964
|
+
"ocaml",
|
|
3965
|
+
"ml",
|
|
3966
|
+
"sql",
|
|
3967
|
+
"mysql",
|
|
3968
|
+
"postgresql",
|
|
3969
|
+
"plsql",
|
|
3970
|
+
"sqlite",
|
|
3971
|
+
"graphql",
|
|
3972
|
+
"gql",
|
|
3973
|
+
"dockerfile",
|
|
3974
|
+
"docker",
|
|
3975
|
+
"makefile",
|
|
3976
|
+
"make",
|
|
3977
|
+
"cmake",
|
|
3978
|
+
"nginx",
|
|
3979
|
+
"apache",
|
|
3980
|
+
"diff",
|
|
3981
|
+
"patch",
|
|
3982
|
+
"git",
|
|
3983
|
+
"http",
|
|
3984
|
+
"proto",
|
|
3985
|
+
"protobuf",
|
|
3986
|
+
"csv",
|
|
3987
|
+
"tsv",
|
|
3988
|
+
"vim",
|
|
3989
|
+
"viml",
|
|
3990
|
+
"tex",
|
|
3991
|
+
"latex",
|
|
3992
|
+
"bibtex",
|
|
3993
|
+
"plaintext",
|
|
3994
|
+
"text",
|
|
3995
|
+
"txt",
|
|
3996
|
+
"nohighlight",
|
|
3997
|
+
"none",
|
|
3998
|
+
"asciidoc",
|
|
3999
|
+
"adoc",
|
|
4000
|
+
"rst",
|
|
4001
|
+
"vue",
|
|
4002
|
+
"svelte",
|
|
4003
|
+
"astro",
|
|
4004
|
+
"wasm",
|
|
4005
|
+
"wat",
|
|
4006
|
+
"handlebars",
|
|
4007
|
+
"hbs",
|
|
4008
|
+
"pug",
|
|
4009
|
+
"jade",
|
|
4010
|
+
"coffee",
|
|
4011
|
+
"coffeescript",
|
|
4012
|
+
"actionscript",
|
|
4013
|
+
"terraform",
|
|
4014
|
+
"tf",
|
|
4015
|
+
"hcl",
|
|
4016
|
+
"puppet",
|
|
4017
|
+
"ansible"
|
|
4018
|
+
]);
|
|
4019
|
+
function _parseFenceLine(line) {
|
|
4020
|
+
const match = line.match(/^( {0,3})(`{3,}|~{3,})(.*)$/);
|
|
4021
|
+
if (!match) return null;
|
|
4022
|
+
const [, indent, marker, rest] = match;
|
|
4023
|
+
const char = marker[0];
|
|
4024
|
+
if (char === "`" && rest.includes("`")) return null;
|
|
4025
|
+
return { indent: indent.length, char, length: marker.length, infoString: rest.trim() };
|
|
4026
|
+
}
|
|
4027
|
+
function _isClosingFence(line, fenceChar, fenceLength) {
|
|
4028
|
+
const match = line.match(/^ {0,3}(`+|~+)\s*$/);
|
|
4029
|
+
if (!match) return false;
|
|
4030
|
+
const marker = match[1];
|
|
4031
|
+
return marker[0] === fenceChar && marker.length >= fenceLength;
|
|
4032
|
+
}
|
|
4033
|
+
function validateFenceLanguageTags(markdown) {
|
|
4034
|
+
const lines = markdown.split("\n");
|
|
4035
|
+
const issues = [];
|
|
4036
|
+
let totalFences = 0;
|
|
4037
|
+
let open = null;
|
|
4038
|
+
for (let i = 0; i < lines.length; i++) {
|
|
4039
|
+
const lineNumber = i + 1;
|
|
4040
|
+
const line = lines[i];
|
|
4041
|
+
if (open) {
|
|
4042
|
+
if (_isClosingFence(line, open.char, open.length)) open = null;
|
|
4043
|
+
continue;
|
|
4044
|
+
}
|
|
4045
|
+
const fence = _parseFenceLine(line);
|
|
4046
|
+
if (!fence) continue;
|
|
4047
|
+
totalFences++;
|
|
4048
|
+
const tag = fence.infoString.split(/\s+/)[0] ?? "";
|
|
4049
|
+
open = { char: fence.char, length: fence.length };
|
|
4050
|
+
if (tag === "") {
|
|
4051
|
+
issues.push({ line: lineNumber, tag, issue: "missing" });
|
|
4052
|
+
continue;
|
|
4053
|
+
}
|
|
4054
|
+
const lower = tag.toLowerCase();
|
|
4055
|
+
if (!KNOWN_LANGUAGE_TAGS.has(lower)) {
|
|
4056
|
+
issues.push({ line: lineNumber, tag, issue: "unknown" });
|
|
4057
|
+
continue;
|
|
4058
|
+
}
|
|
4059
|
+
if (tag !== lower) {
|
|
4060
|
+
issues.push({ line: lineNumber, tag, issue: "inconsistent-case", suggestion: lower });
|
|
4061
|
+
}
|
|
4062
|
+
}
|
|
4063
|
+
return { totalFences, issues };
|
|
4064
|
+
}
|
|
4065
|
+
var _IDENT_START = /[A-Za-z_]/;
|
|
4066
|
+
var _IDENT_CHAR = /[A-Za-z0-9_]/;
|
|
4067
|
+
function _readIdentifier(sql, start) {
|
|
4068
|
+
let end = start;
|
|
4069
|
+
while (end < sql.length && _IDENT_CHAR.test(sql[end])) end++;
|
|
4070
|
+
return sql.slice(start, end);
|
|
4071
|
+
}
|
|
4072
|
+
function countSqlPlaceholders(sql) {
|
|
4073
|
+
const placeholders = [];
|
|
4074
|
+
let state = "normal";
|
|
4075
|
+
let i = 0;
|
|
4076
|
+
while (i < sql.length) {
|
|
4077
|
+
const ch = sql[i];
|
|
4078
|
+
const next = sql[i + 1];
|
|
4079
|
+
if (state === "single") {
|
|
4080
|
+
if (ch === "'" && next === "'") {
|
|
4081
|
+
i += 2;
|
|
4082
|
+
continue;
|
|
4083
|
+
}
|
|
4084
|
+
if (ch === "'") {
|
|
4085
|
+
state = "normal";
|
|
4086
|
+
i++;
|
|
4087
|
+
continue;
|
|
4088
|
+
}
|
|
4089
|
+
i++;
|
|
4090
|
+
continue;
|
|
4091
|
+
}
|
|
4092
|
+
if (state === "double") {
|
|
4093
|
+
if (ch === '"' && next === '"') {
|
|
4094
|
+
i += 2;
|
|
4095
|
+
continue;
|
|
4096
|
+
}
|
|
4097
|
+
if (ch === '"') {
|
|
4098
|
+
state = "normal";
|
|
4099
|
+
i++;
|
|
4100
|
+
continue;
|
|
4101
|
+
}
|
|
4102
|
+
i++;
|
|
4103
|
+
continue;
|
|
4104
|
+
}
|
|
4105
|
+
if (state === "line-comment") {
|
|
4106
|
+
if (ch === "\n") state = "normal";
|
|
4107
|
+
i++;
|
|
4108
|
+
continue;
|
|
4109
|
+
}
|
|
4110
|
+
if (state === "block-comment") {
|
|
4111
|
+
if (ch === "*" && next === "/") {
|
|
4112
|
+
state = "normal";
|
|
4113
|
+
i += 2;
|
|
4114
|
+
continue;
|
|
4115
|
+
}
|
|
4116
|
+
i++;
|
|
4117
|
+
continue;
|
|
4118
|
+
}
|
|
4119
|
+
if (ch === "'") {
|
|
4120
|
+
state = "single";
|
|
4121
|
+
i++;
|
|
4122
|
+
continue;
|
|
4123
|
+
}
|
|
4124
|
+
if (ch === '"') {
|
|
4125
|
+
state = "double";
|
|
4126
|
+
i++;
|
|
4127
|
+
continue;
|
|
4128
|
+
}
|
|
4129
|
+
if (ch === "-" && next === "-") {
|
|
4130
|
+
state = "line-comment";
|
|
4131
|
+
i += 2;
|
|
4132
|
+
continue;
|
|
4133
|
+
}
|
|
4134
|
+
if (ch === "/" && next === "*") {
|
|
4135
|
+
state = "block-comment";
|
|
4136
|
+
i += 2;
|
|
4137
|
+
continue;
|
|
4138
|
+
}
|
|
4139
|
+
if (ch === "?") {
|
|
4140
|
+
placeholders.push({ style: "anonymous", raw: "?", index: i });
|
|
4141
|
+
i++;
|
|
4142
|
+
continue;
|
|
4143
|
+
}
|
|
4144
|
+
if (ch === "$" && /[0-9]/.test(next ?? "")) {
|
|
4145
|
+
let end = i + 1;
|
|
4146
|
+
while (end < sql.length && /[0-9]/.test(sql[end])) end++;
|
|
4147
|
+
const raw = sql.slice(i, end);
|
|
4148
|
+
placeholders.push({ style: "numbered", raw, index: i, number: parseInt(raw.slice(1), 10) });
|
|
4149
|
+
i = end;
|
|
4150
|
+
continue;
|
|
4151
|
+
}
|
|
4152
|
+
if (ch === ":") {
|
|
4153
|
+
if (next === ":") {
|
|
4154
|
+
i += 2;
|
|
4155
|
+
continue;
|
|
4156
|
+
}
|
|
4157
|
+
if (next && _IDENT_START.test(next)) {
|
|
4158
|
+
const name = _readIdentifier(sql, i + 1);
|
|
4159
|
+
placeholders.push({ style: "named-colon", raw: `:${name}`, index: i, name });
|
|
4160
|
+
i += 1 + name.length;
|
|
4161
|
+
continue;
|
|
4162
|
+
}
|
|
4163
|
+
i++;
|
|
4164
|
+
continue;
|
|
4165
|
+
}
|
|
4166
|
+
if (ch === "@") {
|
|
4167
|
+
if (next === "@") {
|
|
4168
|
+
i += 2;
|
|
4169
|
+
continue;
|
|
4170
|
+
}
|
|
4171
|
+
if (next && _IDENT_START.test(next)) {
|
|
4172
|
+
const name = _readIdentifier(sql, i + 1);
|
|
4173
|
+
placeholders.push({ style: "named-at", raw: `@${name}`, index: i, name });
|
|
4174
|
+
i += 1 + name.length;
|
|
4175
|
+
continue;
|
|
4176
|
+
}
|
|
4177
|
+
i++;
|
|
4178
|
+
continue;
|
|
4179
|
+
}
|
|
4180
|
+
i++;
|
|
4181
|
+
}
|
|
4182
|
+
const counts = { anonymous: 0, numbered: 0, "named-colon": 0, "named-at": 0 };
|
|
4183
|
+
for (const p of placeholders) counts[p.style]++;
|
|
4184
|
+
const stylesUsed = ["anonymous", "numbered", "named-colon", "named-at"].filter((s) => counts[s] > 0);
|
|
4185
|
+
const numbers = placeholders.filter((p) => p.style === "numbered").map((p) => p.number);
|
|
4186
|
+
const maxNumber = numbers.length > 0 ? Math.max(...numbers) : 0;
|
|
4187
|
+
const seen = new Set(numbers);
|
|
4188
|
+
const numberedGaps = [];
|
|
4189
|
+
for (let n = 1; n < maxNumber; n++) {
|
|
4190
|
+
if (!seen.has(n)) numberedGaps.push(n);
|
|
4191
|
+
}
|
|
4192
|
+
const countedMap = /* @__PURE__ */ new Map();
|
|
4193
|
+
for (const n of numbers) countedMap.set(n, (countedMap.get(n) ?? 0) + 1);
|
|
4194
|
+
const numberedDuplicates = [...countedMap.entries()].filter(([, c]) => c > 1).map(([n]) => n).sort((a, b) => a - b);
|
|
4195
|
+
return {
|
|
4196
|
+
placeholders,
|
|
4197
|
+
counts,
|
|
4198
|
+
stylesUsed,
|
|
4199
|
+
mixedStyles: stylesUsed.length > 1,
|
|
4200
|
+
numberedGaps,
|
|
4201
|
+
numberedDuplicates
|
|
4202
|
+
};
|
|
4203
|
+
}
|
|
3863
4204
|
|
|
3864
4205
|
exports.ALL_FLAGS = ALL_FLAGS;
|
|
3865
4206
|
exports.CHEATSHEET = CHEATSHEET;
|
|
3866
4207
|
exports.DEFAULT_COMMIT_TYPES = DEFAULT_COMMIT_TYPES;
|
|
4208
|
+
exports.KNOWN_LANGUAGE_TAGS = KNOWN_LANGUAGE_TAGS;
|
|
3867
4209
|
exports.MIME_TABLE = MIME_TABLE;
|
|
3868
4210
|
exports.OPERATIONS = OPERATIONS;
|
|
3869
4211
|
exports.SQL_DEFAULT_OPTIONS = SQL_DEFAULT_OPTIONS;
|
|
@@ -3876,6 +4218,7 @@ exports.collapseHtmlWhitespace = collapseHtmlWhitespace;
|
|
|
3876
4218
|
exports.collapseJsWhitespace = collapseJsWhitespace;
|
|
3877
4219
|
exports.countProperties = countProperties;
|
|
3878
4220
|
exports.countRules = countRules;
|
|
4221
|
+
exports.countSqlPlaceholders = countSqlPlaceholders;
|
|
3879
4222
|
exports.detectDialect = detectDialect;
|
|
3880
4223
|
exports.detectOperationType = detectOperationType;
|
|
3881
4224
|
exports.detectRedos = detectRedos;
|
|
@@ -3921,5 +4264,6 @@ exports.testRegex = testRegex;
|
|
|
3921
4264
|
exports.validateAria = validateAria;
|
|
3922
4265
|
exports.validateEditorConfig = validateEditorConfig;
|
|
3923
4266
|
exports.validateEnvKey = validateEnvKey;
|
|
4267
|
+
exports.validateFenceLanguageTags = validateFenceLanguageTags;
|
|
3924
4268
|
exports.validatePackageExports = validatePackageExports;
|
|
3925
4269
|
exports.validateTsconfig = validateTsconfig;
|
package/dist/tools/code.d.cts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as ALL_FLAGS, a as ApiEndpoint, b as ApiInfo, d as AriaIssue, e as AriaValidationResult, C as CHEATSHEET, f as CheatsheetEntry, g as CommitTrailer, h as CommitTrailerResult, i as ConnectionStringHost, j as ConnectionStringResult, k as ConventionalCommitFinding, l as ConventionalCommitFooter, m as ConventionalCommitOptions, n as ConventionalCommitParsed, o as ConventionalCommitResult, p as ConventionalCommitSeverity, q as CssResult, D as DEFAULT_COMMIT_TYPES, r as DependencyAuditDuplicate, s as DependencyAuditEntry, t as DependencyAuditIssue, u as DependencyAuditResult, v as DependencyRangeType, w as DependencySection, x as DockerImageRef, E as EditorConfigIssue, y as EditorConfigProperty, z as EditorConfigSection, B as EditorConfigValidationResult, F as EnvEntry, G as EnvParseResult, H as ExportsIssue, I as ExportsShape, J as ExportsValidationResult, K as
|
|
1
|
+
export { A as ALL_FLAGS, a as ApiEndpoint, b as ApiInfo, d as AriaIssue, e as AriaValidationResult, C as CHEATSHEET, f as CheatsheetEntry, g as CommitTrailer, h as CommitTrailerResult, i as ConnectionStringHost, j as ConnectionStringResult, k as ConventionalCommitFinding, l as ConventionalCommitFooter, m as ConventionalCommitOptions, n as ConventionalCommitParsed, o as ConventionalCommitResult, p as ConventionalCommitSeverity, q as CssResult, D as DEFAULT_COMMIT_TYPES, r as DependencyAuditDuplicate, s as DependencyAuditEntry, t as DependencyAuditIssue, u as DependencyAuditResult, v as DependencyRangeType, w as DependencySection, x as DockerImageRef, E as EditorConfigIssue, y as EditorConfigProperty, z as EditorConfigSection, B as EditorConfigValidationResult, F as EnvEntry, G as EnvParseResult, H as ExportsIssue, I as ExportsShape, J as ExportsValidationResult, K as FenceTagIssue, L as FenceTagIssueType, M as FenceValidationResult, N as GitCommandConfig, O as GitCommandResult, P as GitOperation, Q as GithubUrlInfo, R as GithubUrlType, S as GitignoreTestResult, T as GqlFormatResult, U as HtmlFormatResult, V as HtmlMinifyOptions, W as HtmlMinifyResult, X as JsMinifyOptions, Y as JsMinifyResult, Z as KNOWN_LANGUAGE_TAGS, _ as MIME_TABLE, $ as MarkdownFootnoteDefinition, a0 as MarkdownFootnoteReference, a1 as MarkdownFootnoteResult, a2 as MatchResult, a3 as MimeEntry, a4 as MimeLookupResult, a5 as OPERATIONS, a6 as ParsedSpec, a7 as PlaceholderStyle, a8 as RedosFinding, a9 as RedosResult, aa as RedosSeverity, ab as RegexBackreferenceInfo, ac as RegexError, ad as RegexFlag, ae as RegexGroupAnalysis, af as RegexGroupInfo, ag as RegexGroupIssue, ah as RegexMatch, ai as RegexResult, aj as RegexSuccess, ak as SQL_DEFAULT_OPTIONS, al as Segment, am as SpecVersion, an as SqlDialect, ao as SqlFormatOptions, ap as SqlPlaceholder, aq as SqlPlaceholderResult, ar as SvgSpriteResult, as as SvgSpriteSymbol, at as TestPatternResult, au as TsconfigIssue, av as TsconfigValidationResult, aw as analyzeRegexGroups, ax as auditDependencyRanges, ay as buildDockerPull, az as buildDockerRun, aA as buildGitCommand, aB as collapseHtmlWhitespace, aC as collapseJsWhitespace, aD as countProperties, aE as countRules, aF as countSqlPlaceholders, aG as detectDialect, aH as detectOperationType, aI as detectRedos, aJ as envToExport, aK as envToJson, aL as extractMarkdownFootnotes, aM as extractSvgSpriteSymbols, aN as formatCss, aO as formatGql, aP as formatHtml, aQ as formatSql, aR as getEndpointsByTag, aS as getHtmlStats, aT as getJsStats, aU as getMethodColor, aV as isValidTag, aW as lintConventionalCommit, aX as lookupMime, aY as minifyCss, aZ as minifyGql, a_ as minifyHtml, a$ as minifyJs, b0 as minifySql, b1 as normalizeRef, b2 as parseCommitTrailers, b3 as parseConnectionString, b4 as parseDockerImage, b5 as parseEnv, b6 as parseGitCommand, b7 as parseGithubUrl, b8 as parseSpec, b9 as removeConsoleCalls, ba as removeEmptyAttributes, bb as removeHtmlComments, bc as removeJsComments, bd as removeRedundantAttributes, be as searchCheatsheet, bf as searchEndpoints, bg as splitStatements, bh as testGitignorePatterns, bi as testPattern, bj as testRegex, bk as validateAria, bl as validateEditorConfig, bm as validateEnvKey, bn as validateFenceLanguageTags, bo as validatePackageExports, bp as validateTsconfig } from '../code-B8yHwP3m.cjs';
|
package/dist/tools/code.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as ALL_FLAGS, a as ApiEndpoint, b as ApiInfo, d as AriaIssue, e as AriaValidationResult, C as CHEATSHEET, f as CheatsheetEntry, g as CommitTrailer, h as CommitTrailerResult, i as ConnectionStringHost, j as ConnectionStringResult, k as ConventionalCommitFinding, l as ConventionalCommitFooter, m as ConventionalCommitOptions, n as ConventionalCommitParsed, o as ConventionalCommitResult, p as ConventionalCommitSeverity, q as CssResult, D as DEFAULT_COMMIT_TYPES, r as DependencyAuditDuplicate, s as DependencyAuditEntry, t as DependencyAuditIssue, u as DependencyAuditResult, v as DependencyRangeType, w as DependencySection, x as DockerImageRef, E as EditorConfigIssue, y as EditorConfigProperty, z as EditorConfigSection, B as EditorConfigValidationResult, F as EnvEntry, G as EnvParseResult, H as ExportsIssue, I as ExportsShape, J as ExportsValidationResult, K as
|
|
1
|
+
export { A as ALL_FLAGS, a as ApiEndpoint, b as ApiInfo, d as AriaIssue, e as AriaValidationResult, C as CHEATSHEET, f as CheatsheetEntry, g as CommitTrailer, h as CommitTrailerResult, i as ConnectionStringHost, j as ConnectionStringResult, k as ConventionalCommitFinding, l as ConventionalCommitFooter, m as ConventionalCommitOptions, n as ConventionalCommitParsed, o as ConventionalCommitResult, p as ConventionalCommitSeverity, q as CssResult, D as DEFAULT_COMMIT_TYPES, r as DependencyAuditDuplicate, s as DependencyAuditEntry, t as DependencyAuditIssue, u as DependencyAuditResult, v as DependencyRangeType, w as DependencySection, x as DockerImageRef, E as EditorConfigIssue, y as EditorConfigProperty, z as EditorConfigSection, B as EditorConfigValidationResult, F as EnvEntry, G as EnvParseResult, H as ExportsIssue, I as ExportsShape, J as ExportsValidationResult, K as FenceTagIssue, L as FenceTagIssueType, M as FenceValidationResult, N as GitCommandConfig, O as GitCommandResult, P as GitOperation, Q as GithubUrlInfo, R as GithubUrlType, S as GitignoreTestResult, T as GqlFormatResult, U as HtmlFormatResult, V as HtmlMinifyOptions, W as HtmlMinifyResult, X as JsMinifyOptions, Y as JsMinifyResult, Z as KNOWN_LANGUAGE_TAGS, _ as MIME_TABLE, $ as MarkdownFootnoteDefinition, a0 as MarkdownFootnoteReference, a1 as MarkdownFootnoteResult, a2 as MatchResult, a3 as MimeEntry, a4 as MimeLookupResult, a5 as OPERATIONS, a6 as ParsedSpec, a7 as PlaceholderStyle, a8 as RedosFinding, a9 as RedosResult, aa as RedosSeverity, ab as RegexBackreferenceInfo, ac as RegexError, ad as RegexFlag, ae as RegexGroupAnalysis, af as RegexGroupInfo, ag as RegexGroupIssue, ah as RegexMatch, ai as RegexResult, aj as RegexSuccess, ak as SQL_DEFAULT_OPTIONS, al as Segment, am as SpecVersion, an as SqlDialect, ao as SqlFormatOptions, ap as SqlPlaceholder, aq as SqlPlaceholderResult, ar as SvgSpriteResult, as as SvgSpriteSymbol, at as TestPatternResult, au as TsconfigIssue, av as TsconfigValidationResult, aw as analyzeRegexGroups, ax as auditDependencyRanges, ay as buildDockerPull, az as buildDockerRun, aA as buildGitCommand, aB as collapseHtmlWhitespace, aC as collapseJsWhitespace, aD as countProperties, aE as countRules, aF as countSqlPlaceholders, aG as detectDialect, aH as detectOperationType, aI as detectRedos, aJ as envToExport, aK as envToJson, aL as extractMarkdownFootnotes, aM as extractSvgSpriteSymbols, aN as formatCss, aO as formatGql, aP as formatHtml, aQ as formatSql, aR as getEndpointsByTag, aS as getHtmlStats, aT as getJsStats, aU as getMethodColor, aV as isValidTag, aW as lintConventionalCommit, aX as lookupMime, aY as minifyCss, aZ as minifyGql, a_ as minifyHtml, a$ as minifyJs, b0 as minifySql, b1 as normalizeRef, b2 as parseCommitTrailers, b3 as parseConnectionString, b4 as parseDockerImage, b5 as parseEnv, b6 as parseGitCommand, b7 as parseGithubUrl, b8 as parseSpec, b9 as removeConsoleCalls, ba as removeEmptyAttributes, bb as removeHtmlComments, bc as removeJsComments, bd as removeRedundantAttributes, be as searchCheatsheet, bf as searchEndpoints, bg as splitStatements, bh as testGitignorePatterns, bi as testPattern, bj as testRegex, bk as validateAria, bl as validateEditorConfig, bm as validateEnvKey, bn as validateFenceLanguageTags, bo as validatePackageExports, bp as validateTsconfig } from '../code-B8yHwP3m.js';
|
package/dist/tools/code.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ALL_FLAGS, CHEATSHEET, DEFAULT_COMMIT_TYPES, MIME_TABLE, OPERATIONS, SQL_DEFAULT_OPTIONS, analyzeRegexGroups, auditDependencyRanges, buildDockerPull, buildDockerRun, buildGitCommand, collapseHtmlWhitespace, collapseJsWhitespace, countProperties, countRules, detectDialect, detectOperationType, detectRedos, envToExport, envToJson, extractMarkdownFootnotes, extractSvgSpriteSymbols, formatCss, formatGql, formatHtml, formatSql, getEndpointsByTag, getHtmlStats, getJsStats, getMethodColor, isValidTag, lintConventionalCommit, lookupMime, minifyCss, minifyGql, minifyHtml, minifyJs, minifySql, normalizeRef, parseCommitTrailers, parseConnectionString, parseDockerImage, parseEnv, parseGitCommand, parseGithubUrl, parseSpec, removeConsoleCalls, removeEmptyAttributes, removeHtmlComments, removeJsComments, removeRedundantAttributes, searchCheatsheet, searchEndpoints, splitStatements, testGitignorePatterns, testPattern, testRegex, validateAria, validateEditorConfig, validateEnvKey, validatePackageExports, validateTsconfig } from '../chunk-
|
|
1
|
+
export { ALL_FLAGS, CHEATSHEET, DEFAULT_COMMIT_TYPES, KNOWN_LANGUAGE_TAGS, MIME_TABLE, OPERATIONS, SQL_DEFAULT_OPTIONS, analyzeRegexGroups, auditDependencyRanges, buildDockerPull, buildDockerRun, buildGitCommand, collapseHtmlWhitespace, collapseJsWhitespace, countProperties, countRules, countSqlPlaceholders, detectDialect, detectOperationType, detectRedos, envToExport, envToJson, extractMarkdownFootnotes, extractSvgSpriteSymbols, formatCss, formatGql, formatHtml, formatSql, getEndpointsByTag, getHtmlStats, getJsStats, getMethodColor, isValidTag, lintConventionalCommit, lookupMime, minifyCss, minifyGql, minifyHtml, minifyJs, minifySql, normalizeRef, parseCommitTrailers, parseConnectionString, parseDockerImage, parseEnv, parseGitCommand, parseGithubUrl, parseSpec, removeConsoleCalls, removeEmptyAttributes, removeHtmlComments, removeJsComments, removeRedundantAttributes, searchCheatsheet, searchEndpoints, splitStatements, testGitignorePatterns, testPattern, testRegex, validateAria, validateEditorConfig, validateEnvKey, validateFenceLanguageTags, validatePackageExports, validateTsconfig } from '../chunk-FPFA4ZHC.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.
|
|
3
|
+
"version": "0.81.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",
|