synstate-preact-signals 6.2.0 → 7.0.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/dist/from-signal.d.mts +2 -2
- package/package.json +8 -8
- package/src/from-signal.mts +2 -2
package/dist/from-signal.d.mts
CHANGED
|
@@ -7,8 +7,8 @@ import { type InitializedSourceObservable } from 'synstate';
|
|
|
7
7
|
* This allows applying synstate's rich operator chain (e.g. `map`, `filter`,
|
|
8
8
|
* `debounce`, `switchMap`) to values originating from Preact Signals.
|
|
9
9
|
*
|
|
10
|
-
* The bridge uses `effect()` from `@preact/signals` to track signal changes
|
|
11
|
-
*
|
|
10
|
+
* The bridge uses `effect()` from `@preact/signals` to track signal changes and
|
|
11
|
+
* propagate them to the observable.
|
|
12
12
|
*
|
|
13
13
|
* @returns A tuple of `[observable, dispose]`.
|
|
14
14
|
* - `observable` — an `InitializedSourceObservable` that mirrors the signal.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "synstate-preact-signals",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Preact Signals integration for SynState - bridge between synstate observables and @preact/signals",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,23 +28,23 @@
|
|
|
28
28
|
"LICENSE"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"synstate": "
|
|
32
|
-
"ts-data-forge": "^14.
|
|
31
|
+
"synstate": "7.0.0",
|
|
32
|
+
"ts-data-forge": "^14.11.0",
|
|
33
33
|
"ts-type-forge": "^9.2.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@preact/signals": "2.11.3",
|
|
37
37
|
"@vitest/browser-playwright": "5.0.5",
|
|
38
|
-
"eslint-config-typed": "7.
|
|
39
|
-
"eslint-plugin-ts-data-forge": "0.10.
|
|
40
|
-
"eslint-plugin-ts-fortress": "1.3.
|
|
41
|
-
"eslint-plugin-ts-type-forge": "0.8.
|
|
38
|
+
"eslint-config-typed": "7.4.0",
|
|
39
|
+
"eslint-plugin-ts-data-forge": "0.10.9",
|
|
40
|
+
"eslint-plugin-ts-fortress": "1.3.13",
|
|
41
|
+
"eslint-plugin-ts-type-forge": "0.8.18",
|
|
42
42
|
"playwright": "1.64.1",
|
|
43
43
|
"preact": "10.29.8",
|
|
44
44
|
"prettier": "3.9.10",
|
|
45
45
|
"prettier-plugin-organize-imports": "4.3.0",
|
|
46
46
|
"prettier-plugin-packagejson": "3.0.2",
|
|
47
|
-
"ts-repo-utils": "10.7.
|
|
47
|
+
"ts-repo-utils": "10.7.2"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@preact/signals": ">=1.0.0",
|
package/src/from-signal.mts
CHANGED
|
@@ -8,8 +8,8 @@ import { source, type InitializedSourceObservable } from 'synstate';
|
|
|
8
8
|
* This allows applying synstate's rich operator chain (e.g. `map`, `filter`,
|
|
9
9
|
* `debounce`, `switchMap`) to values originating from Preact Signals.
|
|
10
10
|
*
|
|
11
|
-
* The bridge uses `effect()` from `@preact/signals` to track signal changes
|
|
12
|
-
*
|
|
11
|
+
* The bridge uses `effect()` from `@preact/signals` to track signal changes and
|
|
12
|
+
* propagate them to the observable.
|
|
13
13
|
*
|
|
14
14
|
* @returns A tuple of `[observable, dispose]`.
|
|
15
15
|
* - `observable` — an `InitializedSourceObservable` that mirrors the signal.
|