dougong 0.1.0 → 0.2.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 +2 -2
- package/package.json +10 -4
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ await host.start() // 从声明推导拓扑,同层并发启
|
|
|
45
45
|
|
|
46
46
|
### 环境要求
|
|
47
47
|
|
|
48
|
-
Node.js ≥ 22
|
|
48
|
+
Node.js ≥ 22;浏览器 / WebView 基线为 Chrome / Edge 119、Firefox 121、Safari 17.4,并提供 `Promise.withResolvers()`。显式 `.dispose()` 在全部基线上可用;`using` / `await using` 还要求运行时原生提供或应用预先 polyfill `Symbol.dispose` / `Symbol.asyncDispose`。Dougong 不修改全局对象。TypeScript 消费者需要:
|
|
49
49
|
|
|
50
50
|
```json
|
|
51
51
|
"lib": ["ES2024", "DOM", "DOM.Iterable", "ESNext.Disposable"]
|
|
@@ -94,7 +94,7 @@ Three core guarantees: dependencies and ownership are written **explicitly** in
|
|
|
94
94
|
|
|
95
95
|
### Requirements
|
|
96
96
|
|
|
97
|
-
Node.js ≥ 22 or
|
|
97
|
+
Node.js ≥ 22; Chrome / Edge 119, Firefox 121 or Safari 17.4 for browsers and WebViews, with `Promise.withResolvers()`. Explicit `.dispose()` works throughout; `using` / `await using` additionally require native or application-polyfilled `Symbol.dispose` / `Symbol.asyncDispose`. Dougong does not mutate globals. TypeScript consumers need:
|
|
98
98
|
|
|
99
99
|
```json
|
|
100
100
|
"lib": ["ES2024", "DOM", "DOM.Iterable", "ESNext.Disposable"]
|
package/package.json
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dougong",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
7
7
|
},
|
|
8
|
+
"browserslist": [
|
|
9
|
+
"Chrome >= 119",
|
|
10
|
+
"Edge >= 119",
|
|
11
|
+
"Firefox >= 121",
|
|
12
|
+
"Safari >= 17.4"
|
|
13
|
+
],
|
|
8
14
|
"sideEffects": false,
|
|
9
15
|
"files": [
|
|
10
16
|
"dist",
|
|
@@ -18,9 +24,9 @@
|
|
|
18
24
|
}
|
|
19
25
|
},
|
|
20
26
|
"dependencies": {
|
|
21
|
-
"@dougongjs/
|
|
22
|
-
"@dougongjs/
|
|
23
|
-
"@dougongjs/reactive": "0.
|
|
27
|
+
"@dougongjs/core": "0.2.0",
|
|
28
|
+
"@dougongjs/platform": "0.2.0",
|
|
29
|
+
"@dougongjs/reactive": "0.2.0"
|
|
24
30
|
},
|
|
25
31
|
"description": "Capability composition and structured lifetime kernel, plus its plugin distribution layer.",
|
|
26
32
|
"license": "MIT",
|