e1e3b0a85b
- Bump astro@5, @astrojs/mdx@4, @astrojs/rss@4, @astrojs/sitemap@3 - Add @astrojs/tailwind, @astrojs/svelte, tailwindcss, svelte - Add patch-package + patches for mdast-util-wikirefs and mdast-util-caml to fix getData/setData → this.data.key and this.exit() return value for mdast-util-from-markdown v2 API compatibility - Fix wikirefs.ts resolveEmbedContent signature for new 3-arg call - Fix backrefs.ts: guard wikirefs.scan() against non-iterable return - Add Base.astro layout with bincio dark/light theme tokens, nav, Inter font - Replace global.css with bincio CSS variables + wiki-specific prose styles - Update Entry.astro, BlogPost.astro, index.astro, map.astro, blog/index.astro to use Base.astro layout with Tailwind utility classes - Add tailwind.config.mjs (Inter + JetBrains Mono, zinc palette) - Update SITE_TITLE to BincioWiki, site URL to wiki.bincio.com
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
diff --git a/node_modules/mdast-util-caml/dist/index.js b/node_modules/mdast-util-caml/dist/index.js
|
|
index a8ec999..3fc00e3 100644
|
|
--- a/node_modules/mdast-util-caml/dist/index.js
|
|
+++ b/node_modules/mdast-util-caml/dist/index.js
|
|
@@ -352,9 +352,9 @@ function fromMarkdownCaml(opts) {
|
|
// is accessible via 'this.stack' (see below)
|
|
this.enter(attrBoxDataNode, token);
|
|
// current key
|
|
- var curKey = this.getData('curKey');
|
|
+ var curKey = this.data.curKey;
|
|
if (curKey === undefined) {
|
|
- this.setData('curKey', '');
|
|
+ this.data.curKey = '';
|
|
}
|
|
}
|
|
function exitAttrKey(token) {
|
|
@@ -363,13 +363,13 @@ function fromMarkdownCaml(opts) {
|
|
if (current.data && current.data.items && !Object.keys(current.data.items).includes(key)) {
|
|
current.data.items[key] = [];
|
|
}
|
|
- this.setData('curKey', key);
|
|
+ this.data.curKey = key;
|
|
}
|
|
function exitAttrVal(token) {
|
|
var stringValue = this.sliceSerialize(token);
|
|
var item = resolve(stringValue);
|
|
var current = top(this.stack);
|
|
- var curKey = this.getData('curKey');
|
|
+ var curKey = this.data.curKey;
|
|
if (current.data && current.data.items) {
|
|
if (curKey !== undefined) {
|
|
current.data.items[curKey].push(item);
|