@thyn/core 0.0.218 → 0.0.223
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/signals.d.ts +3 -3
- package/package.json +5 -5
- package/src/signals.ts +4 -4
- package/tests/fx.test.ts +5 -5
- package/tests/lists.test.ts +16 -16
- package/tests/router.test.ts +11 -12
- package/tests/show.test.ts +14 -14
- package/tsconfig.tsbuildinfo +1 -1
package/dist/signals.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thyn/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.223",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "tsc",
|
|
6
6
|
"pub": "tsc && npm version patch -f && npm -f publish --access=public",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"author": "harmtrav@gmail.com",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"jsdom": "^
|
|
24
|
-
"typescript": "^5.
|
|
25
|
-
"vite": "^7.
|
|
26
|
-
"vitest": "^
|
|
23
|
+
"jsdom": "^27.4.0",
|
|
24
|
+
"typescript": "^5.9.3",
|
|
25
|
+
"vite": "^7.3.1",
|
|
26
|
+
"vitest": "^4.0.16"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/signals.ts
CHANGED
|
@@ -28,15 +28,15 @@ function scheduleEffect(effectFn: EffectFn) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export type Signal<T> = {
|
|
31
|
-
(): T;
|
|
32
|
-
(value: T): void;
|
|
33
|
-
(updater: (prev: T) => T): void;
|
|
31
|
+
get(): T;
|
|
32
|
+
set(value: T): void;
|
|
33
|
+
update(updater: (prev: T) => T): void;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
class SignalImpl<T> {
|
|
37
37
|
subs = new Set<any>();
|
|
38
38
|
|
|
39
|
-
constructor(public value: T) {}
|
|
39
|
+
constructor(public value: T) { }
|
|
40
40
|
|
|
41
41
|
get(): T {
|
|
42
42
|
if (currentEffect) {
|
package/tests/fx.test.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { describe,
|
|
2
|
-
import { $
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import { $effect, $signal } from "../src";
|
|
3
3
|
import { wait } from "./utils";
|
|
4
4
|
|
|
5
5
|
describe("runs effect", () => {
|
|
@@ -9,9 +9,9 @@ describe("runs effect", () => {
|
|
|
9
9
|
const tdRef = { val: 0 };
|
|
10
10
|
const root = (() => {
|
|
11
11
|
const div = document.createElement("div");
|
|
12
|
-
$effect(() => {div.textContent = on() ? "on" : "off"}
|
|
12
|
+
$effect(() => { div.textContent = on.get() ? "on" : "off" });
|
|
13
13
|
$effect(() => {
|
|
14
|
-
on();
|
|
14
|
+
on.get();
|
|
15
15
|
runRef.val++;
|
|
16
16
|
return () => {
|
|
17
17
|
tdRef.val++;
|
|
@@ -22,7 +22,7 @@ describe("runs effect", () => {
|
|
|
22
22
|
expect(root.textContent).toBe("on");
|
|
23
23
|
expect(runRef.val).toBe(1);
|
|
24
24
|
expect(tdRef.val).toBe(0);
|
|
25
|
-
on(false);
|
|
25
|
+
on.set(false);
|
|
26
26
|
await wait();
|
|
27
27
|
expect(root.textContent).toBe("off");
|
|
28
28
|
expect(runRef.val).toBe(2);
|
package/tests/lists.test.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { describe,
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
2
|
import { $signal, list, Signal } from "../src";
|
|
3
3
|
import { wait } from "./utils";
|
|
4
4
|
|
|
5
5
|
function makeList(signal: Signal<any>) {
|
|
6
6
|
return list({
|
|
7
|
-
items: () => signal(),
|
|
7
|
+
items: () => signal.get(),
|
|
8
8
|
render: (item: number) => {
|
|
9
9
|
const span = document.createElement("span");
|
|
10
10
|
span.textContent = `${item}`;
|
|
@@ -23,7 +23,7 @@ describe("list", () => {
|
|
|
23
23
|
it("removes all", async () => {
|
|
24
24
|
const items = $signal([0, 1]);
|
|
25
25
|
const root = makeList(items);
|
|
26
|
-
items([]);
|
|
26
|
+
items.set([]);
|
|
27
27
|
await wait();
|
|
28
28
|
expect(root.textContent).toBe("");
|
|
29
29
|
});
|
|
@@ -31,7 +31,7 @@ describe("list", () => {
|
|
|
31
31
|
it("stays the same", async () => {
|
|
32
32
|
const items = $signal([0, 1]);
|
|
33
33
|
const root = makeList(items);
|
|
34
|
-
items([0, 1]);
|
|
34
|
+
items.set([0, 1]);
|
|
35
35
|
await wait();
|
|
36
36
|
expect(root.textContent).toBe("01");
|
|
37
37
|
});
|
|
@@ -39,7 +39,7 @@ describe("list", () => {
|
|
|
39
39
|
it("reverses 2", async () => {
|
|
40
40
|
const items = $signal([0, 1]);
|
|
41
41
|
const root = makeList(items);
|
|
42
|
-
items([1, 0]);
|
|
42
|
+
items.set([1, 0]);
|
|
43
43
|
await wait();
|
|
44
44
|
expect(root.textContent).toBe("10");
|
|
45
45
|
});
|
|
@@ -47,7 +47,7 @@ describe("list", () => {
|
|
|
47
47
|
it("reverses 3", async () => {
|
|
48
48
|
const items = $signal([0, 1, 2]);
|
|
49
49
|
const root = makeList(items);
|
|
50
|
-
items([2, 1, 0]);
|
|
50
|
+
items.set([2, 1, 0]);
|
|
51
51
|
await wait();
|
|
52
52
|
expect(root.textContent).toBe("210");
|
|
53
53
|
});
|
|
@@ -55,7 +55,7 @@ describe("list", () => {
|
|
|
55
55
|
it("reverses 4", async () => {
|
|
56
56
|
const items = $signal([0, 1, 2, 3]);
|
|
57
57
|
const root = makeList(items);
|
|
58
|
-
items([3, 2, 1, 0]);
|
|
58
|
+
items.set([3, 2, 1, 0]);
|
|
59
59
|
await wait();
|
|
60
60
|
expect(root.textContent).toBe("3210");
|
|
61
61
|
});
|
|
@@ -63,7 +63,7 @@ describe("list", () => {
|
|
|
63
63
|
it("removes from start", async () => {
|
|
64
64
|
const items = $signal([0, 1, 2]);
|
|
65
65
|
const root = makeList(items);
|
|
66
|
-
items([1, 2]);
|
|
66
|
+
items.set([1, 2]);
|
|
67
67
|
await wait();
|
|
68
68
|
expect(root.textContent).toBe("12");
|
|
69
69
|
});
|
|
@@ -71,7 +71,7 @@ describe("list", () => {
|
|
|
71
71
|
it("removes from end", async () => {
|
|
72
72
|
const items = $signal([0, 1, 2]);
|
|
73
73
|
const root = makeList(items);
|
|
74
|
-
items([0, 1]);
|
|
74
|
+
items.set([0, 1]);
|
|
75
75
|
await wait();
|
|
76
76
|
expect(root.textContent).toBe("01");
|
|
77
77
|
});
|
|
@@ -79,7 +79,7 @@ describe("list", () => {
|
|
|
79
79
|
it("removes from middle", async () => {
|
|
80
80
|
const items = $signal([0, 1, 2]);
|
|
81
81
|
const root = makeList(items);
|
|
82
|
-
items([0, 2]);
|
|
82
|
+
items.set([0, 2]);
|
|
83
83
|
await wait();
|
|
84
84
|
expect(root.textContent).toBe("02");
|
|
85
85
|
});
|
|
@@ -87,7 +87,7 @@ describe("list", () => {
|
|
|
87
87
|
it("removes from everywhere", async () => {
|
|
88
88
|
const items = $signal([0, 1, 2, 3, 4, 5, 6]);
|
|
89
89
|
const root = makeList(items);
|
|
90
|
-
items([1, 3, 5]);
|
|
90
|
+
items.set([1, 3, 5]);
|
|
91
91
|
await wait();
|
|
92
92
|
expect(root.textContent).toBe("135");
|
|
93
93
|
});
|
|
@@ -95,7 +95,7 @@ describe("list", () => {
|
|
|
95
95
|
it("adds to start", async () => {
|
|
96
96
|
const items = $signal([1, 2]);
|
|
97
97
|
const root = makeList(items);
|
|
98
|
-
items([0, 1, 2]);
|
|
98
|
+
items.set([0, 1, 2]);
|
|
99
99
|
await wait();
|
|
100
100
|
expect(root.textContent).toBe("012");
|
|
101
101
|
});
|
|
@@ -103,7 +103,7 @@ describe("list", () => {
|
|
|
103
103
|
it("adds to end", async () => {
|
|
104
104
|
const items = $signal([0, 1]);
|
|
105
105
|
const root = makeList(items);
|
|
106
|
-
items([0, 1, 2]);
|
|
106
|
+
items.set([0, 1, 2]);
|
|
107
107
|
await wait();
|
|
108
108
|
expect(root.textContent).toBe("012");
|
|
109
109
|
});
|
|
@@ -111,7 +111,7 @@ describe("list", () => {
|
|
|
111
111
|
it("adds to middle", async () => {
|
|
112
112
|
const items = $signal([0, 2]);
|
|
113
113
|
const root = makeList(items);
|
|
114
|
-
items([0, 1, 2]);
|
|
114
|
+
items.set([0, 1, 2]);
|
|
115
115
|
await wait();
|
|
116
116
|
expect(root.textContent).toBe("012");
|
|
117
117
|
});
|
|
@@ -119,7 +119,7 @@ describe("list", () => {
|
|
|
119
119
|
it("replaces all", async () => {
|
|
120
120
|
const items = $signal([0, 1]);
|
|
121
121
|
const root = makeList(items);
|
|
122
|
-
items([2, 3]);
|
|
122
|
+
items.set([2, 3]);
|
|
123
123
|
await wait();
|
|
124
124
|
expect(root.textContent).toBe("23");
|
|
125
125
|
});
|
|
@@ -127,7 +127,7 @@ describe("list", () => {
|
|
|
127
127
|
it("sorts", async () => {
|
|
128
128
|
const items = $signal([6, 0, 2, 4, 7, 1, 3, 5]);
|
|
129
129
|
const root = makeList(items);
|
|
130
|
-
items([0, 1, 2, 3, 4, 5, 6, 7]);
|
|
130
|
+
items.set([0, 1, 2, 3, 4, 5, 6, 7]);
|
|
131
131
|
await wait();
|
|
132
132
|
expect(root.textContent).toBe("01234567");
|
|
133
133
|
});
|
package/tests/router.test.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { describe,
|
|
2
|
-
import { Link, Router, router } from "../src/router";
|
|
3
|
-
import { wait } from "./utils";
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
4
2
|
import { component, createReactiveTextNode } from "../src/element";
|
|
5
|
-
import {
|
|
3
|
+
import { Router, router } from "../src/router";
|
|
4
|
+
import { wait } from "./utils";
|
|
6
5
|
|
|
7
6
|
function Div(it: string) {
|
|
8
7
|
return () => {
|
|
@@ -25,13 +24,13 @@ describe("router", () => {
|
|
|
25
24
|
{ path: "/bar", component: () => component(Div("bar")) },
|
|
26
25
|
],
|
|
27
26
|
}));
|
|
28
|
-
router.path("/foo");
|
|
27
|
+
router.path.set("/foo");
|
|
29
28
|
await wait();
|
|
30
29
|
expect(root.textContent).toBe("foo");
|
|
31
|
-
router.path("/bar");
|
|
30
|
+
router.path.set("/bar");
|
|
32
31
|
await wait();
|
|
33
32
|
expect(root.textContent).toBe("bar");
|
|
34
|
-
router.path("/foo");
|
|
33
|
+
router.path.set("/foo");
|
|
35
34
|
await wait();
|
|
36
35
|
expect(root.textContent).toBe("foo");
|
|
37
36
|
});
|
|
@@ -49,21 +48,21 @@ describe("router", () => {
|
|
|
49
48
|
{
|
|
50
49
|
path: "/pages/:id",
|
|
51
50
|
component: () => {
|
|
52
|
-
return createReactiveTextNode(() => router.param("id"))
|
|
51
|
+
return createReactiveTextNode(() => router.param("id"))!;
|
|
53
52
|
},
|
|
54
53
|
},
|
|
55
54
|
],
|
|
56
55
|
}));
|
|
57
|
-
router.path("/pages/foo");
|
|
56
|
+
router.path.set("/pages/foo");
|
|
58
57
|
await wait();
|
|
59
58
|
expect(root.textContent).toBe("foo");
|
|
60
|
-
router.path("/pages/bar");
|
|
59
|
+
router.path.set("/pages/bar");
|
|
61
60
|
await wait();
|
|
62
61
|
expect(root.textContent).toBe("bar");
|
|
63
|
-
router.path("/pages/baz");
|
|
62
|
+
router.path.set("/pages/baz");
|
|
64
63
|
await wait();
|
|
65
64
|
expect(root.textContent).toBe("baz");
|
|
66
|
-
router.path("/pages/foo");
|
|
65
|
+
router.path.set("/pages/foo");
|
|
67
66
|
await wait();
|
|
68
67
|
expect(root.textContent).toBe("foo");
|
|
69
68
|
});
|
package/tests/show.test.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { describe,
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
2
|
import { $signal, show } from "../src";
|
|
3
3
|
import { wait } from "./utils";
|
|
4
4
|
|
|
@@ -12,11 +12,11 @@ describe("show", () => {
|
|
|
12
12
|
it("if else", async () => {
|
|
13
13
|
const on = $signal(true);
|
|
14
14
|
const root = makeShow([
|
|
15
|
-
{ if: on, then: () => document.createTextNode("on") },
|
|
15
|
+
{ if: () => on.get(), then: () => document.createTextNode("on") },
|
|
16
16
|
{ then: () => document.createTextNode("off") },
|
|
17
17
|
]);
|
|
18
18
|
expect(root.textContent).toBe("on");
|
|
19
|
-
on(false);
|
|
19
|
+
on.set(false);
|
|
20
20
|
await wait();
|
|
21
21
|
expect(root.textContent).toBe("off");
|
|
22
22
|
});
|
|
@@ -24,11 +24,11 @@ describe("show", () => {
|
|
|
24
24
|
it("if else-if", async () => {
|
|
25
25
|
const on = $signal(true);
|
|
26
26
|
const root = makeShow([
|
|
27
|
-
{ if: on, then: () => document.createTextNode("on") },
|
|
28
|
-
{ if: () => !on(), then: () => document.createTextNode("off") },
|
|
27
|
+
{ if: () => on.get(), then: () => document.createTextNode("on") },
|
|
28
|
+
{ if: () => !on.get(), then: () => document.createTextNode("off") },
|
|
29
29
|
]);
|
|
30
30
|
expect(root.textContent).toBe("on");
|
|
31
|
-
on(false);
|
|
31
|
+
on.set(false);
|
|
32
32
|
await wait();
|
|
33
33
|
expect(root.textContent).toBe("off");
|
|
34
34
|
});
|
|
@@ -36,15 +36,15 @@ describe("show", () => {
|
|
|
36
36
|
it("if else-if else", async () => {
|
|
37
37
|
const on = $signal("a");
|
|
38
38
|
const root = makeShow([
|
|
39
|
-
{ if: () => on() === "a", then: () => document.createTextNode("a") },
|
|
40
|
-
{ if: () => on() === "b", then: () => document.createTextNode("b") },
|
|
39
|
+
{ if: () => on.get() === "a", then: () => document.createTextNode("a") },
|
|
40
|
+
{ if: () => on.get() === "b", then: () => document.createTextNode("b") },
|
|
41
41
|
{ then: () => document.createTextNode("c") },
|
|
42
42
|
]);
|
|
43
43
|
expect(root.textContent).toBe("a");
|
|
44
|
-
on("b");
|
|
44
|
+
on.set("b");
|
|
45
45
|
await wait();
|
|
46
46
|
expect(root.textContent).toBe("b");
|
|
47
|
-
on("");
|
|
47
|
+
on.set("");
|
|
48
48
|
await wait();
|
|
49
49
|
expect(root.textContent).toBe("c");
|
|
50
50
|
});
|
|
@@ -53,13 +53,13 @@ describe("show", () => {
|
|
|
53
53
|
const foo = $signal("a");
|
|
54
54
|
const bar = $signal("b");
|
|
55
55
|
const root = makeShow([
|
|
56
|
-
{ if: () => foo() === "a", then: () => document.createTextNode("foo") },
|
|
57
|
-
{ if: () => bar() === "a", then: () => document.createTextNode("bar") },
|
|
56
|
+
{ if: () => foo.get() === "a", then: () => document.createTextNode("foo") },
|
|
57
|
+
{ if: () => bar.get() === "a", then: () => document.createTextNode("bar") },
|
|
58
58
|
{ then: () => document.createTextNode("c") },
|
|
59
59
|
]);
|
|
60
60
|
expect(root.textContent).toBe("foo");
|
|
61
|
-
foo("b")
|
|
62
|
-
bar("a");
|
|
61
|
+
foo.set("b")
|
|
62
|
+
bar.set("a");
|
|
63
63
|
await wait();
|
|
64
64
|
expect(root.textContent).toBe("bar");
|
|
65
65
|
});
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.dom.iterable.d.ts","./node_modules/typescript/lib/lib.dom.asynciterable.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","./node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/typescript/lib/lib.es2020.full.d.ts","./src/signals.ts","./src/element.ts","./src/index.ts","./src/router.ts","./node_modules/@types/deep-eql/index.d.ts","./node_modules/@types/chai/index.d.ts","./node_modules/@types/estree/index.d.ts"],"fileIdsList":[[56],[52],[52,53],[53]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"10e950261c8ec6ea5f230ec26ef24b3fd19370cdca4a6baef025f012c20e5473","signature":"e80313727f4369e6db23633abd66bfda9a75420099e816e680af1ceeb24ad6b5"},{"version":"dffcac76ec030452a8a99623a32aa066f6001d652bf745e4d687115c9f1de890","signature":"1e9fd227702d856993cc7d708cc104bcbea5c070fbf976204a77c36457b1342e"},{"version":"ac16f8022e1d86594d058f84a530164af4b03dcc8bb45ac4a00736fe8aab62e7","signature":"1e325d171d22aa3144736ace94df4b5bf779c6083bc0f9ce684855844f8abcbc"},{"version":"a155e9ebe821846c43103394346639a6a19a7f844be4892bbe4352aa20ee6707","signature":"166554555b2dc6392155b045bb33ce964f7d5f092f50fada34eb4d5828d7740e"},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"c8905dbea83f3220676a669366cd8c1acef56af4d9d72a8b2241b1d044bb4302","affectsGlobalScope":true,"impliedFormat":99},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1}],"root":[[52,55]],"options":{"allowJs":true,"checkJs":false,"composite":true,"esModuleInterop":true,"module":99,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"target":7},"referencedMap":[[57,1],[53,2],[54,3],[55,3],[52,4]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.8.3"}
|
|
1
|
+
{"fileNames":["./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.dom.iterable.d.ts","./node_modules/typescript/lib/lib.dom.asynciterable.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","./node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/typescript/lib/lib.es2020.full.d.ts","./src/signals.ts","./src/element.ts","./src/index.ts","./src/router.ts","./node_modules/@types/deep-eql/index.d.ts","./node_modules/assertion-error/index.d.ts","./node_modules/@types/chai/index.d.ts","./node_modules/@types/estree/index.d.ts"],"fileIdsList":[[56,57],[52],[52,53],[53]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"240d6b8f6981f174caea8caba5ad321e998832805d22a545c1f7bef0e72bb663","signature":"a53dff95094f1f7fee261ff1879f5909cd440f02aa68ff6893d017b2343181d1"},{"version":"dffcac76ec030452a8a99623a32aa066f6001d652bf745e4d687115c9f1de890","signature":"1e9fd227702d856993cc7d708cc104bcbea5c070fbf976204a77c36457b1342e"},{"version":"ac16f8022e1d86594d058f84a530164af4b03dcc8bb45ac4a00736fe8aab62e7","signature":"1e325d171d22aa3144736ace94df4b5bf779c6083bc0f9ce684855844f8abcbc"},{"version":"a155e9ebe821846c43103394346639a6a19a7f844be4892bbe4352aa20ee6707","signature":"166554555b2dc6392155b045bb33ce964f7d5f092f50fada34eb4d5828d7740e"},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1}],"root":[[52,55]],"options":{"allowJs":true,"checkJs":false,"composite":true,"esModuleInterop":true,"module":99,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"target":7},"referencedMap":[[58,1],[53,2],[54,3],[55,3],[52,4]],"latestChangedDtsFile":"./dist/router.d.ts","version":"5.9.3"}
|