@thyn/core 0.0.207 → 0.0.208
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/element.js +4 -3
- package/dist/signals.d.ts +4 -19
- package/dist/signals.js +30 -74
- package/package.json +1 -1
- package/src/element.ts +4 -3
- package/src/signals.ts +31 -77
- package/tsconfig.tsbuildinfo +1 -1
package/dist/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $effect, staticEffect } from "./signals.js";
|
|
1
|
+
import { $effect, arrays, cleanup, staticEffect } from "./signals.js";
|
|
2
2
|
export function mount(app, parent) {
|
|
3
3
|
parent.appendChild(app());
|
|
4
4
|
}
|
|
@@ -120,8 +120,9 @@ function shallowTeardown(elem) {
|
|
|
120
120
|
let current = elem.$fx;
|
|
121
121
|
let prev;
|
|
122
122
|
while (current) {
|
|
123
|
-
|
|
124
|
-
current.td =
|
|
123
|
+
cleanup(current);
|
|
124
|
+
current.td.length = 0;
|
|
125
|
+
arrays.push(current.td);
|
|
125
126
|
prev = current;
|
|
126
127
|
current = current.next;
|
|
127
128
|
prev.next = undefined;
|
package/dist/signals.d.ts
CHANGED
|
@@ -12,23 +12,8 @@ declare class SignalImpl<T> {
|
|
|
12
12
|
update(action: (prev: T) => T): void;
|
|
13
13
|
}
|
|
14
14
|
export declare function $signal<T>(value: T): SignalImpl<T>;
|
|
15
|
-
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
export declare class StaticEffect implements Effect {
|
|
21
|
-
private fn;
|
|
22
|
-
constructor(fn: EffectFunction);
|
|
23
|
-
run(): void;
|
|
24
|
-
td: any;
|
|
25
|
-
next?: Effect;
|
|
26
|
-
cleanup(): void;
|
|
27
|
-
}
|
|
28
|
-
declare class DynamicEffect extends StaticEffect {
|
|
29
|
-
dyn: boolean;
|
|
30
|
-
mv: boolean;
|
|
31
|
-
}
|
|
32
|
-
export declare function $effect(fn: (() => (() => void) | void) & any): DynamicEffect;
|
|
33
|
-
export declare function staticEffect(fn: (() => (() => void) | void) & any): StaticEffect;
|
|
15
|
+
export declare const arrays: any[];
|
|
16
|
+
export declare function $effect(fn: (() => (() => void) | void) & any): any;
|
|
17
|
+
export declare function staticEffect(fn: (() => (() => void) | void) & any): any;
|
|
18
|
+
export declare function cleanup(ef: any): void;
|
|
34
19
|
export {};
|
package/dist/signals.js
CHANGED
|
@@ -9,14 +9,14 @@ function scheduleEffect(effectFn) {
|
|
|
9
9
|
queueMicrotask(() => {
|
|
10
10
|
for (const ef of pendingEffects) {
|
|
11
11
|
if (ef.dyn) {
|
|
12
|
-
|
|
12
|
+
cleanup(ef);
|
|
13
13
|
const prev = currentEffect;
|
|
14
14
|
currentEffect = ef;
|
|
15
15
|
runEffectFn(ef);
|
|
16
16
|
currentEffect = prev;
|
|
17
17
|
}
|
|
18
18
|
else {
|
|
19
|
-
ef
|
|
19
|
+
ef();
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
pendingEffects.length = 0;
|
|
@@ -32,16 +32,7 @@ class SignalImpl {
|
|
|
32
32
|
get() {
|
|
33
33
|
if (currentEffect) {
|
|
34
34
|
this.subs.add(currentEffect);
|
|
35
|
-
|
|
36
|
-
if (!td) {
|
|
37
|
-
currentEffect.td = this.subs;
|
|
38
|
-
}
|
|
39
|
-
else if (Array.isArray(td)) {
|
|
40
|
-
td.push(this.subs);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
currentEffect.td = [td, this.subs];
|
|
44
|
-
}
|
|
35
|
+
currentEffect.td.push(this.subs);
|
|
45
36
|
}
|
|
46
37
|
return this.value;
|
|
47
38
|
}
|
|
@@ -54,13 +45,7 @@ class SignalImpl {
|
|
|
54
45
|
}
|
|
55
46
|
}
|
|
56
47
|
update(action) {
|
|
57
|
-
|
|
58
|
-
if (value !== this.value) {
|
|
59
|
-
this.value = value;
|
|
60
|
-
for (const sub of this.subs) {
|
|
61
|
-
scheduleEffect(sub);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
48
|
+
this.set(action(this.value));
|
|
64
49
|
}
|
|
65
50
|
}
|
|
66
51
|
export function $signal(value) {
|
|
@@ -69,64 +54,35 @@ export function $signal(value) {
|
|
|
69
54
|
function runEffectFn(ef) {
|
|
70
55
|
const td = ef();
|
|
71
56
|
if (td) {
|
|
72
|
-
|
|
73
|
-
if (Array.isArray(ef.td)) {
|
|
74
|
-
ef.td.push(td);
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
ef.td = [ef.td, td];
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
ef.td = td;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
export class StaticEffect {
|
|
86
|
-
constructor(fn) {
|
|
87
|
-
this.fn = fn;
|
|
88
|
-
const prev = currentEffect;
|
|
89
|
-
currentEffect = this;
|
|
90
|
-
this.run();
|
|
91
|
-
currentEffect = prev;
|
|
92
|
-
collectEffect(this);
|
|
93
|
-
}
|
|
94
|
-
run() {
|
|
95
|
-
const td = this.fn();
|
|
96
|
-
if (!td)
|
|
97
|
-
return;
|
|
98
|
-
if (!this.td) {
|
|
99
|
-
this.td = td;
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
if (Array.isArray(this.td)) {
|
|
103
|
-
this.td.push(td);
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
this.td = [this.td, td];
|
|
107
|
-
}
|
|
108
|
-
cleanup() {
|
|
109
|
-
if (!this.td)
|
|
110
|
-
return;
|
|
111
|
-
if (Array.isArray(this.td)) {
|
|
112
|
-
for (const f of this.td)
|
|
113
|
-
typeof f === "function" ? f() : f.delete(this);
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
typeof this.td === "function" ? this.td() : this.td.delete(this);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
class DynamicEffect extends StaticEffect {
|
|
121
|
-
constructor() {
|
|
122
|
-
super(...arguments);
|
|
123
|
-
this.dyn = true;
|
|
124
|
-
this.mv = false;
|
|
57
|
+
ef.td.push(td);
|
|
125
58
|
}
|
|
126
59
|
}
|
|
60
|
+
export const arrays = [];
|
|
127
61
|
export function $effect(fn) {
|
|
128
|
-
|
|
62
|
+
fn.td = arrays.pop() ?? [];
|
|
63
|
+
const prev = currentEffect;
|
|
64
|
+
currentEffect = fn;
|
|
65
|
+
fn.dyn = true;
|
|
66
|
+
runEffectFn(fn);
|
|
67
|
+
currentEffect = prev;
|
|
68
|
+
collectEffect(fn);
|
|
69
|
+
return fn;
|
|
129
70
|
}
|
|
130
71
|
export function staticEffect(fn) {
|
|
131
|
-
|
|
72
|
+
fn.td = arrays.pop() ?? [];
|
|
73
|
+
const prev = currentEffect;
|
|
74
|
+
currentEffect = fn;
|
|
75
|
+
fn();
|
|
76
|
+
currentEffect = prev;
|
|
77
|
+
collectEffect(fn);
|
|
78
|
+
return fn;
|
|
79
|
+
}
|
|
80
|
+
export function cleanup(ef) {
|
|
81
|
+
for (const f of ef.td)
|
|
82
|
+
typeof f === "function" ? f() : f.delete(ef);
|
|
83
|
+
// if (!ef.td) return;
|
|
84
|
+
// if (Array.isArray(ef.td)) {
|
|
85
|
+
// } else {
|
|
86
|
+
// typeof ef.td === "function" ? ef.td() : ef.td.delete(ef);
|
|
87
|
+
// }
|
|
132
88
|
}
|
package/package.json
CHANGED
package/src/element.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $effect, staticEffect } from "./signals.js";
|
|
1
|
+
import { $effect, arrays, cleanup, staticEffect } from "./signals.js";
|
|
2
2
|
|
|
3
3
|
export function mount(app, parent) {
|
|
4
4
|
parent.appendChild(app());
|
|
@@ -126,8 +126,9 @@ function shallowTeardown(elem) {
|
|
|
126
126
|
let current = elem.$fx;
|
|
127
127
|
let prev;
|
|
128
128
|
while (current) {
|
|
129
|
-
|
|
130
|
-
current.td =
|
|
129
|
+
cleanup(current);
|
|
130
|
+
current.td.length = 0;
|
|
131
|
+
arrays.push(current.td);
|
|
131
132
|
prev = current;
|
|
132
133
|
current = current.next;
|
|
133
134
|
prev.next = undefined;
|
package/src/signals.ts
CHANGED
|
@@ -12,13 +12,13 @@ function scheduleEffect(effectFn: EffectFn) {
|
|
|
12
12
|
queueMicrotask(() => {
|
|
13
13
|
for (const ef of pendingEffects) {
|
|
14
14
|
if (ef.dyn) {
|
|
15
|
-
|
|
15
|
+
cleanup(ef);
|
|
16
16
|
const prev = currentEffect;
|
|
17
17
|
currentEffect = ef;
|
|
18
18
|
runEffectFn(ef);
|
|
19
19
|
currentEffect = prev;
|
|
20
20
|
} else {
|
|
21
|
-
ef
|
|
21
|
+
ef();
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
pendingEffects.length = 0;
|
|
@@ -41,14 +41,7 @@ class SignalImpl<T> {
|
|
|
41
41
|
get(): T {
|
|
42
42
|
if (currentEffect) {
|
|
43
43
|
this.subs.add(currentEffect);
|
|
44
|
-
|
|
45
|
-
if (!td) {
|
|
46
|
-
currentEffect.td = this.subs;
|
|
47
|
-
} else if (Array.isArray(td)) {
|
|
48
|
-
td.push(this.subs);
|
|
49
|
-
} else {
|
|
50
|
-
currentEffect.td = [td, this.subs];
|
|
51
|
-
}
|
|
44
|
+
currentEffect.td.push(this.subs);
|
|
52
45
|
}
|
|
53
46
|
return this.value;
|
|
54
47
|
}
|
|
@@ -63,13 +56,7 @@ class SignalImpl<T> {
|
|
|
63
56
|
}
|
|
64
57
|
|
|
65
58
|
update(action: (prev: T) => T): void {
|
|
66
|
-
|
|
67
|
-
if (value !== this.value) {
|
|
68
|
-
this.value = value;
|
|
69
|
-
for (const sub of this.subs) {
|
|
70
|
-
scheduleEffect(sub);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
59
|
+
this.set(action(this.value));
|
|
73
60
|
}
|
|
74
61
|
}
|
|
75
62
|
|
|
@@ -80,59 +67,7 @@ export function $signal<T>(value: T): SignalImpl<T> {
|
|
|
80
67
|
function runEffectFn(ef: EffectFn) {
|
|
81
68
|
const td = ef();
|
|
82
69
|
if (td) {
|
|
83
|
-
|
|
84
|
-
if (Array.isArray(ef.td)) {
|
|
85
|
-
ef.td.push(td)
|
|
86
|
-
} else {
|
|
87
|
-
ef.td = [ef.td, td];
|
|
88
|
-
}
|
|
89
|
-
} else {
|
|
90
|
-
ef.td = td;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
type EffectFunction = (() => (() => void) | void);
|
|
96
|
-
|
|
97
|
-
export interface Effect {
|
|
98
|
-
cleanup: () => void;
|
|
99
|
-
next?: Effect;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export class StaticEffect implements Effect {
|
|
103
|
-
constructor(private fn: EffectFunction) {
|
|
104
|
-
const prev = currentEffect;
|
|
105
|
-
currentEffect = this;
|
|
106
|
-
this.run();
|
|
107
|
-
currentEffect = prev;
|
|
108
|
-
collectEffect(this);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
run() {
|
|
112
|
-
const td = this.fn();
|
|
113
|
-
if (!td) return;
|
|
114
|
-
if (!this.td) {
|
|
115
|
-
this.td = td;
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
if (Array.isArray(this.td)) {
|
|
119
|
-
this.td.push(td);
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
this.td = [this.td, td];
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
td;
|
|
126
|
-
|
|
127
|
-
next?: Effect;
|
|
128
|
-
|
|
129
|
-
cleanup() {
|
|
130
|
-
if (!this.td) return;
|
|
131
|
-
if (Array.isArray(this.td)) {
|
|
132
|
-
for (const f of this.td) typeof f === "function" ? f() : f.delete(this);
|
|
133
|
-
} else {
|
|
134
|
-
typeof this.td === "function" ? this.td() : this.td.delete(this);
|
|
135
|
-
}
|
|
70
|
+
ef.td.push(td)
|
|
136
71
|
}
|
|
137
72
|
}
|
|
138
73
|
|
|
@@ -140,18 +75,37 @@ type EffectTeardown = (() => void) | { delete: (v: any) => void };
|
|
|
140
75
|
type EffectFn = (() => (() => void) | void) & {
|
|
141
76
|
mv?: boolean;
|
|
142
77
|
dyn?: boolean;
|
|
143
|
-
td: EffectTeardown
|
|
144
|
-
}
|
|
145
|
-
class DynamicEffect extends StaticEffect {
|
|
146
|
-
dyn = true;
|
|
147
|
-
mv = false;
|
|
78
|
+
td: EffectTeardown[];
|
|
148
79
|
}
|
|
149
80
|
|
|
81
|
+
export const arrays = [];
|
|
82
|
+
|
|
150
83
|
export function $effect(fn: (() => (() => void) | void) & any) {
|
|
151
|
-
|
|
84
|
+
fn.td = arrays.pop() ?? [];
|
|
85
|
+
const prev = currentEffect;
|
|
86
|
+
currentEffect = fn;
|
|
87
|
+
fn.dyn = true;
|
|
88
|
+
runEffectFn(fn);
|
|
89
|
+
currentEffect = prev;
|
|
90
|
+
collectEffect(fn);
|
|
91
|
+
return fn;
|
|
152
92
|
}
|
|
153
93
|
|
|
154
94
|
export function staticEffect(fn: (() => (() => void) | void) & any) {
|
|
155
|
-
|
|
95
|
+
fn.td = arrays.pop() ?? [];
|
|
96
|
+
const prev = currentEffect;
|
|
97
|
+
currentEffect = fn;
|
|
98
|
+
fn();
|
|
99
|
+
currentEffect = prev;
|
|
100
|
+
collectEffect(fn);
|
|
101
|
+
return fn;
|
|
156
102
|
}
|
|
157
103
|
|
|
104
|
+
export function cleanup(ef) {
|
|
105
|
+
for (const f of ef.td) typeof f === "function" ? f() : f.delete(ef);
|
|
106
|
+
// if (!ef.td) return;
|
|
107
|
+
// if (Array.isArray(ef.td)) {
|
|
108
|
+
// } else {
|
|
109
|
+
// typeof ef.td === "function" ? ef.td() : ef.td.delete(ef);
|
|
110
|
+
// }
|
|
111
|
+
}
|
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":"0dc7e818dfa390b737cda3d6dd9db439c62698e90604653e469e0758d53786f7","signature":"5e8dc48cc1e2d1e0474c351c0d945874d4c276c63092f462b8ac5ea6d772bbd3"},{"version":"71113ad0fe0e21bf42871735473105244a0836d8c6beffff52d35d221162cc67","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/signals.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/@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":"3d33a6327bff9536f1376bbc39f78b7fbb9c5dba182ed3ec09a88430df307e77","signature":"0479c7d75dd13f16e1b7369f54f61d14ac23efe5cd31d3d3ff269d5cc3928275"},{"version":"139234f6ab02650ea0153a13933dca7e78f906d3e986ac85009e0497cc42a791","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/signals.d.ts","version":"5.8.3"}
|