@aevantec/litevue 0.5.7 → 0.5.9
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/README.md +1 -0
- package/dist/litevue-devtools.iife.js +1 -1
- package/dist/litevue-devtools.mjs +1 -1
- package/dist/litevue-devtools.umd.js +1 -1
- package/dist/litevue-plugins.iife.js +1 -1
- package/dist/litevue-plugins.mjs +1 -1
- package/dist/litevue-plugins.umd.js +1 -1
- package/dist/litevue.dev.iife.js +182 -77
- package/dist/litevue.dev.mjs +182 -77
- package/dist/litevue.iife.js +1 -1
- package/dist/litevue.mjs +1 -1
- package/dist/litevue.umd.js +1 -1
- package/dist/plugins/media.iife.js +1 -1
- package/dist/plugins/media.mjs +1 -1
- package/dist/plugins/media.umd.js +1 -1
- package/dist/types/devtools-panel/chrome.d.mts +30 -0
- package/dist/types/devtools-panel/chrome.d.ts +30 -0
- package/dist/types/devtools-panel/styles.d.mts +17 -0
- package/dist/types/devtools-panel/styles.d.ts +17 -0
- package/dist/types/devtools-panel/values.d.mts +25 -0
- package/dist/types/devtools-panel/values.d.ts +25 -0
- package/dist/types/directives/bind.d.mts +1 -1
- package/dist/types/directives/bind.d.ts +1 -1
- package/dist/types/eval.d.mts +3 -0
- package/dist/types/eval.d.ts +3 -0
- package/dist/types/lazy.d.mts +15 -0
- package/dist/types/lazy.d.ts +15 -0
- package/dist/types/magics.d.mts +6 -4
- package/dist/types/magics.d.ts +6 -4
- package/package.json +2 -2
package/dist/types/magics.d.ts
CHANGED
|
@@ -5,8 +5,10 @@ import type { Context } from './context';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const createId: () => (name?: string) => string;
|
|
7
7
|
/**
|
|
8
|
-
* $watch(source, callback) — watches a dot-path string or getter
|
|
9
|
-
* back with (value, oldValue).
|
|
10
|
-
* when the scope unmounts.
|
|
8
|
+
* $watch(source, callback, { immediate }) — watches a dot-path string or getter
|
|
9
|
+
* and calls back with (value, oldValue). Returns a stop function; it also stops
|
|
10
|
+
* when the owning scope unmounts.
|
|
11
11
|
*/
|
|
12
|
-
export declare const createWatch: (ctx: Context) => (source: string | (() => any), cb: (value: any, oldValue: any) => void
|
|
12
|
+
export declare const createWatch: (ctx: Context) => (source: string | (() => any), cb: (value: any, oldValue: any) => void, options?: {
|
|
13
|
+
immediate?: boolean;
|
|
14
|
+
}) => () => void;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aevantec/litevue",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "A maintained petite-vue fork: Vue's template syntax and reactivity in ~10kb, with built-in devtools. No build step.",
|
|
8
8
|
"type": "commonjs",
|
|
9
9
|
"//sideEffects": "The core auto-mounts when its script tag has `init`, and the devtools panel self-initializes on import — both are real import side effects and must not be tree-shaken. The plugins bundle is pure, so bundlers may drop unused plugins.",
|
|
10
10
|
"sideEffects": [
|