@bitcobblers/wod-wiki-core 0.59.2243 → 0.59.2244
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/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/dist/testing.cjs +2 -2
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.mjs +2 -2
- package/dist/testing.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1274,7 +1274,7 @@ function parseDocumentSections(content, options = {}) {
|
|
|
1274
1274
|
const widget = marker[0] === "`" ? tag.match(/^widget:([\w-]+)$/) : null;
|
|
1275
1275
|
const names = options.registeredWidgets ?? KNOWN_SECTION_WIDGETS;
|
|
1276
1276
|
const knownWidget = widget && ("has" in names ? names.has(widget[1]) : names.includes(widget[1]));
|
|
1277
|
-
const widgetChartMatch = marker[0] === "`" && !knownWidget ? tag.match(/^widget:([a-
|
|
1277
|
+
const widgetChartMatch = marker[0] === "`" && !knownWidget ? tag.match(/^widget:([a-z-]+)(?:-(?:full|\d+))?(?:\s+.*)?$/i) : null;
|
|
1278
1278
|
const isWidgetChart = Boolean(widgetChartMatch && KNOWN_QUERY_WIDGET_TYPES[widgetChartMatch[1].toLowerCase()]);
|
|
1279
1279
|
const query = marker[0] === "`" ? tag.match(/^query(?:[:\s](.*))?$/i) ?? (isWidgetChart ? tag.match(/^widget:?(.*)$/i) : null) : null;
|
|
1280
1280
|
const type = closed && dialect ? dialect.dialect : closed && knownWidget ? "widget" : closed && query ? "query" : "code";
|
|
@@ -1328,7 +1328,7 @@ function parseDocumentSections(content, options = {}) {
|
|
|
1328
1328
|
if (embed) {
|
|
1329
1329
|
const section2 = make("embed", line, line);
|
|
1330
1330
|
const isImage = !!embed[1];
|
|
1331
|
-
section2.embed = { type: isImage ? "image" : /
|
|
1331
|
+
section2.embed = { type: isImage ? "image" : /youtube\.com|youtu\.be/i.test(embed[3]) ? "youtube" : "link", label: embed[2], url: embed[3], isImage };
|
|
1332
1332
|
sections.push(section2);
|
|
1333
1333
|
line++;
|
|
1334
1334
|
continue;
|
|
@@ -1777,13 +1777,13 @@ function parseFrontmatterProps(lines) {
|
|
|
1777
1777
|
}
|
|
1778
1778
|
|
|
1779
1779
|
// src/version.ts
|
|
1780
|
-
var VERSION = "0.59.
|
|
1781
|
-
var GIT_SHA = "
|
|
1782
|
-
var BUILD_TIME = "2026-11-
|
|
1780
|
+
var VERSION = "0.59.2244";
|
|
1781
|
+
var GIT_SHA = "969de0d";
|
|
1782
|
+
var BUILD_TIME = "2026-11-17T20:51:51.209Z";
|
|
1783
1783
|
var SEMVER = {
|
|
1784
|
-
version: "0.59.
|
|
1785
|
-
gitSha: "
|
|
1786
|
-
buildTime: "2026-11-
|
|
1784
|
+
version: "0.59.2244",
|
|
1785
|
+
gitSha: "969de0d",
|
|
1786
|
+
buildTime: "2026-11-17T20:51:51.209Z"
|
|
1787
1787
|
};
|
|
1788
1788
|
|
|
1789
1789
|
// src/portability/note-jsonl.ts
|