@thyn/core 0.0.188 → 0.0.190

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 CHANGED
@@ -117,14 +117,14 @@ export function addEffect(el, ef) {
117
117
  return el;
118
118
  }
119
119
  function shallowTeardown(elem) {
120
- let current = elem.$fx;
120
+ let curr = elem.$fx;
121
121
  let prev;
122
- while (current) {
123
- current.cleanup();
124
- current.td.length = 0;
125
- arrays.push(current.td);
126
- prev = current;
127
- current = current.next;
122
+ while (curr) {
123
+ curr.cleanup();
124
+ curr.td.length = 0;
125
+ arrays.push(curr.td);
126
+ prev = curr;
127
+ curr = curr.next;
128
128
  prev.next = undefined;
129
129
  }
130
130
  elem.$fx = undefined;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export { addChildren, addEffect, component, createReactiveTextNode, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList, isolatedTerminalList, } from "./element.js";
2
- export { $compare, StaticEffect, $effect, $signal, type Signal } from "./signals.js";
2
+ export { StaticEffect, $effect, $signal, type Signal } from "./signals.js";
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  export { addChildren, addEffect, component, createReactiveTextNode, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList, isolatedTerminalList, } from "./element.js";
2
- export { $compare, StaticEffect, $effect, $signal } from "./signals.js";
2
+ export { StaticEffect, $effect, $signal } from "./signals.js";
package/dist/signals.d.ts CHANGED
@@ -3,16 +3,20 @@ export type Signal<T> = {
3
3
  (value: T): void;
4
4
  (updater: (prev: T) => T): void;
5
5
  };
6
+ export declare class Sig<T> {
7
+ private value;
8
+ constructor(value: T);
9
+ subs: Set<any>;
10
+ invoke(...args: [T] | [(prev: T) => T] | []): T;
11
+ }
6
12
  export declare function $signal<T>(value: T): Signal<T>;
7
- export declare function $compare<T>(fn: () => T): (value: T) => boolean;
8
13
  type EffectFunction = (() => (() => void) | void);
9
14
  export interface Effect {
10
- fn: EffectFunction;
11
15
  cleanup: () => void;
12
16
  next?: Effect;
13
17
  }
14
18
  export declare class StaticEffect implements Effect {
15
- fn: EffectFunction;
19
+ private fn;
16
20
  constructor(fn: EffectFunction);
17
21
  run(): void;
18
22
  td: any;
@@ -20,8 +24,6 @@ export declare class StaticEffect implements Effect {
20
24
  cleanup(): void;
21
25
  }
22
26
  declare class DynamicEffect extends StaticEffect {
23
- fn: EffectFunction;
24
- constructor(fn: EffectFunction);
25
27
  dyn: boolean;
26
28
  mv: boolean;
27
29
  }
package/dist/signals.js CHANGED
@@ -2,15 +2,14 @@ import { collectEffect } from "./element.js";
2
2
  let currentEffect;
3
3
  let isBatching;
4
4
  const pendingEffects = [];
5
- function scheduleEffect(effectFn) {
6
- pendingEffects.push(effectFn);
5
+ function scheduleEffect(effect) {
6
+ pendingEffects.push(effect);
7
7
  if (!isBatching) {
8
8
  isBatching = true;
9
9
  queueMicrotask(() => {
10
10
  for (const ef of pendingEffects) {
11
11
  if (ef.dyn) {
12
- for (const f of ef.td)
13
- typeof f === "function" ? f() : f.delete(ef);
12
+ ef.cleanup();
14
13
  const prev = currentEffect;
15
14
  currentEffect = ef;
16
15
  ef.run();
@@ -25,75 +24,34 @@ function scheduleEffect(effectFn) {
25
24
  });
26
25
  }
27
26
  }
28
- export function $signal(value) {
29
- const subs = new Set();
30
- return (...args) => {
27
+ export class Sig {
28
+ constructor(value) {
29
+ this.value = value;
30
+ this.subs = new Set();
31
+ return this.invoke.bind(this);
32
+ }
33
+ invoke(...args) {
31
34
  if (!args.length) {
32
35
  if (currentEffect) {
33
- subs.add(currentEffect);
34
- currentEffect.td.push(subs);
36
+ this.subs.add(currentEffect);
37
+ currentEffect.td.push(this.subs);
35
38
  }
36
- return value;
39
+ return this.value;
37
40
  }
38
41
  const action = args[0];
39
42
  const newValue = typeof action === "function"
40
- ? action(value)
43
+ ? action(this.value)
41
44
  : action;
42
- if (newValue !== value) {
43
- value = newValue;
44
- for (const sub of subs) {
45
+ if (newValue !== this.value) {
46
+ this.value = newValue;
47
+ for (const sub of this.subs) {
45
48
  scheduleEffect(sub);
46
49
  }
47
50
  }
48
- };
49
- }
50
- class CompareSet {
51
- constructor(m, k, s = new Set()) {
52
- this.m = m;
53
- this.k = k;
54
- this.s = s;
55
- }
56
- add(fn) {
57
- this.s.add(fn);
58
- }
59
- delete(fn) {
60
- this.s.delete(fn);
61
- if (!this.s.size) {
62
- this.m.delete(this.k);
63
- }
64
- }
65
- run() {
66
- for (const sub of this.s)
67
- scheduleEffect(sub);
68
51
  }
69
52
  }
70
- export function $compare(fn) {
71
- const map = new Map();
72
- let current = fn();
73
- new StaticEffect(() => {
74
- const newValue = fn();
75
- if (newValue === current)
76
- return;
77
- map.get(current)?.run();
78
- map.get(newValue)?.run();
79
- current = newValue;
80
- });
81
- return (value) => {
82
- if (currentEffect) {
83
- let subs = map.get(value);
84
- if (!subs)
85
- map.set(value, subs = new CompareSet(map, value));
86
- subs.add(currentEffect);
87
- currentEffect.td.push(subs);
88
- }
89
- return current === value;
90
- };
91
- }
92
- function runEffectFn(ef) {
93
- const td = ef();
94
- if (td) {
95
- ef.td.push(td);
96
- }
53
+ export function $signal(value) {
54
+ return new Sig(value);
97
55
  }
98
56
  export class StaticEffect {
99
57
  constructor(fn) {
@@ -112,6 +70,7 @@ export class StaticEffect {
112
70
  }
113
71
  }
114
72
  cleanup() {
73
+ console.log("cleanup", this.td.length);
115
74
  for (const f of this.td) {
116
75
  if (typeof f === "function")
117
76
  f();
@@ -121,9 +80,8 @@ export class StaticEffect {
121
80
  }
122
81
  }
123
82
  class DynamicEffect extends StaticEffect {
124
- constructor(fn) {
125
- super(fn);
126
- this.fn = fn;
83
+ constructor() {
84
+ super(...arguments);
127
85
  this.dyn = true;
128
86
  this.mv = false;
129
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thyn/core",
3
- "version": "0.0.188",
3
+ "version": "0.0.190",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "pub": "tsc && npm version patch -f && npm -f publish --access=public",
package/src/element.ts CHANGED
@@ -123,14 +123,14 @@ export function addEffect(el, ef) {
123
123
  }
124
124
 
125
125
  function shallowTeardown(elem) {
126
- let current = elem.$fx;
126
+ let curr = elem.$fx;
127
127
  let prev;
128
- while (current) {
129
- current.cleanup();
130
- current.td.length = 0;
131
- arrays.push(current.td);
132
- prev = current;
133
- current = current.next;
128
+ while (curr) {
129
+ curr.cleanup();
130
+ curr.td.length = 0;
131
+ arrays.push(curr.td);
132
+ prev = curr;
133
+ curr = curr.next;
134
134
  prev.next = undefined;
135
135
  }
136
136
  elem.$fx = undefined;
package/src/index.ts CHANGED
@@ -14,4 +14,4 @@ export {
14
14
  terminalList,
15
15
  isolatedTerminalList,
16
16
  } from "./element.js";
17
- export { $compare, StaticEffect, $effect, $signal, type Signal } from "./signals.js";
17
+ export { StaticEffect, $effect, $signal, type Signal } from "./signals.js";
package/src/signals.ts CHANGED
@@ -5,14 +5,14 @@ let currentEffect: any;
5
5
  let isBatching: boolean | undefined;
6
6
  const pendingEffects = [];
7
7
 
8
- function scheduleEffect(effectFn: EffectFn) {
9
- pendingEffects.push(effectFn);
8
+ function scheduleEffect(effect: Effect) {
9
+ pendingEffects.push(effect);
10
10
  if (!isBatching) {
11
11
  isBatching = true;
12
12
  queueMicrotask(() => {
13
13
  for (const ef of pendingEffects) {
14
14
  if (ef.dyn) {
15
- for (const f of ef.td) typeof f === "function" ? f() : f.delete(ef);
15
+ ef.cleanup();
16
16
  const prev = currentEffect;
17
17
  currentEffect = ef;
18
18
  ef.run();
@@ -33,99 +33,49 @@ export type Signal<T> = {
33
33
  (updater: (prev: T) => T): void;
34
34
  };
35
35
 
36
- export function $signal<T>(value: T): Signal<T> {
37
- const subs = new Set<any>();
36
+ export class Sig<T> {
37
+ constructor(private value: T) {
38
+ return this.invoke.bind(this);
39
+ }
40
+
41
+ subs = new Set<any>();
38
42
 
39
- return (...args: [T] | [(prev: T) => T] | []) => {
43
+ invoke(...args: [T] | [(prev: T) => T] | []) {
40
44
  if (!args.length) {
41
45
  if (currentEffect) {
42
- subs.add(currentEffect);
43
- currentEffect.td.push(subs);
46
+ this.subs.add(currentEffect);
47
+ currentEffect.td.push(this.subs);
44
48
  }
45
- return value;
49
+ return this.value;
46
50
  }
47
51
 
48
52
  const action = args[0];
49
53
  const newValue = typeof action === "function"
50
- ? (action as (prev: T) => T)(value)
54
+ ? (action as (prev: T) => T)(this.value)
51
55
  : action;
52
56
 
53
- if (newValue !== value) {
54
- value = newValue;
55
- for (const sub of subs) {
57
+ if (newValue !== this.value) {
58
+ this.value = newValue;
59
+ for (const sub of this.subs) {
56
60
  scheduleEffect(sub);
57
61
  }
58
62
  }
59
- };
60
- }
61
-
62
- class CompareSet {
63
- constructor(private m, private k, private s = new Set<EffectFn>()) { }
64
-
65
- add(fn: EffectFn) {
66
- this.s.add(fn);
67
- }
68
-
69
- delete(fn: EffectFn) {
70
- this.s.delete(fn);
71
- if (!this.s.size) {
72
- this.m.delete(this.k);
73
- }
74
- }
75
-
76
- run() {
77
- for (const sub of this.s) scheduleEffect(sub);
78
63
  }
79
64
  }
80
65
 
81
- export function $compare<T>(fn: () => T): (value: T) => boolean {
82
- const map = new Map<T, CompareSet>();
83
- let current: T = fn();
84
-
85
- new StaticEffect(() => {
86
- const newValue = fn();
87
- if (newValue === current) return;
88
- map.get(current)?.run();
89
- map.get(newValue)?.run();
90
- current = newValue;
91
- });
92
-
93
- return (value: T) => {
94
- if (currentEffect) {
95
- let subs = map.get(value);
96
- if (!subs) map.set(value, subs = new CompareSet(map, value));
97
- subs.add(currentEffect);
98
- currentEffect.td.push(subs);
99
- }
100
- return current === value;
101
- };
102
- }
103
-
104
- function runEffectFn(ef: EffectFn) {
105
- const td = ef();
106
- if (td) {
107
- ef.td.push(td);
108
- }
66
+ export function $signal<T>(value: T): Signal<T> {
67
+ return new Sig<T>(value) as unknown as Signal<T>;
109
68
  }
110
69
 
111
70
  type EffectFunction = (() => (() => void) | void);
112
71
 
113
- type EffectFn = (() => (() => void) | void) & {
114
- mv?: boolean;
115
- dyn?: boolean;
116
- td: ((() => void) | { delete: (v: any) => void })[];
117
- }
118
-
119
- // type EffectTeardown = ((() => void) | { delete: (v: any) => void })[];
120
-
121
72
  export interface Effect {
122
- fn: EffectFunction;
123
73
  cleanup: () => void;
124
74
  next?: Effect;
125
75
  }
126
76
 
127
77
  export class StaticEffect implements Effect {
128
- constructor(public fn: EffectFunction) {
78
+ constructor(private fn: EffectFunction) {
129
79
  const prev = currentEffect;
130
80
  currentEffect = this;
131
81
  this.run();
@@ -133,7 +83,7 @@ export class StaticEffect implements Effect {
133
83
  collectEffect(this);
134
84
  }
135
85
 
136
- run() {
86
+ run() {
137
87
  const td = this.fn();
138
88
  if (td) {
139
89
  this.td.push(td);
@@ -145,6 +95,7 @@ export class StaticEffect implements Effect {
145
95
  next?: Effect;
146
96
 
147
97
  cleanup() {
98
+ console.log("cleanup", this.td.length);
148
99
  for (const f of this.td) {
149
100
  if (typeof f === "function") f();
150
101
  else f.delete(this);
@@ -153,9 +104,6 @@ export class StaticEffect implements Effect {
153
104
  }
154
105
 
155
106
  class DynamicEffect extends StaticEffect {
156
- constructor(public fn: EffectFunction) {
157
- super(fn);
158
- }
159
107
  dyn = true;
160
108
  mv = false;
161
109
  }
@@ -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":"3e5fe77f4b3616cb8c5a98ee58c84a49257dfd6e89cd9c251b7ad1f8c3b4ee18","signature":"09317d334074e15bd7b694e1047e267512a576543a700562bf0049a675a4ad64"},{"version":"774660691bc46bcf8dbcb1b82cd82bd6115d5b8d008e61fe60db9c307023d0fa","signature":"d333a2429f57ec4b22b9af18c8446fff3bd8ef4212c9cbabf4f655f9e2cbe6c0"},{"version":"c1fdf55aa5ff3ad0e36bcb939d004b81b6cee216b08df116fc9cfa7f6407a7ab","signature":"cd15d8431d63eac7e04138d626256dae3e3a09a09649780245459733e753dc26"},{"version":"af03eb50b5b977be7f61d5417d4c53c6255ba8fb8d574e76ce964b2b1e62f2a3","signature":"a32c52a25b47067dac589266e7667623ea1ef2b0c1f9c4fd41adbc7b67a59eee"},{"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/@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":"3cc8689b6fbb895684f5a8cc2cc1f3bdac2616515032b2d03fa50683b4f58677","signature":"400986affe5427e9bf84dd2a664cf14df6e620e0d7f4f6b2b8a45072ede5406c"},{"version":"63484907f7424351e6313fff96d8d5e3421b2cc85988e8a96c1a598fce8d28d6","signature":"d333a2429f57ec4b22b9af18c8446fff3bd8ef4212c9cbabf4f655f9e2cbe6c0"},{"version":"54d25de40b279b5717d0a4d91b71d68a7e6fe4d8a89d53ce819a0fb5354e0dfa","signature":"6551d30833fbec1ffbc73f36531c1e910d4312638a6b5dc66bace951ad417c51"},{"version":"af03eb50b5b977be7f61d5417d4c53c6255ba8fb8d574e76ce964b2b1e62f2a3","signature":"a32c52a25b47067dac589266e7667623ea1ef2b0c1f9c4fd41adbc7b67a59eee"},{"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"}