@mulmoclaude/core 2.0.1 → 2.0.2
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/{atomic-C_7YpMiM.cjs → atomic-DhUk8uiM.cjs} +2 -2
- package/dist/{atomic-C_7YpMiM.cjs.map → atomic-DhUk8uiM.cjs.map} +1 -1
- package/dist/collection/registry/server/index.cjs +21 -26
- package/dist/collection/registry/server/index.cjs.map +1 -1
- package/dist/collection/registry/server/index.js +18 -23
- package/dist/collection/registry/server/index.js.map +1 -1
- package/dist/collection/server/index.cjs +2 -2
- package/dist/collection/server/index.js +2 -2
- package/dist/collection-watchers/index.cjs +3 -3
- package/dist/collection-watchers/index.cjs.map +1 -1
- package/dist/collection-watchers/index.js +3 -3
- package/dist/{discovery-DSLgRQhN.cjs → discovery-B_sHig7n.cjs} +5 -5
- package/dist/{discovery-DSLgRQhN.cjs.map → discovery-B_sHig7n.cjs.map} +1 -1
- package/dist/{discovery-BSedPW8A.js → discovery-BvnXyUel.js} +3 -3
- package/dist/{discovery-BSedPW8A.js.map → discovery-BvnXyUel.js.map} +1 -1
- package/dist/dist-CsgSfWwR.cjs.map +1 -1
- package/dist/dist-D8zokgGo.js.map +1 -1
- package/dist/feeds/paths.cjs +1 -1
- package/dist/feeds/server/index.cjs +5 -5
- package/dist/feeds/server/index.cjs.map +1 -1
- package/dist/feeds/server/index.js +4 -4
- package/dist/feeds/server/index.js.map +1 -1
- package/dist/file-change/index.cjs +1 -1
- package/dist/file-change/index.cjs.map +1 -1
- package/dist/files/index.cjs +3 -3
- package/dist/files/index.cjs.map +1 -1
- package/dist/google/index.cjs +7 -6
- package/dist/google/index.cjs.map +1 -1
- package/dist/google/index.js +5 -4
- package/dist/google/index.js.map +1 -1
- package/dist/notifier/index.cjs +1 -1
- package/dist/notifier/index.js +1 -1
- package/dist/{notifier-CKFVVwDP.cjs → notifier-DZJj0sOh.cjs} +2 -2
- package/dist/{notifier-CKFVVwDP.cjs.map → notifier-DZJj0sOh.cjs.map} +1 -1
- package/dist/{notifier-CQD8NljP.js → notifier-DhnwR82U.js} +2 -2
- package/dist/{notifier-CQD8NljP.js.map → notifier-DhnwR82U.js.map} +1 -1
- package/dist/plugin-vue/i18n.cjs.map +1 -1
- package/dist/plugin-vue/index.cjs +39 -10
- package/dist/plugin-vue/index.cjs.map +1 -1
- package/dist/plugin-vue/index.js +39 -10
- package/dist/plugin-vue/index.js.map +1 -1
- package/dist/{relPath-CgGi4-Nv.cjs → relPath-CTAjGdCL.cjs} +2 -2
- package/dist/{relPath-CgGi4-Nv.cjs.map → relPath-CTAjGdCL.cjs.map} +1 -1
- package/dist/remote-host/server/index.cjs +3 -2
- package/dist/remote-host/server/index.cjs.map +1 -1
- package/dist/remote-host/server/index.js +3 -2
- package/dist/remote-host/server/index.js.map +1 -1
- package/dist/remote-host-CtQjagPt.cjs.map +1 -1
- package/dist/{rolldown-runtime-D6vf50IK.cjs → rolldown-runtime-VH7oDXx4.cjs} +1 -1
- package/dist/scheduler/index.cjs +6 -4
- package/dist/scheduler/index.cjs.map +1 -1
- package/dist/scheduler/index.js +5 -3
- package/dist/scheduler/index.js.map +1 -1
- package/dist/{server-B78f_bnY.js → server-DJt6USBQ.js} +11 -7
- package/dist/{server-B78f_bnY.js.map → server-DJt6USBQ.js.map} +1 -1
- package/dist/{server-By4oSql2.cjs → server-DoyGZMPS.cjs} +14 -10
- package/dist/{server-By4oSql2.cjs.map → server-DoyGZMPS.cjs.map} +1 -1
- package/dist/skill-bridge/index.cjs +1 -1
- package/dist/skill-bridge/index.cjs.map +1 -1
- package/dist/utils/fetch.cjs +1 -1
- package/dist/utils/fetch.cjs.map +1 -1
- package/dist/utils/fetch.js +1 -1
- package/dist/utils/fetch.js.map +1 -1
- package/dist/whisper/client.cjs.map +1 -1
- package/dist/whisper/client.js.map +1 -1
- package/dist/whisper/index.cjs +1 -1
- package/dist/whisper/index.cjs.map +1 -1
- package/dist/wiki/index.cjs +2 -1
- package/dist/wiki/index.cjs.map +1 -1
- package/dist/wiki/index.js +2 -1
- package/dist/wiki/index.js.map +1 -1
- package/dist/wiki/paths.cjs +1 -1
- package/dist/wiki/server/index.cjs +5 -3
- package/dist/wiki/server/index.cjs.map +1 -1
- package/dist/wiki/server/index.js +4 -2
- package/dist/wiki/server/index.js.map +1 -1
- package/dist/workspace-setup/index.js.map +1 -1
- package/package.json +6 -6
package/dist/plugin-vue/index.js
CHANGED
|
@@ -87,7 +87,7 @@ function useClipboardCopy(resetMs = DEFAULT_RESET_MS) {
|
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region ../../node_modules/dompurify/dist/purify.es.mjs
|
|
90
|
-
/*! @license DOMPurify 3.4.
|
|
90
|
+
/*! @license DOMPurify 3.4.13 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.13/LICENSE */
|
|
91
91
|
function _arrayLikeToArray(r, a) {
|
|
92
92
|
(null == a || a > r.length) && (a = r.length);
|
|
93
93
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
@@ -1045,7 +1045,7 @@ var _resolveSetOption = function _resolveSetOption(cfg, key, fallback, options)
|
|
|
1045
1045
|
function createDOMPurify() {
|
|
1046
1046
|
let window = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
1047
1047
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
1048
|
-
DOMPurify.version = "3.4.
|
|
1048
|
+
DOMPurify.version = "3.4.13";
|
|
1049
1049
|
DOMPurify.removed = [];
|
|
1050
1050
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
1051
1051
|
DOMPurify.isSupported = false;
|
|
@@ -1069,6 +1069,7 @@ function createDOMPurify() {
|
|
|
1069
1069
|
const getAttributes = lookupGetter(ElementPrototype, "attributes");
|
|
1070
1070
|
const getNodeType = Node && Node.prototype ? lookupGetter(Node.prototype, "nodeType") : null;
|
|
1071
1071
|
const getNodeName = Node && Node.prototype ? lookupGetter(Node.prototype, "nodeName") : null;
|
|
1072
|
+
const getOwnerDocument = Node && Node.prototype ? lookupGetter(Node.prototype, "ownerDocument") : null;
|
|
1072
1073
|
if (typeof HTMLTemplateElement === "function") {
|
|
1073
1074
|
const template = document.createElement("template");
|
|
1074
1075
|
if (template.content && template.content.ownerDocument) document = template.content.ownerDocument;
|
|
@@ -1709,7 +1710,8 @@ function createDOMPurify() {
|
|
|
1709
1710
|
* @return The created NodeIterator
|
|
1710
1711
|
*/
|
|
1711
1712
|
const _createNodeIterator = function _createNodeIterator(root) {
|
|
1712
|
-
|
|
1713
|
+
const doc = getOwnerDocument ? getOwnerDocument(root) : root.ownerDocument;
|
|
1714
|
+
return createNodeIterator.call(doc || root, root, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);
|
|
1713
1715
|
};
|
|
1714
1716
|
/**
|
|
1715
1717
|
* Replace template expression syntax (mustache, ERB, template
|
|
@@ -1747,7 +1749,8 @@ function createDOMPurify() {
|
|
|
1747
1749
|
const _scrubTemplateExpressions2 = function _scrubTemplateExpressions(node) {
|
|
1748
1750
|
var _node$querySelectorAl;
|
|
1749
1751
|
node.normalize();
|
|
1750
|
-
const
|
|
1752
|
+
const doc = getOwnerDocument ? getOwnerDocument(node) : node.ownerDocument;
|
|
1753
|
+
const walker = createNodeIterator.call(doc || node, node, NodeFilter.SHOW_TEXT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_CDATA_SECTION | NodeFilter.SHOW_PROCESSING_INSTRUCTION, null);
|
|
1751
1754
|
let currentNode = walker.nextNode();
|
|
1752
1755
|
while (currentNode) {
|
|
1753
1756
|
currentNode.data = _stripTemplateExpressions(currentNode.data);
|
|
@@ -1854,7 +1857,7 @@ function createDOMPurify() {
|
|
|
1854
1857
|
* @param tagName the node's transformCaseFunc'd tag name
|
|
1855
1858
|
* @return true if the node was removed, false if kept
|
|
1856
1859
|
*/
|
|
1857
|
-
const _sanitizeDisallowedNode = function _sanitizeDisallowedNode(currentNode, tagName) {
|
|
1860
|
+
const _sanitizeDisallowedNode = function _sanitizeDisallowedNode(currentNode, tagName, root) {
|
|
1858
1861
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
1859
1862
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) return false;
|
|
1860
1863
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) return false;
|
|
@@ -1865,7 +1868,7 @@ function createDOMPurify() {
|
|
|
1865
1868
|
if (childNodes && parentNode) {
|
|
1866
1869
|
const childCount = childNodes.length;
|
|
1867
1870
|
for (let i = childCount - 1; i >= 0; --i) {
|
|
1868
|
-
const hoisted =
|
|
1871
|
+
const hoisted = currentNode === root ? cloneNode(childNodes[i], true) : childNodes[i];
|
|
1869
1872
|
parentNode.insertBefore(hoisted, getNextSibling(currentNode));
|
|
1870
1873
|
}
|
|
1871
1874
|
}
|
|
@@ -1874,6 +1877,24 @@ function createDOMPurify() {
|
|
|
1874
1877
|
return true;
|
|
1875
1878
|
};
|
|
1876
1879
|
/**
|
|
1880
|
+
* Fork a hook-mutable allowlist off its shared binding the first time a
|
|
1881
|
+
* (possibly lazily-installed) uponSanitize* hook is about to see it, so the
|
|
1882
|
+
* hook cannot widen the per-instance default or the setConfig binding by
|
|
1883
|
+
* reference and leak past the call. Returns the set unchanged once it is
|
|
1884
|
+
* already call-local, so repeated calls across elements are idempotent.
|
|
1885
|
+
*
|
|
1886
|
+
* @param hookList the uponSanitize* hook array for this event
|
|
1887
|
+
* @param set the current ALLOWED_TAGS / ALLOWED_ATTR binding
|
|
1888
|
+
* @param defaultSet the per-instance DEFAULT_ALLOWED_* constant
|
|
1889
|
+
* @param setConfigSet the captured setConfig() binding, or null
|
|
1890
|
+
* @return a call-local clone if a hook is present and set is still shared,
|
|
1891
|
+
* else set unchanged
|
|
1892
|
+
*/
|
|
1893
|
+
const _forkSharedAllowlist = function _forkSharedAllowlist(hookList, set, defaultSet, setConfigSet) {
|
|
1894
|
+
if (hookList.length === 0) return set;
|
|
1895
|
+
return set === defaultSet || set === setConfigSet ? clone(set) : set;
|
|
1896
|
+
};
|
|
1897
|
+
/**
|
|
1877
1898
|
* _sanitizeElements
|
|
1878
1899
|
*
|
|
1879
1900
|
* @protect nodeName
|
|
@@ -1884,23 +1905,30 @@ function createDOMPurify() {
|
|
|
1884
1905
|
*/
|
|
1885
1906
|
const _sanitizeElements = function _sanitizeElements(currentNode, root) {
|
|
1886
1907
|
_executeHooks(hooks.beforeSanitizeElements, currentNode, null);
|
|
1887
|
-
if (currentNode !== root && getParentNode(currentNode) === null)
|
|
1908
|
+
if (currentNode !== root && getParentNode(currentNode) === null) {
|
|
1909
|
+
if (IN_PLACE) _neutralizeSubtree(currentNode);
|
|
1910
|
+
return true;
|
|
1911
|
+
}
|
|
1888
1912
|
if (_isClobbered(currentNode)) {
|
|
1889
1913
|
_forceRemove(currentNode);
|
|
1890
1914
|
return true;
|
|
1891
1915
|
}
|
|
1892
1916
|
const tagName = transformCaseFunc(getNodeName ? getNodeName(currentNode) : currentNode.nodeName);
|
|
1917
|
+
ALLOWED_TAGS = _forkSharedAllowlist(hooks.uponSanitizeElement, ALLOWED_TAGS, DEFAULT_ALLOWED_TAGS, SET_CONFIG_ALLOWED_TAGS);
|
|
1893
1918
|
_executeHooks(hooks.uponSanitizeElement, currentNode, {
|
|
1894
1919
|
tagName,
|
|
1895
1920
|
allowedTags: ALLOWED_TAGS
|
|
1896
1921
|
});
|
|
1897
|
-
if (currentNode !== root && getParentNode(currentNode) === null)
|
|
1922
|
+
if (currentNode !== root && getParentNode(currentNode) === null) {
|
|
1923
|
+
if (IN_PLACE) _neutralizeSubtree(currentNode);
|
|
1924
|
+
return true;
|
|
1925
|
+
}
|
|
1898
1926
|
if (_isUnsafeNode(currentNode, tagName)) {
|
|
1899
1927
|
_forceRemove(currentNode);
|
|
1900
1928
|
return true;
|
|
1901
1929
|
}
|
|
1902
1930
|
if (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {
|
|
1903
|
-
const removed = _sanitizeDisallowedNode(currentNode, tagName);
|
|
1931
|
+
const removed = _sanitizeDisallowedNode(currentNode, tagName, root);
|
|
1904
1932
|
if (removed === false) _executeHooks(hooks.afterSanitizeElements, currentNode, null);
|
|
1905
1933
|
return removed;
|
|
1906
1934
|
}
|
|
@@ -2024,6 +2052,7 @@ function createDOMPurify() {
|
|
|
2024
2052
|
_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
|
|
2025
2053
|
const attributes = currentNode.attributes;
|
|
2026
2054
|
if (!attributes || _isClobbered(currentNode)) return;
|
|
2055
|
+
ALLOWED_ATTR = _forkSharedAllowlist(hooks.uponSanitizeAttribute, ALLOWED_ATTR, DEFAULT_ALLOWED_ATTR, SET_CONFIG_ALLOWED_ATTR);
|
|
2027
2056
|
const hookEvent = {
|
|
2028
2057
|
attrName: "",
|
|
2029
2058
|
attrValue: "",
|
|
@@ -2214,8 +2243,8 @@ function createDOMPurify() {
|
|
|
2214
2243
|
}
|
|
2215
2244
|
if (body && FORCE_BODY) _forceRemove(body.firstChild);
|
|
2216
2245
|
const walkRoot = inPlace ? dirty : body;
|
|
2217
|
-
const nodeIterator = _createNodeIterator(walkRoot);
|
|
2218
2246
|
try {
|
|
2247
|
+
const nodeIterator = _createNodeIterator(walkRoot);
|
|
2219
2248
|
while (currentNode = nodeIterator.nextNode()) {
|
|
2220
2249
|
_sanitizeElements(currentNode, walkRoot);
|
|
2221
2250
|
_sanitizeAttributes(currentNode);
|