@bitcobblers/wod-wiki-core 0.59.2243 → 0.59.2245
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 +9 -9
- 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 +9 -9
- package/dist/index.mjs.map +1 -1
- package/dist/testing.cjs +3 -3
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.mjs +3 -3
- package/dist/testing.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2057,13 +2057,13 @@ declare function parseFrontmatterProps(lines: string[]): Record<string, string>;
|
|
|
2057
2057
|
* Auto-generated build version metadata.
|
|
2058
2058
|
* Do not edit directly; updated by scripts/stamp-version.ts
|
|
2059
2059
|
*/
|
|
2060
|
-
declare const VERSION = "0.59.
|
|
2061
|
-
declare const GIT_SHA = "
|
|
2062
|
-
declare const BUILD_TIME = "2026-11-
|
|
2060
|
+
declare const VERSION = "0.59.2245";
|
|
2061
|
+
declare const GIT_SHA = "2f215f7";
|
|
2062
|
+
declare const BUILD_TIME = "2026-11-18T13:30:42.189Z";
|
|
2063
2063
|
declare const SEMVER: {
|
|
2064
|
-
readonly version: "0.59.
|
|
2065
|
-
readonly gitSha: "
|
|
2066
|
-
readonly buildTime: "2026-11-
|
|
2064
|
+
readonly version: "0.59.2245";
|
|
2065
|
+
readonly gitSha: "2f215f7";
|
|
2066
|
+
readonly buildTime: "2026-11-18T13:30:42.189Z";
|
|
2067
2067
|
};
|
|
2068
2068
|
|
|
2069
2069
|
interface NoteJsonlNote {
|
package/dist/index.d.ts
CHANGED
|
@@ -2057,13 +2057,13 @@ declare function parseFrontmatterProps(lines: string[]): Record<string, string>;
|
|
|
2057
2057
|
* Auto-generated build version metadata.
|
|
2058
2058
|
* Do not edit directly; updated by scripts/stamp-version.ts
|
|
2059
2059
|
*/
|
|
2060
|
-
declare const VERSION = "0.59.
|
|
2061
|
-
declare const GIT_SHA = "
|
|
2062
|
-
declare const BUILD_TIME = "2026-11-
|
|
2060
|
+
declare const VERSION = "0.59.2245";
|
|
2061
|
+
declare const GIT_SHA = "2f215f7";
|
|
2062
|
+
declare const BUILD_TIME = "2026-11-18T13:30:42.189Z";
|
|
2063
2063
|
declare const SEMVER: {
|
|
2064
|
-
readonly version: "0.59.
|
|
2065
|
-
readonly gitSha: "
|
|
2066
|
-
readonly buildTime: "2026-11-
|
|
2064
|
+
readonly version: "0.59.2245";
|
|
2065
|
+
readonly gitSha: "2f215f7";
|
|
2066
|
+
readonly buildTime: "2026-11-18T13:30:42.189Z";
|
|
2067
2067
|
};
|
|
2068
2068
|
|
|
2069
2069
|
interface NoteJsonlNote {
|
package/dist/index.mjs
CHANGED
|
@@ -1224,7 +1224,7 @@ function markdownSubtype(text) {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
function parseDocumentSections(content, options = {}) {
|
|
1226
1226
|
if (!content) return [];
|
|
1227
|
-
const lines = content.split(/\r\n
|
|
1227
|
+
const lines = content.split(/\r\n|[\n\r]/);
|
|
1228
1228
|
const offsets = [];
|
|
1229
1229
|
const separators = [];
|
|
1230
1230
|
let offset = 0;
|
|
@@ -1272,7 +1272,7 @@ function parseDocumentSections(content, options = {}) {
|
|
|
1272
1272
|
const widget = marker[0] === "`" ? tag.match(/^widget:([\w-]+)$/) : null;
|
|
1273
1273
|
const names = options.registeredWidgets ?? KNOWN_SECTION_WIDGETS;
|
|
1274
1274
|
const knownWidget = widget && ("has" in names ? names.has(widget[1]) : names.includes(widget[1]));
|
|
1275
|
-
const widgetChartMatch = marker[0] === "`" && !knownWidget ? tag.match(/^widget:([a-
|
|
1275
|
+
const widgetChartMatch = marker[0] === "`" && !knownWidget ? tag.match(/^widget:([a-z-]+)(?:-(?:full|\d+))?(?:\s+.*)?$/i) : null;
|
|
1276
1276
|
const isWidgetChart = Boolean(widgetChartMatch && KNOWN_QUERY_WIDGET_TYPES[widgetChartMatch[1].toLowerCase()]);
|
|
1277
1277
|
const query = marker[0] === "`" ? tag.match(/^query(?:[:\s](.*))?$/i) ?? (isWidgetChart ? tag.match(/^widget:?(.*)$/i) : null) : null;
|
|
1278
1278
|
const type = closed && dialect ? dialect.dialect : closed && knownWidget ? "widget" : closed && query ? "query" : "code";
|
|
@@ -1326,7 +1326,7 @@ function parseDocumentSections(content, options = {}) {
|
|
|
1326
1326
|
if (embed) {
|
|
1327
1327
|
const section2 = make("embed", line, line);
|
|
1328
1328
|
const isImage = !!embed[1];
|
|
1329
|
-
section2.embed = { type: isImage ? "image" : /
|
|
1329
|
+
section2.embed = { type: isImage ? "image" : /youtube\.com|youtu\.be/i.test(embed[3]) ? "youtube" : "link", label: embed[2], url: embed[3], isImage };
|
|
1330
1330
|
sections.push(section2);
|
|
1331
1331
|
line++;
|
|
1332
1332
|
continue;
|
|
@@ -1775,13 +1775,13 @@ function parseFrontmatterProps(lines) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
|
|
1777
1777
|
// src/version.ts
|
|
1778
|
-
var VERSION = "0.59.
|
|
1779
|
-
var GIT_SHA = "
|
|
1780
|
-
var BUILD_TIME = "2026-11-
|
|
1778
|
+
var VERSION = "0.59.2245";
|
|
1779
|
+
var GIT_SHA = "2f215f7";
|
|
1780
|
+
var BUILD_TIME = "2026-11-18T13:30:42.189Z";
|
|
1781
1781
|
var SEMVER = {
|
|
1782
|
-
version: "0.59.
|
|
1783
|
-
gitSha: "
|
|
1784
|
-
buildTime: "2026-11-
|
|
1782
|
+
version: "0.59.2245",
|
|
1783
|
+
gitSha: "2f215f7",
|
|
1784
|
+
buildTime: "2026-11-18T13:30:42.189Z"
|
|
1785
1785
|
};
|
|
1786
1786
|
|
|
1787
1787
|
// src/portability/note-jsonl.ts
|