Remove deprecated scripts for adding head-matter to wt_config.xml, including Python and Bash implementations, to streamline configuration management.

This commit is contained in:
Torsten Schulz (local)
2025-12-04 16:34:45 +01:00
parent 4b674c7c60
commit 6e9116e819
13187 changed files with 1493219 additions and 337 deletions

30
client/node_modules/unhead/dist/scripts.mjs generated vendored Normal file
View File

@@ -0,0 +1,30 @@
export { r as resolveScriptKey, u as useScript } from './shared/unhead.B578PsDV.mjs';
import './shared/unhead.yem5I2v_.mjs';
function createSpyProxy(target, onApply) {
const stack = [];
let stackIdx = -1;
const handler = (reuseStack = false) => ({
get(_, prop, receiver) {
if (!reuseStack) {
stackIdx++;
stack[stackIdx] = [];
}
const v = Reflect.get(_, prop, receiver);
if (typeof v === "object" || typeof v === "function") {
stack[stackIdx].push({ type: "get", key: prop });
return new Proxy(v, handler(true));
}
stack[stackIdx].push({ type: "get", key: prop, value: v });
return v;
},
apply(_, __, args) {
stack[stackIdx].push({ type: "apply", key: "", args });
onApply(stack);
return Reflect.apply(_, __, args);
}
});
return new Proxy(target, handler());
}
export { createSpyProxy };