Vendored
+1
-4
@@ -98,9 +98,8 @@ var batch = (fn) => {
|
|||||||
return fn();
|
return fn();
|
||||||
} finally {
|
} finally {
|
||||||
batchDepth--;
|
batchDepth--;
|
||||||
if (batchDepth === 0 && effectQueue.size > 0 && !isFlushing) {
|
if (batchDepth === 0 && effectQueue.size > 0 && !isFlushing)
|
||||||
flush();
|
flush();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var trackUpdate = (subs, trigger = false) => {
|
var trackUpdate = (subs, trigger = false) => {
|
||||||
@@ -514,8 +513,6 @@ var mount = (comp, target) => {
|
|||||||
MOUNTED_NODES.set(t, inst);
|
MOUNTED_NODES.set(t, inst);
|
||||||
return inst;
|
return inst;
|
||||||
};
|
};
|
||||||
|
|
||||||
// sigpro_ESM.js
|
|
||||||
if (typeof window !== "undefined") {
|
if (typeof window !== "undefined") {
|
||||||
"a abbr article aside audio b blockquote br button canvas caption cite code col colgroup datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hr i iframe img input ins kbd label legend li main mark meter nav object ol optgroup option output p picture pre progress section select slot small source span strong sub summary sup svg table tbody td template textarea tfoot th thead time tr u ul video".split(" ").forEach((tag) => {
|
"a abbr article aside audio b blockquote br button canvas caption cite code col colgroup datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hr i iframe img input ins kbd label legend li main mark meter nav object ol optgroup option output p picture pre progress section select slot small source span strong sub summary sup svg table tbody td template textarea tfoot th thead time tr u ul video".split(" ").forEach((tag) => {
|
||||||
window[tag] = (props, children) => h(tag, props, children);
|
window[tag] = (props, children) => h(tag, props, children);
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+6
-5
@@ -99,9 +99,8 @@
|
|||||||
return fn();
|
return fn();
|
||||||
} finally {
|
} finally {
|
||||||
batchDepth--;
|
batchDepth--;
|
||||||
if (batchDepth === 0 && effectQueue.size > 0 && !isFlushing) {
|
if (batchDepth === 0 && effectQueue.size > 0 && !isFlushing)
|
||||||
flush();
|
flush();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var trackUpdate = (subs, trigger = false) => {
|
var trackUpdate = (subs, trigger = false) => {
|
||||||
@@ -515,12 +514,14 @@
|
|||||||
MOUNTED_NODES.set(t, inst);
|
MOUNTED_NODES.set(t, inst);
|
||||||
return inst;
|
return inst;
|
||||||
};
|
};
|
||||||
|
|
||||||
// sigpro_IIFE.js
|
|
||||||
if (typeof window !== "undefined") {
|
if (typeof window !== "undefined") {
|
||||||
Object.assign(window, { $, $$, watch, h, Fragment, when, each, router, mount, batch, onUnmount, isArr, isFunc, isObj });
|
|
||||||
"a abbr article aside audio b blockquote br button canvas caption cite code col colgroup datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hr i iframe img input ins kbd label legend li main mark meter nav object ol optgroup option output p picture pre progress section select slot small source span strong sub summary sup svg table tbody td template textarea tfoot th thead time tr u ul video".split(" ").forEach((tag) => {
|
"a abbr article aside audio b blockquote br button canvas caption cite code col colgroup datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hr i iframe img input ins kbd label legend li main mark meter nav object ol optgroup option output p picture pre progress section select slot small source span strong sub summary sup svg table tbody td template textarea tfoot th thead time tr u ul video".split(" ").forEach((tag) => {
|
||||||
window[tag] = (props, children) => h(tag, props, children);
|
window[tag] = (props, children) => h(tag, props, children);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// sigpro_umd.js
|
||||||
|
if (typeof window !== "undefined") {
|
||||||
|
Object.assign(window, { $, $$, watch, h, Fragment, when, each, router, mount, batch, onUnmount, isArr, isFunc, isObj });
|
||||||
|
}
|
||||||
})();
|
})();
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+6
-5
@@ -99,9 +99,8 @@
|
|||||||
return fn();
|
return fn();
|
||||||
} finally {
|
} finally {
|
||||||
batchDepth--;
|
batchDepth--;
|
||||||
if (batchDepth === 0 && effectQueue.size > 0 && !isFlushing) {
|
if (batchDepth === 0 && effectQueue.size > 0 && !isFlushing)
|
||||||
flush();
|
flush();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var trackUpdate = (subs, trigger = false) => {
|
var trackUpdate = (subs, trigger = false) => {
|
||||||
@@ -515,12 +514,14 @@
|
|||||||
MOUNTED_NODES.set(t, inst);
|
MOUNTED_NODES.set(t, inst);
|
||||||
return inst;
|
return inst;
|
||||||
};
|
};
|
||||||
|
|
||||||
// sigpro_IIFE.js
|
|
||||||
if (typeof window !== "undefined") {
|
if (typeof window !== "undefined") {
|
||||||
Object.assign(window, { $, $$, watch, h, Fragment, when, each, router, mount, batch, onUnmount, isArr, isFunc, isObj });
|
|
||||||
"a abbr article aside audio b blockquote br button canvas caption cite code col colgroup datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hr i iframe img input ins kbd label legend li main mark meter nav object ol optgroup option output p picture pre progress section select slot small source span strong sub summary sup svg table tbody td template textarea tfoot th thead time tr u ul video".split(" ").forEach((tag) => {
|
"a abbr article aside audio b blockquote br button canvas caption cite code col colgroup datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hr i iframe img input ins kbd label legend li main mark meter nav object ol optgroup option output p picture pre progress section select slot small source span strong sub summary sup svg table tbody td template textarea tfoot th thead time tr u ul video".split(" ").forEach((tag) => {
|
||||||
window[tag] = (props, children) => h(tag, props, children);
|
window[tag] = (props, children) => h(tag, props, children);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// sigpro_umd.js
|
||||||
|
if (typeof window !== "undefined") {
|
||||||
|
Object.assign(window, { $, $$, watch, h, Fragment, when, each, router, mount, batch, onUnmount, isArr, isFunc, isObj });
|
||||||
|
}
|
||||||
})();
|
})();
|
||||||
|
|||||||
+6
-6
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sigpro",
|
"name": "sigpro",
|
||||||
"version": "1.2.31",
|
"version": "1.2.32",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": {
|
"author": {
|
||||||
@@ -41,11 +41,11 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist",
|
"clean": "rm -rf dist",
|
||||||
"prebuild": "npm run clean",
|
"prebuild": "npm run clean",
|
||||||
"build:iife": "bun build ./sigpro_IIFE.js --bundle --outfile=./dist/sigpro.js --format=iife --global-name=SigPro",
|
"build:iife": "bun build ./sigpro_umd.js --bundle --outfile=./dist/sigpro.js --format=iife --global-name=sp",
|
||||||
"build:iife:min": "bun build ./sigpro_IIFE.js --bundle --outfile=./dist/sigpro.min.js --format=iife --global-name=SigPro --minify",
|
"build:iife:min": "bun build ./sigpro_umd.js --bundle --outfile=./dist/sigpro.min.js --format=iife --global-name=sp --minify",
|
||||||
"build:esm": "bun build ./sigpro_ESM.js --bundle --outfile=./dist/sigpro.esm.js --format=esm",
|
"build:esm": "bun build ./sigpro.js --bundle --outfile=./dist/sigpro.esm.js --format=esm",
|
||||||
"build:esm:min": "bun build ./sigpro_ESM.js --bundle --outfile=./dist/sigpro.esm.min.js --format=esm --minify",
|
"build:esm:min": "bun build ./sigpro.js --bundle --outfile=./dist/sigpro.esm.min.js --format=esm --minify",
|
||||||
"build:docs": "bun build ./sigpro_IIFE.js --bundle --outfile=./docs/sigpro.js --format=iife --global-name=SigPro",
|
"build:docs": "bun build ./sigpro_umd.js --bundle --outfile=./docs/sigpro.js --format=iife --global-name=sp",
|
||||||
"build": "bun run build:iife && bun run build:iife:min && bun run build:esm && bun run build:esm:min && bun run build:docs",
|
"build": "bun run build:iife && bun run build:iife:min && bun run build:esm && bun run build:esm:min && bun run build:docs",
|
||||||
"docs": "bun x serve docs",
|
"docs": "bun x serve docs",
|
||||||
"prepublishOnly": "npm run build"
|
"prepublishOnly": "npm run build"
|
||||||
|
|||||||
@@ -93,9 +93,7 @@ const batch = fn => {
|
|||||||
return fn()
|
return fn()
|
||||||
} finally {
|
} finally {
|
||||||
batchDepth--
|
batchDepth--
|
||||||
if (batchDepth === 0 && effectQueue.size > 0 && !isFlushing) {
|
if (batchDepth === 0 && effectQueue.size > 0 && !isFlushing) flush()
|
||||||
flush()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -509,4 +507,10 @@ const mount = (comp, target) => {
|
|||||||
return inst
|
return inst
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (typeof window !== "undefined") {
|
||||||
|
"a abbr article aside audio b blockquote br button canvas caption cite code col colgroup datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hr i iframe img input ins kbd label legend li main mark meter nav object ol optgroup option output p picture pre progress section select slot small source span strong sub summary sup svg table tbody td template textarea tfoot th thead time tr u ul video"
|
||||||
|
.split(" ")
|
||||||
|
.forEach(tag => { window[tag] = (props, children) => h(tag, props, children) })
|
||||||
|
}
|
||||||
|
|
||||||
export { $, $$, watch, batch, h, Fragment, mount, when, each, router, onUnmount, isArr, isFunc, isObj }
|
export { $, $$, watch, batch, h, Fragment, mount, when, each, router, onUnmount, isArr, isFunc, isObj }
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
import { $, $$, watch, batch, h, Fragment, mount, when, each, router, onUnmount, isArr, isFunc, isObj } from "./sigpro.js"
|
|
||||||
if (typeof window !== "undefined") {
|
|
||||||
"a abbr article aside audio b blockquote br button canvas caption cite code col colgroup datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hr i iframe img input ins kbd label legend li main mark meter nav object ol optgroup option output p picture pre progress section select slot small source span strong sub summary sup svg table tbody td template textarea tfoot th thead time tr u ul video"
|
|
||||||
.split(" ")
|
|
||||||
.forEach(tag => { window[tag] = (props, children) => h(tag, props, children) })
|
|
||||||
}
|
|
||||||
export { $, $$, watch, batch, h, Fragment, mount, when, each, router, onUnmount, isArr, isFunc, isObj }
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
import { $, $$, watch, batch, h, Fragment, mount, when, each, router, onUnmount, isArr, isFunc, isObj } from "./sigpro.js"
|
|
||||||
|
|
||||||
if (typeof window !== "undefined") {
|
|
||||||
Object.assign(window, { $, $$, watch, h, Fragment, when, each, router, mount, batch, onUnmount, isArr, isFunc, isObj })
|
|
||||||
"a abbr article aside audio b blockquote br button canvas caption cite code col colgroup datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hr i iframe img input ins kbd label legend li main mark meter nav object ol optgroup option output p picture pre progress section select slot small source span strong sub summary sup svg table tbody td template textarea tfoot th thead time tr u ul video"
|
|
||||||
.split(" ")
|
|
||||||
.forEach(tag => { window[tag] = (props, children) => h(tag, props, children) })
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
import { $, $$, watch, batch, h, Fragment, mount, when, each, router, onUnmount, isArr, isFunc, isObj } from "./sigpro.js"
|
||||||
|
|
||||||
|
if (typeof window !== "undefined") {
|
||||||
|
Object.assign(window, { $, $$, watch, h, Fragment, when, each, router, mount, batch, onUnmount, isArr, isFunc, isObj })
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user