bobe 0.0.64 → 0.0.66
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/bobe.cjs.js +4 -1
- package/dist/bobe.cjs.js.map +1 -1
- package/dist/bobe.compiler.cjs.js +4 -1
- package/dist/bobe.compiler.cjs.js.map +1 -1
- package/dist/bobe.compiler.esm.js +4 -1
- package/dist/bobe.compiler.esm.js.map +1 -1
- package/dist/bobe.esm.js +4 -1
- package/dist/bobe.esm.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -334,7 +334,7 @@ type ComponentNode$1 = LogicNode & {
|
|
|
334
334
|
/** 渲染模版片段前的 快照,渲染完成后用于恢复 */
|
|
335
335
|
resumeSnapshot?: ReturnType<Tokenizer['snapshot']>;
|
|
336
336
|
};
|
|
337
|
-
type Dep =
|
|
337
|
+
type Dep = (() => any) | string;
|
|
338
338
|
|
|
339
339
|
declare class Tokenizer {
|
|
340
340
|
private hook;
|
package/dist/index.umd.js
CHANGED
|
@@ -2770,7 +2770,10 @@
|
|
|
2770
2770
|
newDeps.push(dep);
|
|
2771
2771
|
}
|
|
2772
2772
|
}
|
|
2773
|
-
|
|
2773
|
+
if (isArray) {
|
|
2774
|
+
return aoye.effect(callback, newDeps, option);
|
|
2775
|
+
}
|
|
2776
|
+
return aoye.effect(callback, option);
|
|
2774
2777
|
};
|
|
2775
2778
|
|
|
2776
2779
|
Object.defineProperty(exports, "Store", {
|