@utilix-tech/sdk 0.79.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 +8 -0
- package/README.md +24 -4
- package/dist/{chunk-XT2BQWXT.js → chunk-FPFA4ZHC.js} +393 -1
- package/dist/{chunk-34C6GXCC.js → chunk-WUOZHCIC.js} +217 -1
- package/dist/{code-46xO9xFf.d.cts → code-B8yHwP3m.d.cts} +83 -2
- package/dist/{code-46xO9xFf.d.ts → code-B8yHwP3m.d.ts} +83 -2
- package/dist/index.cjs +608 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{json-CaiYsGDQ.d.cts → json-Ca6gZCNB.d.cts} +45 -2
- package/dist/{json-CaiYsGDQ.d.ts → json-Ca6gZCNB.d.ts} +45 -2
- package/dist/tools/code.cjs +392 -0
- package/dist/tools/code.d.cts +1 -1
- package/dist/tools/code.d.ts +1 -1
- package/dist/tools/code.js +1 -1
- package/dist/tools/json.cjs +216 -0
- package/dist/tools/json.d.cts +1 -1
- package/dist/tools/json.d.ts +1 -1
- package/dist/tools/json.js +1 -1
- package/package.json +1 -1
|
@@ -5,13 +5,16 @@ import * as yaml from 'js-yaml';
|
|
|
5
5
|
var json_exports = {};
|
|
6
6
|
__export(json_exports, {
|
|
7
7
|
applyJsonMergePatch: () => applyJsonMergePatch,
|
|
8
|
+
applyJsonPatch: () => applyJsonPatch,
|
|
8
9
|
csvToJson: () => csvToJson,
|
|
9
10
|
detectFormat: () => detectFormat,
|
|
10
11
|
diffJson: () => diffJson,
|
|
12
|
+
diffJsonPatch: () => diffJsonPatch,
|
|
11
13
|
evaluateJsonPath: () => evaluateJsonPath,
|
|
12
14
|
formatDiffLine: () => formatDiffLine,
|
|
13
15
|
formatJson: () => formatJson,
|
|
14
16
|
generateExample: () => generateExample,
|
|
17
|
+
generateJsonPatch: () => generateJsonPatch,
|
|
15
18
|
getJsonStats: () => getJsonStats,
|
|
16
19
|
inferGoType: () => inferGoType,
|
|
17
20
|
inferPythonType: () => inferPythonType,
|
|
@@ -1435,5 +1438,218 @@ function applyJsonMergePatch(targetJson, patchJson) {
|
|
|
1435
1438
|
}
|
|
1436
1439
|
return { result: mergeJsonPatch(target, patch) };
|
|
1437
1440
|
}
|
|
1441
|
+
function _escapeJsonPointerToken(token) {
|
|
1442
|
+
return token.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
1443
|
+
}
|
|
1444
|
+
function _unescapeJsonPointerToken(token) {
|
|
1445
|
+
return token.replace(/~1/g, "/").replace(/~0/g, "~");
|
|
1446
|
+
}
|
|
1447
|
+
function _parseJsonPointer(pointer) {
|
|
1448
|
+
if (pointer === "") return [];
|
|
1449
|
+
if (!pointer.startsWith("/")) throw new Error(`Invalid JSON Pointer "${pointer}": must start with "/"`);
|
|
1450
|
+
return pointer.slice(1).split("/").map(_unescapeJsonPointerToken);
|
|
1451
|
+
}
|
|
1452
|
+
function _isPlainObject(value) {
|
|
1453
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1454
|
+
}
|
|
1455
|
+
function _deepEqual(a, b) {
|
|
1456
|
+
if (a === b) return true;
|
|
1457
|
+
if (typeof a !== typeof b) return false;
|
|
1458
|
+
if (Array.isArray(a) || Array.isArray(b)) {
|
|
1459
|
+
if (!Array.isArray(a) || !Array.isArray(b) || a.length !== b.length) return false;
|
|
1460
|
+
return a.every((v, i) => _deepEqual(v, b[i]));
|
|
1461
|
+
}
|
|
1462
|
+
if (_isPlainObject(a) && _isPlainObject(b)) {
|
|
1463
|
+
const aKeys = Object.keys(a);
|
|
1464
|
+
const bKeys = Object.keys(b);
|
|
1465
|
+
if (aKeys.length !== bKeys.length) return false;
|
|
1466
|
+
return aKeys.every((k) => k in b && _deepEqual(a[k], b[k]));
|
|
1467
|
+
}
|
|
1468
|
+
return false;
|
|
1469
|
+
}
|
|
1470
|
+
function _getByTokens(doc, tokens) {
|
|
1471
|
+
let current = doc;
|
|
1472
|
+
for (const token of tokens) {
|
|
1473
|
+
if (Array.isArray(current)) {
|
|
1474
|
+
const index = token === "-" ? current.length - 1 : parseInt(token, 10);
|
|
1475
|
+
if (!Number.isInteger(index) || index < 0 || index >= current.length) return { found: false, value: void 0 };
|
|
1476
|
+
current = current[index];
|
|
1477
|
+
} else if (_isPlainObject(current)) {
|
|
1478
|
+
if (!(token in current)) return { found: false, value: void 0 };
|
|
1479
|
+
current = current[token];
|
|
1480
|
+
} else {
|
|
1481
|
+
return { found: false, value: void 0 };
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
return { found: true, value: current };
|
|
1485
|
+
}
|
|
1486
|
+
function diffJsonPatch(a, b) {
|
|
1487
|
+
const ops = [];
|
|
1488
|
+
_diffValue(a, b, "", ops);
|
|
1489
|
+
return ops;
|
|
1490
|
+
}
|
|
1491
|
+
function _diffValue(a, b, path, ops) {
|
|
1492
|
+
if (_deepEqual(a, b)) return;
|
|
1493
|
+
if (_isPlainObject(a) && _isPlainObject(b)) {
|
|
1494
|
+
for (const key of Object.keys(a)) {
|
|
1495
|
+
if (!(key in b)) ops.push({ op: "remove", path: `${path}/${_escapeJsonPointerToken(key)}` });
|
|
1496
|
+
}
|
|
1497
|
+
for (const key of Object.keys(b)) {
|
|
1498
|
+
const childPath = `${path}/${_escapeJsonPointerToken(key)}`;
|
|
1499
|
+
if (!(key in a)) {
|
|
1500
|
+
ops.push({ op: "add", path: childPath, value: b[key] });
|
|
1501
|
+
} else {
|
|
1502
|
+
_diffValue(a[key], b[key], childPath, ops);
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
return;
|
|
1506
|
+
}
|
|
1507
|
+
if (Array.isArray(a) && Array.isArray(b)) {
|
|
1508
|
+
const minLen = Math.min(a.length, b.length);
|
|
1509
|
+
for (let i = 0; i < minLen; i++) {
|
|
1510
|
+
_diffValue(a[i], b[i], `${path}/${i}`, ops);
|
|
1511
|
+
}
|
|
1512
|
+
if (b.length > a.length) {
|
|
1513
|
+
for (let i = a.length; i < b.length; i++) ops.push({ op: "add", path: `${path}/${i}`, value: b[i] });
|
|
1514
|
+
} else if (a.length > b.length) {
|
|
1515
|
+
for (let i = a.length - 1; i >= b.length; i--) ops.push({ op: "remove", path: `${path}/${i}` });
|
|
1516
|
+
}
|
|
1517
|
+
return;
|
|
1518
|
+
}
|
|
1519
|
+
ops.push({ op: "replace", path, value: b });
|
|
1520
|
+
}
|
|
1521
|
+
function applyJsonPatch(target, operations) {
|
|
1522
|
+
let doc = JSON.parse(JSON.stringify(target ?? null));
|
|
1523
|
+
const applyOne = (op, index) => {
|
|
1524
|
+
if (op.path === void 0 || op.op === void 0) return `Operation ${index}: missing "op" or "path"`;
|
|
1525
|
+
let tokens;
|
|
1526
|
+
try {
|
|
1527
|
+
tokens = _parseJsonPointer(op.path);
|
|
1528
|
+
} catch (e) {
|
|
1529
|
+
return `Operation ${index}: ${e.message}`;
|
|
1530
|
+
}
|
|
1531
|
+
const setAt = (tgtTokens, value) => {
|
|
1532
|
+
if (tgtTokens.length === 0) {
|
|
1533
|
+
doc = value;
|
|
1534
|
+
return null;
|
|
1535
|
+
}
|
|
1536
|
+
const parentTokens = tgtTokens.slice(0, -1);
|
|
1537
|
+
const lastToken = tgtTokens[tgtTokens.length - 1];
|
|
1538
|
+
const { found, value: parent } = _getByTokens(doc, parentTokens);
|
|
1539
|
+
if (!found) return `Operation ${index}: path "${op.path}" has no parent`;
|
|
1540
|
+
if (Array.isArray(parent)) {
|
|
1541
|
+
const idx = lastToken === "-" ? parent.length : parseInt(lastToken, 10);
|
|
1542
|
+
if (!Number.isInteger(idx) || idx < 0 || idx > parent.length) return `Operation ${index}: array index "${lastToken}" out of bounds`;
|
|
1543
|
+
parent.splice(idx, 0, value);
|
|
1544
|
+
} else if (_isPlainObject(parent)) {
|
|
1545
|
+
parent[lastToken] = value;
|
|
1546
|
+
} else {
|
|
1547
|
+
return `Operation ${index}: cannot add into a non-object, non-array value at "${op.path}"`;
|
|
1548
|
+
}
|
|
1549
|
+
return null;
|
|
1550
|
+
};
|
|
1551
|
+
const replaceAt = (tgtTokens, value) => {
|
|
1552
|
+
if (tgtTokens.length === 0) {
|
|
1553
|
+
doc = value;
|
|
1554
|
+
return null;
|
|
1555
|
+
}
|
|
1556
|
+
const parentTokens = tgtTokens.slice(0, -1);
|
|
1557
|
+
const lastToken = tgtTokens[tgtTokens.length - 1];
|
|
1558
|
+
const { found, value: parent } = _getByTokens(doc, parentTokens);
|
|
1559
|
+
if (!found) return `Operation ${index}: path "${op.path}" has no parent`;
|
|
1560
|
+
if (Array.isArray(parent)) {
|
|
1561
|
+
const idx = lastToken === "-" ? parent.length - 1 : parseInt(lastToken, 10);
|
|
1562
|
+
if (!Number.isInteger(idx) || idx < 0 || idx >= parent.length) return `Operation ${index}: array index "${lastToken}" out of bounds`;
|
|
1563
|
+
parent[idx] = value;
|
|
1564
|
+
} else if (_isPlainObject(parent)) {
|
|
1565
|
+
if (!(lastToken in parent)) return `Operation ${index}: path "${op.path}" does not exist`;
|
|
1566
|
+
parent[lastToken] = value;
|
|
1567
|
+
} else {
|
|
1568
|
+
return `Operation ${index}: cannot replace into a non-object, non-array value at "${op.path}"`;
|
|
1569
|
+
}
|
|
1570
|
+
return null;
|
|
1571
|
+
};
|
|
1572
|
+
const removeAt = (tgtTokens) => {
|
|
1573
|
+
if (tgtTokens.length === 0) return { error: `Operation ${index}: cannot remove the whole document (path "")` };
|
|
1574
|
+
const parentTokens = tgtTokens.slice(0, -1);
|
|
1575
|
+
const lastToken = tgtTokens[tgtTokens.length - 1];
|
|
1576
|
+
const { found, value: parent } = _getByTokens(doc, parentTokens);
|
|
1577
|
+
if (!found) return { error: `Operation ${index}: path "${op.path}" has no parent` };
|
|
1578
|
+
if (Array.isArray(parent)) {
|
|
1579
|
+
const idx = lastToken === "-" ? parent.length - 1 : parseInt(lastToken, 10);
|
|
1580
|
+
if (!Number.isInteger(idx) || idx < 0 || idx >= parent.length) return { error: `Operation ${index}: array index "${lastToken}" out of bounds` };
|
|
1581
|
+
const [removed] = parent.splice(idx, 1);
|
|
1582
|
+
return { error: null, removed };
|
|
1583
|
+
}
|
|
1584
|
+
if (_isPlainObject(parent)) {
|
|
1585
|
+
if (!(lastToken in parent)) return { error: `Operation ${index}: path "${op.path}" does not exist` };
|
|
1586
|
+
const removed = parent[lastToken];
|
|
1587
|
+
delete parent[lastToken];
|
|
1588
|
+
return { error: null, removed };
|
|
1589
|
+
}
|
|
1590
|
+
return { error: `Operation ${index}: cannot remove from a non-object, non-array value at "${op.path}"` };
|
|
1591
|
+
};
|
|
1592
|
+
switch (op.op) {
|
|
1593
|
+
case "add":
|
|
1594
|
+
return setAt(tokens, op.value);
|
|
1595
|
+
case "replace":
|
|
1596
|
+
return replaceAt(tokens, op.value);
|
|
1597
|
+
case "remove":
|
|
1598
|
+
return removeAt(tokens).error;
|
|
1599
|
+
case "test": {
|
|
1600
|
+
const { found, value } = _getByTokens(doc, tokens);
|
|
1601
|
+
if (!found) return `Operation ${index}: path "${op.path}" does not exist`;
|
|
1602
|
+
if (!_deepEqual(value, op.value)) return `Operation ${index}: test failed at "${op.path}"`;
|
|
1603
|
+
return null;
|
|
1604
|
+
}
|
|
1605
|
+
case "move": {
|
|
1606
|
+
if (!op.from) return `Operation ${index}: "move" requires "from"`;
|
|
1607
|
+
let fromTokens;
|
|
1608
|
+
try {
|
|
1609
|
+
fromTokens = _parseJsonPointer(op.from);
|
|
1610
|
+
} catch (e) {
|
|
1611
|
+
return `Operation ${index}: ${e.message}`;
|
|
1612
|
+
}
|
|
1613
|
+
const removal = removeAt(fromTokens);
|
|
1614
|
+
if (removal.error) return removal.error;
|
|
1615
|
+
return setAt(tokens, removal.removed);
|
|
1616
|
+
}
|
|
1617
|
+
case "copy": {
|
|
1618
|
+
if (!op.from) return `Operation ${index}: "copy" requires "from"`;
|
|
1619
|
+
let fromTokens;
|
|
1620
|
+
try {
|
|
1621
|
+
fromTokens = _parseJsonPointer(op.from);
|
|
1622
|
+
} catch (e) {
|
|
1623
|
+
return `Operation ${index}: ${e.message}`;
|
|
1624
|
+
}
|
|
1625
|
+
const { found, value } = _getByTokens(doc, fromTokens);
|
|
1626
|
+
if (!found) return `Operation ${index}: "from" path "${op.from}" does not exist`;
|
|
1627
|
+
return setAt(tokens, JSON.parse(JSON.stringify(value)));
|
|
1628
|
+
}
|
|
1629
|
+
default:
|
|
1630
|
+
return `Operation ${index}: unknown op "${op.op}"`;
|
|
1631
|
+
}
|
|
1632
|
+
};
|
|
1633
|
+
for (let i = 0; i < operations.length; i++) {
|
|
1634
|
+
const err = applyOne(operations[i], i);
|
|
1635
|
+
if (err) return { error: err };
|
|
1636
|
+
}
|
|
1637
|
+
return { result: doc };
|
|
1638
|
+
}
|
|
1639
|
+
function generateJsonPatch(aJson, bJson) {
|
|
1640
|
+
let a;
|
|
1641
|
+
try {
|
|
1642
|
+
a = JSON.parse(aJson);
|
|
1643
|
+
} catch {
|
|
1644
|
+
return { error: "First document is not valid JSON" };
|
|
1645
|
+
}
|
|
1646
|
+
let b;
|
|
1647
|
+
try {
|
|
1648
|
+
b = JSON.parse(bJson);
|
|
1649
|
+
} catch {
|
|
1650
|
+
return { error: "Second document is not valid JSON" };
|
|
1651
|
+
}
|
|
1652
|
+
return { patch: diffJsonPatch(a, b) };
|
|
1653
|
+
}
|
|
1438
1654
|
|
|
1439
|
-
export { applyJsonMergePatch, csvToJson, detectFormat, diffJson, evaluateJsonPath, formatDiffLine, formatJson, generateExample, getJsonStats, inferGoType, inferPythonType, inferType, jsonSchemaToTypescript, jsonToCsv, jsonToGo, jsonToPython, jsonToTypescript, jsonToYaml, jsonToZod, json_exports, mergeJsonPatch, minifyJson, parseJson, parseStructs, resolveJsonPointer, toPascalCase, toSnakeCase, validateJson, validateJsonPath, validateJsonString, yamlToJson };
|
|
1655
|
+
export { applyJsonMergePatch, applyJsonPatch, csvToJson, detectFormat, diffJson, diffJsonPatch, evaluateJsonPath, formatDiffLine, formatJson, generateExample, generateJsonPatch, getJsonStats, inferGoType, inferPythonType, inferType, jsonSchemaToTypescript, jsonToCsv, jsonToGo, jsonToPython, jsonToTypescript, jsonToYaml, jsonToZod, json_exports, mergeJsonPatch, minifyJson, parseJson, parseStructs, resolveJsonPointer, toPascalCase, toSnakeCase, validateJson, validateJsonPath, validateJsonString, yamlToJson };
|
|
@@ -31,6 +31,9 @@
|
|
|
31
31
|
* - git-commit-trailer-parser (parseCommitTrailers)
|
|
32
32
|
* - markdown-footnote-extractor (extractMarkdownFootnotes)
|
|
33
33
|
* - aria-validator (validateAria)
|
|
34
|
+
* - connection-string-parser (parseConnectionString)
|
|
35
|
+
* - markdown-fence-lang-validator (validateFenceLanguageTags, KNOWN_LANGUAGE_TAGS)
|
|
36
|
+
* - sql-placeholder-counter (countSqlPlaceholders)
|
|
34
37
|
*/
|
|
35
38
|
type RegexFlag = 'g' | 'i' | 'm' | 's' | 'u';
|
|
36
39
|
declare const ALL_FLAGS: RegexFlag[];
|
|
@@ -649,6 +652,72 @@ interface AriaValidationResult {
|
|
|
649
652
|
declare function validateAria(html: string): AriaValidationResult | {
|
|
650
653
|
error: string;
|
|
651
654
|
};
|
|
655
|
+
interface ConnectionStringHost {
|
|
656
|
+
host: string;
|
|
657
|
+
port: number | null;
|
|
658
|
+
}
|
|
659
|
+
interface ConnectionStringResult {
|
|
660
|
+
scheme: string;
|
|
661
|
+
user: string | null;
|
|
662
|
+
password: string | null;
|
|
663
|
+
hosts: ConnectionStringHost[];
|
|
664
|
+
database: string | null;
|
|
665
|
+
params: Record<string, string>;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* Parses a database connection URI (postgres://, mysql://, mongodb://,
|
|
669
|
+
* mongodb+srv://, redis://, amqp://, and similar generic scheme://
|
|
670
|
+
* connection strings) into its scheme, credentials, one or more hosts
|
|
671
|
+
* (mongodb-style comma-separated host lists included), database/path, and
|
|
672
|
+
* query parameters. This is a pure, offline parse: it never attempts to
|
|
673
|
+
* connect, resolve DNS, or validate that the driver/scheme combination is
|
|
674
|
+
* real.
|
|
675
|
+
*/
|
|
676
|
+
declare function parseConnectionString(input: string): ConnectionStringResult | {
|
|
677
|
+
error: string;
|
|
678
|
+
};
|
|
679
|
+
type FenceTagIssueType = 'missing' | 'unknown' | 'inconsistent-case';
|
|
680
|
+
interface FenceTagIssue {
|
|
681
|
+
line: number;
|
|
682
|
+
tag: string;
|
|
683
|
+
issue: FenceTagIssueType;
|
|
684
|
+
suggestion?: string;
|
|
685
|
+
}
|
|
686
|
+
interface FenceValidationResult {
|
|
687
|
+
totalFences: number;
|
|
688
|
+
issues: FenceTagIssue[];
|
|
689
|
+
}
|
|
690
|
+
declare const KNOWN_LANGUAGE_TAGS: Set<string>;
|
|
691
|
+
/**
|
|
692
|
+
* Scans a Markdown document's fenced code blocks and flags ones with a
|
|
693
|
+
* missing, unknown, or inconsistently-cased language tag (compared against
|
|
694
|
+
* a curated list of common syntax-highlighter language identifiers).
|
|
695
|
+
*/
|
|
696
|
+
declare function validateFenceLanguageTags(markdown: string): FenceValidationResult;
|
|
697
|
+
type PlaceholderStyle = 'anonymous' | 'numbered' | 'named-colon' | 'named-at';
|
|
698
|
+
interface SqlPlaceholder {
|
|
699
|
+
style: PlaceholderStyle;
|
|
700
|
+
raw: string;
|
|
701
|
+
index: number;
|
|
702
|
+
name?: string;
|
|
703
|
+
number?: number;
|
|
704
|
+
}
|
|
705
|
+
interface SqlPlaceholderResult {
|
|
706
|
+
placeholders: SqlPlaceholder[];
|
|
707
|
+
counts: Record<PlaceholderStyle, number>;
|
|
708
|
+
stylesUsed: PlaceholderStyle[];
|
|
709
|
+
mixedStyles: boolean;
|
|
710
|
+
numberedGaps: number[];
|
|
711
|
+
numberedDuplicates: number[];
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* Scans a SQL query string for positional (`?`, `$1`) and named (`:name`,
|
|
715
|
+
* `@name`) parameter placeholders, skipping over single/double-quoted
|
|
716
|
+
* string literals and line/block comments so a placeholder-looking
|
|
717
|
+
* character inside either is never counted. Postgres dollar-quoted string
|
|
718
|
+
* bodies (`$$...$$`) are not specially recognized.
|
|
719
|
+
*/
|
|
720
|
+
declare function countSqlPlaceholders(sql: string): SqlPlaceholderResult;
|
|
652
721
|
|
|
653
722
|
declare const code_ALL_FLAGS: typeof ALL_FLAGS;
|
|
654
723
|
type code_ApiEndpoint = ApiEndpoint;
|
|
@@ -659,6 +728,8 @@ declare const code_CHEATSHEET: typeof CHEATSHEET;
|
|
|
659
728
|
type code_CheatsheetEntry = CheatsheetEntry;
|
|
660
729
|
type code_CommitTrailer = CommitTrailer;
|
|
661
730
|
type code_CommitTrailerResult = CommitTrailerResult;
|
|
731
|
+
type code_ConnectionStringHost = ConnectionStringHost;
|
|
732
|
+
type code_ConnectionStringResult = ConnectionStringResult;
|
|
662
733
|
type code_ConventionalCommitFinding = ConventionalCommitFinding;
|
|
663
734
|
type code_ConventionalCommitFooter = ConventionalCommitFooter;
|
|
664
735
|
type code_ConventionalCommitOptions = ConventionalCommitOptions;
|
|
@@ -683,6 +754,9 @@ type code_EnvParseResult = EnvParseResult;
|
|
|
683
754
|
type code_ExportsIssue = ExportsIssue;
|
|
684
755
|
type code_ExportsShape = ExportsShape;
|
|
685
756
|
type code_ExportsValidationResult = ExportsValidationResult;
|
|
757
|
+
type code_FenceTagIssue = FenceTagIssue;
|
|
758
|
+
type code_FenceTagIssueType = FenceTagIssueType;
|
|
759
|
+
type code_FenceValidationResult = FenceValidationResult;
|
|
686
760
|
type code_GitCommandConfig = GitCommandConfig;
|
|
687
761
|
type code_GitCommandResult = GitCommandResult;
|
|
688
762
|
type code_GitOperation = GitOperation;
|
|
@@ -695,6 +769,7 @@ type code_HtmlMinifyOptions = HtmlMinifyOptions;
|
|
|
695
769
|
type code_HtmlMinifyResult = HtmlMinifyResult;
|
|
696
770
|
type code_JsMinifyOptions = JsMinifyOptions;
|
|
697
771
|
type code_JsMinifyResult = JsMinifyResult;
|
|
772
|
+
declare const code_KNOWN_LANGUAGE_TAGS: typeof KNOWN_LANGUAGE_TAGS;
|
|
698
773
|
declare const code_MIME_TABLE: typeof MIME_TABLE;
|
|
699
774
|
type code_MarkdownFootnoteDefinition = MarkdownFootnoteDefinition;
|
|
700
775
|
type code_MarkdownFootnoteReference = MarkdownFootnoteReference;
|
|
@@ -704,6 +779,7 @@ type code_MimeEntry = MimeEntry;
|
|
|
704
779
|
type code_MimeLookupResult = MimeLookupResult;
|
|
705
780
|
declare const code_OPERATIONS: typeof OPERATIONS;
|
|
706
781
|
type code_ParsedSpec = ParsedSpec;
|
|
782
|
+
type code_PlaceholderStyle = PlaceholderStyle;
|
|
707
783
|
type code_RedosFinding = RedosFinding;
|
|
708
784
|
type code_RedosResult = RedosResult;
|
|
709
785
|
type code_RedosSeverity = RedosSeverity;
|
|
@@ -721,6 +797,8 @@ type code_Segment = Segment;
|
|
|
721
797
|
type code_SpecVersion = SpecVersion;
|
|
722
798
|
type code_SqlDialect = SqlDialect;
|
|
723
799
|
type code_SqlFormatOptions = SqlFormatOptions;
|
|
800
|
+
type code_SqlPlaceholder = SqlPlaceholder;
|
|
801
|
+
type code_SqlPlaceholderResult = SqlPlaceholderResult;
|
|
724
802
|
type code_SvgSpriteResult = SvgSpriteResult;
|
|
725
803
|
type code_SvgSpriteSymbol = SvgSpriteSymbol;
|
|
726
804
|
type code_TestPatternResult = TestPatternResult;
|
|
@@ -735,6 +813,7 @@ declare const code_collapseHtmlWhitespace: typeof collapseHtmlWhitespace;
|
|
|
735
813
|
declare const code_collapseJsWhitespace: typeof collapseJsWhitespace;
|
|
736
814
|
declare const code_countProperties: typeof countProperties;
|
|
737
815
|
declare const code_countRules: typeof countRules;
|
|
816
|
+
declare const code_countSqlPlaceholders: typeof countSqlPlaceholders;
|
|
738
817
|
declare const code_detectDialect: typeof detectDialect;
|
|
739
818
|
declare const code_detectOperationType: typeof detectOperationType;
|
|
740
819
|
declare const code_detectRedos: typeof detectRedos;
|
|
@@ -760,6 +839,7 @@ declare const code_minifyJs: typeof minifyJs;
|
|
|
760
839
|
declare const code_minifySql: typeof minifySql;
|
|
761
840
|
declare const code_normalizeRef: typeof normalizeRef;
|
|
762
841
|
declare const code_parseCommitTrailers: typeof parseCommitTrailers;
|
|
842
|
+
declare const code_parseConnectionString: typeof parseConnectionString;
|
|
763
843
|
declare const code_parseDockerImage: typeof parseDockerImage;
|
|
764
844
|
declare const code_parseEnv: typeof parseEnv;
|
|
765
845
|
declare const code_parseGitCommand: typeof parseGitCommand;
|
|
@@ -779,10 +859,11 @@ declare const code_testRegex: typeof testRegex;
|
|
|
779
859
|
declare const code_validateAria: typeof validateAria;
|
|
780
860
|
declare const code_validateEditorConfig: typeof validateEditorConfig;
|
|
781
861
|
declare const code_validateEnvKey: typeof validateEnvKey;
|
|
862
|
+
declare const code_validateFenceLanguageTags: typeof validateFenceLanguageTags;
|
|
782
863
|
declare const code_validatePackageExports: typeof validatePackageExports;
|
|
783
864
|
declare const code_validateTsconfig: typeof validateTsconfig;
|
|
784
865
|
declare namespace code {
|
|
785
|
-
export { code_ALL_FLAGS as ALL_FLAGS, type code_ApiEndpoint as ApiEndpoint, type code_ApiInfo as ApiInfo, type code_AriaIssue as AriaIssue, type code_AriaValidationResult as AriaValidationResult, code_CHEATSHEET as CHEATSHEET, type code_CheatsheetEntry as CheatsheetEntry, type code_CommitTrailer as CommitTrailer, type code_CommitTrailerResult as CommitTrailerResult, type code_ConventionalCommitFinding as ConventionalCommitFinding, type code_ConventionalCommitFooter as ConventionalCommitFooter, type code_ConventionalCommitOptions as ConventionalCommitOptions, type code_ConventionalCommitParsed as ConventionalCommitParsed, type code_ConventionalCommitResult as ConventionalCommitResult, type code_ConventionalCommitSeverity as ConventionalCommitSeverity, type code_CssResult as CssResult, code_DEFAULT_COMMIT_TYPES as DEFAULT_COMMIT_TYPES, type code_DependencyAuditDuplicate as DependencyAuditDuplicate, type code_DependencyAuditEntry as DependencyAuditEntry, type code_DependencyAuditIssue as DependencyAuditIssue, type code_DependencyAuditResult as DependencyAuditResult, type code_DependencyRangeType as DependencyRangeType, type code_DependencySection as DependencySection, type code_DockerImageRef as DockerImageRef, type code_EditorConfigIssue as EditorConfigIssue, type code_EditorConfigProperty as EditorConfigProperty, type code_EditorConfigSection as EditorConfigSection, type code_EditorConfigValidationResult as EditorConfigValidationResult, type code_EnvEntry as EnvEntry, type code_EnvParseResult as EnvParseResult, type code_ExportsIssue as ExportsIssue, type code_ExportsShape as ExportsShape, type code_ExportsValidationResult as ExportsValidationResult, type code_GitCommandConfig as GitCommandConfig, type code_GitCommandResult as GitCommandResult, type code_GitOperation as GitOperation, type code_GithubUrlInfo as GithubUrlInfo, type code_GithubUrlType as GithubUrlType, type code_GitignoreTestResult as GitignoreTestResult, type code_GqlFormatResult as GqlFormatResult, type code_HtmlFormatResult as HtmlFormatResult, type code_HtmlMinifyOptions as HtmlMinifyOptions, type code_HtmlMinifyResult as HtmlMinifyResult, type code_JsMinifyOptions as JsMinifyOptions, type code_JsMinifyResult as JsMinifyResult, code_MIME_TABLE as MIME_TABLE, type code_MarkdownFootnoteDefinition as MarkdownFootnoteDefinition, type code_MarkdownFootnoteReference as MarkdownFootnoteReference, type code_MarkdownFootnoteResult as MarkdownFootnoteResult, type code_MatchResult as MatchResult, type code_MimeEntry as MimeEntry, type code_MimeLookupResult as MimeLookupResult, code_OPERATIONS as OPERATIONS, type code_ParsedSpec as ParsedSpec, type code_RedosFinding as RedosFinding, type code_RedosResult as RedosResult, type code_RedosSeverity as RedosSeverity, type code_RegexBackreferenceInfo as RegexBackreferenceInfo, type code_RegexError as RegexError, type code_RegexFlag as RegexFlag, type code_RegexGroupAnalysis as RegexGroupAnalysis, type code_RegexGroupInfo as RegexGroupInfo, type code_RegexGroupIssue as RegexGroupIssue, type code_RegexMatch as RegexMatch, type code_RegexResult as RegexResult, type code_RegexSuccess as RegexSuccess, code_SQL_DEFAULT_OPTIONS as SQL_DEFAULT_OPTIONS, type code_Segment as Segment, type code_SpecVersion as SpecVersion, type code_SqlDialect as SqlDialect, type code_SqlFormatOptions as SqlFormatOptions, type code_SvgSpriteResult as SvgSpriteResult, type code_SvgSpriteSymbol as SvgSpriteSymbol, type code_TestPatternResult as TestPatternResult, type code_TsconfigIssue as TsconfigIssue, type code_TsconfigValidationResult as TsconfigValidationResult, code_analyzeRegexGroups as analyzeRegexGroups, code_auditDependencyRanges as auditDependencyRanges, code_buildDockerPull as buildDockerPull, code_buildDockerRun as buildDockerRun, code_buildGitCommand as buildGitCommand, code_collapseHtmlWhitespace as collapseHtmlWhitespace, code_collapseJsWhitespace as collapseJsWhitespace, code_countProperties as countProperties, code_countRules as countRules, code_detectDialect as detectDialect, code_detectOperationType as detectOperationType, code_detectRedos as detectRedos, code_envToExport as envToExport, code_envToJson as envToJson, code_extractMarkdownFootnotes as extractMarkdownFootnotes, code_extractSvgSpriteSymbols as extractSvgSpriteSymbols, code_formatCss as formatCss, code_formatGql as formatGql, code_formatHtml as formatHtml, code_formatSql as formatSql, code_getEndpointsByTag as getEndpointsByTag, code_getHtmlStats as getHtmlStats, code_getJsStats as getJsStats, code_getMethodColor as getMethodColor, code_isValidTag as isValidTag, code_lintConventionalCommit as lintConventionalCommit, code_lookupMime as lookupMime, code_minifyCss as minifyCss, code_minifyGql as minifyGql, code_minifyHtml as minifyHtml, code_minifyJs as minifyJs, code_minifySql as minifySql, code_normalizeRef as normalizeRef, code_parseCommitTrailers as parseCommitTrailers, code_parseDockerImage as parseDockerImage, code_parseEnv as parseEnv, code_parseGitCommand as parseGitCommand, code_parseGithubUrl as parseGithubUrl, code_parseSpec as parseSpec, code_removeConsoleCalls as removeConsoleCalls, code_removeEmptyAttributes as removeEmptyAttributes, code_removeHtmlComments as removeHtmlComments, code_removeJsComments as removeJsComments, code_removeRedundantAttributes as removeRedundantAttributes, code_searchCheatsheet as searchCheatsheet, code_searchEndpoints as searchEndpoints, code_splitStatements as splitStatements, code_testGitignorePatterns as testGitignorePatterns, code_testPattern as testPattern, code_testRegex as testRegex, code_validateAria as validateAria, code_validateEditorConfig as validateEditorConfig, code_validateEnvKey as validateEnvKey, code_validatePackageExports as validatePackageExports, code_validateTsconfig as validateTsconfig };
|
|
866
|
+
export { code_ALL_FLAGS as ALL_FLAGS, type code_ApiEndpoint as ApiEndpoint, type code_ApiInfo as ApiInfo, type code_AriaIssue as AriaIssue, type code_AriaValidationResult as AriaValidationResult, code_CHEATSHEET as CHEATSHEET, type code_CheatsheetEntry as CheatsheetEntry, type code_CommitTrailer as CommitTrailer, type code_CommitTrailerResult as CommitTrailerResult, type code_ConnectionStringHost as ConnectionStringHost, type code_ConnectionStringResult as ConnectionStringResult, type code_ConventionalCommitFinding as ConventionalCommitFinding, type code_ConventionalCommitFooter as ConventionalCommitFooter, type code_ConventionalCommitOptions as ConventionalCommitOptions, type code_ConventionalCommitParsed as ConventionalCommitParsed, type code_ConventionalCommitResult as ConventionalCommitResult, type code_ConventionalCommitSeverity as ConventionalCommitSeverity, type code_CssResult as CssResult, code_DEFAULT_COMMIT_TYPES as DEFAULT_COMMIT_TYPES, type code_DependencyAuditDuplicate as DependencyAuditDuplicate, type code_DependencyAuditEntry as DependencyAuditEntry, type code_DependencyAuditIssue as DependencyAuditIssue, type code_DependencyAuditResult as DependencyAuditResult, type code_DependencyRangeType as DependencyRangeType, type code_DependencySection as DependencySection, type code_DockerImageRef as DockerImageRef, type code_EditorConfigIssue as EditorConfigIssue, type code_EditorConfigProperty as EditorConfigProperty, type code_EditorConfigSection as EditorConfigSection, type code_EditorConfigValidationResult as EditorConfigValidationResult, type code_EnvEntry as EnvEntry, type code_EnvParseResult as EnvParseResult, type code_ExportsIssue as ExportsIssue, type code_ExportsShape as ExportsShape, type code_ExportsValidationResult as ExportsValidationResult, type code_FenceTagIssue as FenceTagIssue, type code_FenceTagIssueType as FenceTagIssueType, type code_FenceValidationResult as FenceValidationResult, type code_GitCommandConfig as GitCommandConfig, type code_GitCommandResult as GitCommandResult, type code_GitOperation as GitOperation, type code_GithubUrlInfo as GithubUrlInfo, type code_GithubUrlType as GithubUrlType, type code_GitignoreTestResult as GitignoreTestResult, type code_GqlFormatResult as GqlFormatResult, type code_HtmlFormatResult as HtmlFormatResult, type code_HtmlMinifyOptions as HtmlMinifyOptions, type code_HtmlMinifyResult as HtmlMinifyResult, type code_JsMinifyOptions as JsMinifyOptions, type code_JsMinifyResult as JsMinifyResult, code_KNOWN_LANGUAGE_TAGS as KNOWN_LANGUAGE_TAGS, code_MIME_TABLE as MIME_TABLE, type code_MarkdownFootnoteDefinition as MarkdownFootnoteDefinition, type code_MarkdownFootnoteReference as MarkdownFootnoteReference, type code_MarkdownFootnoteResult as MarkdownFootnoteResult, type code_MatchResult as MatchResult, type code_MimeEntry as MimeEntry, type code_MimeLookupResult as MimeLookupResult, code_OPERATIONS as OPERATIONS, type code_ParsedSpec as ParsedSpec, type code_PlaceholderStyle as PlaceholderStyle, type code_RedosFinding as RedosFinding, type code_RedosResult as RedosResult, type code_RedosSeverity as RedosSeverity, type code_RegexBackreferenceInfo as RegexBackreferenceInfo, type code_RegexError as RegexError, type code_RegexFlag as RegexFlag, type code_RegexGroupAnalysis as RegexGroupAnalysis, type code_RegexGroupInfo as RegexGroupInfo, type code_RegexGroupIssue as RegexGroupIssue, type code_RegexMatch as RegexMatch, type code_RegexResult as RegexResult, type code_RegexSuccess as RegexSuccess, code_SQL_DEFAULT_OPTIONS as SQL_DEFAULT_OPTIONS, type code_Segment as Segment, type code_SpecVersion as SpecVersion, type code_SqlDialect as SqlDialect, type code_SqlFormatOptions as SqlFormatOptions, type code_SqlPlaceholder as SqlPlaceholder, type code_SqlPlaceholderResult as SqlPlaceholderResult, type code_SvgSpriteResult as SvgSpriteResult, type code_SvgSpriteSymbol as SvgSpriteSymbol, type code_TestPatternResult as TestPatternResult, type code_TsconfigIssue as TsconfigIssue, type code_TsconfigValidationResult as TsconfigValidationResult, code_analyzeRegexGroups as analyzeRegexGroups, code_auditDependencyRanges as auditDependencyRanges, code_buildDockerPull as buildDockerPull, code_buildDockerRun as buildDockerRun, code_buildGitCommand as buildGitCommand, code_collapseHtmlWhitespace as collapseHtmlWhitespace, code_collapseJsWhitespace as collapseJsWhitespace, code_countProperties as countProperties, code_countRules as countRules, code_countSqlPlaceholders as countSqlPlaceholders, code_detectDialect as detectDialect, code_detectOperationType as detectOperationType, code_detectRedos as detectRedos, code_envToExport as envToExport, code_envToJson as envToJson, code_extractMarkdownFootnotes as extractMarkdownFootnotes, code_extractSvgSpriteSymbols as extractSvgSpriteSymbols, code_formatCss as formatCss, code_formatGql as formatGql, code_formatHtml as formatHtml, code_formatSql as formatSql, code_getEndpointsByTag as getEndpointsByTag, code_getHtmlStats as getHtmlStats, code_getJsStats as getJsStats, code_getMethodColor as getMethodColor, code_isValidTag as isValidTag, code_lintConventionalCommit as lintConventionalCommit, code_lookupMime as lookupMime, code_minifyCss as minifyCss, code_minifyGql as minifyGql, code_minifyHtml as minifyHtml, code_minifyJs as minifyJs, code_minifySql as minifySql, code_normalizeRef as normalizeRef, code_parseCommitTrailers as parseCommitTrailers, code_parseConnectionString as parseConnectionString, code_parseDockerImage as parseDockerImage, code_parseEnv as parseEnv, code_parseGitCommand as parseGitCommand, code_parseGithubUrl as parseGithubUrl, code_parseSpec as parseSpec, code_removeConsoleCalls as removeConsoleCalls, code_removeEmptyAttributes as removeEmptyAttributes, code_removeHtmlComments as removeHtmlComments, code_removeJsComments as removeJsComments, code_removeRedundantAttributes as removeRedundantAttributes, code_searchCheatsheet as searchCheatsheet, code_searchEndpoints as searchEndpoints, code_splitStatements as splitStatements, code_testGitignorePatterns as testGitignorePatterns, code_testPattern as testPattern, code_testRegex as testRegex, code_validateAria as validateAria, code_validateEditorConfig as validateEditorConfig, code_validateEnvKey as validateEnvKey, code_validateFenceLanguageTags as validateFenceLanguageTags, code_validatePackageExports as validatePackageExports, code_validateTsconfig as validateTsconfig };
|
|
786
867
|
}
|
|
787
868
|
|
|
788
|
-
export {
|
|
869
|
+
export { type MarkdownFootnoteDefinition as $, ALL_FLAGS as A, type EditorConfigValidationResult as B, CHEATSHEET as C, DEFAULT_COMMIT_TYPES as D, type EditorConfigIssue as E, type EnvEntry as F, type EnvParseResult as G, type ExportsIssue as H, type ExportsShape as I, type ExportsValidationResult as J, type FenceTagIssue as K, type FenceTagIssueType as L, type FenceValidationResult as M, type GitCommandConfig as N, type GitCommandResult as O, type GitOperation as P, type GithubUrlInfo as Q, type GithubUrlType as R, type GitignoreTestResult as S, type GqlFormatResult as T, type HtmlFormatResult as U, type HtmlMinifyOptions as V, type HtmlMinifyResult as W, type JsMinifyOptions as X, type JsMinifyResult as Y, KNOWN_LANGUAGE_TAGS as Z, MIME_TABLE as _, type ApiEndpoint as a, minifyJs as a$, type MarkdownFootnoteReference as a0, type MarkdownFootnoteResult as a1, type MatchResult as a2, type MimeEntry as a3, type MimeLookupResult as a4, OPERATIONS as a5, type ParsedSpec as a6, type PlaceholderStyle as a7, type RedosFinding as a8, type RedosResult as a9, buildGitCommand as aA, collapseHtmlWhitespace as aB, collapseJsWhitespace as aC, countProperties as aD, countRules as aE, countSqlPlaceholders as aF, detectDialect as aG, detectOperationType as aH, detectRedos as aI, envToExport as aJ, envToJson as aK, extractMarkdownFootnotes as aL, extractSvgSpriteSymbols as aM, formatCss as aN, formatGql as aO, formatHtml as aP, formatSql as aQ, getEndpointsByTag as aR, getHtmlStats as aS, getJsStats as aT, getMethodColor as aU, isValidTag as aV, lintConventionalCommit as aW, lookupMime as aX, minifyCss as aY, minifyGql as aZ, minifyHtml as a_, type RedosSeverity as aa, type RegexBackreferenceInfo as ab, type RegexError as ac, type RegexFlag as ad, type RegexGroupAnalysis as ae, type RegexGroupInfo as af, type RegexGroupIssue as ag, type RegexMatch as ah, type RegexResult as ai, type RegexSuccess as aj, SQL_DEFAULT_OPTIONS as ak, type Segment as al, type SpecVersion as am, type SqlDialect as an, type SqlFormatOptions as ao, type SqlPlaceholder as ap, type SqlPlaceholderResult as aq, type SvgSpriteResult as ar, type SvgSpriteSymbol as as, type TestPatternResult as at, type TsconfigIssue as au, type TsconfigValidationResult as av, analyzeRegexGroups as aw, auditDependencyRanges as ax, buildDockerPull as ay, buildDockerRun as az, type ApiInfo as b, minifySql as b0, normalizeRef as b1, parseCommitTrailers as b2, parseConnectionString as b3, parseDockerImage as b4, parseEnv as b5, parseGitCommand as b6, parseGithubUrl as b7, parseSpec as b8, removeConsoleCalls as b9, removeEmptyAttributes as ba, removeHtmlComments as bb, removeJsComments as bc, removeRedundantAttributes as bd, searchCheatsheet as be, searchEndpoints as bf, splitStatements as bg, testGitignorePatterns as bh, testPattern as bi, testRegex as bj, validateAria as bk, validateEditorConfig as bl, validateEnvKey as bm, validateFenceLanguageTags as bn, validatePackageExports as bo, validateTsconfig as bp, code as c, type AriaIssue as d, type AriaValidationResult as e, type CheatsheetEntry as f, type CommitTrailer as g, type CommitTrailerResult as h, type ConnectionStringHost as i, type ConnectionStringResult as j, type ConventionalCommitFinding as k, type ConventionalCommitFooter as l, type ConventionalCommitOptions as m, type ConventionalCommitParsed as n, type ConventionalCommitResult as o, type ConventionalCommitSeverity as p, type CssResult as q, type DependencyAuditDuplicate as r, type DependencyAuditEntry as s, type DependencyAuditIssue as t, type DependencyAuditResult as u, type DependencyRangeType as v, type DependencySection as w, type DockerImageRef as x, type EditorConfigProperty as y, type EditorConfigSection as z };
|
|
@@ -31,6 +31,9 @@
|
|
|
31
31
|
* - git-commit-trailer-parser (parseCommitTrailers)
|
|
32
32
|
* - markdown-footnote-extractor (extractMarkdownFootnotes)
|
|
33
33
|
* - aria-validator (validateAria)
|
|
34
|
+
* - connection-string-parser (parseConnectionString)
|
|
35
|
+
* - markdown-fence-lang-validator (validateFenceLanguageTags, KNOWN_LANGUAGE_TAGS)
|
|
36
|
+
* - sql-placeholder-counter (countSqlPlaceholders)
|
|
34
37
|
*/
|
|
35
38
|
type RegexFlag = 'g' | 'i' | 'm' | 's' | 'u';
|
|
36
39
|
declare const ALL_FLAGS: RegexFlag[];
|
|
@@ -649,6 +652,72 @@ interface AriaValidationResult {
|
|
|
649
652
|
declare function validateAria(html: string): AriaValidationResult | {
|
|
650
653
|
error: string;
|
|
651
654
|
};
|
|
655
|
+
interface ConnectionStringHost {
|
|
656
|
+
host: string;
|
|
657
|
+
port: number | null;
|
|
658
|
+
}
|
|
659
|
+
interface ConnectionStringResult {
|
|
660
|
+
scheme: string;
|
|
661
|
+
user: string | null;
|
|
662
|
+
password: string | null;
|
|
663
|
+
hosts: ConnectionStringHost[];
|
|
664
|
+
database: string | null;
|
|
665
|
+
params: Record<string, string>;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* Parses a database connection URI (postgres://, mysql://, mongodb://,
|
|
669
|
+
* mongodb+srv://, redis://, amqp://, and similar generic scheme://
|
|
670
|
+
* connection strings) into its scheme, credentials, one or more hosts
|
|
671
|
+
* (mongodb-style comma-separated host lists included), database/path, and
|
|
672
|
+
* query parameters. This is a pure, offline parse: it never attempts to
|
|
673
|
+
* connect, resolve DNS, or validate that the driver/scheme combination is
|
|
674
|
+
* real.
|
|
675
|
+
*/
|
|
676
|
+
declare function parseConnectionString(input: string): ConnectionStringResult | {
|
|
677
|
+
error: string;
|
|
678
|
+
};
|
|
679
|
+
type FenceTagIssueType = 'missing' | 'unknown' | 'inconsistent-case';
|
|
680
|
+
interface FenceTagIssue {
|
|
681
|
+
line: number;
|
|
682
|
+
tag: string;
|
|
683
|
+
issue: FenceTagIssueType;
|
|
684
|
+
suggestion?: string;
|
|
685
|
+
}
|
|
686
|
+
interface FenceValidationResult {
|
|
687
|
+
totalFences: number;
|
|
688
|
+
issues: FenceTagIssue[];
|
|
689
|
+
}
|
|
690
|
+
declare const KNOWN_LANGUAGE_TAGS: Set<string>;
|
|
691
|
+
/**
|
|
692
|
+
* Scans a Markdown document's fenced code blocks and flags ones with a
|
|
693
|
+
* missing, unknown, or inconsistently-cased language tag (compared against
|
|
694
|
+
* a curated list of common syntax-highlighter language identifiers).
|
|
695
|
+
*/
|
|
696
|
+
declare function validateFenceLanguageTags(markdown: string): FenceValidationResult;
|
|
697
|
+
type PlaceholderStyle = 'anonymous' | 'numbered' | 'named-colon' | 'named-at';
|
|
698
|
+
interface SqlPlaceholder {
|
|
699
|
+
style: PlaceholderStyle;
|
|
700
|
+
raw: string;
|
|
701
|
+
index: number;
|
|
702
|
+
name?: string;
|
|
703
|
+
number?: number;
|
|
704
|
+
}
|
|
705
|
+
interface SqlPlaceholderResult {
|
|
706
|
+
placeholders: SqlPlaceholder[];
|
|
707
|
+
counts: Record<PlaceholderStyle, number>;
|
|
708
|
+
stylesUsed: PlaceholderStyle[];
|
|
709
|
+
mixedStyles: boolean;
|
|
710
|
+
numberedGaps: number[];
|
|
711
|
+
numberedDuplicates: number[];
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* Scans a SQL query string for positional (`?`, `$1`) and named (`:name`,
|
|
715
|
+
* `@name`) parameter placeholders, skipping over single/double-quoted
|
|
716
|
+
* string literals and line/block comments so a placeholder-looking
|
|
717
|
+
* character inside either is never counted. Postgres dollar-quoted string
|
|
718
|
+
* bodies (`$$...$$`) are not specially recognized.
|
|
719
|
+
*/
|
|
720
|
+
declare function countSqlPlaceholders(sql: string): SqlPlaceholderResult;
|
|
652
721
|
|
|
653
722
|
declare const code_ALL_FLAGS: typeof ALL_FLAGS;
|
|
654
723
|
type code_ApiEndpoint = ApiEndpoint;
|
|
@@ -659,6 +728,8 @@ declare const code_CHEATSHEET: typeof CHEATSHEET;
|
|
|
659
728
|
type code_CheatsheetEntry = CheatsheetEntry;
|
|
660
729
|
type code_CommitTrailer = CommitTrailer;
|
|
661
730
|
type code_CommitTrailerResult = CommitTrailerResult;
|
|
731
|
+
type code_ConnectionStringHost = ConnectionStringHost;
|
|
732
|
+
type code_ConnectionStringResult = ConnectionStringResult;
|
|
662
733
|
type code_ConventionalCommitFinding = ConventionalCommitFinding;
|
|
663
734
|
type code_ConventionalCommitFooter = ConventionalCommitFooter;
|
|
664
735
|
type code_ConventionalCommitOptions = ConventionalCommitOptions;
|
|
@@ -683,6 +754,9 @@ type code_EnvParseResult = EnvParseResult;
|
|
|
683
754
|
type code_ExportsIssue = ExportsIssue;
|
|
684
755
|
type code_ExportsShape = ExportsShape;
|
|
685
756
|
type code_ExportsValidationResult = ExportsValidationResult;
|
|
757
|
+
type code_FenceTagIssue = FenceTagIssue;
|
|
758
|
+
type code_FenceTagIssueType = FenceTagIssueType;
|
|
759
|
+
type code_FenceValidationResult = FenceValidationResult;
|
|
686
760
|
type code_GitCommandConfig = GitCommandConfig;
|
|
687
761
|
type code_GitCommandResult = GitCommandResult;
|
|
688
762
|
type code_GitOperation = GitOperation;
|
|
@@ -695,6 +769,7 @@ type code_HtmlMinifyOptions = HtmlMinifyOptions;
|
|
|
695
769
|
type code_HtmlMinifyResult = HtmlMinifyResult;
|
|
696
770
|
type code_JsMinifyOptions = JsMinifyOptions;
|
|
697
771
|
type code_JsMinifyResult = JsMinifyResult;
|
|
772
|
+
declare const code_KNOWN_LANGUAGE_TAGS: typeof KNOWN_LANGUAGE_TAGS;
|
|
698
773
|
declare const code_MIME_TABLE: typeof MIME_TABLE;
|
|
699
774
|
type code_MarkdownFootnoteDefinition = MarkdownFootnoteDefinition;
|
|
700
775
|
type code_MarkdownFootnoteReference = MarkdownFootnoteReference;
|
|
@@ -704,6 +779,7 @@ type code_MimeEntry = MimeEntry;
|
|
|
704
779
|
type code_MimeLookupResult = MimeLookupResult;
|
|
705
780
|
declare const code_OPERATIONS: typeof OPERATIONS;
|
|
706
781
|
type code_ParsedSpec = ParsedSpec;
|
|
782
|
+
type code_PlaceholderStyle = PlaceholderStyle;
|
|
707
783
|
type code_RedosFinding = RedosFinding;
|
|
708
784
|
type code_RedosResult = RedosResult;
|
|
709
785
|
type code_RedosSeverity = RedosSeverity;
|
|
@@ -721,6 +797,8 @@ type code_Segment = Segment;
|
|
|
721
797
|
type code_SpecVersion = SpecVersion;
|
|
722
798
|
type code_SqlDialect = SqlDialect;
|
|
723
799
|
type code_SqlFormatOptions = SqlFormatOptions;
|
|
800
|
+
type code_SqlPlaceholder = SqlPlaceholder;
|
|
801
|
+
type code_SqlPlaceholderResult = SqlPlaceholderResult;
|
|
724
802
|
type code_SvgSpriteResult = SvgSpriteResult;
|
|
725
803
|
type code_SvgSpriteSymbol = SvgSpriteSymbol;
|
|
726
804
|
type code_TestPatternResult = TestPatternResult;
|
|
@@ -735,6 +813,7 @@ declare const code_collapseHtmlWhitespace: typeof collapseHtmlWhitespace;
|
|
|
735
813
|
declare const code_collapseJsWhitespace: typeof collapseJsWhitespace;
|
|
736
814
|
declare const code_countProperties: typeof countProperties;
|
|
737
815
|
declare const code_countRules: typeof countRules;
|
|
816
|
+
declare const code_countSqlPlaceholders: typeof countSqlPlaceholders;
|
|
738
817
|
declare const code_detectDialect: typeof detectDialect;
|
|
739
818
|
declare const code_detectOperationType: typeof detectOperationType;
|
|
740
819
|
declare const code_detectRedos: typeof detectRedos;
|
|
@@ -760,6 +839,7 @@ declare const code_minifyJs: typeof minifyJs;
|
|
|
760
839
|
declare const code_minifySql: typeof minifySql;
|
|
761
840
|
declare const code_normalizeRef: typeof normalizeRef;
|
|
762
841
|
declare const code_parseCommitTrailers: typeof parseCommitTrailers;
|
|
842
|
+
declare const code_parseConnectionString: typeof parseConnectionString;
|
|
763
843
|
declare const code_parseDockerImage: typeof parseDockerImage;
|
|
764
844
|
declare const code_parseEnv: typeof parseEnv;
|
|
765
845
|
declare const code_parseGitCommand: typeof parseGitCommand;
|
|
@@ -779,10 +859,11 @@ declare const code_testRegex: typeof testRegex;
|
|
|
779
859
|
declare const code_validateAria: typeof validateAria;
|
|
780
860
|
declare const code_validateEditorConfig: typeof validateEditorConfig;
|
|
781
861
|
declare const code_validateEnvKey: typeof validateEnvKey;
|
|
862
|
+
declare const code_validateFenceLanguageTags: typeof validateFenceLanguageTags;
|
|
782
863
|
declare const code_validatePackageExports: typeof validatePackageExports;
|
|
783
864
|
declare const code_validateTsconfig: typeof validateTsconfig;
|
|
784
865
|
declare namespace code {
|
|
785
|
-
export { code_ALL_FLAGS as ALL_FLAGS, type code_ApiEndpoint as ApiEndpoint, type code_ApiInfo as ApiInfo, type code_AriaIssue as AriaIssue, type code_AriaValidationResult as AriaValidationResult, code_CHEATSHEET as CHEATSHEET, type code_CheatsheetEntry as CheatsheetEntry, type code_CommitTrailer as CommitTrailer, type code_CommitTrailerResult as CommitTrailerResult, type code_ConventionalCommitFinding as ConventionalCommitFinding, type code_ConventionalCommitFooter as ConventionalCommitFooter, type code_ConventionalCommitOptions as ConventionalCommitOptions, type code_ConventionalCommitParsed as ConventionalCommitParsed, type code_ConventionalCommitResult as ConventionalCommitResult, type code_ConventionalCommitSeverity as ConventionalCommitSeverity, type code_CssResult as CssResult, code_DEFAULT_COMMIT_TYPES as DEFAULT_COMMIT_TYPES, type code_DependencyAuditDuplicate as DependencyAuditDuplicate, type code_DependencyAuditEntry as DependencyAuditEntry, type code_DependencyAuditIssue as DependencyAuditIssue, type code_DependencyAuditResult as DependencyAuditResult, type code_DependencyRangeType as DependencyRangeType, type code_DependencySection as DependencySection, type code_DockerImageRef as DockerImageRef, type code_EditorConfigIssue as EditorConfigIssue, type code_EditorConfigProperty as EditorConfigProperty, type code_EditorConfigSection as EditorConfigSection, type code_EditorConfigValidationResult as EditorConfigValidationResult, type code_EnvEntry as EnvEntry, type code_EnvParseResult as EnvParseResult, type code_ExportsIssue as ExportsIssue, type code_ExportsShape as ExportsShape, type code_ExportsValidationResult as ExportsValidationResult, type code_GitCommandConfig as GitCommandConfig, type code_GitCommandResult as GitCommandResult, type code_GitOperation as GitOperation, type code_GithubUrlInfo as GithubUrlInfo, type code_GithubUrlType as GithubUrlType, type code_GitignoreTestResult as GitignoreTestResult, type code_GqlFormatResult as GqlFormatResult, type code_HtmlFormatResult as HtmlFormatResult, type code_HtmlMinifyOptions as HtmlMinifyOptions, type code_HtmlMinifyResult as HtmlMinifyResult, type code_JsMinifyOptions as JsMinifyOptions, type code_JsMinifyResult as JsMinifyResult, code_MIME_TABLE as MIME_TABLE, type code_MarkdownFootnoteDefinition as MarkdownFootnoteDefinition, type code_MarkdownFootnoteReference as MarkdownFootnoteReference, type code_MarkdownFootnoteResult as MarkdownFootnoteResult, type code_MatchResult as MatchResult, type code_MimeEntry as MimeEntry, type code_MimeLookupResult as MimeLookupResult, code_OPERATIONS as OPERATIONS, type code_ParsedSpec as ParsedSpec, type code_RedosFinding as RedosFinding, type code_RedosResult as RedosResult, type code_RedosSeverity as RedosSeverity, type code_RegexBackreferenceInfo as RegexBackreferenceInfo, type code_RegexError as RegexError, type code_RegexFlag as RegexFlag, type code_RegexGroupAnalysis as RegexGroupAnalysis, type code_RegexGroupInfo as RegexGroupInfo, type code_RegexGroupIssue as RegexGroupIssue, type code_RegexMatch as RegexMatch, type code_RegexResult as RegexResult, type code_RegexSuccess as RegexSuccess, code_SQL_DEFAULT_OPTIONS as SQL_DEFAULT_OPTIONS, type code_Segment as Segment, type code_SpecVersion as SpecVersion, type code_SqlDialect as SqlDialect, type code_SqlFormatOptions as SqlFormatOptions, type code_SvgSpriteResult as SvgSpriteResult, type code_SvgSpriteSymbol as SvgSpriteSymbol, type code_TestPatternResult as TestPatternResult, type code_TsconfigIssue as TsconfigIssue, type code_TsconfigValidationResult as TsconfigValidationResult, code_analyzeRegexGroups as analyzeRegexGroups, code_auditDependencyRanges as auditDependencyRanges, code_buildDockerPull as buildDockerPull, code_buildDockerRun as buildDockerRun, code_buildGitCommand as buildGitCommand, code_collapseHtmlWhitespace as collapseHtmlWhitespace, code_collapseJsWhitespace as collapseJsWhitespace, code_countProperties as countProperties, code_countRules as countRules, code_detectDialect as detectDialect, code_detectOperationType as detectOperationType, code_detectRedos as detectRedos, code_envToExport as envToExport, code_envToJson as envToJson, code_extractMarkdownFootnotes as extractMarkdownFootnotes, code_extractSvgSpriteSymbols as extractSvgSpriteSymbols, code_formatCss as formatCss, code_formatGql as formatGql, code_formatHtml as formatHtml, code_formatSql as formatSql, code_getEndpointsByTag as getEndpointsByTag, code_getHtmlStats as getHtmlStats, code_getJsStats as getJsStats, code_getMethodColor as getMethodColor, code_isValidTag as isValidTag, code_lintConventionalCommit as lintConventionalCommit, code_lookupMime as lookupMime, code_minifyCss as minifyCss, code_minifyGql as minifyGql, code_minifyHtml as minifyHtml, code_minifyJs as minifyJs, code_minifySql as minifySql, code_normalizeRef as normalizeRef, code_parseCommitTrailers as parseCommitTrailers, code_parseDockerImage as parseDockerImage, code_parseEnv as parseEnv, code_parseGitCommand as parseGitCommand, code_parseGithubUrl as parseGithubUrl, code_parseSpec as parseSpec, code_removeConsoleCalls as removeConsoleCalls, code_removeEmptyAttributes as removeEmptyAttributes, code_removeHtmlComments as removeHtmlComments, code_removeJsComments as removeJsComments, code_removeRedundantAttributes as removeRedundantAttributes, code_searchCheatsheet as searchCheatsheet, code_searchEndpoints as searchEndpoints, code_splitStatements as splitStatements, code_testGitignorePatterns as testGitignorePatterns, code_testPattern as testPattern, code_testRegex as testRegex, code_validateAria as validateAria, code_validateEditorConfig as validateEditorConfig, code_validateEnvKey as validateEnvKey, code_validatePackageExports as validatePackageExports, code_validateTsconfig as validateTsconfig };
|
|
866
|
+
export { code_ALL_FLAGS as ALL_FLAGS, type code_ApiEndpoint as ApiEndpoint, type code_ApiInfo as ApiInfo, type code_AriaIssue as AriaIssue, type code_AriaValidationResult as AriaValidationResult, code_CHEATSHEET as CHEATSHEET, type code_CheatsheetEntry as CheatsheetEntry, type code_CommitTrailer as CommitTrailer, type code_CommitTrailerResult as CommitTrailerResult, type code_ConnectionStringHost as ConnectionStringHost, type code_ConnectionStringResult as ConnectionStringResult, type code_ConventionalCommitFinding as ConventionalCommitFinding, type code_ConventionalCommitFooter as ConventionalCommitFooter, type code_ConventionalCommitOptions as ConventionalCommitOptions, type code_ConventionalCommitParsed as ConventionalCommitParsed, type code_ConventionalCommitResult as ConventionalCommitResult, type code_ConventionalCommitSeverity as ConventionalCommitSeverity, type code_CssResult as CssResult, code_DEFAULT_COMMIT_TYPES as DEFAULT_COMMIT_TYPES, type code_DependencyAuditDuplicate as DependencyAuditDuplicate, type code_DependencyAuditEntry as DependencyAuditEntry, type code_DependencyAuditIssue as DependencyAuditIssue, type code_DependencyAuditResult as DependencyAuditResult, type code_DependencyRangeType as DependencyRangeType, type code_DependencySection as DependencySection, type code_DockerImageRef as DockerImageRef, type code_EditorConfigIssue as EditorConfigIssue, type code_EditorConfigProperty as EditorConfigProperty, type code_EditorConfigSection as EditorConfigSection, type code_EditorConfigValidationResult as EditorConfigValidationResult, type code_EnvEntry as EnvEntry, type code_EnvParseResult as EnvParseResult, type code_ExportsIssue as ExportsIssue, type code_ExportsShape as ExportsShape, type code_ExportsValidationResult as ExportsValidationResult, type code_FenceTagIssue as FenceTagIssue, type code_FenceTagIssueType as FenceTagIssueType, type code_FenceValidationResult as FenceValidationResult, type code_GitCommandConfig as GitCommandConfig, type code_GitCommandResult as GitCommandResult, type code_GitOperation as GitOperation, type code_GithubUrlInfo as GithubUrlInfo, type code_GithubUrlType as GithubUrlType, type code_GitignoreTestResult as GitignoreTestResult, type code_GqlFormatResult as GqlFormatResult, type code_HtmlFormatResult as HtmlFormatResult, type code_HtmlMinifyOptions as HtmlMinifyOptions, type code_HtmlMinifyResult as HtmlMinifyResult, type code_JsMinifyOptions as JsMinifyOptions, type code_JsMinifyResult as JsMinifyResult, code_KNOWN_LANGUAGE_TAGS as KNOWN_LANGUAGE_TAGS, code_MIME_TABLE as MIME_TABLE, type code_MarkdownFootnoteDefinition as MarkdownFootnoteDefinition, type code_MarkdownFootnoteReference as MarkdownFootnoteReference, type code_MarkdownFootnoteResult as MarkdownFootnoteResult, type code_MatchResult as MatchResult, type code_MimeEntry as MimeEntry, type code_MimeLookupResult as MimeLookupResult, code_OPERATIONS as OPERATIONS, type code_ParsedSpec as ParsedSpec, type code_PlaceholderStyle as PlaceholderStyle, type code_RedosFinding as RedosFinding, type code_RedosResult as RedosResult, type code_RedosSeverity as RedosSeverity, type code_RegexBackreferenceInfo as RegexBackreferenceInfo, type code_RegexError as RegexError, type code_RegexFlag as RegexFlag, type code_RegexGroupAnalysis as RegexGroupAnalysis, type code_RegexGroupInfo as RegexGroupInfo, type code_RegexGroupIssue as RegexGroupIssue, type code_RegexMatch as RegexMatch, type code_RegexResult as RegexResult, type code_RegexSuccess as RegexSuccess, code_SQL_DEFAULT_OPTIONS as SQL_DEFAULT_OPTIONS, type code_Segment as Segment, type code_SpecVersion as SpecVersion, type code_SqlDialect as SqlDialect, type code_SqlFormatOptions as SqlFormatOptions, type code_SqlPlaceholder as SqlPlaceholder, type code_SqlPlaceholderResult as SqlPlaceholderResult, type code_SvgSpriteResult as SvgSpriteResult, type code_SvgSpriteSymbol as SvgSpriteSymbol, type code_TestPatternResult as TestPatternResult, type code_TsconfigIssue as TsconfigIssue, type code_TsconfigValidationResult as TsconfigValidationResult, code_analyzeRegexGroups as analyzeRegexGroups, code_auditDependencyRanges as auditDependencyRanges, code_buildDockerPull as buildDockerPull, code_buildDockerRun as buildDockerRun, code_buildGitCommand as buildGitCommand, code_collapseHtmlWhitespace as collapseHtmlWhitespace, code_collapseJsWhitespace as collapseJsWhitespace, code_countProperties as countProperties, code_countRules as countRules, code_countSqlPlaceholders as countSqlPlaceholders, code_detectDialect as detectDialect, code_detectOperationType as detectOperationType, code_detectRedos as detectRedos, code_envToExport as envToExport, code_envToJson as envToJson, code_extractMarkdownFootnotes as extractMarkdownFootnotes, code_extractSvgSpriteSymbols as extractSvgSpriteSymbols, code_formatCss as formatCss, code_formatGql as formatGql, code_formatHtml as formatHtml, code_formatSql as formatSql, code_getEndpointsByTag as getEndpointsByTag, code_getHtmlStats as getHtmlStats, code_getJsStats as getJsStats, code_getMethodColor as getMethodColor, code_isValidTag as isValidTag, code_lintConventionalCommit as lintConventionalCommit, code_lookupMime as lookupMime, code_minifyCss as minifyCss, code_minifyGql as minifyGql, code_minifyHtml as minifyHtml, code_minifyJs as minifyJs, code_minifySql as minifySql, code_normalizeRef as normalizeRef, code_parseCommitTrailers as parseCommitTrailers, code_parseConnectionString as parseConnectionString, code_parseDockerImage as parseDockerImage, code_parseEnv as parseEnv, code_parseGitCommand as parseGitCommand, code_parseGithubUrl as parseGithubUrl, code_parseSpec as parseSpec, code_removeConsoleCalls as removeConsoleCalls, code_removeEmptyAttributes as removeEmptyAttributes, code_removeHtmlComments as removeHtmlComments, code_removeJsComments as removeJsComments, code_removeRedundantAttributes as removeRedundantAttributes, code_searchCheatsheet as searchCheatsheet, code_searchEndpoints as searchEndpoints, code_splitStatements as splitStatements, code_testGitignorePatterns as testGitignorePatterns, code_testPattern as testPattern, code_testRegex as testRegex, code_validateAria as validateAria, code_validateEditorConfig as validateEditorConfig, code_validateEnvKey as validateEnvKey, code_validateFenceLanguageTags as validateFenceLanguageTags, code_validatePackageExports as validatePackageExports, code_validateTsconfig as validateTsconfig };
|
|
786
867
|
}
|
|
787
868
|
|
|
788
|
-
export {
|
|
869
|
+
export { type MarkdownFootnoteDefinition as $, ALL_FLAGS as A, type EditorConfigValidationResult as B, CHEATSHEET as C, DEFAULT_COMMIT_TYPES as D, type EditorConfigIssue as E, type EnvEntry as F, type EnvParseResult as G, type ExportsIssue as H, type ExportsShape as I, type ExportsValidationResult as J, type FenceTagIssue as K, type FenceTagIssueType as L, type FenceValidationResult as M, type GitCommandConfig as N, type GitCommandResult as O, type GitOperation as P, type GithubUrlInfo as Q, type GithubUrlType as R, type GitignoreTestResult as S, type GqlFormatResult as T, type HtmlFormatResult as U, type HtmlMinifyOptions as V, type HtmlMinifyResult as W, type JsMinifyOptions as X, type JsMinifyResult as Y, KNOWN_LANGUAGE_TAGS as Z, MIME_TABLE as _, type ApiEndpoint as a, minifyJs as a$, type MarkdownFootnoteReference as a0, type MarkdownFootnoteResult as a1, type MatchResult as a2, type MimeEntry as a3, type MimeLookupResult as a4, OPERATIONS as a5, type ParsedSpec as a6, type PlaceholderStyle as a7, type RedosFinding as a8, type RedosResult as a9, buildGitCommand as aA, collapseHtmlWhitespace as aB, collapseJsWhitespace as aC, countProperties as aD, countRules as aE, countSqlPlaceholders as aF, detectDialect as aG, detectOperationType as aH, detectRedos as aI, envToExport as aJ, envToJson as aK, extractMarkdownFootnotes as aL, extractSvgSpriteSymbols as aM, formatCss as aN, formatGql as aO, formatHtml as aP, formatSql as aQ, getEndpointsByTag as aR, getHtmlStats as aS, getJsStats as aT, getMethodColor as aU, isValidTag as aV, lintConventionalCommit as aW, lookupMime as aX, minifyCss as aY, minifyGql as aZ, minifyHtml as a_, type RedosSeverity as aa, type RegexBackreferenceInfo as ab, type RegexError as ac, type RegexFlag as ad, type RegexGroupAnalysis as ae, type RegexGroupInfo as af, type RegexGroupIssue as ag, type RegexMatch as ah, type RegexResult as ai, type RegexSuccess as aj, SQL_DEFAULT_OPTIONS as ak, type Segment as al, type SpecVersion as am, type SqlDialect as an, type SqlFormatOptions as ao, type SqlPlaceholder as ap, type SqlPlaceholderResult as aq, type SvgSpriteResult as ar, type SvgSpriteSymbol as as, type TestPatternResult as at, type TsconfigIssue as au, type TsconfigValidationResult as av, analyzeRegexGroups as aw, auditDependencyRanges as ax, buildDockerPull as ay, buildDockerRun as az, type ApiInfo as b, minifySql as b0, normalizeRef as b1, parseCommitTrailers as b2, parseConnectionString as b3, parseDockerImage as b4, parseEnv as b5, parseGitCommand as b6, parseGithubUrl as b7, parseSpec as b8, removeConsoleCalls as b9, removeEmptyAttributes as ba, removeHtmlComments as bb, removeJsComments as bc, removeRedundantAttributes as bd, searchCheatsheet as be, searchEndpoints as bf, splitStatements as bg, testGitignorePatterns as bh, testPattern as bi, testRegex as bj, validateAria as bk, validateEditorConfig as bl, validateEnvKey as bm, validateFenceLanguageTags as bn, validatePackageExports as bo, validateTsconfig as bp, code as c, type AriaIssue as d, type AriaValidationResult as e, type CheatsheetEntry as f, type CommitTrailer as g, type CommitTrailerResult as h, type ConnectionStringHost as i, type ConnectionStringResult as j, type ConventionalCommitFinding as k, type ConventionalCommitFooter as l, type ConventionalCommitOptions as m, type ConventionalCommitParsed as n, type ConventionalCommitResult as o, type ConventionalCommitSeverity as p, type CssResult as q, type DependencyAuditDuplicate as r, type DependencyAuditEntry as s, type DependencyAuditIssue as t, type DependencyAuditResult as u, type DependencyRangeType as v, type DependencySection as w, type DockerImageRef as x, type EditorConfigProperty as y, type EditorConfigSection as z };
|