@jasonbelmonti/markdown-engine 3.4.0 → 3.6.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 +22 -0
- package/README.md +10 -10
- package/dist/declarative-validation/assertions/frontmatter-shape.js +45 -5
- package/dist/declarative-validation/assertions/frontmatter-shape.js.map +1 -1
- package/dist/declarative-validation/assertions/id-targets.d.ts +2 -0
- package/dist/declarative-validation/assertions/id-targets.d.ts.map +1 -1
- package/dist/declarative-validation/assertions/id-targets.js.map +1 -1
- package/dist/declarative-validation/assertions/table-column-coverage.d.ts.map +1 -1
- package/dist/declarative-validation/assertions/table-column-coverage.js +8 -10
- package/dist/declarative-validation/assertions/table-column-coverage.js.map +1 -1
- package/dist/declarative-validation/assertions/text.d.ts.map +1 -1
- package/dist/declarative-validation/assertions/text.js +5 -0
- package/dist/declarative-validation/assertions/text.js.map +1 -1
- package/dist/declarative-validation/assertions/visible-text.d.ts +5 -0
- package/dist/declarative-validation/assertions/visible-text.d.ts.map +1 -0
- package/dist/declarative-validation/assertions/visible-text.js +42 -0
- package/dist/declarative-validation/assertions/visible-text.js.map +1 -0
- package/dist/declarative-validation/compiler/assertion-builders.js +11 -2
- package/dist/declarative-validation/compiler/assertion-builders.js.map +1 -1
- package/dist/declarative-validation/compiler/assertion-shapes.d.ts.map +1 -1
- package/dist/declarative-validation/compiler/assertion-shapes.js +20 -4
- package/dist/declarative-validation/compiler/assertion-shapes.js.map +1 -1
- package/dist/declarative-validation/compiler/plan.d.ts +4 -1
- package/dist/declarative-validation/compiler/plan.d.ts.map +1 -1
- package/dist/declarative-validation/profile/assertion-schema.d.ts.map +1 -1
- package/dist/declarative-validation/profile/assertion-schema.js +21 -6
- package/dist/declarative-validation/profile/assertion-schema.js.map +1 -1
- package/dist/declarative-validation/profile/cell-predicate-schema.d.ts +4 -0
- package/dist/declarative-validation/profile/cell-predicate-schema.d.ts.map +1 -0
- package/dist/declarative-validation/profile/cell-predicate-schema.js +29 -0
- package/dist/declarative-validation/profile/cell-predicate-schema.js.map +1 -0
- package/dist/declarative-validation/profile/frontmatter-shape-schema.js +52 -7
- package/dist/declarative-validation/profile/frontmatter-shape-schema.js.map +1 -1
- package/dist/declarative-validation/profile/index.d.ts +17 -0
- package/dist/declarative-validation/profile/index.d.ts.map +1 -1
- package/dist/declarative-validation/profile/selector-schema.d.ts.map +1 -1
- package/dist/declarative-validation/profile/selector-schema.js +1 -23
- package/dist/declarative-validation/profile/selector-schema.js.map +1 -1
- package/dist/declarative-validation/selectors/table-targets.d.ts +2 -1
- package/dist/declarative-validation/selectors/table-targets.d.ts.map +1 -1
- package/dist/declarative-validation/selectors/table-targets.js +13 -5
- package/dist/declarative-validation/selectors/table-targets.js.map +1 -1
- package/dist/internal/package-version.d.ts +1 -1
- package/dist/internal/package-version.js +1 -1
- package/dist-bundled/markdown-engine-cli.mjs +571 -351
- package/docs/contracts/declarative-validation.md +59 -7
- package/package.json +2 -2
- package/scripts/install-markdown-engine-cli.sh +2 -2
|
@@ -37,9 +37,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
37
37
|
mod
|
|
38
38
|
));
|
|
39
39
|
|
|
40
|
-
// node_modules/yaml/dist/nodes/identity.js
|
|
40
|
+
// ../../node_modules/yaml/dist/nodes/identity.js
|
|
41
41
|
var require_identity = __commonJS({
|
|
42
|
-
"node_modules/yaml/dist/nodes/identity.js"(exports) {
|
|
42
|
+
"../../node_modules/yaml/dist/nodes/identity.js"(exports) {
|
|
43
43
|
"use strict";
|
|
44
44
|
var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
|
|
45
45
|
var DOC = /* @__PURE__ */ Symbol.for("yaml.document");
|
|
@@ -94,9 +94,9 @@ var require_identity = __commonJS({
|
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
96
|
|
|
97
|
-
// node_modules/yaml/dist/visit.js
|
|
97
|
+
// ../../node_modules/yaml/dist/visit.js
|
|
98
98
|
var require_visit = __commonJS({
|
|
99
|
-
"node_modules/yaml/dist/visit.js"(exports) {
|
|
99
|
+
"../../node_modules/yaml/dist/visit.js"(exports) {
|
|
100
100
|
"use strict";
|
|
101
101
|
var identity = require_identity();
|
|
102
102
|
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
@@ -252,9 +252,9 @@ var require_visit = __commonJS({
|
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
254
|
|
|
255
|
-
// node_modules/yaml/dist/doc/directives.js
|
|
255
|
+
// ../../node_modules/yaml/dist/doc/directives.js
|
|
256
256
|
var require_directives = __commonJS({
|
|
257
|
-
"node_modules/yaml/dist/doc/directives.js"(exports) {
|
|
257
|
+
"../../node_modules/yaml/dist/doc/directives.js"(exports) {
|
|
258
258
|
"use strict";
|
|
259
259
|
var identity = require_identity();
|
|
260
260
|
var visit2 = require_visit();
|
|
@@ -423,9 +423,9 @@ var require_directives = __commonJS({
|
|
|
423
423
|
}
|
|
424
424
|
});
|
|
425
425
|
|
|
426
|
-
// node_modules/yaml/dist/doc/anchors.js
|
|
426
|
+
// ../../node_modules/yaml/dist/doc/anchors.js
|
|
427
427
|
var require_anchors = __commonJS({
|
|
428
|
-
"node_modules/yaml/dist/doc/anchors.js"(exports) {
|
|
428
|
+
"../../node_modules/yaml/dist/doc/anchors.js"(exports) {
|
|
429
429
|
"use strict";
|
|
430
430
|
var identity = require_identity();
|
|
431
431
|
var visit2 = require_visit();
|
|
@@ -493,9 +493,9 @@ var require_anchors = __commonJS({
|
|
|
493
493
|
}
|
|
494
494
|
});
|
|
495
495
|
|
|
496
|
-
// node_modules/yaml/dist/doc/applyReviver.js
|
|
496
|
+
// ../../node_modules/yaml/dist/doc/applyReviver.js
|
|
497
497
|
var require_applyReviver = __commonJS({
|
|
498
|
-
"node_modules/yaml/dist/doc/applyReviver.js"(exports) {
|
|
498
|
+
"../../node_modules/yaml/dist/doc/applyReviver.js"(exports) {
|
|
499
499
|
"use strict";
|
|
500
500
|
function applyReviver(reviver, obj, key, val) {
|
|
501
501
|
if (val && typeof val === "object") {
|
|
@@ -543,9 +543,9 @@ var require_applyReviver = __commonJS({
|
|
|
543
543
|
}
|
|
544
544
|
});
|
|
545
545
|
|
|
546
|
-
// node_modules/yaml/dist/nodes/toJS.js
|
|
546
|
+
// ../../node_modules/yaml/dist/nodes/toJS.js
|
|
547
547
|
var require_toJS = __commonJS({
|
|
548
|
-
"node_modules/yaml/dist/nodes/toJS.js"(exports) {
|
|
548
|
+
"../../node_modules/yaml/dist/nodes/toJS.js"(exports) {
|
|
549
549
|
"use strict";
|
|
550
550
|
var identity = require_identity();
|
|
551
551
|
function toJS(value, arg, ctx) {
|
|
@@ -573,9 +573,9 @@ var require_toJS = __commonJS({
|
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
|
|
576
|
-
// node_modules/yaml/dist/nodes/Node.js
|
|
576
|
+
// ../../node_modules/yaml/dist/nodes/Node.js
|
|
577
577
|
var require_Node = __commonJS({
|
|
578
|
-
"node_modules/yaml/dist/nodes/Node.js"(exports) {
|
|
578
|
+
"../../node_modules/yaml/dist/nodes/Node.js"(exports) {
|
|
579
579
|
"use strict";
|
|
580
580
|
var applyReviver = require_applyReviver();
|
|
581
581
|
var identity = require_identity();
|
|
@@ -614,9 +614,9 @@ var require_Node = __commonJS({
|
|
|
614
614
|
}
|
|
615
615
|
});
|
|
616
616
|
|
|
617
|
-
// node_modules/yaml/dist/nodes/Alias.js
|
|
617
|
+
// ../../node_modules/yaml/dist/nodes/Alias.js
|
|
618
618
|
var require_Alias = __commonJS({
|
|
619
|
-
"node_modules/yaml/dist/nodes/Alias.js"(exports) {
|
|
619
|
+
"../../node_modules/yaml/dist/nodes/Alias.js"(exports) {
|
|
620
620
|
"use strict";
|
|
621
621
|
var anchors = require_anchors();
|
|
622
622
|
var visit2 = require_visit();
|
|
@@ -728,9 +728,9 @@ var require_Alias = __commonJS({
|
|
|
728
728
|
}
|
|
729
729
|
});
|
|
730
730
|
|
|
731
|
-
// node_modules/yaml/dist/nodes/Scalar.js
|
|
731
|
+
// ../../node_modules/yaml/dist/nodes/Scalar.js
|
|
732
732
|
var require_Scalar = __commonJS({
|
|
733
|
-
"node_modules/yaml/dist/nodes/Scalar.js"(exports) {
|
|
733
|
+
"../../node_modules/yaml/dist/nodes/Scalar.js"(exports) {
|
|
734
734
|
"use strict";
|
|
735
735
|
var identity = require_identity();
|
|
736
736
|
var Node = require_Node();
|
|
@@ -758,9 +758,9 @@ var require_Scalar = __commonJS({
|
|
|
758
758
|
}
|
|
759
759
|
});
|
|
760
760
|
|
|
761
|
-
// node_modules/yaml/dist/doc/createNode.js
|
|
761
|
+
// ../../node_modules/yaml/dist/doc/createNode.js
|
|
762
762
|
var require_createNode = __commonJS({
|
|
763
|
-
"node_modules/yaml/dist/doc/createNode.js"(exports) {
|
|
763
|
+
"../../node_modules/yaml/dist/doc/createNode.js"(exports) {
|
|
764
764
|
"use strict";
|
|
765
765
|
var Alias = require_Alias();
|
|
766
766
|
var identity = require_identity();
|
|
@@ -833,9 +833,9 @@ var require_createNode = __commonJS({
|
|
|
833
833
|
}
|
|
834
834
|
});
|
|
835
835
|
|
|
836
|
-
// node_modules/yaml/dist/nodes/Collection.js
|
|
836
|
+
// ../../node_modules/yaml/dist/nodes/Collection.js
|
|
837
837
|
var require_Collection = __commonJS({
|
|
838
|
-
"node_modules/yaml/dist/nodes/Collection.js"(exports) {
|
|
838
|
+
"../../node_modules/yaml/dist/nodes/Collection.js"(exports) {
|
|
839
839
|
"use strict";
|
|
840
840
|
var createNode = require_createNode();
|
|
841
841
|
var identity = require_identity();
|
|
@@ -976,9 +976,9 @@ var require_Collection = __commonJS({
|
|
|
976
976
|
}
|
|
977
977
|
});
|
|
978
978
|
|
|
979
|
-
// node_modules/yaml/dist/stringify/stringifyComment.js
|
|
979
|
+
// ../../node_modules/yaml/dist/stringify/stringifyComment.js
|
|
980
980
|
var require_stringifyComment = __commonJS({
|
|
981
|
-
"node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
|
|
981
|
+
"../../node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
|
|
982
982
|
"use strict";
|
|
983
983
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
984
984
|
function indentComment(comment, indent2) {
|
|
@@ -993,9 +993,9 @@ var require_stringifyComment = __commonJS({
|
|
|
993
993
|
}
|
|
994
994
|
});
|
|
995
995
|
|
|
996
|
-
// node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
996
|
+
// ../../node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
997
997
|
var require_foldFlowLines = __commonJS({
|
|
998
|
-
"node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
|
|
998
|
+
"../../node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
|
|
999
999
|
"use strict";
|
|
1000
1000
|
var FOLD_FLOW = "flow";
|
|
1001
1001
|
var FOLD_BLOCK = "block";
|
|
@@ -1129,9 +1129,9 @@ ${indent2}${text5.slice(fold + 1, end2)}`;
|
|
|
1129
1129
|
}
|
|
1130
1130
|
});
|
|
1131
1131
|
|
|
1132
|
-
// node_modules/yaml/dist/stringify/stringifyString.js
|
|
1132
|
+
// ../../node_modules/yaml/dist/stringify/stringifyString.js
|
|
1133
1133
|
var require_stringifyString = __commonJS({
|
|
1134
|
-
"node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
|
|
1134
|
+
"../../node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
|
|
1135
1135
|
"use strict";
|
|
1136
1136
|
var Scalar = require_Scalar();
|
|
1137
1137
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -1412,9 +1412,9 @@ ${indent2}`);
|
|
|
1412
1412
|
}
|
|
1413
1413
|
});
|
|
1414
1414
|
|
|
1415
|
-
// node_modules/yaml/dist/stringify/stringify.js
|
|
1415
|
+
// ../../node_modules/yaml/dist/stringify/stringify.js
|
|
1416
1416
|
var require_stringify = __commonJS({
|
|
1417
|
-
"node_modules/yaml/dist/stringify/stringify.js"(exports) {
|
|
1417
|
+
"../../node_modules/yaml/dist/stringify/stringify.js"(exports) {
|
|
1418
1418
|
"use strict";
|
|
1419
1419
|
var anchors = require_anchors();
|
|
1420
1420
|
var identity = require_identity();
|
|
@@ -1536,9 +1536,9 @@ ${ctx.indent}${str}`;
|
|
|
1536
1536
|
}
|
|
1537
1537
|
});
|
|
1538
1538
|
|
|
1539
|
-
// node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1539
|
+
// ../../node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1540
1540
|
var require_stringifyPair = __commonJS({
|
|
1541
|
-
"node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
|
|
1541
|
+
"../../node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
|
|
1542
1542
|
"use strict";
|
|
1543
1543
|
var identity = require_identity();
|
|
1544
1544
|
var Scalar = require_Scalar();
|
|
@@ -1669,9 +1669,9 @@ ${ctx.indent}`;
|
|
|
1669
1669
|
}
|
|
1670
1670
|
});
|
|
1671
1671
|
|
|
1672
|
-
// node_modules/yaml/dist/log.js
|
|
1672
|
+
// ../../node_modules/yaml/dist/log.js
|
|
1673
1673
|
var require_log = __commonJS({
|
|
1674
|
-
"node_modules/yaml/dist/log.js"(exports) {
|
|
1674
|
+
"../../node_modules/yaml/dist/log.js"(exports) {
|
|
1675
1675
|
"use strict";
|
|
1676
1676
|
var node_process = __require("process");
|
|
1677
1677
|
function debug(logLevel, ...messages) {
|
|
@@ -1691,9 +1691,9 @@ var require_log = __commonJS({
|
|
|
1691
1691
|
}
|
|
1692
1692
|
});
|
|
1693
1693
|
|
|
1694
|
-
// node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1694
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1695
1695
|
var require_merge = __commonJS({
|
|
1696
|
-
"node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports) {
|
|
1696
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports) {
|
|
1697
1697
|
"use strict";
|
|
1698
1698
|
var identity = require_identity();
|
|
1699
1699
|
var Scalar = require_Scalar();
|
|
@@ -1748,9 +1748,9 @@ var require_merge = __commonJS({
|
|
|
1748
1748
|
}
|
|
1749
1749
|
});
|
|
1750
1750
|
|
|
1751
|
-
// node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1751
|
+
// ../../node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1752
1752
|
var require_addPairToJSMap = __commonJS({
|
|
1753
|
-
"node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
|
|
1753
|
+
"../../node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
|
|
1754
1754
|
"use strict";
|
|
1755
1755
|
var log = require_log();
|
|
1756
1756
|
var merge = require_merge();
|
|
@@ -1812,9 +1812,9 @@ var require_addPairToJSMap = __commonJS({
|
|
|
1812
1812
|
}
|
|
1813
1813
|
});
|
|
1814
1814
|
|
|
1815
|
-
// node_modules/yaml/dist/nodes/Pair.js
|
|
1815
|
+
// ../../node_modules/yaml/dist/nodes/Pair.js
|
|
1816
1816
|
var require_Pair = __commonJS({
|
|
1817
|
-
"node_modules/yaml/dist/nodes/Pair.js"(exports) {
|
|
1817
|
+
"../../node_modules/yaml/dist/nodes/Pair.js"(exports) {
|
|
1818
1818
|
"use strict";
|
|
1819
1819
|
var createNode = require_createNode();
|
|
1820
1820
|
var stringifyPair = require_stringifyPair();
|
|
@@ -1852,9 +1852,9 @@ var require_Pair = __commonJS({
|
|
|
1852
1852
|
}
|
|
1853
1853
|
});
|
|
1854
1854
|
|
|
1855
|
-
// node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
1855
|
+
// ../../node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
1856
1856
|
var require_stringifyCollection = __commonJS({
|
|
1857
|
-
"node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
|
|
1857
|
+
"../../node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
|
|
1858
1858
|
"use strict";
|
|
1859
1859
|
var identity = require_identity();
|
|
1860
1860
|
var stringify = require_stringify();
|
|
@@ -2003,9 +2003,9 @@ ${indent2}${end}`;
|
|
|
2003
2003
|
}
|
|
2004
2004
|
});
|
|
2005
2005
|
|
|
2006
|
-
// node_modules/yaml/dist/nodes/YAMLMap.js
|
|
2006
|
+
// ../../node_modules/yaml/dist/nodes/YAMLMap.js
|
|
2007
2007
|
var require_YAMLMap = __commonJS({
|
|
2008
|
-
"node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
|
|
2008
|
+
"../../node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
|
|
2009
2009
|
"use strict";
|
|
2010
2010
|
var stringifyCollection = require_stringifyCollection();
|
|
2011
2011
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -2147,9 +2147,9 @@ var require_YAMLMap = __commonJS({
|
|
|
2147
2147
|
}
|
|
2148
2148
|
});
|
|
2149
2149
|
|
|
2150
|
-
// node_modules/yaml/dist/schema/common/map.js
|
|
2150
|
+
// ../../node_modules/yaml/dist/schema/common/map.js
|
|
2151
2151
|
var require_map = __commonJS({
|
|
2152
|
-
"node_modules/yaml/dist/schema/common/map.js"(exports) {
|
|
2152
|
+
"../../node_modules/yaml/dist/schema/common/map.js"(exports) {
|
|
2153
2153
|
"use strict";
|
|
2154
2154
|
var identity = require_identity();
|
|
2155
2155
|
var YAMLMap = require_YAMLMap();
|
|
@@ -2169,9 +2169,9 @@ var require_map = __commonJS({
|
|
|
2169
2169
|
}
|
|
2170
2170
|
});
|
|
2171
2171
|
|
|
2172
|
-
// node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2172
|
+
// ../../node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2173
2173
|
var require_YAMLSeq = __commonJS({
|
|
2174
|
-
"node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
|
|
2174
|
+
"../../node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
|
|
2175
2175
|
"use strict";
|
|
2176
2176
|
var createNode = require_createNode();
|
|
2177
2177
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -2285,9 +2285,9 @@ var require_YAMLSeq = __commonJS({
|
|
|
2285
2285
|
}
|
|
2286
2286
|
});
|
|
2287
2287
|
|
|
2288
|
-
// node_modules/yaml/dist/schema/common/seq.js
|
|
2288
|
+
// ../../node_modules/yaml/dist/schema/common/seq.js
|
|
2289
2289
|
var require_seq = __commonJS({
|
|
2290
|
-
"node_modules/yaml/dist/schema/common/seq.js"(exports) {
|
|
2290
|
+
"../../node_modules/yaml/dist/schema/common/seq.js"(exports) {
|
|
2291
2291
|
"use strict";
|
|
2292
2292
|
var identity = require_identity();
|
|
2293
2293
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -2307,9 +2307,9 @@ var require_seq = __commonJS({
|
|
|
2307
2307
|
}
|
|
2308
2308
|
});
|
|
2309
2309
|
|
|
2310
|
-
// node_modules/yaml/dist/schema/common/string.js
|
|
2310
|
+
// ../../node_modules/yaml/dist/schema/common/string.js
|
|
2311
2311
|
var require_string = __commonJS({
|
|
2312
|
-
"node_modules/yaml/dist/schema/common/string.js"(exports) {
|
|
2312
|
+
"../../node_modules/yaml/dist/schema/common/string.js"(exports) {
|
|
2313
2313
|
"use strict";
|
|
2314
2314
|
var stringifyString = require_stringifyString();
|
|
2315
2315
|
var string3 = {
|
|
@@ -2326,9 +2326,9 @@ var require_string = __commonJS({
|
|
|
2326
2326
|
}
|
|
2327
2327
|
});
|
|
2328
2328
|
|
|
2329
|
-
// node_modules/yaml/dist/schema/common/null.js
|
|
2329
|
+
// ../../node_modules/yaml/dist/schema/common/null.js
|
|
2330
2330
|
var require_null = __commonJS({
|
|
2331
|
-
"node_modules/yaml/dist/schema/common/null.js"(exports) {
|
|
2331
|
+
"../../node_modules/yaml/dist/schema/common/null.js"(exports) {
|
|
2332
2332
|
"use strict";
|
|
2333
2333
|
var Scalar = require_Scalar();
|
|
2334
2334
|
var nullTag = {
|
|
@@ -2344,9 +2344,9 @@ var require_null = __commonJS({
|
|
|
2344
2344
|
}
|
|
2345
2345
|
});
|
|
2346
2346
|
|
|
2347
|
-
// node_modules/yaml/dist/schema/core/bool.js
|
|
2347
|
+
// ../../node_modules/yaml/dist/schema/core/bool.js
|
|
2348
2348
|
var require_bool = __commonJS({
|
|
2349
|
-
"node_modules/yaml/dist/schema/core/bool.js"(exports) {
|
|
2349
|
+
"../../node_modules/yaml/dist/schema/core/bool.js"(exports) {
|
|
2350
2350
|
"use strict";
|
|
2351
2351
|
var Scalar = require_Scalar();
|
|
2352
2352
|
var boolTag = {
|
|
@@ -2368,9 +2368,9 @@ var require_bool = __commonJS({
|
|
|
2368
2368
|
}
|
|
2369
2369
|
});
|
|
2370
2370
|
|
|
2371
|
-
// node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2371
|
+
// ../../node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2372
2372
|
var require_stringifyNumber = __commonJS({
|
|
2373
|
-
"node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
|
|
2373
|
+
"../../node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
|
|
2374
2374
|
"use strict";
|
|
2375
2375
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
2376
2376
|
if (typeof value === "bigint")
|
|
@@ -2395,9 +2395,9 @@ var require_stringifyNumber = __commonJS({
|
|
|
2395
2395
|
}
|
|
2396
2396
|
});
|
|
2397
2397
|
|
|
2398
|
-
// node_modules/yaml/dist/schema/core/float.js
|
|
2398
|
+
// ../../node_modules/yaml/dist/schema/core/float.js
|
|
2399
2399
|
var require_float = __commonJS({
|
|
2400
|
-
"node_modules/yaml/dist/schema/core/float.js"(exports) {
|
|
2400
|
+
"../../node_modules/yaml/dist/schema/core/float.js"(exports) {
|
|
2401
2401
|
"use strict";
|
|
2402
2402
|
var Scalar = require_Scalar();
|
|
2403
2403
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2441,9 +2441,9 @@ var require_float = __commonJS({
|
|
|
2441
2441
|
}
|
|
2442
2442
|
});
|
|
2443
2443
|
|
|
2444
|
-
// node_modules/yaml/dist/schema/core/int.js
|
|
2444
|
+
// ../../node_modules/yaml/dist/schema/core/int.js
|
|
2445
2445
|
var require_int = __commonJS({
|
|
2446
|
-
"node_modules/yaml/dist/schema/core/int.js"(exports) {
|
|
2446
|
+
"../../node_modules/yaml/dist/schema/core/int.js"(exports) {
|
|
2447
2447
|
"use strict";
|
|
2448
2448
|
var stringifyNumber = require_stringifyNumber();
|
|
2449
2449
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2486,9 +2486,9 @@ var require_int = __commonJS({
|
|
|
2486
2486
|
}
|
|
2487
2487
|
});
|
|
2488
2488
|
|
|
2489
|
-
// node_modules/yaml/dist/schema/core/schema.js
|
|
2489
|
+
// ../../node_modules/yaml/dist/schema/core/schema.js
|
|
2490
2490
|
var require_schema = __commonJS({
|
|
2491
|
-
"node_modules/yaml/dist/schema/core/schema.js"(exports) {
|
|
2491
|
+
"../../node_modules/yaml/dist/schema/core/schema.js"(exports) {
|
|
2492
2492
|
"use strict";
|
|
2493
2493
|
var map3 = require_map();
|
|
2494
2494
|
var _null = require_null();
|
|
@@ -2514,9 +2514,9 @@ var require_schema = __commonJS({
|
|
|
2514
2514
|
}
|
|
2515
2515
|
});
|
|
2516
2516
|
|
|
2517
|
-
// node_modules/yaml/dist/schema/json/schema.js
|
|
2517
|
+
// ../../node_modules/yaml/dist/schema/json/schema.js
|
|
2518
2518
|
var require_schema2 = __commonJS({
|
|
2519
|
-
"node_modules/yaml/dist/schema/json/schema.js"(exports) {
|
|
2519
|
+
"../../node_modules/yaml/dist/schema/json/schema.js"(exports) {
|
|
2520
2520
|
"use strict";
|
|
2521
2521
|
var Scalar = require_Scalar();
|
|
2522
2522
|
var map3 = require_map();
|
|
@@ -2581,9 +2581,9 @@ var require_schema2 = __commonJS({
|
|
|
2581
2581
|
}
|
|
2582
2582
|
});
|
|
2583
2583
|
|
|
2584
|
-
// node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2584
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2585
2585
|
var require_binary = __commonJS({
|
|
2586
|
-
"node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
|
|
2586
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
|
|
2587
2587
|
"use strict";
|
|
2588
2588
|
var node_buffer = __require("buffer");
|
|
2589
2589
|
var Scalar = require_Scalar();
|
|
@@ -2647,9 +2647,9 @@ var require_binary = __commonJS({
|
|
|
2647
2647
|
}
|
|
2648
2648
|
});
|
|
2649
2649
|
|
|
2650
|
-
// node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2650
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2651
2651
|
var require_pairs = __commonJS({
|
|
2652
|
-
"node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
|
|
2652
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
|
|
2653
2653
|
"use strict";
|
|
2654
2654
|
var identity = require_identity();
|
|
2655
2655
|
var Pair = require_Pair();
|
|
@@ -2725,9 +2725,9 @@ ${cn.comment}` : item.comment;
|
|
|
2725
2725
|
}
|
|
2726
2726
|
});
|
|
2727
2727
|
|
|
2728
|
-
// node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2728
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2729
2729
|
var require_omap = __commonJS({
|
|
2730
|
-
"node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
|
|
2730
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
|
|
2731
2731
|
"use strict";
|
|
2732
2732
|
var identity = require_identity();
|
|
2733
2733
|
var toJS = require_toJS();
|
|
@@ -2803,9 +2803,9 @@ var require_omap = __commonJS({
|
|
|
2803
2803
|
}
|
|
2804
2804
|
});
|
|
2805
2805
|
|
|
2806
|
-
// node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2806
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2807
2807
|
var require_bool2 = __commonJS({
|
|
2808
|
-
"node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
|
|
2808
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
|
|
2809
2809
|
"use strict";
|
|
2810
2810
|
var Scalar = require_Scalar();
|
|
2811
2811
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -2835,9 +2835,9 @@ var require_bool2 = __commonJS({
|
|
|
2835
2835
|
}
|
|
2836
2836
|
});
|
|
2837
2837
|
|
|
2838
|
-
// node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2838
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2839
2839
|
var require_float2 = __commonJS({
|
|
2840
|
-
"node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
|
|
2840
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
|
|
2841
2841
|
"use strict";
|
|
2842
2842
|
var Scalar = require_Scalar();
|
|
2843
2843
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2884,9 +2884,9 @@ var require_float2 = __commonJS({
|
|
|
2884
2884
|
}
|
|
2885
2885
|
});
|
|
2886
2886
|
|
|
2887
|
-
// node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
2887
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
2888
2888
|
var require_int2 = __commonJS({
|
|
2889
|
-
"node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
|
|
2889
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
|
|
2890
2890
|
"use strict";
|
|
2891
2891
|
var stringifyNumber = require_stringifyNumber();
|
|
2892
2892
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2963,9 +2963,9 @@ var require_int2 = __commonJS({
|
|
|
2963
2963
|
}
|
|
2964
2964
|
});
|
|
2965
2965
|
|
|
2966
|
-
// node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
2966
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
2967
2967
|
var require_set = __commonJS({
|
|
2968
|
-
"node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
|
|
2968
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
|
|
2969
2969
|
"use strict";
|
|
2970
2970
|
var identity = require_identity();
|
|
2971
2971
|
var Pair = require_Pair();
|
|
@@ -3052,9 +3052,9 @@ var require_set = __commonJS({
|
|
|
3052
3052
|
}
|
|
3053
3053
|
});
|
|
3054
3054
|
|
|
3055
|
-
// node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
3055
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
3056
3056
|
var require_timestamp = __commonJS({
|
|
3057
|
-
"node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
|
|
3057
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
|
|
3058
3058
|
"use strict";
|
|
3059
3059
|
var stringifyNumber = require_stringifyNumber();
|
|
3060
3060
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -3140,9 +3140,9 @@ var require_timestamp = __commonJS({
|
|
|
3140
3140
|
}
|
|
3141
3141
|
});
|
|
3142
3142
|
|
|
3143
|
-
// node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
3143
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
3144
3144
|
var require_schema3 = __commonJS({
|
|
3145
|
-
"node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
|
|
3145
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
|
|
3146
3146
|
"use strict";
|
|
3147
3147
|
var map3 = require_map();
|
|
3148
3148
|
var _null = require_null();
|
|
@@ -3184,9 +3184,9 @@ var require_schema3 = __commonJS({
|
|
|
3184
3184
|
}
|
|
3185
3185
|
});
|
|
3186
3186
|
|
|
3187
|
-
// node_modules/yaml/dist/schema/tags.js
|
|
3187
|
+
// ../../node_modules/yaml/dist/schema/tags.js
|
|
3188
3188
|
var require_tags = __commonJS({
|
|
3189
|
-
"node_modules/yaml/dist/schema/tags.js"(exports) {
|
|
3189
|
+
"../../node_modules/yaml/dist/schema/tags.js"(exports) {
|
|
3190
3190
|
"use strict";
|
|
3191
3191
|
var map3 = require_map();
|
|
3192
3192
|
var _null = require_null();
|
|
@@ -3278,9 +3278,9 @@ var require_tags = __commonJS({
|
|
|
3278
3278
|
}
|
|
3279
3279
|
});
|
|
3280
3280
|
|
|
3281
|
-
// node_modules/yaml/dist/schema/Schema.js
|
|
3281
|
+
// ../../node_modules/yaml/dist/schema/Schema.js
|
|
3282
3282
|
var require_Schema = __commonJS({
|
|
3283
|
-
"node_modules/yaml/dist/schema/Schema.js"(exports) {
|
|
3283
|
+
"../../node_modules/yaml/dist/schema/Schema.js"(exports) {
|
|
3284
3284
|
"use strict";
|
|
3285
3285
|
var identity = require_identity();
|
|
3286
3286
|
var map3 = require_map();
|
|
@@ -3310,9 +3310,9 @@ var require_Schema = __commonJS({
|
|
|
3310
3310
|
}
|
|
3311
3311
|
});
|
|
3312
3312
|
|
|
3313
|
-
// node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3313
|
+
// ../../node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3314
3314
|
var require_stringifyDocument = __commonJS({
|
|
3315
|
-
"node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
|
|
3315
|
+
"../../node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
|
|
3316
3316
|
"use strict";
|
|
3317
3317
|
var identity = require_identity();
|
|
3318
3318
|
var stringify = require_stringify();
|
|
@@ -3390,9 +3390,9 @@ var require_stringifyDocument = __commonJS({
|
|
|
3390
3390
|
}
|
|
3391
3391
|
});
|
|
3392
3392
|
|
|
3393
|
-
// node_modules/yaml/dist/doc/Document.js
|
|
3393
|
+
// ../../node_modules/yaml/dist/doc/Document.js
|
|
3394
3394
|
var require_Document = __commonJS({
|
|
3395
|
-
"node_modules/yaml/dist/doc/Document.js"(exports) {
|
|
3395
|
+
"../../node_modules/yaml/dist/doc/Document.js"(exports) {
|
|
3396
3396
|
"use strict";
|
|
3397
3397
|
var Alias = require_Alias();
|
|
3398
3398
|
var Collection = require_Collection();
|
|
@@ -3699,9 +3699,9 @@ var require_Document = __commonJS({
|
|
|
3699
3699
|
}
|
|
3700
3700
|
});
|
|
3701
3701
|
|
|
3702
|
-
// node_modules/yaml/dist/errors.js
|
|
3702
|
+
// ../../node_modules/yaml/dist/errors.js
|
|
3703
3703
|
var require_errors = __commonJS({
|
|
3704
|
-
"node_modules/yaml/dist/errors.js"(exports) {
|
|
3704
|
+
"../../node_modules/yaml/dist/errors.js"(exports) {
|
|
3705
3705
|
"use strict";
|
|
3706
3706
|
var YAMLError = class extends Error {
|
|
3707
3707
|
constructor(name, pos, code3, message) {
|
|
@@ -3764,9 +3764,9 @@ ${pointer}
|
|
|
3764
3764
|
}
|
|
3765
3765
|
});
|
|
3766
3766
|
|
|
3767
|
-
// node_modules/yaml/dist/compose/resolve-props.js
|
|
3767
|
+
// ../../node_modules/yaml/dist/compose/resolve-props.js
|
|
3768
3768
|
var require_resolve_props = __commonJS({
|
|
3769
|
-
"node_modules/yaml/dist/compose/resolve-props.js"(exports) {
|
|
3769
|
+
"../../node_modules/yaml/dist/compose/resolve-props.js"(exports) {
|
|
3770
3770
|
"use strict";
|
|
3771
3771
|
function resolveProps(tokens, { flow: flow3, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
3772
3772
|
let spaceBefore = false;
|
|
@@ -3898,9 +3898,9 @@ var require_resolve_props = __commonJS({
|
|
|
3898
3898
|
}
|
|
3899
3899
|
});
|
|
3900
3900
|
|
|
3901
|
-
// node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3901
|
+
// ../../node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3902
3902
|
var require_util_contains_newline = __commonJS({
|
|
3903
|
-
"node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
|
|
3903
|
+
"../../node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
|
|
3904
3904
|
"use strict";
|
|
3905
3905
|
function containsNewline(key) {
|
|
3906
3906
|
if (!key)
|
|
@@ -3940,9 +3940,9 @@ var require_util_contains_newline = __commonJS({
|
|
|
3940
3940
|
}
|
|
3941
3941
|
});
|
|
3942
3942
|
|
|
3943
|
-
// node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3943
|
+
// ../../node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3944
3944
|
var require_util_flow_indent_check = __commonJS({
|
|
3945
|
-
"node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
|
|
3945
|
+
"../../node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
|
|
3946
3946
|
"use strict";
|
|
3947
3947
|
var utilContainsNewline = require_util_contains_newline();
|
|
3948
3948
|
function flowIndentCheck(indent2, fc, onError) {
|
|
@@ -3958,9 +3958,9 @@ var require_util_flow_indent_check = __commonJS({
|
|
|
3958
3958
|
}
|
|
3959
3959
|
});
|
|
3960
3960
|
|
|
3961
|
-
// node_modules/yaml/dist/compose/util-map-includes.js
|
|
3961
|
+
// ../../node_modules/yaml/dist/compose/util-map-includes.js
|
|
3962
3962
|
var require_util_map_includes = __commonJS({
|
|
3963
|
-
"node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
|
|
3963
|
+
"../../node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
|
|
3964
3964
|
"use strict";
|
|
3965
3965
|
var identity = require_identity();
|
|
3966
3966
|
function mapIncludes(ctx, items, search2) {
|
|
@@ -3974,9 +3974,9 @@ var require_util_map_includes = __commonJS({
|
|
|
3974
3974
|
}
|
|
3975
3975
|
});
|
|
3976
3976
|
|
|
3977
|
-
// node_modules/yaml/dist/compose/resolve-block-map.js
|
|
3977
|
+
// ../../node_modules/yaml/dist/compose/resolve-block-map.js
|
|
3978
3978
|
var require_resolve_block_map = __commonJS({
|
|
3979
|
-
"node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
|
|
3979
|
+
"../../node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
|
|
3980
3980
|
"use strict";
|
|
3981
3981
|
var Pair = require_Pair();
|
|
3982
3982
|
var YAMLMap = require_YAMLMap();
|
|
@@ -4082,9 +4082,9 @@ var require_resolve_block_map = __commonJS({
|
|
|
4082
4082
|
}
|
|
4083
4083
|
});
|
|
4084
4084
|
|
|
4085
|
-
// node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
4085
|
+
// ../../node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
4086
4086
|
var require_resolve_block_seq = __commonJS({
|
|
4087
|
-
"node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
|
|
4087
|
+
"../../node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
|
|
4088
4088
|
"use strict";
|
|
4089
4089
|
var YAMLSeq = require_YAMLSeq();
|
|
4090
4090
|
var resolveProps = require_resolve_props();
|
|
@@ -4133,9 +4133,9 @@ var require_resolve_block_seq = __commonJS({
|
|
|
4133
4133
|
}
|
|
4134
4134
|
});
|
|
4135
4135
|
|
|
4136
|
-
// node_modules/yaml/dist/compose/resolve-end.js
|
|
4136
|
+
// ../../node_modules/yaml/dist/compose/resolve-end.js
|
|
4137
4137
|
var require_resolve_end = __commonJS({
|
|
4138
|
-
"node_modules/yaml/dist/compose/resolve-end.js"(exports) {
|
|
4138
|
+
"../../node_modules/yaml/dist/compose/resolve-end.js"(exports) {
|
|
4139
4139
|
"use strict";
|
|
4140
4140
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
4141
4141
|
let comment = "";
|
|
@@ -4176,9 +4176,9 @@ var require_resolve_end = __commonJS({
|
|
|
4176
4176
|
}
|
|
4177
4177
|
});
|
|
4178
4178
|
|
|
4179
|
-
// node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
4179
|
+
// ../../node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
4180
4180
|
var require_resolve_flow_collection = __commonJS({
|
|
4181
|
-
"node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
|
|
4181
|
+
"../../node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
|
|
4182
4182
|
"use strict";
|
|
4183
4183
|
var identity = require_identity();
|
|
4184
4184
|
var Pair = require_Pair();
|
|
@@ -4370,9 +4370,9 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
4370
4370
|
}
|
|
4371
4371
|
});
|
|
4372
4372
|
|
|
4373
|
-
// node_modules/yaml/dist/compose/compose-collection.js
|
|
4373
|
+
// ../../node_modules/yaml/dist/compose/compose-collection.js
|
|
4374
4374
|
var require_compose_collection = __commonJS({
|
|
4375
|
-
"node_modules/yaml/dist/compose/compose-collection.js"(exports) {
|
|
4375
|
+
"../../node_modules/yaml/dist/compose/compose-collection.js"(exports) {
|
|
4376
4376
|
"use strict";
|
|
4377
4377
|
var identity = require_identity();
|
|
4378
4378
|
var Scalar = require_Scalar();
|
|
@@ -4435,9 +4435,9 @@ var require_compose_collection = __commonJS({
|
|
|
4435
4435
|
}
|
|
4436
4436
|
});
|
|
4437
4437
|
|
|
4438
|
-
// node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4438
|
+
// ../../node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4439
4439
|
var require_resolve_block_scalar = __commonJS({
|
|
4440
|
-
"node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
|
|
4440
|
+
"../../node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
|
|
4441
4441
|
"use strict";
|
|
4442
4442
|
var Scalar = require_Scalar();
|
|
4443
4443
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -4618,9 +4618,9 @@ var require_resolve_block_scalar = __commonJS({
|
|
|
4618
4618
|
}
|
|
4619
4619
|
});
|
|
4620
4620
|
|
|
4621
|
-
// node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4621
|
+
// ../../node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4622
4622
|
var require_resolve_flow_scalar = __commonJS({
|
|
4623
|
-
"node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
|
|
4623
|
+
"../../node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
|
|
4624
4624
|
"use strict";
|
|
4625
4625
|
var Scalar = require_Scalar();
|
|
4626
4626
|
var resolveEnd = require_resolve_end();
|
|
@@ -4837,9 +4837,9 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
4837
4837
|
}
|
|
4838
4838
|
});
|
|
4839
4839
|
|
|
4840
|
-
// node_modules/yaml/dist/compose/compose-scalar.js
|
|
4840
|
+
// ../../node_modules/yaml/dist/compose/compose-scalar.js
|
|
4841
4841
|
var require_compose_scalar = __commonJS({
|
|
4842
|
-
"node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
|
|
4842
|
+
"../../node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
|
|
4843
4843
|
"use strict";
|
|
4844
4844
|
var identity = require_identity();
|
|
4845
4845
|
var Scalar = require_Scalar();
|
|
@@ -4918,9 +4918,9 @@ var require_compose_scalar = __commonJS({
|
|
|
4918
4918
|
}
|
|
4919
4919
|
});
|
|
4920
4920
|
|
|
4921
|
-
// node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4921
|
+
// ../../node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4922
4922
|
var require_util_empty_scalar_position = __commonJS({
|
|
4923
|
-
"node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
|
|
4923
|
+
"../../node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
|
|
4924
4924
|
"use strict";
|
|
4925
4925
|
function emptyScalarPosition(offset, before, pos) {
|
|
4926
4926
|
if (before) {
|
|
@@ -4948,9 +4948,9 @@ var require_util_empty_scalar_position = __commonJS({
|
|
|
4948
4948
|
}
|
|
4949
4949
|
});
|
|
4950
4950
|
|
|
4951
|
-
// node_modules/yaml/dist/compose/compose-node.js
|
|
4951
|
+
// ../../node_modules/yaml/dist/compose/compose-node.js
|
|
4952
4952
|
var require_compose_node = __commonJS({
|
|
4953
|
-
"node_modules/yaml/dist/compose/compose-node.js"(exports) {
|
|
4953
|
+
"../../node_modules/yaml/dist/compose/compose-node.js"(exports) {
|
|
4954
4954
|
"use strict";
|
|
4955
4955
|
var Alias = require_Alias();
|
|
4956
4956
|
var identity = require_identity();
|
|
@@ -5054,9 +5054,9 @@ var require_compose_node = __commonJS({
|
|
|
5054
5054
|
}
|
|
5055
5055
|
});
|
|
5056
5056
|
|
|
5057
|
-
// node_modules/yaml/dist/compose/compose-doc.js
|
|
5057
|
+
// ../../node_modules/yaml/dist/compose/compose-doc.js
|
|
5058
5058
|
var require_compose_doc = __commonJS({
|
|
5059
|
-
"node_modules/yaml/dist/compose/compose-doc.js"(exports) {
|
|
5059
|
+
"../../node_modules/yaml/dist/compose/compose-doc.js"(exports) {
|
|
5060
5060
|
"use strict";
|
|
5061
5061
|
var Document = require_Document();
|
|
5062
5062
|
var composeNode = require_compose_node();
|
|
@@ -5097,9 +5097,9 @@ var require_compose_doc = __commonJS({
|
|
|
5097
5097
|
}
|
|
5098
5098
|
});
|
|
5099
5099
|
|
|
5100
|
-
// node_modules/yaml/dist/compose/composer.js
|
|
5100
|
+
// ../../node_modules/yaml/dist/compose/composer.js
|
|
5101
5101
|
var require_composer = __commonJS({
|
|
5102
|
-
"node_modules/yaml/dist/compose/composer.js"(exports) {
|
|
5102
|
+
"../../node_modules/yaml/dist/compose/composer.js"(exports) {
|
|
5103
5103
|
"use strict";
|
|
5104
5104
|
var node_process = __require("process");
|
|
5105
5105
|
var directives = require_directives();
|
|
@@ -5303,9 +5303,9 @@ ${end.comment}` : end.comment;
|
|
|
5303
5303
|
}
|
|
5304
5304
|
});
|
|
5305
5305
|
|
|
5306
|
-
// node_modules/yaml/dist/parse/cst-scalar.js
|
|
5306
|
+
// ../../node_modules/yaml/dist/parse/cst-scalar.js
|
|
5307
5307
|
var require_cst_scalar = __commonJS({
|
|
5308
|
-
"node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
|
|
5308
|
+
"../../node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
|
|
5309
5309
|
"use strict";
|
|
5310
5310
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
5311
5311
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -5488,9 +5488,9 @@ var require_cst_scalar = __commonJS({
|
|
|
5488
5488
|
}
|
|
5489
5489
|
});
|
|
5490
5490
|
|
|
5491
|
-
// node_modules/yaml/dist/parse/cst-stringify.js
|
|
5491
|
+
// ../../node_modules/yaml/dist/parse/cst-stringify.js
|
|
5492
5492
|
var require_cst_stringify = __commonJS({
|
|
5493
|
-
"node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
|
|
5493
|
+
"../../node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
|
|
5494
5494
|
"use strict";
|
|
5495
5495
|
var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
|
|
5496
5496
|
function stringifyToken(token) {
|
|
@@ -5549,9 +5549,9 @@ var require_cst_stringify = __commonJS({
|
|
|
5549
5549
|
}
|
|
5550
5550
|
});
|
|
5551
5551
|
|
|
5552
|
-
// node_modules/yaml/dist/parse/cst-visit.js
|
|
5552
|
+
// ../../node_modules/yaml/dist/parse/cst-visit.js
|
|
5553
5553
|
var require_cst_visit = __commonJS({
|
|
5554
|
-
"node_modules/yaml/dist/parse/cst-visit.js"(exports) {
|
|
5554
|
+
"../../node_modules/yaml/dist/parse/cst-visit.js"(exports) {
|
|
5555
5555
|
"use strict";
|
|
5556
5556
|
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
5557
5557
|
var SKIP2 = /* @__PURE__ */ Symbol("skip children");
|
|
@@ -5611,9 +5611,9 @@ var require_cst_visit = __commonJS({
|
|
|
5611
5611
|
}
|
|
5612
5612
|
});
|
|
5613
5613
|
|
|
5614
|
-
// node_modules/yaml/dist/parse/cst.js
|
|
5614
|
+
// ../../node_modules/yaml/dist/parse/cst.js
|
|
5615
5615
|
var require_cst = __commonJS({
|
|
5616
|
-
"node_modules/yaml/dist/parse/cst.js"(exports) {
|
|
5616
|
+
"../../node_modules/yaml/dist/parse/cst.js"(exports) {
|
|
5617
5617
|
"use strict";
|
|
5618
5618
|
var cstScalar = require_cst_scalar();
|
|
5619
5619
|
var cstStringify = require_cst_stringify();
|
|
@@ -5713,9 +5713,9 @@ var require_cst = __commonJS({
|
|
|
5713
5713
|
}
|
|
5714
5714
|
});
|
|
5715
5715
|
|
|
5716
|
-
// node_modules/yaml/dist/parse/lexer.js
|
|
5716
|
+
// ../../node_modules/yaml/dist/parse/lexer.js
|
|
5717
5717
|
var require_lexer = __commonJS({
|
|
5718
|
-
"node_modules/yaml/dist/parse/lexer.js"(exports) {
|
|
5718
|
+
"../../node_modules/yaml/dist/parse/lexer.js"(exports) {
|
|
5719
5719
|
"use strict";
|
|
5720
5720
|
var cst = require_cst();
|
|
5721
5721
|
function isEmpty(ch) {
|
|
@@ -6292,9 +6292,9 @@ var require_lexer = __commonJS({
|
|
|
6292
6292
|
}
|
|
6293
6293
|
});
|
|
6294
6294
|
|
|
6295
|
-
// node_modules/yaml/dist/parse/line-counter.js
|
|
6295
|
+
// ../../node_modules/yaml/dist/parse/line-counter.js
|
|
6296
6296
|
var require_line_counter = __commonJS({
|
|
6297
|
-
"node_modules/yaml/dist/parse/line-counter.js"(exports) {
|
|
6297
|
+
"../../node_modules/yaml/dist/parse/line-counter.js"(exports) {
|
|
6298
6298
|
"use strict";
|
|
6299
6299
|
var LineCounter = class {
|
|
6300
6300
|
constructor() {
|
|
@@ -6323,9 +6323,9 @@ var require_line_counter = __commonJS({
|
|
|
6323
6323
|
}
|
|
6324
6324
|
});
|
|
6325
6325
|
|
|
6326
|
-
// node_modules/yaml/dist/parse/parser.js
|
|
6326
|
+
// ../../node_modules/yaml/dist/parse/parser.js
|
|
6327
6327
|
var require_parser = __commonJS({
|
|
6328
|
-
"node_modules/yaml/dist/parse/parser.js"(exports) {
|
|
6328
|
+
"../../node_modules/yaml/dist/parse/parser.js"(exports) {
|
|
6329
6329
|
"use strict";
|
|
6330
6330
|
var node_process = __require("process");
|
|
6331
6331
|
var cst = require_cst();
|
|
@@ -7190,9 +7190,9 @@ var require_parser = __commonJS({
|
|
|
7190
7190
|
}
|
|
7191
7191
|
});
|
|
7192
7192
|
|
|
7193
|
-
// node_modules/yaml/dist/public-api.js
|
|
7193
|
+
// ../../node_modules/yaml/dist/public-api.js
|
|
7194
7194
|
var require_public_api = __commonJS({
|
|
7195
|
-
"node_modules/yaml/dist/public-api.js"(exports) {
|
|
7195
|
+
"../../node_modules/yaml/dist/public-api.js"(exports) {
|
|
7196
7196
|
"use strict";
|
|
7197
7197
|
var composer = require_composer();
|
|
7198
7198
|
var Document = require_Document();
|
|
@@ -7287,9 +7287,9 @@ var require_public_api = __commonJS({
|
|
|
7287
7287
|
}
|
|
7288
7288
|
});
|
|
7289
7289
|
|
|
7290
|
-
// node_modules/yaml/dist/index.js
|
|
7290
|
+
// ../../node_modules/yaml/dist/index.js
|
|
7291
7291
|
var require_dist = __commonJS({
|
|
7292
|
-
"node_modules/yaml/dist/index.js"(exports) {
|
|
7292
|
+
"../../node_modules/yaml/dist/index.js"(exports) {
|
|
7293
7293
|
"use strict";
|
|
7294
7294
|
var composer = require_composer();
|
|
7295
7295
|
var Document = require_Document();
|
|
@@ -7339,9 +7339,9 @@ var require_dist = __commonJS({
|
|
|
7339
7339
|
}
|
|
7340
7340
|
});
|
|
7341
7341
|
|
|
7342
|
-
// node_modules/extend/index.js
|
|
7342
|
+
// ../../node_modules/extend/index.js
|
|
7343
7343
|
var require_extend = __commonJS({
|
|
7344
|
-
"node_modules/extend/index.js"(exports, module) {
|
|
7344
|
+
"../../node_modules/extend/index.js"(exports, module) {
|
|
7345
7345
|
"use strict";
|
|
7346
7346
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
7347
7347
|
var toStr = Object.prototype.toString;
|
|
@@ -7767,12 +7767,22 @@ function evaluateFrontmatterField(frontmatter, field, context, fieldOrder) {
|
|
|
7767
7767
|
}
|
|
7768
7768
|
const value = frontmatter[field.field];
|
|
7769
7769
|
const diagnostics = [];
|
|
7770
|
+
const stringTypeMismatch = field.valueType === "string" && typeof value !== "string";
|
|
7770
7771
|
if (field.valueType !== void 0 && !matchesFrontmatterValueType(value, field.valueType)) {
|
|
7771
7772
|
diagnostics.push(typeMismatchDiagnostic(field, context, fieldOrder));
|
|
7772
7773
|
}
|
|
7773
|
-
if (field.
|
|
7774
|
+
if (field.forbidden === true) {
|
|
7775
|
+
diagnostics.push(forbiddenFieldDiagnostic(field, context, fieldOrder));
|
|
7776
|
+
}
|
|
7777
|
+
if (!stringTypeMismatch && field.equals !== void 0 && failsExactStringPredicate(value, field.equals)) {
|
|
7778
|
+
diagnostics.push(valueMismatchDiagnostic(field, context, fieldOrder));
|
|
7779
|
+
}
|
|
7780
|
+
if (!stringTypeMismatch && field.nonEmpty === true && failsNonEmptyStringPredicate(value)) {
|
|
7774
7781
|
diagnostics.push(emptyFieldDiagnostic(field, context, fieldOrder));
|
|
7775
7782
|
}
|
|
7783
|
+
if (!stringTypeMismatch && field.nonBlank === true && failsNonBlankStringPredicate(value)) {
|
|
7784
|
+
diagnostics.push(blankFieldDiagnostic(field, context, fieldOrder));
|
|
7785
|
+
}
|
|
7776
7786
|
return diagnostics;
|
|
7777
7787
|
}
|
|
7778
7788
|
function requiredFrontmatterDiagnostic(context) {
|
|
@@ -7835,6 +7845,42 @@ function emptyFieldDiagnostic(field, context, fieldOrder) {
|
|
|
7835
7845
|
}
|
|
7836
7846
|
);
|
|
7837
7847
|
}
|
|
7848
|
+
function valueMismatchDiagnostic(field, context, fieldOrder) {
|
|
7849
|
+
return validationDiagnostic(
|
|
7850
|
+
"profile.validation.frontmatterFieldValueMismatch",
|
|
7851
|
+
`Frontmatter field "${field.field}" must match its configured string value.`,
|
|
7852
|
+
context.rule,
|
|
7853
|
+
{
|
|
7854
|
+
assertionIndex: context.assertionIndex,
|
|
7855
|
+
targetKey: frontmatterFieldTargetKey(field, "equals"),
|
|
7856
|
+
diagnosticOrder: fieldOrder
|
|
7857
|
+
}
|
|
7858
|
+
);
|
|
7859
|
+
}
|
|
7860
|
+
function blankFieldDiagnostic(field, context, fieldOrder) {
|
|
7861
|
+
return validationDiagnostic(
|
|
7862
|
+
"profile.validation.frontmatterFieldBlank",
|
|
7863
|
+
`Frontmatter field "${field.field}" must be a non-blank string.`,
|
|
7864
|
+
context.rule,
|
|
7865
|
+
{
|
|
7866
|
+
assertionIndex: context.assertionIndex,
|
|
7867
|
+
targetKey: frontmatterFieldTargetKey(field, "nonBlank"),
|
|
7868
|
+
diagnosticOrder: fieldOrder
|
|
7869
|
+
}
|
|
7870
|
+
);
|
|
7871
|
+
}
|
|
7872
|
+
function forbiddenFieldDiagnostic(field, context, fieldOrder) {
|
|
7873
|
+
return validationDiagnostic(
|
|
7874
|
+
"profile.validation.frontmatterFieldForbidden",
|
|
7875
|
+
`Frontmatter field "${field.field}" is forbidden.`,
|
|
7876
|
+
context.rule,
|
|
7877
|
+
{
|
|
7878
|
+
assertionIndex: context.assertionIndex,
|
|
7879
|
+
targetKey: frontmatterFieldTargetKey(field, "forbidden"),
|
|
7880
|
+
diagnosticOrder: fieldOrder
|
|
7881
|
+
}
|
|
7882
|
+
);
|
|
7883
|
+
}
|
|
7838
7884
|
function frontmatterFieldTargetKey(field, predicate) {
|
|
7839
7885
|
return `frontmatter:${field.field}:${predicate}`;
|
|
7840
7886
|
}
|
|
@@ -7854,12 +7900,15 @@ function matchesFrontmatterValueType(value, valueType) {
|
|
|
7854
7900
|
return value === null;
|
|
7855
7901
|
}
|
|
7856
7902
|
}
|
|
7857
|
-
function
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7903
|
+
function failsExactStringPredicate(value, expected) {
|
|
7904
|
+
return typeof value !== "string" || value !== expected;
|
|
7905
|
+
}
|
|
7906
|
+
function failsNonEmptyStringPredicate(value) {
|
|
7861
7907
|
return typeof value !== "string" || value.length === 0;
|
|
7862
7908
|
}
|
|
7909
|
+
function failsNonBlankStringPredicate(value) {
|
|
7910
|
+
return typeof value !== "string" || value.trim().length === 0;
|
|
7911
|
+
}
|
|
7863
7912
|
|
|
7864
7913
|
// src/declarative-validation/assertions/frontmatter-required.ts
|
|
7865
7914
|
function evaluateFrontmatterRequired(assertion, context) {
|
|
@@ -7998,7 +8047,8 @@ function tableColumnTargets(document3, source) {
|
|
|
7998
8047
|
}
|
|
7999
8048
|
const resolvedColumns = tableResolution.tables.flatMap((table) => {
|
|
8000
8049
|
const columnIndex = columnIndexForHeader(table, source.column);
|
|
8001
|
-
|
|
8050
|
+
const predicateColumnMissing = source.rowWhere !== void 0 && columnIndexForHeader(table, source.rowWhere.column) === void 0;
|
|
8051
|
+
return columnIndex === void 0 || predicateColumnMissing ? [] : [{ table, columnIndex }];
|
|
8002
8052
|
});
|
|
8003
8053
|
if (resolvedColumns.length === 0) {
|
|
8004
8054
|
return {
|
|
@@ -8011,7 +8061,7 @@ function tableColumnTargets(document3, source) {
|
|
|
8011
8061
|
status: "resolved",
|
|
8012
8062
|
source,
|
|
8013
8063
|
targets: resolvedColumns.flatMap(
|
|
8014
|
-
({ table, columnIndex }) => tableCellTargetsForColumn(document3, table, columnIndex)
|
|
8064
|
+
({ table, columnIndex }) => tableCellTargetsForColumn(document3, table, columnIndex, source.rowWhere)
|
|
8015
8065
|
)
|
|
8016
8066
|
};
|
|
8017
8067
|
}
|
|
@@ -8061,9 +8111,11 @@ function rowMatchesPredicate(table, cells, predicate) {
|
|
|
8061
8111
|
function columnIndexForHeader(table, column) {
|
|
8062
8112
|
return headerCells(table).find((cell) => cell.text === column)?.columnIndex;
|
|
8063
8113
|
}
|
|
8064
|
-
function tableCellTargetsForColumn(document3, table, columnIndex) {
|
|
8065
|
-
return dataRows(table).flatMap((row) => {
|
|
8066
|
-
const cell = row.cells.find(
|
|
8114
|
+
function tableCellTargetsForColumn(document3, table, columnIndex, rowWhere) {
|
|
8115
|
+
return dataRows(table).filter((row) => rowMatchesPredicate(table, row.cells, rowWhere)).flatMap((row) => {
|
|
8116
|
+
const cell = row.cells.find(
|
|
8117
|
+
(candidate) => candidate.columnIndex === columnIndex
|
|
8118
|
+
);
|
|
8067
8119
|
return cell === void 0 ? [] : [tableCellSelectionTarget(document3, table, cell)];
|
|
8068
8120
|
});
|
|
8069
8121
|
}
|
|
@@ -9554,8 +9606,16 @@ function sourceLengthRequirement(assertion) {
|
|
|
9554
9606
|
// src/declarative-validation/assertions/table-column-coverage.ts
|
|
9555
9607
|
function evaluateTableColumnCoverage(assertion, context) {
|
|
9556
9608
|
const options = idTokenOptions(assertion);
|
|
9557
|
-
const
|
|
9609
|
+
const sourceResolution = resolveTableColumnIdTokens(
|
|
9610
|
+
context.selection.document,
|
|
9611
|
+
assertion.source,
|
|
9612
|
+
options
|
|
9613
|
+
);
|
|
9614
|
+
const sourceIds = sourceResolution.status === "resolved" ? uniqueSourceIds2(sourceResolution.tokens) : [];
|
|
9558
9615
|
if (sourceIds.length === 0) {
|
|
9616
|
+
if (assertion.allowEmptySource === true && sourceResolution.status === "resolved") {
|
|
9617
|
+
return [];
|
|
9618
|
+
}
|
|
9559
9619
|
return [emptySelectionDiagnostic(context.rule, context.assertionIndex)];
|
|
9560
9620
|
}
|
|
9561
9621
|
const targetResolution = resolveTableColumnIdTokens(
|
|
@@ -9565,12 +9625,22 @@ function evaluateTableColumnCoverage(assertion, context) {
|
|
|
9565
9625
|
);
|
|
9566
9626
|
if (targetResolution.status === "missingSection") {
|
|
9567
9627
|
return sourceIds.map(
|
|
9568
|
-
(sourceId, sourceIdOrder) => missingTargetSectionDiagnostic(
|
|
9628
|
+
(sourceId, sourceIdOrder) => missingTargetSectionDiagnostic(
|
|
9629
|
+
assertion,
|
|
9630
|
+
context,
|
|
9631
|
+
sourceId,
|
|
9632
|
+
sourceIdOrder
|
|
9633
|
+
)
|
|
9569
9634
|
);
|
|
9570
9635
|
}
|
|
9571
9636
|
if (targetResolution.status === "missingColumn") {
|
|
9572
9637
|
return sourceIds.map(
|
|
9573
|
-
(sourceId, sourceIdOrder) => missingTargetColumnDiagnostic(
|
|
9638
|
+
(sourceId, sourceIdOrder) => missingTargetColumnDiagnostic(
|
|
9639
|
+
assertion,
|
|
9640
|
+
context,
|
|
9641
|
+
sourceId,
|
|
9642
|
+
sourceIdOrder
|
|
9643
|
+
)
|
|
9574
9644
|
);
|
|
9575
9645
|
}
|
|
9576
9646
|
const targetComparisonValues = new Set(
|
|
@@ -9592,17 +9662,6 @@ function evaluateTableColumnCoverage(assertion, context) {
|
|
|
9592
9662
|
}
|
|
9593
9663
|
return diagnostics;
|
|
9594
9664
|
}
|
|
9595
|
-
function sourceIdsForCoverage(assertion, context, options) {
|
|
9596
|
-
const sourceResolution = resolveTableColumnIdTokens(
|
|
9597
|
-
context.selection.document,
|
|
9598
|
-
{
|
|
9599
|
-
section: assertion.source.section,
|
|
9600
|
-
column: assertion.source.column
|
|
9601
|
-
},
|
|
9602
|
-
options
|
|
9603
|
-
);
|
|
9604
|
-
return sourceResolution.status === "resolved" ? uniqueSourceIds2(sourceResolution.tokens) : [];
|
|
9605
|
-
}
|
|
9606
9665
|
function uniqueSourceIds2(tokens) {
|
|
9607
9666
|
const sourceIdsByComparisonValue = /* @__PURE__ */ new Map();
|
|
9608
9667
|
for (const token of tokens) {
|
|
@@ -9775,6 +9834,40 @@ function tableColumnSortKey(table, diagnosticOrder, column) {
|
|
|
9775
9834
|
return `table:${table.target.id}:column:${paddedDiagnosticOrder}:${column}`;
|
|
9776
9835
|
}
|
|
9777
9836
|
|
|
9837
|
+
// src/declarative-validation/assertions/visible-text.ts
|
|
9838
|
+
function visibleText(document3, target) {
|
|
9839
|
+
const textAt = (nodeTarget) => documentQueries.nodes(document3, { targetId: nodeTarget.id }).map(nodeText2).join("");
|
|
9840
|
+
switch (target.kind) {
|
|
9841
|
+
case "document":
|
|
9842
|
+
return document3.children.map(nodeText2).join("\n");
|
|
9843
|
+
case "section":
|
|
9844
|
+
return [
|
|
9845
|
+
textAt(target.section.headingTarget),
|
|
9846
|
+
...target.section.bodyTargets.map(textAt)
|
|
9847
|
+
].join("\n");
|
|
9848
|
+
case "heading":
|
|
9849
|
+
return textAt(target.section.headingTarget);
|
|
9850
|
+
case "table":
|
|
9851
|
+
return textAt(target.table.target);
|
|
9852
|
+
case "tableRow":
|
|
9853
|
+
return target.cells.map((cell) => textAt(cell.target)).join(" ");
|
|
9854
|
+
case "tableCell":
|
|
9855
|
+
return textAt(target.cell.target);
|
|
9856
|
+
case "textSpan":
|
|
9857
|
+
return textAt(target.span.target);
|
|
9858
|
+
case "link":
|
|
9859
|
+
return textAt(target.link.target);
|
|
9860
|
+
case "list":
|
|
9861
|
+
return textAt(target.list.target);
|
|
9862
|
+
}
|
|
9863
|
+
}
|
|
9864
|
+
function nodeText2(node2) {
|
|
9865
|
+
if (node2.type === "html" || node2.type === "definition" || node2.type === "yaml") {
|
|
9866
|
+
return "";
|
|
9867
|
+
}
|
|
9868
|
+
return node2.children === void 0 ? node2.text ?? "" : node2.children.map(nodeText2).join("");
|
|
9869
|
+
}
|
|
9870
|
+
|
|
9778
9871
|
// src/declarative-validation/assertions/literal-text.ts
|
|
9779
9872
|
function countNonOverlappingLiteralOccurrences(text5, literal) {
|
|
9780
9873
|
let count = 0;
|
|
@@ -9801,6 +9894,16 @@ function evaluateText(assertion, context) {
|
|
|
9801
9894
|
}
|
|
9802
9895
|
function evaluateTextTarget(assertion, context, target, targetOrder) {
|
|
9803
9896
|
const diagnostics = [];
|
|
9897
|
+
if (assertion.nonBlank === true && visibleText(context.selection.document, target).trim().length === 0) {
|
|
9898
|
+
diagnostics.push(
|
|
9899
|
+
validationDiagnostic(
|
|
9900
|
+
"profile.validation.textBlank",
|
|
9901
|
+
`Selected ${target.kind} must contain non-whitespace text outside raw HTML.`,
|
|
9902
|
+
context.rule,
|
|
9903
|
+
{ assertionIndex: context.assertionIndex, target, targetOrder }
|
|
9904
|
+
)
|
|
9905
|
+
);
|
|
9906
|
+
}
|
|
9804
9907
|
if (assertion.contains !== void 0 && !target.text.includes(assertion.contains)) {
|
|
9805
9908
|
diagnostics.push(
|
|
9806
9909
|
validationDiagnostic(
|
|
@@ -10576,6 +10679,48 @@ function stringArray(value) {
|
|
|
10576
10679
|
return values;
|
|
10577
10680
|
}
|
|
10578
10681
|
|
|
10682
|
+
// src/declarative-validation/profile/cell-predicate-schema.ts
|
|
10683
|
+
function cellPredicateFromValue(value, key, diagnostics) {
|
|
10684
|
+
if (!isPlainRecord(value)) {
|
|
10685
|
+
diagnostics.push(invalidShape(`Selector ${key} must be an object.`));
|
|
10686
|
+
return void 0;
|
|
10687
|
+
}
|
|
10688
|
+
unsupportedKeys(value, ["column", "equals", "includes"], diagnostics);
|
|
10689
|
+
const column = requiredNonEmptyStringField(
|
|
10690
|
+
value.column,
|
|
10691
|
+
`Selector ${key}.column`,
|
|
10692
|
+
diagnostics,
|
|
10693
|
+
(field) => `${field} must be a non-empty string.`
|
|
10694
|
+
);
|
|
10695
|
+
if (column === void 0) {
|
|
10696
|
+
return void 0;
|
|
10697
|
+
}
|
|
10698
|
+
const predicate = {
|
|
10699
|
+
...optionalPredicateString(value, "equals", diagnostics),
|
|
10700
|
+
...optionalPredicateString(value, "includes", diagnostics)
|
|
10701
|
+
};
|
|
10702
|
+
if (predicate.equals === void 0 && predicate.includes === void 0) {
|
|
10703
|
+
diagnostics.push(
|
|
10704
|
+
invalidShape(
|
|
10705
|
+
`Selector ${key} must include at least one of equals or includes.`
|
|
10706
|
+
)
|
|
10707
|
+
);
|
|
10708
|
+
return void 0;
|
|
10709
|
+
}
|
|
10710
|
+
return {
|
|
10711
|
+
column,
|
|
10712
|
+
...predicate
|
|
10713
|
+
};
|
|
10714
|
+
}
|
|
10715
|
+
function optionalPredicateString(record, key, diagnostics) {
|
|
10716
|
+
return optionalStringField(
|
|
10717
|
+
record,
|
|
10718
|
+
key,
|
|
10719
|
+
diagnostics,
|
|
10720
|
+
(field) => `Selector ${field} must be a non-empty string when provided.`
|
|
10721
|
+
);
|
|
10722
|
+
}
|
|
10723
|
+
|
|
10579
10724
|
// src/declarative-validation/profile/selector-schema.ts
|
|
10580
10725
|
function selectorFromValue(value, diagnostics) {
|
|
10581
10726
|
if (!isPlainRecord(value)) {
|
|
@@ -10697,33 +10842,6 @@ function optionalCellPredicate(record, key, diagnostics) {
|
|
|
10697
10842
|
const predicate = cellPredicateFromValue(value, key, diagnostics);
|
|
10698
10843
|
return predicate === void 0 ? {} : { [key]: predicate };
|
|
10699
10844
|
}
|
|
10700
|
-
function cellPredicateFromValue(value, key, diagnostics) {
|
|
10701
|
-
if (!isPlainRecord(value)) {
|
|
10702
|
-
diagnostics.push(invalidShape(`Selector ${key} must be an object.`));
|
|
10703
|
-
return void 0;
|
|
10704
|
-
}
|
|
10705
|
-
unsupportedKeys(value, ["column", "equals", "includes"], diagnostics);
|
|
10706
|
-
const column = requiredSelectorString(value.column, `${key}.column`, diagnostics);
|
|
10707
|
-
if (column === void 0) {
|
|
10708
|
-
return void 0;
|
|
10709
|
-
}
|
|
10710
|
-
const predicate = {
|
|
10711
|
-
...optionalSelectorString(value, "equals", diagnostics),
|
|
10712
|
-
...optionalSelectorString(value, "includes", diagnostics)
|
|
10713
|
-
};
|
|
10714
|
-
if (predicate.equals === void 0 && predicate.includes === void 0) {
|
|
10715
|
-
diagnostics.push(
|
|
10716
|
-
invalidShape(
|
|
10717
|
-
`Selector ${key} must include at least one of equals or includes.`
|
|
10718
|
-
)
|
|
10719
|
-
);
|
|
10720
|
-
return void 0;
|
|
10721
|
-
}
|
|
10722
|
-
return {
|
|
10723
|
-
column,
|
|
10724
|
-
...predicate
|
|
10725
|
-
};
|
|
10726
|
-
}
|
|
10727
10845
|
function optionalBoolean(record, key, diagnostics) {
|
|
10728
10846
|
return optionalBooleanField(
|
|
10729
10847
|
record,
|
|
@@ -10881,7 +10999,7 @@ function frontmatterField(value, index2, invalidShapes, unsupportedKeys2) {
|
|
|
10881
10999
|
}
|
|
10882
11000
|
collectUnsupportedKeys(
|
|
10883
11001
|
value,
|
|
10884
|
-
["field", "required", "valueType", "nonEmpty"],
|
|
11002
|
+
["field", "required", "valueType", "nonEmpty", "equals", "nonBlank", "forbidden"],
|
|
10885
11003
|
unsupportedKeys2
|
|
10886
11004
|
);
|
|
10887
11005
|
let valid = true;
|
|
@@ -10920,10 +11038,51 @@ function frontmatterField(value, index2, invalidShapes, unsupportedKeys2) {
|
|
|
10920
11038
|
);
|
|
10921
11039
|
valid = false;
|
|
10922
11040
|
}
|
|
10923
|
-
const
|
|
10924
|
-
|
|
11041
|
+
const equals = stringConstraint(
|
|
11042
|
+
value.equals,
|
|
11043
|
+
`${fieldName}.equals`,
|
|
11044
|
+
invalidShapes
|
|
11045
|
+
);
|
|
11046
|
+
if (value.equals !== void 0 && equals === void 0) {
|
|
11047
|
+
valid = false;
|
|
11048
|
+
}
|
|
11049
|
+
const nonBlank = trueConstraint(
|
|
11050
|
+
value.nonBlank,
|
|
11051
|
+
`${fieldName}.nonBlank`,
|
|
11052
|
+
invalidShapes
|
|
11053
|
+
);
|
|
11054
|
+
if (value.nonBlank !== void 0 && nonBlank === void 0) {
|
|
11055
|
+
valid = false;
|
|
11056
|
+
}
|
|
11057
|
+
for (const [enabled, predicate] of [
|
|
11058
|
+
[equals !== void 0, "equals"],
|
|
11059
|
+
[nonBlank === true, "nonBlank"]
|
|
11060
|
+
]) {
|
|
11061
|
+
if (enabled && valueType !== void 0 && valueType !== "string") {
|
|
11062
|
+
invalidShapes.push(
|
|
11063
|
+
`${fieldName}.${predicate} can be combined only with valueType "string".`
|
|
11064
|
+
);
|
|
11065
|
+
valid = false;
|
|
11066
|
+
}
|
|
11067
|
+
}
|
|
11068
|
+
const forbidden = trueConstraint(
|
|
11069
|
+
value.forbidden,
|
|
11070
|
+
`${fieldName}.forbidden`,
|
|
11071
|
+
invalidShapes
|
|
11072
|
+
);
|
|
11073
|
+
if (value.forbidden !== void 0 && forbidden === void 0) {
|
|
11074
|
+
valid = false;
|
|
11075
|
+
}
|
|
11076
|
+
const hasOtherPredicateInput = value.required !== void 0 || value.valueType !== void 0 || value.nonEmpty !== void 0 || value.equals !== void 0 || value.nonBlank !== void 0;
|
|
11077
|
+
if (forbidden === true && hasOtherPredicateInput) {
|
|
11078
|
+
invalidShapes.push(
|
|
11079
|
+
`${fieldName}.forbidden cannot be combined with required, valueType, nonEmpty, equals, or nonBlank.`
|
|
11080
|
+
);
|
|
11081
|
+
valid = false;
|
|
11082
|
+
}
|
|
11083
|
+
if (!hasOtherPredicateInput && value.forbidden === void 0) {
|
|
10925
11084
|
invalidShapes.push(
|
|
10926
|
-
`${fieldName} must include required, valueType, or
|
|
11085
|
+
`${fieldName} must include required, valueType, nonEmpty, equals, nonBlank, or forbidden.`
|
|
10927
11086
|
);
|
|
10928
11087
|
valid = false;
|
|
10929
11088
|
}
|
|
@@ -10934,11 +11093,19 @@ function frontmatterField(value, index2, invalidShapes, unsupportedKeys2) {
|
|
|
10934
11093
|
field,
|
|
10935
11094
|
...required === true ? { required: true } : {}
|
|
10936
11095
|
};
|
|
10937
|
-
if (
|
|
11096
|
+
if (forbidden === true) {
|
|
11097
|
+
return {
|
|
11098
|
+
field,
|
|
11099
|
+
forbidden: true
|
|
11100
|
+
};
|
|
11101
|
+
}
|
|
11102
|
+
if (nonEmpty === true || equals !== void 0 || nonBlank === true) {
|
|
10938
11103
|
return {
|
|
10939
11104
|
...baseField,
|
|
10940
11105
|
...valueType === "string" ? { valueType } : {},
|
|
10941
|
-
nonEmpty: true
|
|
11106
|
+
...nonEmpty === true ? { nonEmpty: true } : {},
|
|
11107
|
+
...equals !== void 0 ? { equals } : {},
|
|
11108
|
+
...nonBlank === true ? { nonBlank: true } : {}
|
|
10942
11109
|
};
|
|
10943
11110
|
}
|
|
10944
11111
|
return {
|
|
@@ -10956,6 +11123,16 @@ function trueConstraint(value, fieldName, invalidShapes) {
|
|
|
10956
11123
|
invalidShapes.push(`${fieldName} must be true when provided.`);
|
|
10957
11124
|
return void 0;
|
|
10958
11125
|
}
|
|
11126
|
+
function stringConstraint(value, fieldName, invalidShapes) {
|
|
11127
|
+
if (value === void 0) {
|
|
11128
|
+
return void 0;
|
|
11129
|
+
}
|
|
11130
|
+
if (typeof value === "string") {
|
|
11131
|
+
return value;
|
|
11132
|
+
}
|
|
11133
|
+
invalidShapes.push(`${fieldName} must be a string when provided.`);
|
|
11134
|
+
return void 0;
|
|
11135
|
+
}
|
|
10959
11136
|
function frontmatterValueType(value, fieldName, invalidShapes) {
|
|
10960
11137
|
if (value === void 0) {
|
|
10961
11138
|
return void 0;
|
|
@@ -11014,7 +11191,22 @@ function pushObjectDiagnostic(fieldName, value, ruleId, diagnostics) {
|
|
|
11014
11191
|
}
|
|
11015
11192
|
function pushTextShapeDiagnostics(assertion, ruleId, diagnostics) {
|
|
11016
11193
|
let valid = true;
|
|
11017
|
-
if (assertion?.
|
|
11194
|
+
if (assertion?.nonBlank !== void 0 && assertion.nonBlank !== true) {
|
|
11195
|
+
diagnostics.push(
|
|
11196
|
+
compileDiagnostic(
|
|
11197
|
+
"profile.config.invalidShape",
|
|
11198
|
+
"text.nonBlank must be true when provided.",
|
|
11199
|
+
ruleId
|
|
11200
|
+
)
|
|
11201
|
+
);
|
|
11202
|
+
valid = false;
|
|
11203
|
+
}
|
|
11204
|
+
if (assertion?.contains !== void 0 && !pushNonEmptyStringDiagnostic(
|
|
11205
|
+
"contains",
|
|
11206
|
+
assertion.contains,
|
|
11207
|
+
ruleId,
|
|
11208
|
+
diagnostics
|
|
11209
|
+
)) {
|
|
11018
11210
|
valid = false;
|
|
11019
11211
|
}
|
|
11020
11212
|
if (assertion?.excludes !== void 0 && closedStringArray("excludes", assertion.excludes, ruleId, diagnostics) === void 0) {
|
|
@@ -11083,7 +11275,13 @@ function closedTableColumnCoverage(value, ruleId, diagnostics) {
|
|
|
11083
11275
|
const record = value;
|
|
11084
11276
|
const hasSupportedKeys = pushUnsupportedKeyDiagnostics(
|
|
11085
11277
|
record,
|
|
11086
|
-
["source", "target", "require"],
|
|
11278
|
+
["source", "target", "require", "allowEmptySource"],
|
|
11279
|
+
diagnostics
|
|
11280
|
+
);
|
|
11281
|
+
pushOptionalBooleanDiagnostic(
|
|
11282
|
+
"tableColumnCoverage.allowEmptySource",
|
|
11283
|
+
record.allowEmptySource,
|
|
11284
|
+
ruleId,
|
|
11087
11285
|
diagnostics
|
|
11088
11286
|
);
|
|
11089
11287
|
const source = closedTableColumnCoverageSource(
|
|
@@ -11109,7 +11307,8 @@ function closedTableColumnCoverage(value, ruleId, diagnostics) {
|
|
|
11109
11307
|
return hasSupportedKeys && diagnostics.length === diagnosticCountBefore && source !== void 0 && target !== void 0 && require2 !== void 0 ? {
|
|
11110
11308
|
source,
|
|
11111
11309
|
target,
|
|
11112
|
-
require: require2
|
|
11310
|
+
require: require2,
|
|
11311
|
+
...record.allowEmptySource === void 0 ? {} : { allowEmptySource: record.allowEmptySource }
|
|
11113
11312
|
} : void 0;
|
|
11114
11313
|
}
|
|
11115
11314
|
function closedTableColumnCoverageSource(value, ruleId, diagnostics) {
|
|
@@ -11124,7 +11323,7 @@ function closedTableColumnCoverageSource(value, ruleId, diagnostics) {
|
|
|
11124
11323
|
const source = value;
|
|
11125
11324
|
const hasSupportedKeys = pushUnsupportedKeyDiagnostics(
|
|
11126
11325
|
source,
|
|
11127
|
-
["section", "column", "prefix", "caseSensitive"],
|
|
11326
|
+
["section", "column", "prefix", "caseSensitive", "rowWhere"],
|
|
11128
11327
|
diagnostics
|
|
11129
11328
|
);
|
|
11130
11329
|
const hasValidFields = pushNonEmptyStringDiagnostic(
|
|
@@ -11148,7 +11347,9 @@ function closedTableColumnCoverageSource(value, ruleId, diagnostics) {
|
|
|
11148
11347
|
ruleId,
|
|
11149
11348
|
diagnostics
|
|
11150
11349
|
);
|
|
11151
|
-
|
|
11350
|
+
const rowWhere = source.rowWhere === void 0 ? void 0 : cellPredicateFromValue(source.rowWhere, "rowWhere", diagnostics);
|
|
11351
|
+
return hasSupportedKeys && hasValidFields && (source.rowWhere === void 0 || rowWhere !== void 0) ? {
|
|
11352
|
+
...rowWhere === void 0 ? {} : { rowWhere },
|
|
11152
11353
|
section: source.section,
|
|
11153
11354
|
column: source.column,
|
|
11154
11355
|
...optionalString("prefix", source.prefix),
|
|
@@ -11323,7 +11524,7 @@ function optionalNumber2(key, value) {
|
|
|
11323
11524
|
return value === void 0 ? {} : { [key]: value };
|
|
11324
11525
|
}
|
|
11325
11526
|
function hasTextPredicate(assertion) {
|
|
11326
|
-
return assertion?.contains !== void 0 || assertion?.excludes !== void 0 && assertion.excludes.length > 0;
|
|
11527
|
+
return assertion?.nonBlank === true || assertion?.contains !== void 0 || assertion?.excludes !== void 0 && assertion.excludes.length > 0;
|
|
11327
11528
|
}
|
|
11328
11529
|
|
|
11329
11530
|
// src/declarative-validation/profile/ids-assertion-contract.ts
|
|
@@ -11748,7 +11949,9 @@ function buildTableColumnCoverageAssertion(assertion, selector, ruleId, syntaxVe
|
|
|
11748
11949
|
)) {
|
|
11749
11950
|
return {
|
|
11750
11951
|
kind: "tableColumnCoverage",
|
|
11952
|
+
...tableColumnCoverage.allowEmptySource === void 0 ? {} : { allowEmptySource: tableColumnCoverage.allowEmptySource },
|
|
11751
11953
|
source: {
|
|
11954
|
+
...tableColumnCoverage.source.rowWhere === void 0 ? {} : { rowWhere: tableColumnCoverage.source.rowWhere },
|
|
11752
11955
|
section: tableColumnCoverage.source.section,
|
|
11753
11956
|
column: tableColumnCoverage.source.column,
|
|
11754
11957
|
caseSensitive: tableColumnCoverage.source.caseSensitive ?? true,
|
|
@@ -11787,13 +11990,13 @@ function buildFrontmatterShapeAssertion(assertion, selector, ruleId, syntaxVersi
|
|
|
11787
11990
|
}
|
|
11788
11991
|
return void 0;
|
|
11789
11992
|
}
|
|
11790
|
-
function buildTextAssertion(assertion, selector, ruleId,
|
|
11993
|
+
function buildTextAssertion(assertion, selector, ruleId, syntaxVersion, diagnostics) {
|
|
11791
11994
|
if (assertion.text === void 0) {
|
|
11792
11995
|
return void 0;
|
|
11793
11996
|
}
|
|
11794
11997
|
if (!pushObjectDiagnostic("text", assertion.text, ruleId, diagnostics) || !pushUnsupportedKeyDiagnostics(
|
|
11795
11998
|
assertion.text,
|
|
11796
|
-
["contains", "excludes"],
|
|
11999
|
+
syntaxVersion === PROFILE_SYNTAX_VERSION_V2 ? ["contains", "excludes", "nonBlank"] : ["contains", "excludes"],
|
|
11797
12000
|
diagnostics
|
|
11798
12001
|
) || !pushTextShapeDiagnostics(assertion.text, ruleId, diagnostics)) {
|
|
11799
12002
|
return void 0;
|
|
@@ -11811,6 +12014,7 @@ function buildTextAssertion(assertion, selector, ruleId, _syntaxVersion, diagnos
|
|
|
11811
12014
|
if (pushCompatibilityDiagnostic("text", selector, ruleId, diagnostics)) {
|
|
11812
12015
|
return {
|
|
11813
12016
|
kind: "text",
|
|
12017
|
+
...assertion.text.nonBlank === true ? { nonBlank: true } : {},
|
|
11814
12018
|
...optionalString("contains", assertion.text.contains),
|
|
11815
12019
|
...optionalStringArray("excludes", assertion.text.excludes)
|
|
11816
12020
|
};
|
|
@@ -12709,7 +12913,7 @@ function assertionFromValue(value, syntaxVersion, diagnostics) {
|
|
|
12709
12913
|
...tableColumnsRequiredFromValue(value.tableColumnsRequired, diagnostics),
|
|
12710
12914
|
...idsFromValue(value.ids, syntaxVersion, diagnostics),
|
|
12711
12915
|
...referencesFromValue(value.references, diagnostics),
|
|
12712
|
-
...textAssertionFromValue(value.text, diagnostics),
|
|
12916
|
+
...textAssertionFromValue(value.text, syntaxVersion, diagnostics),
|
|
12713
12917
|
...textOccurrenceCountFromValue(value.textOccurrenceCount, diagnostics),
|
|
12714
12918
|
...textLengthFromValue(value.textLength, diagnostics),
|
|
12715
12919
|
...supportsV2AssertionSurface(syntaxVersion) ? selectionCountFromValue(value.selectionCount, diagnostics) : {},
|
|
@@ -12725,7 +12929,9 @@ function assertionFromValue(value, syntaxVersion, diagnostics) {
|
|
|
12725
12929
|
return void 0;
|
|
12726
12930
|
}
|
|
12727
12931
|
diagnostics.push(
|
|
12728
|
-
invalidShape(
|
|
12932
|
+
invalidShape(
|
|
12933
|
+
"Rule assert must include at least one supported assertion."
|
|
12934
|
+
)
|
|
12729
12935
|
);
|
|
12730
12936
|
return void 0;
|
|
12731
12937
|
}
|
|
@@ -12906,7 +13112,12 @@ function tableColumnCoverageFromValue(value, diagnostics) {
|
|
|
12906
13112
|
diagnostics.push(invalidShape("tableColumnCoverage must be an object."));
|
|
12907
13113
|
return {};
|
|
12908
13114
|
}
|
|
12909
|
-
unsupportedKeys(
|
|
13115
|
+
unsupportedKeys(
|
|
13116
|
+
value,
|
|
13117
|
+
["source", "target", "require", "allowEmptySource"],
|
|
13118
|
+
diagnostics
|
|
13119
|
+
);
|
|
13120
|
+
const emptyPolicy = optionalBoolean2(value, "allowEmptySource", diagnostics);
|
|
12910
13121
|
const source = tableColumnCoverageSourceFromValue(value.source, diagnostics);
|
|
12911
13122
|
const target = tableColumnCoverageTargetFromValue(value.target, diagnostics);
|
|
12912
13123
|
const require2 = value.require === "everySourceId" ? "everySourceId" : void 0;
|
|
@@ -12917,6 +13128,7 @@ function tableColumnCoverageFromValue(value, diagnostics) {
|
|
|
12917
13128
|
}
|
|
12918
13129
|
return source === void 0 || target === void 0 || require2 === void 0 ? {} : {
|
|
12919
13130
|
tableColumnCoverage: {
|
|
13131
|
+
...emptyPolicy,
|
|
12920
13132
|
source,
|
|
12921
13133
|
target,
|
|
12922
13134
|
require: require2
|
|
@@ -12933,7 +13145,7 @@ function tableColumnCoverageSourceFromValue(value, diagnostics) {
|
|
|
12933
13145
|
}
|
|
12934
13146
|
unsupportedKeys(
|
|
12935
13147
|
value,
|
|
12936
|
-
["section", "column", "prefix", "caseSensitive"],
|
|
13148
|
+
["section", "column", "prefix", "caseSensitive", "rowWhere"],
|
|
12937
13149
|
diagnostics
|
|
12938
13150
|
);
|
|
12939
13151
|
const section = requiredAssertionString(
|
|
@@ -12946,7 +13158,9 @@ function tableColumnCoverageSourceFromValue(value, diagnostics) {
|
|
|
12946
13158
|
"tableColumnCoverage.source.column",
|
|
12947
13159
|
diagnostics
|
|
12948
13160
|
);
|
|
13161
|
+
const rowWhere = value.rowWhere === void 0 ? void 0 : cellPredicateFromValue(value.rowWhere, "rowWhere", diagnostics);
|
|
12949
13162
|
const source = {
|
|
13163
|
+
...rowWhere === void 0 ? {} : { rowWhere },
|
|
12950
13164
|
...optionalTableColumnCoverageSourceString(value, "prefix", diagnostics),
|
|
12951
13165
|
...optionalTableColumnCoverageSourceBoolean(
|
|
12952
13166
|
value,
|
|
@@ -13029,7 +13243,7 @@ function frontmatterShapeFromValue2(value, diagnostics) {
|
|
|
13029
13243
|
}
|
|
13030
13244
|
return result.shape === void 0 ? {} : { frontmatterShape: result.shape };
|
|
13031
13245
|
}
|
|
13032
|
-
function textAssertionFromValue(value, diagnostics) {
|
|
13246
|
+
function textAssertionFromValue(value, syntaxVersion, diagnostics) {
|
|
13033
13247
|
if (value === void 0) {
|
|
13034
13248
|
return {};
|
|
13035
13249
|
}
|
|
@@ -13037,16 +13251,22 @@ function textAssertionFromValue(value, diagnostics) {
|
|
|
13037
13251
|
diagnostics.push(invalidShape("text must be an object."));
|
|
13038
13252
|
return {};
|
|
13039
13253
|
}
|
|
13040
|
-
unsupportedKeys(
|
|
13254
|
+
unsupportedKeys(
|
|
13255
|
+
value,
|
|
13256
|
+
syntaxVersion === PROFILE_SYNTAX_VERSION_V2 ? ["contains", "excludes", "nonBlank"] : ["contains", "excludes"],
|
|
13257
|
+
diagnostics
|
|
13258
|
+
);
|
|
13259
|
+
if (value.nonBlank !== void 0 && value.nonBlank !== true) {
|
|
13260
|
+
diagnostics.push(invalidShape("text.nonBlank must be true when provided."));
|
|
13261
|
+
}
|
|
13041
13262
|
const text5 = {
|
|
13263
|
+
...value.nonBlank === true ? { nonBlank: true } : {},
|
|
13042
13264
|
...optionalAssertionString(value, "contains", diagnostics),
|
|
13043
13265
|
...optionalStringArray2(value, "excludes", diagnostics)
|
|
13044
13266
|
};
|
|
13045
13267
|
if (!hasTextPredicate2(text5)) {
|
|
13046
13268
|
diagnostics.push(
|
|
13047
|
-
invalidShape(
|
|
13048
|
-
"text must include contains or a non-empty excludes array."
|
|
13049
|
-
)
|
|
13269
|
+
invalidShape("text must include contains or a non-empty excludes array.")
|
|
13050
13270
|
);
|
|
13051
13271
|
return {};
|
|
13052
13272
|
}
|
|
@@ -13191,7 +13411,7 @@ function requiredAssertionString(value, field, diagnostics) {
|
|
|
13191
13411
|
);
|
|
13192
13412
|
}
|
|
13193
13413
|
function hasTextPredicate2(text5) {
|
|
13194
|
-
return text5?.contains !== void 0 || text5?.excludes !== void 0;
|
|
13414
|
+
return text5?.nonBlank === true || text5?.contains !== void 0 || text5?.excludes !== void 0;
|
|
13195
13415
|
}
|
|
13196
13416
|
function isNonNegativeInteger2(value) {
|
|
13197
13417
|
return Number.isInteger(value) && value >= 0;
|
|
@@ -13706,7 +13926,7 @@ function cloneSourceRange2(sourceRange) {
|
|
|
13706
13926
|
import { createHash } from "node:crypto";
|
|
13707
13927
|
|
|
13708
13928
|
// src/internal/package-version.ts
|
|
13709
|
-
var MARKDOWN_ENGINE_PACKAGE_VERSION = "3.
|
|
13929
|
+
var MARKDOWN_ENGINE_PACKAGE_VERSION = "3.6.0";
|
|
13710
13930
|
|
|
13711
13931
|
// src/internal/stable-json.ts
|
|
13712
13932
|
function normalizeStableJsonValue(value) {
|
|
@@ -14892,7 +15112,7 @@ function parseFrontmatter(markdown) {
|
|
|
14892
15112
|
};
|
|
14893
15113
|
}
|
|
14894
15114
|
|
|
14895
|
-
// node_modules/ccount/index.js
|
|
15115
|
+
// ../../node_modules/ccount/index.js
|
|
14896
15116
|
function ccount(value, character) {
|
|
14897
15117
|
const source = String(value);
|
|
14898
15118
|
if (typeof character !== "string") {
|
|
@@ -14907,11 +15127,11 @@ function ccount(value, character) {
|
|
|
14907
15127
|
return count;
|
|
14908
15128
|
}
|
|
14909
15129
|
|
|
14910
|
-
// node_modules/devlop/lib/default.js
|
|
15130
|
+
// ../../node_modules/devlop/lib/default.js
|
|
14911
15131
|
function ok() {
|
|
14912
15132
|
}
|
|
14913
15133
|
|
|
14914
|
-
// node_modules/micromark-util-character/index.js
|
|
15134
|
+
// ../../node_modules/micromark-util-character/index.js
|
|
14915
15135
|
var asciiAlpha = regexCheck(/[A-Za-z]/);
|
|
14916
15136
|
var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
|
|
14917
15137
|
var asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
|
|
@@ -14943,7 +15163,7 @@ function regexCheck(regex) {
|
|
|
14943
15163
|
}
|
|
14944
15164
|
}
|
|
14945
15165
|
|
|
14946
|
-
// node_modules/escape-string-regexp/index.js
|
|
15166
|
+
// ../../node_modules/escape-string-regexp/index.js
|
|
14947
15167
|
function escapeStringRegexp(string3) {
|
|
14948
15168
|
if (typeof string3 !== "string") {
|
|
14949
15169
|
throw new TypeError("Expected a string");
|
|
@@ -14951,7 +15171,7 @@ function escapeStringRegexp(string3) {
|
|
|
14951
15171
|
return string3.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
14952
15172
|
}
|
|
14953
15173
|
|
|
14954
|
-
// node_modules/unist-util-is/lib/index.js
|
|
15174
|
+
// ../../node_modules/unist-util-is/lib/index.js
|
|
14955
15175
|
var convert = (
|
|
14956
15176
|
// Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
14957
15177
|
/**
|
|
@@ -15050,12 +15270,12 @@ function looksLikeANode(value) {
|
|
|
15050
15270
|
return value !== null && typeof value === "object" && "type" in value;
|
|
15051
15271
|
}
|
|
15052
15272
|
|
|
15053
|
-
// node_modules/unist-util-visit-parents/lib/color.node.js
|
|
15273
|
+
// ../../node_modules/unist-util-visit-parents/lib/color.node.js
|
|
15054
15274
|
function color(d) {
|
|
15055
15275
|
return "\x1B[33m" + d + "\x1B[39m";
|
|
15056
15276
|
}
|
|
15057
15277
|
|
|
15058
|
-
// node_modules/unist-util-visit-parents/lib/index.js
|
|
15278
|
+
// ../../node_modules/unist-util-visit-parents/lib/index.js
|
|
15059
15279
|
var empty = [];
|
|
15060
15280
|
var CONTINUE = true;
|
|
15061
15281
|
var EXIT = false;
|
|
@@ -15132,7 +15352,7 @@ function toResult(value) {
|
|
|
15132
15352
|
return value === null || value === void 0 ? empty : [value];
|
|
15133
15353
|
}
|
|
15134
15354
|
|
|
15135
|
-
// node_modules/mdast-util-find-and-replace/lib/index.js
|
|
15355
|
+
// ../../node_modules/mdast-util-find-and-replace/lib/index.js
|
|
15136
15356
|
function findAndReplace(tree, list3, options) {
|
|
15137
15357
|
const settings = options || {};
|
|
15138
15358
|
const ignored = convert(settings.ignore || []);
|
|
@@ -15237,7 +15457,7 @@ function toFunction(replace2) {
|
|
|
15237
15457
|
};
|
|
15238
15458
|
}
|
|
15239
15459
|
|
|
15240
|
-
// node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
15460
|
+
// ../../node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
15241
15461
|
var inConstruct = "phrasing";
|
|
15242
15462
|
var notInConstruct = ["autolink", "link", "image", "label"];
|
|
15243
15463
|
function gfmAutolinkLiteralFromMarkdown() {
|
|
@@ -15387,12 +15607,12 @@ function previous(match, email) {
|
|
|
15387
15607
|
(!email || code3 !== 47);
|
|
15388
15608
|
}
|
|
15389
15609
|
|
|
15390
|
-
// node_modules/micromark-util-normalize-identifier/index.js
|
|
15610
|
+
// ../../node_modules/micromark-util-normalize-identifier/index.js
|
|
15391
15611
|
function normalizeIdentifier(value) {
|
|
15392
15612
|
return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
15393
15613
|
}
|
|
15394
15614
|
|
|
15395
|
-
// node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
15615
|
+
// ../../node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
15396
15616
|
footnoteReference.peek = footnoteReferencePeek;
|
|
15397
15617
|
function enterFootnoteCallString() {
|
|
15398
15618
|
this.buffer();
|
|
@@ -15505,7 +15725,7 @@ function mapAll(line, index2, blank) {
|
|
|
15505
15725
|
return (blank ? "" : " ") + line;
|
|
15506
15726
|
}
|
|
15507
15727
|
|
|
15508
|
-
// node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
15728
|
+
// ../../node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
15509
15729
|
var constructsWithoutStrikethrough = [
|
|
15510
15730
|
"autolink",
|
|
15511
15731
|
"destinationLiteral",
|
|
@@ -15557,7 +15777,7 @@ function peekDelete() {
|
|
|
15557
15777
|
return "~";
|
|
15558
15778
|
}
|
|
15559
15779
|
|
|
15560
|
-
// node_modules/markdown-table/index.js
|
|
15780
|
+
// ../../node_modules/markdown-table/index.js
|
|
15561
15781
|
function defaultStringLength(value) {
|
|
15562
15782
|
return value.length;
|
|
15563
15783
|
}
|
|
@@ -15698,7 +15918,7 @@ function toAlignment(value) {
|
|
|
15698
15918
|
return code3 === 67 || code3 === 99 ? 99 : code3 === 76 || code3 === 108 ? 108 : code3 === 82 || code3 === 114 ? 114 : 0;
|
|
15699
15919
|
}
|
|
15700
15920
|
|
|
15701
|
-
// node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
|
|
15921
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
|
|
15702
15922
|
function blockquote(node2, _, state, info) {
|
|
15703
15923
|
const exit3 = state.enter("blockquote");
|
|
15704
15924
|
const tracker = state.createTracker(info);
|
|
@@ -15715,7 +15935,7 @@ function map(line, _, blank) {
|
|
|
15715
15935
|
return ">" + (blank ? "" : " ") + line;
|
|
15716
15936
|
}
|
|
15717
15937
|
|
|
15718
|
-
// node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
|
|
15938
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
|
|
15719
15939
|
function patternInScope(stack, pattern) {
|
|
15720
15940
|
return listInScope(stack, pattern.inConstruct, true) && !listInScope(stack, pattern.notInConstruct, false);
|
|
15721
15941
|
}
|
|
@@ -15735,7 +15955,7 @@ function listInScope(stack, list3, none) {
|
|
|
15735
15955
|
return false;
|
|
15736
15956
|
}
|
|
15737
15957
|
|
|
15738
|
-
// node_modules/mdast-util-to-markdown/lib/handle/break.js
|
|
15958
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/break.js
|
|
15739
15959
|
function hardBreak(_, _1, state, info) {
|
|
15740
15960
|
let index2 = -1;
|
|
15741
15961
|
while (++index2 < state.unsafe.length) {
|
|
@@ -15746,7 +15966,7 @@ function hardBreak(_, _1, state, info) {
|
|
|
15746
15966
|
return "\\\n";
|
|
15747
15967
|
}
|
|
15748
15968
|
|
|
15749
|
-
// node_modules/longest-streak/index.js
|
|
15969
|
+
// ../../node_modules/longest-streak/index.js
|
|
15750
15970
|
function longestStreak(value, substring) {
|
|
15751
15971
|
const source = String(value);
|
|
15752
15972
|
let index2 = source.indexOf(substring);
|
|
@@ -15770,7 +15990,7 @@ function longestStreak(value, substring) {
|
|
|
15770
15990
|
return max;
|
|
15771
15991
|
}
|
|
15772
15992
|
|
|
15773
|
-
// node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js
|
|
15993
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js
|
|
15774
15994
|
function formatCodeAsIndented(node2, state) {
|
|
15775
15995
|
return Boolean(
|
|
15776
15996
|
state.options.fences === false && node2.value && // If there’s no info…
|
|
@@ -15780,7 +16000,7 @@ function formatCodeAsIndented(node2, state) {
|
|
|
15780
16000
|
);
|
|
15781
16001
|
}
|
|
15782
16002
|
|
|
15783
|
-
// node_modules/mdast-util-to-markdown/lib/util/check-fence.js
|
|
16003
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/check-fence.js
|
|
15784
16004
|
function checkFence(state) {
|
|
15785
16005
|
const marker = state.options.fence || "`";
|
|
15786
16006
|
if (marker !== "`" && marker !== "~") {
|
|
@@ -15791,7 +16011,7 @@ function checkFence(state) {
|
|
|
15791
16011
|
return marker;
|
|
15792
16012
|
}
|
|
15793
16013
|
|
|
15794
|
-
// node_modules/mdast-util-to-markdown/lib/handle/code.js
|
|
16014
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/code.js
|
|
15795
16015
|
function code(node2, _, state, info) {
|
|
15796
16016
|
const marker = checkFence(state);
|
|
15797
16017
|
const raw = node2.value || "";
|
|
@@ -15843,7 +16063,7 @@ function map2(line, _, blank) {
|
|
|
15843
16063
|
return (blank ? "" : " ") + line;
|
|
15844
16064
|
}
|
|
15845
16065
|
|
|
15846
|
-
// node_modules/mdast-util-to-markdown/lib/util/check-quote.js
|
|
16066
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/check-quote.js
|
|
15847
16067
|
function checkQuote(state) {
|
|
15848
16068
|
const marker = state.options.quote || '"';
|
|
15849
16069
|
if (marker !== '"' && marker !== "'") {
|
|
@@ -15854,7 +16074,7 @@ function checkQuote(state) {
|
|
|
15854
16074
|
return marker;
|
|
15855
16075
|
}
|
|
15856
16076
|
|
|
15857
|
-
// node_modules/mdast-util-to-markdown/lib/handle/definition.js
|
|
16077
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/definition.js
|
|
15858
16078
|
function definition(node2, _, state, info) {
|
|
15859
16079
|
const quote = checkQuote(state);
|
|
15860
16080
|
const suffix = quote === '"' ? "Quote" : "Apostrophe";
|
|
@@ -15910,7 +16130,7 @@ function definition(node2, _, state, info) {
|
|
|
15910
16130
|
return value;
|
|
15911
16131
|
}
|
|
15912
16132
|
|
|
15913
|
-
// node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
|
|
16133
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
|
|
15914
16134
|
function checkEmphasis(state) {
|
|
15915
16135
|
const marker = state.options.emphasis || "*";
|
|
15916
16136
|
if (marker !== "*" && marker !== "_") {
|
|
@@ -15921,12 +16141,12 @@ function checkEmphasis(state) {
|
|
|
15921
16141
|
return marker;
|
|
15922
16142
|
}
|
|
15923
16143
|
|
|
15924
|
-
// node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
|
|
16144
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
|
|
15925
16145
|
function encodeCharacterReference(code3) {
|
|
15926
16146
|
return "&#x" + code3.toString(16).toUpperCase() + ";";
|
|
15927
16147
|
}
|
|
15928
16148
|
|
|
15929
|
-
// node_modules/micromark-util-classify-character/index.js
|
|
16149
|
+
// ../../node_modules/micromark-util-classify-character/index.js
|
|
15930
16150
|
function classifyCharacter(code3) {
|
|
15931
16151
|
if (code3 === null || markdownLineEndingOrSpace(code3) || unicodeWhitespace(code3)) {
|
|
15932
16152
|
return 1;
|
|
@@ -15936,7 +16156,7 @@ function classifyCharacter(code3) {
|
|
|
15936
16156
|
}
|
|
15937
16157
|
}
|
|
15938
16158
|
|
|
15939
|
-
// node_modules/mdast-util-to-markdown/lib/util/encode-info.js
|
|
16159
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/encode-info.js
|
|
15940
16160
|
function encodeInfo(outside, inside, marker) {
|
|
15941
16161
|
const outsideKind = classifyCharacter(outside);
|
|
15942
16162
|
const insideKind = classifyCharacter(inside);
|
|
@@ -15978,7 +16198,7 @@ function encodeInfo(outside, inside, marker) {
|
|
|
15978
16198
|
);
|
|
15979
16199
|
}
|
|
15980
16200
|
|
|
15981
|
-
// node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
|
|
16201
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
|
|
15982
16202
|
emphasis.peek = emphasisPeek;
|
|
15983
16203
|
function emphasis(node2, _, state, info) {
|
|
15984
16204
|
const marker = checkEmphasis(state);
|
|
@@ -16018,7 +16238,7 @@ function emphasisPeek(_, _1, state) {
|
|
|
16018
16238
|
return state.options.emphasis || "*";
|
|
16019
16239
|
}
|
|
16020
16240
|
|
|
16021
|
-
// node_modules/unist-util-visit/lib/index.js
|
|
16241
|
+
// ../../node_modules/unist-util-visit/lib/index.js
|
|
16022
16242
|
function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
|
|
16023
16243
|
let reverse;
|
|
16024
16244
|
let test;
|
|
@@ -16040,7 +16260,7 @@ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
|
|
|
16040
16260
|
}
|
|
16041
16261
|
}
|
|
16042
16262
|
|
|
16043
|
-
// node_modules/mdast-util-to-string/lib/index.js
|
|
16263
|
+
// ../../node_modules/mdast-util-to-string/lib/index.js
|
|
16044
16264
|
var emptyOptions = {};
|
|
16045
16265
|
function toString(value, options) {
|
|
16046
16266
|
const settings = options || emptyOptions;
|
|
@@ -16077,7 +16297,7 @@ function node(value) {
|
|
|
16077
16297
|
return Boolean(value && typeof value === "object");
|
|
16078
16298
|
}
|
|
16079
16299
|
|
|
16080
|
-
// node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js
|
|
16300
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js
|
|
16081
16301
|
function formatHeadingAsSetext(node2, state) {
|
|
16082
16302
|
let literalWithBreak = false;
|
|
16083
16303
|
visit(node2, function(node3) {
|
|
@@ -16091,7 +16311,7 @@ function formatHeadingAsSetext(node2, state) {
|
|
|
16091
16311
|
);
|
|
16092
16312
|
}
|
|
16093
16313
|
|
|
16094
|
-
// node_modules/mdast-util-to-markdown/lib/handle/heading.js
|
|
16314
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/heading.js
|
|
16095
16315
|
function heading(node2, _, state, info) {
|
|
16096
16316
|
const rank = Math.max(Math.min(6, node2.depth || 1), 1);
|
|
16097
16317
|
const tracker = state.createTracker(info);
|
|
@@ -16133,7 +16353,7 @@ function heading(node2, _, state, info) {
|
|
|
16133
16353
|
return value;
|
|
16134
16354
|
}
|
|
16135
16355
|
|
|
16136
|
-
// node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
16356
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
16137
16357
|
html.peek = htmlPeek;
|
|
16138
16358
|
function html(node2) {
|
|
16139
16359
|
return node2.value || "";
|
|
@@ -16142,7 +16362,7 @@ function htmlPeek() {
|
|
|
16142
16362
|
return "<";
|
|
16143
16363
|
}
|
|
16144
16364
|
|
|
16145
|
-
// node_modules/mdast-util-to-markdown/lib/handle/image.js
|
|
16365
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/image.js
|
|
16146
16366
|
image.peek = imagePeek;
|
|
16147
16367
|
function image(node2, _, state, info) {
|
|
16148
16368
|
const quote = checkQuote(state);
|
|
@@ -16199,7 +16419,7 @@ function imagePeek() {
|
|
|
16199
16419
|
return "!";
|
|
16200
16420
|
}
|
|
16201
16421
|
|
|
16202
|
-
// node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
|
|
16422
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
|
|
16203
16423
|
imageReference.peek = imageReferencePeek;
|
|
16204
16424
|
function imageReference(node2, _, state, info) {
|
|
16205
16425
|
const type = node2.referenceType;
|
|
@@ -16238,7 +16458,7 @@ function imageReferencePeek() {
|
|
|
16238
16458
|
return "!";
|
|
16239
16459
|
}
|
|
16240
16460
|
|
|
16241
|
-
// node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
|
|
16461
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
|
|
16242
16462
|
inlineCode.peek = inlineCodePeek;
|
|
16243
16463
|
function inlineCode(node2, _, state) {
|
|
16244
16464
|
let value = node2.value || "";
|
|
@@ -16269,7 +16489,7 @@ function inlineCodePeek() {
|
|
|
16269
16489
|
return "`";
|
|
16270
16490
|
}
|
|
16271
16491
|
|
|
16272
|
-
// node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
|
|
16492
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
|
|
16273
16493
|
function formatLinkAsAutolink(node2, state) {
|
|
16274
16494
|
const raw = toString(node2);
|
|
16275
16495
|
return Boolean(
|
|
@@ -16284,7 +16504,7 @@ function formatLinkAsAutolink(node2, state) {
|
|
|
16284
16504
|
);
|
|
16285
16505
|
}
|
|
16286
16506
|
|
|
16287
|
-
// node_modules/mdast-util-to-markdown/lib/handle/link.js
|
|
16507
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/link.js
|
|
16288
16508
|
link.peek = linkPeek;
|
|
16289
16509
|
function link(node2, _, state, info) {
|
|
16290
16510
|
const quote = checkQuote(state);
|
|
@@ -16364,7 +16584,7 @@ function linkPeek(node2, _, state) {
|
|
|
16364
16584
|
return formatLinkAsAutolink(node2, state) ? "<" : "[";
|
|
16365
16585
|
}
|
|
16366
16586
|
|
|
16367
|
-
// node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
|
|
16587
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
|
|
16368
16588
|
linkReference.peek = linkReferencePeek;
|
|
16369
16589
|
function linkReference(node2, _, state, info) {
|
|
16370
16590
|
const type = node2.referenceType;
|
|
@@ -16403,7 +16623,7 @@ function linkReferencePeek() {
|
|
|
16403
16623
|
return "[";
|
|
16404
16624
|
}
|
|
16405
16625
|
|
|
16406
|
-
// node_modules/mdast-util-to-markdown/lib/util/check-bullet.js
|
|
16626
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/check-bullet.js
|
|
16407
16627
|
function checkBullet(state) {
|
|
16408
16628
|
const marker = state.options.bullet || "*";
|
|
16409
16629
|
if (marker !== "*" && marker !== "+" && marker !== "-") {
|
|
@@ -16414,7 +16634,7 @@ function checkBullet(state) {
|
|
|
16414
16634
|
return marker;
|
|
16415
16635
|
}
|
|
16416
16636
|
|
|
16417
|
-
// node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js
|
|
16637
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js
|
|
16418
16638
|
function checkBulletOther(state) {
|
|
16419
16639
|
const bullet = checkBullet(state);
|
|
16420
16640
|
const bulletOther = state.options.bulletOther;
|
|
@@ -16434,7 +16654,7 @@ function checkBulletOther(state) {
|
|
|
16434
16654
|
return bulletOther;
|
|
16435
16655
|
}
|
|
16436
16656
|
|
|
16437
|
-
// node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js
|
|
16657
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js
|
|
16438
16658
|
function checkBulletOrdered(state) {
|
|
16439
16659
|
const marker = state.options.bulletOrdered || ".";
|
|
16440
16660
|
if (marker !== "." && marker !== ")") {
|
|
@@ -16445,7 +16665,7 @@ function checkBulletOrdered(state) {
|
|
|
16445
16665
|
return marker;
|
|
16446
16666
|
}
|
|
16447
16667
|
|
|
16448
|
-
// node_modules/mdast-util-to-markdown/lib/util/check-rule.js
|
|
16668
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/check-rule.js
|
|
16449
16669
|
function checkRule(state) {
|
|
16450
16670
|
const marker = state.options.rule || "*";
|
|
16451
16671
|
if (marker !== "*" && marker !== "-" && marker !== "_") {
|
|
@@ -16456,7 +16676,7 @@ function checkRule(state) {
|
|
|
16456
16676
|
return marker;
|
|
16457
16677
|
}
|
|
16458
16678
|
|
|
16459
|
-
// node_modules/mdast-util-to-markdown/lib/handle/list.js
|
|
16679
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/list.js
|
|
16460
16680
|
function list(node2, parent, state, info) {
|
|
16461
16681
|
const exit3 = state.enter("list");
|
|
16462
16682
|
const bulletCurrent = state.bulletCurrent;
|
|
@@ -16496,7 +16716,7 @@ function list(node2, parent, state, info) {
|
|
|
16496
16716
|
return value;
|
|
16497
16717
|
}
|
|
16498
16718
|
|
|
16499
|
-
// node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js
|
|
16719
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js
|
|
16500
16720
|
function checkListItemIndent(state) {
|
|
16501
16721
|
const style = state.options.listItemIndent || "one";
|
|
16502
16722
|
if (style !== "tab" && style !== "one" && style !== "mixed") {
|
|
@@ -16507,7 +16727,7 @@ function checkListItemIndent(state) {
|
|
|
16507
16727
|
return style;
|
|
16508
16728
|
}
|
|
16509
16729
|
|
|
16510
|
-
// node_modules/mdast-util-to-markdown/lib/handle/list-item.js
|
|
16730
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/list-item.js
|
|
16511
16731
|
function listItem(node2, parent, state, info) {
|
|
16512
16732
|
const listItemIndent = checkListItemIndent(state);
|
|
16513
16733
|
let bullet = state.bulletCurrent || checkBullet(state);
|
|
@@ -16536,7 +16756,7 @@ function listItem(node2, parent, state, info) {
|
|
|
16536
16756
|
}
|
|
16537
16757
|
}
|
|
16538
16758
|
|
|
16539
|
-
// node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
|
|
16759
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
|
|
16540
16760
|
function paragraph(node2, _, state, info) {
|
|
16541
16761
|
const exit3 = state.enter("paragraph");
|
|
16542
16762
|
const subexit = state.enter("phrasing");
|
|
@@ -16546,7 +16766,7 @@ function paragraph(node2, _, state, info) {
|
|
|
16546
16766
|
return value;
|
|
16547
16767
|
}
|
|
16548
16768
|
|
|
16549
|
-
// node_modules/mdast-util-phrasing/lib/index.js
|
|
16769
|
+
// ../../node_modules/mdast-util-phrasing/lib/index.js
|
|
16550
16770
|
var phrasing = (
|
|
16551
16771
|
/** @type {(node?: unknown) => node is Exclude<PhrasingContent, Html>} */
|
|
16552
16772
|
convert([
|
|
@@ -16574,7 +16794,7 @@ var phrasing = (
|
|
|
16574
16794
|
])
|
|
16575
16795
|
);
|
|
16576
16796
|
|
|
16577
|
-
// node_modules/mdast-util-to-markdown/lib/handle/root.js
|
|
16797
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/root.js
|
|
16578
16798
|
function root(node2, _, state, info) {
|
|
16579
16799
|
const hasPhrasing = node2.children.some(function(d) {
|
|
16580
16800
|
return phrasing(d);
|
|
@@ -16583,7 +16803,7 @@ function root(node2, _, state, info) {
|
|
|
16583
16803
|
return container.call(state, node2, info);
|
|
16584
16804
|
}
|
|
16585
16805
|
|
|
16586
|
-
// node_modules/mdast-util-to-markdown/lib/util/check-strong.js
|
|
16806
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/check-strong.js
|
|
16587
16807
|
function checkStrong(state) {
|
|
16588
16808
|
const marker = state.options.strong || "*";
|
|
16589
16809
|
if (marker !== "*" && marker !== "_") {
|
|
@@ -16594,7 +16814,7 @@ function checkStrong(state) {
|
|
|
16594
16814
|
return marker;
|
|
16595
16815
|
}
|
|
16596
16816
|
|
|
16597
|
-
// node_modules/mdast-util-to-markdown/lib/handle/strong.js
|
|
16817
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/strong.js
|
|
16598
16818
|
strong.peek = strongPeek;
|
|
16599
16819
|
function strong(node2, _, state, info) {
|
|
16600
16820
|
const marker = checkStrong(state);
|
|
@@ -16634,12 +16854,12 @@ function strongPeek(_, _1, state) {
|
|
|
16634
16854
|
return state.options.strong || "*";
|
|
16635
16855
|
}
|
|
16636
16856
|
|
|
16637
|
-
// node_modules/mdast-util-to-markdown/lib/handle/text.js
|
|
16857
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/text.js
|
|
16638
16858
|
function text(node2, _, state, info) {
|
|
16639
16859
|
return state.safe(node2.value, info);
|
|
16640
16860
|
}
|
|
16641
16861
|
|
|
16642
|
-
// node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js
|
|
16862
|
+
// ../../node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js
|
|
16643
16863
|
function checkRuleRepetition(state) {
|
|
16644
16864
|
const repetition = state.options.ruleRepetition || 3;
|
|
16645
16865
|
if (repetition < 3) {
|
|
@@ -16650,13 +16870,13 @@ function checkRuleRepetition(state) {
|
|
|
16650
16870
|
return repetition;
|
|
16651
16871
|
}
|
|
16652
16872
|
|
|
16653
|
-
// node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
|
|
16873
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
|
|
16654
16874
|
function thematicBreak(_, _1, state) {
|
|
16655
16875
|
const value = (checkRule(state) + (state.options.ruleSpaces ? " " : "")).repeat(checkRuleRepetition(state));
|
|
16656
16876
|
return state.options.ruleSpaces ? value.slice(0, -1) : value;
|
|
16657
16877
|
}
|
|
16658
16878
|
|
|
16659
|
-
// node_modules/mdast-util-to-markdown/lib/handle/index.js
|
|
16879
|
+
// ../../node_modules/mdast-util-to-markdown/lib/handle/index.js
|
|
16660
16880
|
var handle = {
|
|
16661
16881
|
blockquote,
|
|
16662
16882
|
break: hardBreak,
|
|
@@ -16680,7 +16900,7 @@ var handle = {
|
|
|
16680
16900
|
thematicBreak
|
|
16681
16901
|
};
|
|
16682
16902
|
|
|
16683
|
-
// node_modules/character-entities/index.js
|
|
16903
|
+
// ../../node_modules/character-entities/index.js
|
|
16684
16904
|
var characterEntities = {
|
|
16685
16905
|
AElig: "\xC6",
|
|
16686
16906
|
AMP: "&",
|
|
@@ -18809,13 +19029,13 @@ var characterEntities = {
|
|
|
18809
19029
|
zwnj: "\u200C"
|
|
18810
19030
|
};
|
|
18811
19031
|
|
|
18812
|
-
// node_modules/decode-named-character-reference/index.js
|
|
19032
|
+
// ../../node_modules/decode-named-character-reference/index.js
|
|
18813
19033
|
var own = {}.hasOwnProperty;
|
|
18814
19034
|
function decodeNamedCharacterReference(value) {
|
|
18815
19035
|
return own.call(characterEntities, value) ? characterEntities[value] : false;
|
|
18816
19036
|
}
|
|
18817
19037
|
|
|
18818
|
-
// node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
19038
|
+
// ../../node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
18819
19039
|
function decodeNumericCharacterReference(value, base) {
|
|
18820
19040
|
const code3 = Number.parseInt(value, base);
|
|
18821
19041
|
if (
|
|
@@ -18833,7 +19053,7 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
18833
19053
|
return String.fromCodePoint(code3);
|
|
18834
19054
|
}
|
|
18835
19055
|
|
|
18836
|
-
// node_modules/micromark-util-decode-string/index.js
|
|
19056
|
+
// ../../node_modules/micromark-util-decode-string/index.js
|
|
18837
19057
|
var characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
18838
19058
|
function decodeString(value) {
|
|
18839
19059
|
return value.replace(characterEscapeOrReference, decode);
|
|
@@ -18851,7 +19071,7 @@ function decode($0, $1, $2) {
|
|
|
18851
19071
|
return decodeNamedCharacterReference($2) || $0;
|
|
18852
19072
|
}
|
|
18853
19073
|
|
|
18854
|
-
// node_modules/mdast-util-gfm-table/lib/index.js
|
|
19074
|
+
// ../../node_modules/mdast-util-gfm-table/lib/index.js
|
|
18855
19075
|
function gfmTableFromMarkdown() {
|
|
18856
19076
|
return {
|
|
18857
19077
|
enter: {
|
|
@@ -19004,7 +19224,7 @@ function gfmTableToMarkdown(options) {
|
|
|
19004
19224
|
}
|
|
19005
19225
|
}
|
|
19006
19226
|
|
|
19007
|
-
// node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
19227
|
+
// ../../node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
19008
19228
|
function gfmTaskListItemFromMarkdown() {
|
|
19009
19229
|
return {
|
|
19010
19230
|
exit: {
|
|
@@ -19077,7 +19297,7 @@ function listItemWithTaskListItem(node2, parent, state, info) {
|
|
|
19077
19297
|
}
|
|
19078
19298
|
}
|
|
19079
19299
|
|
|
19080
|
-
// node_modules/mdast-util-gfm/lib/index.js
|
|
19300
|
+
// ../../node_modules/mdast-util-gfm/lib/index.js
|
|
19081
19301
|
function gfmFromMarkdown() {
|
|
19082
19302
|
return [
|
|
19083
19303
|
gfmAutolinkLiteralFromMarkdown(),
|
|
@@ -19099,7 +19319,7 @@ function gfmToMarkdown(options) {
|
|
|
19099
19319
|
};
|
|
19100
19320
|
}
|
|
19101
19321
|
|
|
19102
|
-
// node_modules/micromark-util-chunked/index.js
|
|
19322
|
+
// ../../node_modules/micromark-util-chunked/index.js
|
|
19103
19323
|
function splice(list3, start, remove, items) {
|
|
19104
19324
|
const end = list3.length;
|
|
19105
19325
|
let chunkStart = 0;
|
|
@@ -19133,7 +19353,7 @@ function push(list3, items) {
|
|
|
19133
19353
|
return items;
|
|
19134
19354
|
}
|
|
19135
19355
|
|
|
19136
|
-
// node_modules/micromark-util-combine-extensions/index.js
|
|
19356
|
+
// ../../node_modules/micromark-util-combine-extensions/index.js
|
|
19137
19357
|
var hasOwnProperty2 = {}.hasOwnProperty;
|
|
19138
19358
|
function combineExtensions(extensions) {
|
|
19139
19359
|
const all2 = {};
|
|
@@ -19173,7 +19393,7 @@ function constructs(existing, list3) {
|
|
|
19173
19393
|
splice(existing, 0, 0, before);
|
|
19174
19394
|
}
|
|
19175
19395
|
|
|
19176
|
-
// node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
19396
|
+
// ../../node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
19177
19397
|
var wwwPrefix = {
|
|
19178
19398
|
tokenize: tokenizeWwwPrefix,
|
|
19179
19399
|
partial: true
|
|
@@ -19515,7 +19735,7 @@ function previousUnbalanced(events) {
|
|
|
19515
19735
|
return result;
|
|
19516
19736
|
}
|
|
19517
19737
|
|
|
19518
|
-
// node_modules/micromark-util-resolve-all/index.js
|
|
19738
|
+
// ../../node_modules/micromark-util-resolve-all/index.js
|
|
19519
19739
|
function resolveAll(constructs2, events, context) {
|
|
19520
19740
|
const called = [];
|
|
19521
19741
|
let index2 = -1;
|
|
@@ -19529,7 +19749,7 @@ function resolveAll(constructs2, events, context) {
|
|
|
19529
19749
|
return events;
|
|
19530
19750
|
}
|
|
19531
19751
|
|
|
19532
|
-
// node_modules/micromark-core-commonmark/lib/attention.js
|
|
19752
|
+
// ../../node_modules/micromark-core-commonmark/lib/attention.js
|
|
19533
19753
|
var attention = {
|
|
19534
19754
|
name: "attention",
|
|
19535
19755
|
resolveAll: resolveAllAttention,
|
|
@@ -19660,7 +19880,7 @@ function movePoint(point3, offset) {
|
|
|
19660
19880
|
point3._bufferIndex += offset;
|
|
19661
19881
|
}
|
|
19662
19882
|
|
|
19663
|
-
// node_modules/micromark-core-commonmark/lib/autolink.js
|
|
19883
|
+
// ../../node_modules/micromark-core-commonmark/lib/autolink.js
|
|
19664
19884
|
var autolink = {
|
|
19665
19885
|
name: "autolink",
|
|
19666
19886
|
tokenize: tokenizeAutolink
|
|
@@ -19761,7 +19981,7 @@ function tokenizeAutolink(effects, ok3, nok) {
|
|
|
19761
19981
|
}
|
|
19762
19982
|
}
|
|
19763
19983
|
|
|
19764
|
-
// node_modules/micromark-factory-space/index.js
|
|
19984
|
+
// ../../node_modules/micromark-factory-space/index.js
|
|
19765
19985
|
function factorySpace(effects, ok3, type, max) {
|
|
19766
19986
|
const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
|
|
19767
19987
|
let size = 0;
|
|
@@ -19783,7 +20003,7 @@ function factorySpace(effects, ok3, type, max) {
|
|
|
19783
20003
|
}
|
|
19784
20004
|
}
|
|
19785
20005
|
|
|
19786
|
-
// node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
20006
|
+
// ../../node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
19787
20007
|
var blankLine = {
|
|
19788
20008
|
partial: true,
|
|
19789
20009
|
tokenize: tokenizeBlankLine
|
|
@@ -19798,7 +20018,7 @@ function tokenizeBlankLine(effects, ok3, nok) {
|
|
|
19798
20018
|
}
|
|
19799
20019
|
}
|
|
19800
20020
|
|
|
19801
|
-
// node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
20021
|
+
// ../../node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
19802
20022
|
var blockQuote = {
|
|
19803
20023
|
continuation: {
|
|
19804
20024
|
tokenize: tokenizeBlockQuoteContinuation
|
|
@@ -19856,7 +20076,7 @@ function exit2(effects) {
|
|
|
19856
20076
|
effects.exit("blockQuote");
|
|
19857
20077
|
}
|
|
19858
20078
|
|
|
19859
|
-
// node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
20079
|
+
// ../../node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
19860
20080
|
var characterEscape = {
|
|
19861
20081
|
name: "characterEscape",
|
|
19862
20082
|
tokenize: tokenizeCharacterEscape
|
|
@@ -19882,7 +20102,7 @@ function tokenizeCharacterEscape(effects, ok3, nok) {
|
|
|
19882
20102
|
}
|
|
19883
20103
|
}
|
|
19884
20104
|
|
|
19885
|
-
// node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
20105
|
+
// ../../node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
19886
20106
|
var characterReference = {
|
|
19887
20107
|
name: "characterReference",
|
|
19888
20108
|
tokenize: tokenizeCharacterReference
|
|
@@ -19947,7 +20167,7 @@ function tokenizeCharacterReference(effects, ok3, nok) {
|
|
|
19947
20167
|
}
|
|
19948
20168
|
}
|
|
19949
20169
|
|
|
19950
|
-
// node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
20170
|
+
// ../../node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
19951
20171
|
var nonLazyContinuation = {
|
|
19952
20172
|
partial: true,
|
|
19953
20173
|
tokenize: tokenizeNonLazyContinuation
|
|
@@ -20130,7 +20350,7 @@ function tokenizeNonLazyContinuation(effects, ok3, nok) {
|
|
|
20130
20350
|
}
|
|
20131
20351
|
}
|
|
20132
20352
|
|
|
20133
|
-
// node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
20353
|
+
// ../../node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
20134
20354
|
var codeIndented = {
|
|
20135
20355
|
name: "codeIndented",
|
|
20136
20356
|
tokenize: tokenizeCodeIndented
|
|
@@ -20194,7 +20414,7 @@ function tokenizeFurtherStart(effects, ok3, nok) {
|
|
|
20194
20414
|
}
|
|
20195
20415
|
}
|
|
20196
20416
|
|
|
20197
|
-
// node_modules/micromark-core-commonmark/lib/code-text.js
|
|
20417
|
+
// ../../node_modules/micromark-core-commonmark/lib/code-text.js
|
|
20198
20418
|
var codeText = {
|
|
20199
20419
|
name: "codeText",
|
|
20200
20420
|
previous: previous2,
|
|
@@ -20309,7 +20529,7 @@ function tokenizeCodeText(effects, ok3, nok) {
|
|
|
20309
20529
|
}
|
|
20310
20530
|
}
|
|
20311
20531
|
|
|
20312
|
-
// node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
20532
|
+
// ../../node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
20313
20533
|
var SpliceBuffer = class {
|
|
20314
20534
|
/**
|
|
20315
20535
|
* @param {ReadonlyArray<T> | null | undefined} [initial]
|
|
@@ -20502,7 +20722,7 @@ function chunkedPush(list3, right) {
|
|
|
20502
20722
|
}
|
|
20503
20723
|
}
|
|
20504
20724
|
|
|
20505
|
-
// node_modules/micromark-util-subtokenize/index.js
|
|
20725
|
+
// ../../node_modules/micromark-util-subtokenize/index.js
|
|
20506
20726
|
function subtokenize(eventsArray) {
|
|
20507
20727
|
const jumps = {};
|
|
20508
20728
|
let index2 = -1;
|
|
@@ -20655,7 +20875,7 @@ function subcontent(events, eventIndex) {
|
|
|
20655
20875
|
return gaps;
|
|
20656
20876
|
}
|
|
20657
20877
|
|
|
20658
|
-
// node_modules/micromark-core-commonmark/lib/content.js
|
|
20878
|
+
// ../../node_modules/micromark-core-commonmark/lib/content.js
|
|
20659
20879
|
var content = {
|
|
20660
20880
|
resolve: resolveContent,
|
|
20661
20881
|
tokenize: tokenizeContent
|
|
@@ -20726,7 +20946,7 @@ function tokenizeContinuation(effects, ok3, nok) {
|
|
|
20726
20946
|
}
|
|
20727
20947
|
}
|
|
20728
20948
|
|
|
20729
|
-
// node_modules/micromark-factory-destination/index.js
|
|
20949
|
+
// ../../node_modules/micromark-factory-destination/index.js
|
|
20730
20950
|
function factoryDestination(effects, ok3, nok, type, literalType, literalMarkerType, rawType, stringType, max) {
|
|
20731
20951
|
const limit = max || Number.POSITIVE_INFINITY;
|
|
20732
20952
|
let balance = 0;
|
|
@@ -20818,7 +21038,7 @@ function factoryDestination(effects, ok3, nok, type, literalType, literalMarkerT
|
|
|
20818
21038
|
}
|
|
20819
21039
|
}
|
|
20820
21040
|
|
|
20821
|
-
// node_modules/micromark-factory-label/index.js
|
|
21041
|
+
// ../../node_modules/micromark-factory-label/index.js
|
|
20822
21042
|
function factoryLabel(effects, ok3, nok, type, markerType, stringType) {
|
|
20823
21043
|
const self = this;
|
|
20824
21044
|
let size = 0;
|
|
@@ -20879,7 +21099,7 @@ function factoryLabel(effects, ok3, nok, type, markerType, stringType) {
|
|
|
20879
21099
|
}
|
|
20880
21100
|
}
|
|
20881
21101
|
|
|
20882
|
-
// node_modules/micromark-factory-title/index.js
|
|
21102
|
+
// ../../node_modules/micromark-factory-title/index.js
|
|
20883
21103
|
function factoryTitle(effects, ok3, nok, type, markerType, stringType) {
|
|
20884
21104
|
let marker;
|
|
20885
21105
|
return start;
|
|
@@ -20941,7 +21161,7 @@ function factoryTitle(effects, ok3, nok, type, markerType, stringType) {
|
|
|
20941
21161
|
}
|
|
20942
21162
|
}
|
|
20943
21163
|
|
|
20944
|
-
// node_modules/micromark-factory-whitespace/index.js
|
|
21164
|
+
// ../../node_modules/micromark-factory-whitespace/index.js
|
|
20945
21165
|
function factoryWhitespace(effects, ok3) {
|
|
20946
21166
|
let seen;
|
|
20947
21167
|
return start;
|
|
@@ -20960,7 +21180,7 @@ function factoryWhitespace(effects, ok3) {
|
|
|
20960
21180
|
}
|
|
20961
21181
|
}
|
|
20962
21182
|
|
|
20963
|
-
// node_modules/micromark-core-commonmark/lib/definition.js
|
|
21183
|
+
// ../../node_modules/micromark-core-commonmark/lib/definition.js
|
|
20964
21184
|
var definition2 = {
|
|
20965
21185
|
name: "definition",
|
|
20966
21186
|
tokenize: tokenizeDefinition
|
|
@@ -21046,7 +21266,7 @@ function tokenizeTitleBefore(effects, ok3, nok) {
|
|
|
21046
21266
|
}
|
|
21047
21267
|
}
|
|
21048
21268
|
|
|
21049
|
-
// node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
21269
|
+
// ../../node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
21050
21270
|
var hardBreakEscape = {
|
|
21051
21271
|
name: "hardBreakEscape",
|
|
21052
21272
|
tokenize: tokenizeHardBreakEscape
|
|
@@ -21067,7 +21287,7 @@ function tokenizeHardBreakEscape(effects, ok3, nok) {
|
|
|
21067
21287
|
}
|
|
21068
21288
|
}
|
|
21069
21289
|
|
|
21070
|
-
// node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
21290
|
+
// ../../node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
21071
21291
|
var headingAtx = {
|
|
21072
21292
|
name: "headingAtx",
|
|
21073
21293
|
resolve: resolveHeadingAtx,
|
|
@@ -21158,7 +21378,7 @@ function tokenizeHeadingAtx(effects, ok3, nok) {
|
|
|
21158
21378
|
}
|
|
21159
21379
|
}
|
|
21160
21380
|
|
|
21161
|
-
// node_modules/micromark-util-html-tag-name/index.js
|
|
21381
|
+
// ../../node_modules/micromark-util-html-tag-name/index.js
|
|
21162
21382
|
var htmlBlockNames = [
|
|
21163
21383
|
"address",
|
|
21164
21384
|
"article",
|
|
@@ -21225,7 +21445,7 @@ var htmlBlockNames = [
|
|
|
21225
21445
|
];
|
|
21226
21446
|
var htmlRawNames = ["pre", "script", "style", "textarea"];
|
|
21227
21447
|
|
|
21228
|
-
// node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
21448
|
+
// ../../node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
21229
21449
|
var htmlFlow = {
|
|
21230
21450
|
concrete: true,
|
|
21231
21451
|
name: "htmlFlow",
|
|
@@ -21604,7 +21824,7 @@ function tokenizeBlankLineBefore(effects, ok3, nok) {
|
|
|
21604
21824
|
}
|
|
21605
21825
|
}
|
|
21606
21826
|
|
|
21607
|
-
// node_modules/micromark-core-commonmark/lib/html-text.js
|
|
21827
|
+
// ../../node_modules/micromark-core-commonmark/lib/html-text.js
|
|
21608
21828
|
var htmlText = {
|
|
21609
21829
|
name: "htmlText",
|
|
21610
21830
|
tokenize: tokenizeHtmlText
|
|
@@ -21910,7 +22130,7 @@ function tokenizeHtmlText(effects, ok3, nok) {
|
|
|
21910
22130
|
}
|
|
21911
22131
|
}
|
|
21912
22132
|
|
|
21913
|
-
// node_modules/micromark-core-commonmark/lib/label-end.js
|
|
22133
|
+
// ../../node_modules/micromark-core-commonmark/lib/label-end.js
|
|
21914
22134
|
var labelEnd = {
|
|
21915
22135
|
name: "labelEnd",
|
|
21916
22136
|
resolveAll: resolveAllLabelEnd,
|
|
@@ -22136,7 +22356,7 @@ function tokenizeReferenceCollapsed(effects, ok3, nok) {
|
|
|
22136
22356
|
}
|
|
22137
22357
|
}
|
|
22138
22358
|
|
|
22139
|
-
// node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
22359
|
+
// ../../node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
22140
22360
|
var labelStartImage = {
|
|
22141
22361
|
name: "labelStartImage",
|
|
22142
22362
|
resolveAll: labelEnd.resolveAll,
|
|
@@ -22167,7 +22387,7 @@ function tokenizeLabelStartImage(effects, ok3, nok) {
|
|
|
22167
22387
|
}
|
|
22168
22388
|
}
|
|
22169
22389
|
|
|
22170
|
-
// node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
22390
|
+
// ../../node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
22171
22391
|
var labelStartLink = {
|
|
22172
22392
|
name: "labelStartLink",
|
|
22173
22393
|
resolveAll: labelEnd.resolveAll,
|
|
@@ -22189,7 +22409,7 @@ function tokenizeLabelStartLink(effects, ok3, nok) {
|
|
|
22189
22409
|
}
|
|
22190
22410
|
}
|
|
22191
22411
|
|
|
22192
|
-
// node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
22412
|
+
// ../../node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
22193
22413
|
var lineEnding = {
|
|
22194
22414
|
name: "lineEnding",
|
|
22195
22415
|
tokenize: tokenizeLineEnding
|
|
@@ -22204,7 +22424,7 @@ function tokenizeLineEnding(effects, ok3) {
|
|
|
22204
22424
|
}
|
|
22205
22425
|
}
|
|
22206
22426
|
|
|
22207
|
-
// node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
22427
|
+
// ../../node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
22208
22428
|
var thematicBreak2 = {
|
|
22209
22429
|
name: "thematicBreak",
|
|
22210
22430
|
tokenize: tokenizeThematicBreak
|
|
@@ -22243,7 +22463,7 @@ function tokenizeThematicBreak(effects, ok3, nok) {
|
|
|
22243
22463
|
}
|
|
22244
22464
|
}
|
|
22245
22465
|
|
|
22246
|
-
// node_modules/micromark-core-commonmark/lib/list.js
|
|
22466
|
+
// ../../node_modules/micromark-core-commonmark/lib/list.js
|
|
22247
22467
|
var list2 = {
|
|
22248
22468
|
continuation: {
|
|
22249
22469
|
tokenize: tokenizeListContinuation
|
|
@@ -22373,7 +22593,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok3, nok) {
|
|
|
22373
22593
|
}
|
|
22374
22594
|
}
|
|
22375
22595
|
|
|
22376
|
-
// node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
22596
|
+
// ../../node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
22377
22597
|
var setextUnderline = {
|
|
22378
22598
|
name: "setextUnderline",
|
|
22379
22599
|
resolveTo: resolveToSetextUnderline,
|
|
@@ -22465,7 +22685,7 @@ function tokenizeSetextUnderline(effects, ok3, nok) {
|
|
|
22465
22685
|
}
|
|
22466
22686
|
}
|
|
22467
22687
|
|
|
22468
|
-
// node_modules/micromark-extension-gfm-footnote/lib/syntax.js
|
|
22688
|
+
// ../../node_modules/micromark-extension-gfm-footnote/lib/syntax.js
|
|
22469
22689
|
var indent = {
|
|
22470
22690
|
tokenize: tokenizeIndent2,
|
|
22471
22691
|
partial: true
|
|
@@ -22740,7 +22960,7 @@ function tokenizeIndent2(effects, ok3, nok) {
|
|
|
22740
22960
|
}
|
|
22741
22961
|
}
|
|
22742
22962
|
|
|
22743
|
-
// node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
|
|
22963
|
+
// ../../node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
|
|
22744
22964
|
function gfmStrikethrough(options) {
|
|
22745
22965
|
const options_ = options || {};
|
|
22746
22966
|
let single = options_.singleTilde;
|
|
@@ -22834,7 +23054,7 @@ function gfmStrikethrough(options) {
|
|
|
22834
23054
|
}
|
|
22835
23055
|
}
|
|
22836
23056
|
|
|
22837
|
-
// node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
23057
|
+
// ../../node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
22838
23058
|
var EditMap = class {
|
|
22839
23059
|
/**
|
|
22840
23060
|
* Create a new edit map.
|
|
@@ -22913,7 +23133,7 @@ function addImplementation(editMap, at, remove, add) {
|
|
|
22913
23133
|
editMap.map.push([at, remove, add]);
|
|
22914
23134
|
}
|
|
22915
23135
|
|
|
22916
|
-
// node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
23136
|
+
// ../../node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
22917
23137
|
function gfmTableAlign(events, index2) {
|
|
22918
23138
|
let inDelimiterRow = false;
|
|
22919
23139
|
const align = [];
|
|
@@ -22940,7 +23160,7 @@ function gfmTableAlign(events, index2) {
|
|
|
22940
23160
|
return align;
|
|
22941
23161
|
}
|
|
22942
23162
|
|
|
22943
|
-
// node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
23163
|
+
// ../../node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
22944
23164
|
function gfmTable() {
|
|
22945
23165
|
return {
|
|
22946
23166
|
flow: {
|
|
@@ -23326,7 +23546,7 @@ function getPoint(events, index2) {
|
|
|
23326
23546
|
return event[1][side];
|
|
23327
23547
|
}
|
|
23328
23548
|
|
|
23329
|
-
// node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
|
|
23549
|
+
// ../../node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
|
|
23330
23550
|
var tasklistCheck = {
|
|
23331
23551
|
name: "tasklistCheck",
|
|
23332
23552
|
tokenize: tokenizeTasklistCheck
|
|
@@ -23400,7 +23620,7 @@ function spaceThenNonSpace(effects, ok3, nok) {
|
|
|
23400
23620
|
}
|
|
23401
23621
|
}
|
|
23402
23622
|
|
|
23403
|
-
// node_modules/micromark-extension-gfm/index.js
|
|
23623
|
+
// ../../node_modules/micromark-extension-gfm/index.js
|
|
23404
23624
|
function gfm(options) {
|
|
23405
23625
|
return combineExtensions([
|
|
23406
23626
|
gfmAutolinkLiteral(),
|
|
@@ -23411,7 +23631,7 @@ function gfm(options) {
|
|
|
23411
23631
|
]);
|
|
23412
23632
|
}
|
|
23413
23633
|
|
|
23414
|
-
// node_modules/remark-gfm/lib/index.js
|
|
23634
|
+
// ../../node_modules/remark-gfm/lib/index.js
|
|
23415
23635
|
var emptyOptions2 = {};
|
|
23416
23636
|
function remarkGfm(options) {
|
|
23417
23637
|
const self = (
|
|
@@ -23428,7 +23648,7 @@ function remarkGfm(options) {
|
|
|
23428
23648
|
toMarkdownExtensions.push(gfmToMarkdown(settings));
|
|
23429
23649
|
}
|
|
23430
23650
|
|
|
23431
|
-
// node_modules/micromark/lib/initialize/content.js
|
|
23651
|
+
// ../../node_modules/micromark/lib/initialize/content.js
|
|
23432
23652
|
var content2 = {
|
|
23433
23653
|
tokenize: initializeContent
|
|
23434
23654
|
};
|
|
@@ -23478,7 +23698,7 @@ function initializeContent(effects) {
|
|
|
23478
23698
|
}
|
|
23479
23699
|
}
|
|
23480
23700
|
|
|
23481
|
-
// node_modules/micromark/lib/initialize/document.js
|
|
23701
|
+
// ../../node_modules/micromark/lib/initialize/document.js
|
|
23482
23702
|
var document = {
|
|
23483
23703
|
tokenize: initializeDocument
|
|
23484
23704
|
};
|
|
@@ -23660,7 +23880,7 @@ function tokenizeContainer(effects, ok3, nok) {
|
|
|
23660
23880
|
return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok3, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
23661
23881
|
}
|
|
23662
23882
|
|
|
23663
|
-
// node_modules/micromark/lib/initialize/flow.js
|
|
23883
|
+
// ../../node_modules/micromark/lib/initialize/flow.js
|
|
23664
23884
|
var flow = {
|
|
23665
23885
|
tokenize: initializeFlow
|
|
23666
23886
|
};
|
|
@@ -23698,7 +23918,7 @@ function initializeFlow(effects) {
|
|
|
23698
23918
|
}
|
|
23699
23919
|
}
|
|
23700
23920
|
|
|
23701
|
-
// node_modules/micromark/lib/initialize/text.js
|
|
23921
|
+
// ../../node_modules/micromark/lib/initialize/text.js
|
|
23702
23922
|
var resolver = {
|
|
23703
23923
|
resolveAll: createResolver()
|
|
23704
23924
|
};
|
|
@@ -23837,7 +24057,7 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
23837
24057
|
return events;
|
|
23838
24058
|
}
|
|
23839
24059
|
|
|
23840
|
-
// node_modules/micromark/lib/constructs.js
|
|
24060
|
+
// ../../node_modules/micromark/lib/constructs.js
|
|
23841
24061
|
var constructs_exports = {};
|
|
23842
24062
|
__export(constructs_exports, {
|
|
23843
24063
|
attentionMarkers: () => attentionMarkers,
|
|
@@ -23912,7 +24132,7 @@ var disable = {
|
|
|
23912
24132
|
null: []
|
|
23913
24133
|
};
|
|
23914
24134
|
|
|
23915
|
-
// node_modules/micromark/lib/create-tokenizer.js
|
|
24135
|
+
// ../../node_modules/micromark/lib/create-tokenizer.js
|
|
23916
24136
|
function createTokenizer(parser, initialize, from) {
|
|
23917
24137
|
let point3 = {
|
|
23918
24138
|
_bufferIndex: -1,
|
|
@@ -24235,7 +24455,7 @@ function serializeChunks(chunks, expandTabs) {
|
|
|
24235
24455
|
return result.join("");
|
|
24236
24456
|
}
|
|
24237
24457
|
|
|
24238
|
-
// node_modules/micromark/lib/parse.js
|
|
24458
|
+
// ../../node_modules/micromark/lib/parse.js
|
|
24239
24459
|
function parse(options) {
|
|
24240
24460
|
const settings = options || {};
|
|
24241
24461
|
const constructs2 = (
|
|
@@ -24261,14 +24481,14 @@ function parse(options) {
|
|
|
24261
24481
|
}
|
|
24262
24482
|
}
|
|
24263
24483
|
|
|
24264
|
-
// node_modules/micromark/lib/postprocess.js
|
|
24484
|
+
// ../../node_modules/micromark/lib/postprocess.js
|
|
24265
24485
|
function postprocess(events) {
|
|
24266
24486
|
while (!subtokenize(events)) {
|
|
24267
24487
|
}
|
|
24268
24488
|
return events;
|
|
24269
24489
|
}
|
|
24270
24490
|
|
|
24271
|
-
// node_modules/micromark/lib/preprocess.js
|
|
24491
|
+
// ../../node_modules/micromark/lib/preprocess.js
|
|
24272
24492
|
var search = /[\0\t\n\r]/g;
|
|
24273
24493
|
function preprocess() {
|
|
24274
24494
|
let column = 1;
|
|
@@ -24347,7 +24567,7 @@ function preprocess() {
|
|
|
24347
24567
|
}
|
|
24348
24568
|
}
|
|
24349
24569
|
|
|
24350
|
-
// node_modules/unist-util-stringify-position/lib/index.js
|
|
24570
|
+
// ../../node_modules/unist-util-stringify-position/lib/index.js
|
|
24351
24571
|
function stringifyPosition(value) {
|
|
24352
24572
|
if (!value || typeof value !== "object") {
|
|
24353
24573
|
return "";
|
|
@@ -24373,7 +24593,7 @@ function index(value) {
|
|
|
24373
24593
|
return value && typeof value === "number" ? value : 1;
|
|
24374
24594
|
}
|
|
24375
24595
|
|
|
24376
|
-
// node_modules/mdast-util-from-markdown/lib/index.js
|
|
24596
|
+
// ../../node_modules/mdast-util-from-markdown/lib/index.js
|
|
24377
24597
|
var own2 = {}.hasOwnProperty;
|
|
24378
24598
|
function fromMarkdown(value, encoding, options) {
|
|
24379
24599
|
if (encoding && typeof encoding === "object") {
|
|
@@ -25082,7 +25302,7 @@ function defaultOnError(left, right) {
|
|
|
25082
25302
|
}
|
|
25083
25303
|
}
|
|
25084
25304
|
|
|
25085
|
-
// node_modules/remark-parse/lib/index.js
|
|
25305
|
+
// ../../node_modules/remark-parse/lib/index.js
|
|
25086
25306
|
function remarkParse(options) {
|
|
25087
25307
|
const self = this;
|
|
25088
25308
|
self.parser = parser;
|
|
@@ -25099,17 +25319,17 @@ function remarkParse(options) {
|
|
|
25099
25319
|
}
|
|
25100
25320
|
}
|
|
25101
25321
|
|
|
25102
|
-
// node_modules/bail/index.js
|
|
25322
|
+
// ../../node_modules/bail/index.js
|
|
25103
25323
|
function bail(error) {
|
|
25104
25324
|
if (error) {
|
|
25105
25325
|
throw error;
|
|
25106
25326
|
}
|
|
25107
25327
|
}
|
|
25108
25328
|
|
|
25109
|
-
// node_modules/unified/lib/index.js
|
|
25329
|
+
// ../../node_modules/unified/lib/index.js
|
|
25110
25330
|
var import_extend = __toESM(require_extend(), 1);
|
|
25111
25331
|
|
|
25112
|
-
// node_modules/is-plain-obj/index.js
|
|
25332
|
+
// ../../node_modules/is-plain-obj/index.js
|
|
25113
25333
|
function isPlainObject2(value) {
|
|
25114
25334
|
if (typeof value !== "object" || value === null) {
|
|
25115
25335
|
return false;
|
|
@@ -25118,7 +25338,7 @@ function isPlainObject2(value) {
|
|
|
25118
25338
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
25119
25339
|
}
|
|
25120
25340
|
|
|
25121
|
-
// node_modules/trough/lib/index.js
|
|
25341
|
+
// ../../node_modules/trough/lib/index.js
|
|
25122
25342
|
function trough() {
|
|
25123
25343
|
const fns = [];
|
|
25124
25344
|
const pipeline = { run, use };
|
|
@@ -25202,7 +25422,7 @@ function wrap(middleware, callback) {
|
|
|
25202
25422
|
}
|
|
25203
25423
|
}
|
|
25204
25424
|
|
|
25205
|
-
// node_modules/vfile-message/lib/index.js
|
|
25425
|
+
// ../../node_modules/vfile-message/lib/index.js
|
|
25206
25426
|
var VFileMessage = class extends Error {
|
|
25207
25427
|
/**
|
|
25208
25428
|
* Create a message for `reason`.
|
|
@@ -25338,16 +25558,16 @@ VFileMessage.prototype.place = void 0;
|
|
|
25338
25558
|
VFileMessage.prototype.ruleId = void 0;
|
|
25339
25559
|
VFileMessage.prototype.source = void 0;
|
|
25340
25560
|
|
|
25341
|
-
// node_modules/vfile/lib/minpath.js
|
|
25561
|
+
// ../../node_modules/vfile/lib/minpath.js
|
|
25342
25562
|
import { default as default2 } from "node:path";
|
|
25343
25563
|
|
|
25344
|
-
// node_modules/vfile/lib/minproc.js
|
|
25564
|
+
// ../../node_modules/vfile/lib/minproc.js
|
|
25345
25565
|
import { default as default3 } from "node:process";
|
|
25346
25566
|
|
|
25347
|
-
// node_modules/vfile/lib/minurl.js
|
|
25567
|
+
// ../../node_modules/vfile/lib/minurl.js
|
|
25348
25568
|
import { fileURLToPath } from "node:url";
|
|
25349
25569
|
|
|
25350
|
-
// node_modules/vfile/lib/minurl.shared.js
|
|
25570
|
+
// ../../node_modules/vfile/lib/minurl.shared.js
|
|
25351
25571
|
function isUrl(fileUrlOrPath) {
|
|
25352
25572
|
return Boolean(
|
|
25353
25573
|
fileUrlOrPath !== null && typeof fileUrlOrPath === "object" && "href" in fileUrlOrPath && fileUrlOrPath.href && "protocol" in fileUrlOrPath && fileUrlOrPath.protocol && // @ts-expect-error: indexing is fine.
|
|
@@ -25355,7 +25575,7 @@ function isUrl(fileUrlOrPath) {
|
|
|
25355
25575
|
);
|
|
25356
25576
|
}
|
|
25357
25577
|
|
|
25358
|
-
// node_modules/vfile/lib/index.js
|
|
25578
|
+
// ../../node_modules/vfile/lib/index.js
|
|
25359
25579
|
var order = (
|
|
25360
25580
|
/** @type {const} */
|
|
25361
25581
|
[
|
|
@@ -25811,7 +26031,7 @@ function isUint8Array(value) {
|
|
|
25811
26031
|
);
|
|
25812
26032
|
}
|
|
25813
26033
|
|
|
25814
|
-
// node_modules/unified/lib/callable-instance.js
|
|
26034
|
+
// ../../node_modules/unified/lib/callable-instance.js
|
|
25815
26035
|
var CallableInstance = (
|
|
25816
26036
|
/**
|
|
25817
26037
|
* @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
|
|
@@ -25840,7 +26060,7 @@ var CallableInstance = (
|
|
|
25840
26060
|
})
|
|
25841
26061
|
);
|
|
25842
26062
|
|
|
25843
|
-
// node_modules/unified/lib/index.js
|
|
26063
|
+
// ../../node_modules/unified/lib/index.js
|
|
25844
26064
|
var own3 = {}.hasOwnProperty;
|
|
25845
26065
|
var Processor = class _Processor extends CallableInstance {
|
|
25846
26066
|
/**
|
|
@@ -26500,7 +26720,7 @@ function toEngineNode(node2, options) {
|
|
|
26500
26720
|
const type = typeof node2.type === "string" ? node2.type : "unknown";
|
|
26501
26721
|
const attributes = nodeAttributes(type, node2, options);
|
|
26502
26722
|
const sourceRange = toSourceRange(node2.position, options);
|
|
26503
|
-
const text5 =
|
|
26723
|
+
const text5 = nodeText3(type, node2);
|
|
26504
26724
|
const children = childNodes(node2).map((child) => toEngineNode(child, options));
|
|
26505
26725
|
return {
|
|
26506
26726
|
type,
|
|
@@ -26607,7 +26827,7 @@ function assignStringAttribute(attributes, name, value) {
|
|
|
26607
26827
|
function isTableAlignment(alignment) {
|
|
26608
26828
|
return alignment === "left" || alignment === "right" || alignment === "center" || alignment === null;
|
|
26609
26829
|
}
|
|
26610
|
-
function
|
|
26830
|
+
function nodeText3(type, node2) {
|
|
26611
26831
|
if (typeof node2.value === "string") {
|
|
26612
26832
|
return node2.value;
|
|
26613
26833
|
}
|