@lytjs/component 6.0.0 → 6.5.0
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 +11 -0
- package/dist/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -507,3 +507,14 @@ import type {
|
|
|
507
507
|
- [@lytjs/core](../core) - 框架核心入口,整合所有子包
|
|
508
508
|
- [@lytjs/reactivity](../reactivity) - 响应式系统,组件状态管理的基础
|
|
509
509
|
- [@lytjs/vdom](../vdom) - 虚拟 DOM,组件渲染的基础
|
|
510
|
+
|
|
511
|
+
## 依赖版本
|
|
512
|
+
|
|
513
|
+
- [@lytjs/shared-types](https://www.npmjs.com/package/@lytjs/shared-types): ^6.4.0
|
|
514
|
+
- [@lytjs/reactivity](https://www.npmjs.com/package/@lytjs/reactivity): ^6.4.0
|
|
515
|
+
- [@lytjs/vdom](https://www.npmjs.com/package/@lytjs/vdom): ^6.4.0
|
|
516
|
+
- [@lytjs/common-vnode](https://www.npmjs.com/package/@lytjs/common-vnode): ^6.4.0
|
|
517
|
+
- [@lytjs/common-is](https://www.npmjs.com/package/@lytjs/common-is): ^6.4.0
|
|
518
|
+
- [@lytjs/common-scheduler](https://www.npmjs.com/package/@lytjs/common-scheduler): ^6.4.0
|
|
519
|
+
- [@lytjs/common-error](https://www.npmjs.com/package/@lytjs/common-error): ^6.4.0
|
|
520
|
+
- [@lytjs/common-string](https://www.npmjs.com/package/@lytjs/common-string): ^6.4.0
|
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,6 @@ var reactivity = require('@lytjs/reactivity');
|
|
|
7
7
|
var commonScheduler = require('@lytjs/common-scheduler');
|
|
8
8
|
var vdom = require('@lytjs/vdom');
|
|
9
9
|
var commonVnode = require('@lytjs/common-vnode');
|
|
10
|
-
var scope = require('@lytjs/reactivity/scope');
|
|
11
10
|
|
|
12
11
|
// src/component-setup.ts
|
|
13
12
|
function normalizePropsOptions(rawProps) {
|
|
@@ -1671,7 +1670,7 @@ function createProviderNode(parent = null) {
|
|
|
1671
1670
|
parent,
|
|
1672
1671
|
children: /* @__PURE__ */ new Set(),
|
|
1673
1672
|
providers: /* @__PURE__ */ new Map(),
|
|
1674
|
-
scope:
|
|
1673
|
+
scope: reactivity.effectScope()
|
|
1675
1674
|
};
|
|
1676
1675
|
if (parent) {
|
|
1677
1676
|
parent.children.add(node);
|