@thyn/core 0.0.160 → 0.0.162

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
@@ -1,10 +1,8 @@
1
- import { $effect, cleanup } from "./signals.js";
1
+ import { $effect, cleanup, staticEffect } from "./signals.js";
2
2
  export function mount(app, parent) {
3
3
  parent.appendChild(app());
4
4
  }
5
- // export let currentEffects: { head: any; tail: any } | undefined;
6
5
  let collectingHead;
7
- // let collectingTail;
8
6
  export function collectEffect(effectFn) {
9
7
  if (collectingHead) {
10
8
  effectFn.next = collectingHead;
@@ -13,21 +11,19 @@ export function collectEffect(effectFn) {
13
11
  }
14
12
  export function createReactiveTextNode(v) {
15
13
  let n;
16
- $effect(() => {
14
+ staticEffect(() => {
17
15
  if (n) {
18
16
  n.nodeValue = v();
19
17
  }
20
18
  else {
21
19
  n = document.createTextNode(v());
22
20
  }
23
- }, true);
21
+ });
24
22
  return n;
25
23
  }
26
24
  export function component(name, props) {
27
25
  const prevHead = collectingHead;
28
- // const prevTail = collectingTail;
29
26
  collectingHead = null;
30
- // collectingTail = null;
31
27
  const e = name(props);
32
28
  const existing = e.$fx;
33
29
  if (existing) {
@@ -55,7 +51,6 @@ export function component(name, props) {
55
51
  e.$fx = collectingHead;
56
52
  }
57
53
  collectingHead = prevHead;
58
- // collectingTail = prevTail;
59
54
  return e;
60
55
  }
61
56
  export function setAttribute(el, key, val) {
@@ -70,7 +65,7 @@ export function setProperty(el, key, val) {
70
65
  }
71
66
  export function setReactiveAttribute(el, key, val) {
72
67
  let ran;
73
- return addEffect(el, $effect(() => {
68
+ return addEffect(el, staticEffect(() => {
74
69
  const v = val();
75
70
  if (ran) {
76
71
  if (v === undefined)
@@ -82,11 +77,11 @@ export function setReactiveAttribute(el, key, val) {
82
77
  if (v !== undefined)
83
78
  el.setAttribute(key, val());
84
79
  ran = true;
85
- }, true));
80
+ }));
86
81
  }
87
82
  export function setReactiveProperty(el, key, val) {
88
83
  let ran = true;
89
- return addEffect(el, $effect(() => {
84
+ return addEffect(el, staticEffect(() => {
90
85
  const v = val();
91
86
  if (ran) {
92
87
  if (v === undefined)
@@ -98,7 +93,7 @@ export function setReactiveProperty(el, key, val) {
98
93
  if (v !== undefined)
99
94
  el[key] = v;
100
95
  ran = true;
101
- }, true));
96
+ }));
102
97
  }
103
98
  export function addChildren(e, children) {
104
99
  for (const ch of children) {
@@ -196,7 +191,7 @@ function filterEffects(head, predicate) {
196
191
  export function show(props) {
197
192
  let prevIndex = -1;
198
193
  let prevElem;
199
- $effect(() => {
194
+ const eff = $effect(() => {
200
195
  const currIndex = props.findIndex((c) => !c.if || c.if());
201
196
  if (currIndex === prevIndex) {
202
197
  if (!prevElem) {
@@ -236,7 +231,8 @@ export function show(props) {
236
231
  }
237
232
  prevElem = newElem;
238
233
  prevIndex = currIndex;
239
- }, false, true);
234
+ });
235
+ eff.mv = true;
240
236
  return prevElem;
241
237
  }
242
238
  const replaceWith = (nextItem, prevElement, render) => {
@@ -257,7 +253,7 @@ export function list(props, terminal = false) {
257
253
  startBookend.$end = endBookend;
258
254
  const render = props.render;
259
255
  let isolated;
260
- $effect(() => {
256
+ staticEffect(() => {
261
257
  parent = startBookend.parentNode;
262
258
  if (!parent) {
263
259
  prevItems = props.items();
@@ -419,6 +415,6 @@ export function list(props, terminal = false) {
419
415
  keyMap = null;
420
416
  prevItems = nextItems;
421
417
  nextItems = null;
422
- }, true);
418
+ });
423
419
  return outlet;
424
420
  }
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, } from "./element.js";
2
- export { $compare, $effect, $signal, type Signal } from "./signals.js";
2
+ export { $compare, 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, } from "./element.js";
2
- export { $compare, $effect, $signal } from "./signals.js";
2
+ export { $compare, staticEffect, $effect, $signal } from "./signals.js";
package/dist/router.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { component, show } from "./element.js";
2
- import { $signal, $effect } from "./signals.js";
2
+ import { $signal, staticEffect } from "./signals.js";
3
3
  const params = $signal({});
4
4
  export const router = {
5
5
  path: $signal(location.pathname),
@@ -20,7 +20,7 @@ export function Router({ routes }) {
20
20
  })}$`);
21
21
  return compiledRoute;
22
22
  });
23
- $effect(() => {
23
+ staticEffect(() => {
24
24
  const pn = router.path();
25
25
  if (pn !== location.pathname) {
26
26
  history.pushState({}, "", pn);
@@ -41,7 +41,7 @@ export function Router({ routes }) {
41
41
  ;
42
42
  current(rt);
43
43
  params(ps);
44
- }, true);
44
+ });
45
45
  return component(show, compiledRoutes.map((r) => ({
46
46
  if: () => r === current(),
47
47
  then: () => component(r.component),
package/dist/signals.d.ts CHANGED
@@ -12,6 +12,7 @@ type EffectFn = (() => (() => void) | void) & {
12
12
  delete: (v: any) => void;
13
13
  })[];
14
14
  };
15
- export declare function $effect(fn: (() => (() => void) | void) & any, stat?: boolean, mv?: boolean): any;
15
+ export declare function $effect(fn: (() => (() => void) | void) & any): any;
16
+ export declare function staticEffect(fn: (() => (() => void) | void) & any): any;
16
17
  export declare function cleanup(ef: EffectFn): void;
17
18
  export {};
package/dist/signals.js CHANGED
@@ -69,14 +69,14 @@ class CompareSet {
69
69
  export function $compare(fn) {
70
70
  const map = new Map();
71
71
  let current = fn();
72
- $effect(() => {
72
+ staticEffect(() => {
73
73
  const newValue = fn();
74
74
  if (newValue === current)
75
75
  return;
76
76
  map.get(current)?.run();
77
77
  map.get(newValue)?.run();
78
78
  current = newValue;
79
- }, true);
79
+ });
80
80
  return (value) => {
81
81
  if (currentEffect) {
82
82
  let subs = map.get(value);
@@ -94,19 +94,21 @@ function runEffectFn(ef) {
94
94
  ef.td.push(td);
95
95
  }
96
96
  }
97
- export function $effect(fn, stat, mv) {
97
+ export function $effect(fn) {
98
98
  fn.td = [];
99
- if (mv)
100
- fn.mv = true;
101
99
  const prev = currentEffect;
102
100
  currentEffect = fn;
103
- if (stat) {
104
- fn();
105
- }
106
- else {
107
- fn.dyn = true;
108
- runEffectFn(fn);
109
- }
101
+ fn.dyn = true;
102
+ runEffectFn(fn);
103
+ currentEffect = prev;
104
+ collectEffect(fn);
105
+ return fn;
106
+ }
107
+ export function staticEffect(fn) {
108
+ fn.td = [];
109
+ const prev = currentEffect;
110
+ currentEffect = fn;
111
+ fn();
110
112
  currentEffect = prev;
111
113
  collectEffect(fn);
112
114
  return fn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thyn/core",
3
- "version": "0.0.160",
3
+ "version": "0.0.162",
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
@@ -1,12 +1,10 @@
1
- import { $effect, cleanup } from "./signals.js";
1
+ import { $effect, cleanup, staticEffect } from "./signals.js";
2
2
 
3
3
  export function mount(app, parent) {
4
4
  parent.appendChild(app());
5
5
  }
6
6
 
7
- // export let currentEffects: { head: any; tail: any } | undefined;
8
7
  let collectingHead;
9
- // let collectingTail;
10
8
 
11
9
  export function collectEffect(effectFn) {
12
10
  if (collectingHead) {
@@ -17,21 +15,19 @@ export function collectEffect(effectFn) {
17
15
 
18
16
  export function createReactiveTextNode(v) {
19
17
  let n;
20
- $effect(() => {
18
+ staticEffect(() => {
21
19
  if (n) {
22
20
  n.nodeValue = v();
23
21
  } else {
24
22
  n = document.createTextNode(v());
25
23
  }
26
- }, true);
24
+ });
27
25
  return n;
28
26
  }
29
27
 
30
28
  export function component(name, props?: any) {
31
29
  const prevHead = collectingHead;
32
- // const prevTail = collectingTail;
33
30
  collectingHead = null;
34
- // collectingTail = null;
35
31
  const e = name(props);
36
32
  const existing = e.$fx;
37
33
 
@@ -60,7 +56,6 @@ export function component(name, props?: any) {
60
56
  }
61
57
 
62
58
  collectingHead = prevHead;
63
- // collectingTail = prevTail;
64
59
  return e;
65
60
  }
66
61
 
@@ -76,7 +71,7 @@ export function setReactiveAttribute(el, key, val) {
76
71
  let ran;
77
72
  return addEffect(
78
73
  el,
79
- $effect(() => {
74
+ staticEffect(() => {
80
75
  const v = val();
81
76
  if (ran) {
82
77
  if (v === undefined) el.removeAttribute(key);
@@ -85,14 +80,14 @@ export function setReactiveAttribute(el, key, val) {
85
80
  }
86
81
  if (v !== undefined) el.setAttribute(key, val());
87
82
  ran = true;
88
- }, true),
83
+ }),
89
84
  );
90
85
  }
91
86
  export function setReactiveProperty(el, key, val) {
92
87
  let ran = true;
93
88
  return addEffect(
94
89
  el,
95
- $effect(() => {
90
+ staticEffect(() => {
96
91
  const v = val();
97
92
  if (ran) {
98
93
  if (v === undefined) delete el[key];
@@ -101,7 +96,7 @@ export function setReactiveProperty(el, key, val) {
101
96
  }
102
97
  if (v !== undefined) el[key] = v;
103
98
  ran = true;
104
- }, true),
99
+ }),
105
100
  );
106
101
  }
107
102
 
@@ -207,7 +202,7 @@ export function show(props) {
207
202
  let prevIndex = -1;
208
203
  let prevElem: (Element | Comment) & { $fx?: any };
209
204
 
210
- $effect(() => {
205
+ const eff = $effect(() => {
211
206
  const currIndex = props.findIndex((c) => !c.if || c.if());
212
207
  if (currIndex === prevIndex) {
213
208
  if (!prevElem) {
@@ -249,7 +244,8 @@ export function show(props) {
249
244
  }
250
245
  prevElem = newElem;
251
246
  prevIndex = currIndex;
252
- }, false, true);
247
+ });
248
+ eff.mv = true;
253
249
  return prevElem;
254
250
  }
255
251
 
@@ -274,7 +270,7 @@ export function list(props, terminal = false) {
274
270
  const render = props.render;
275
271
  let isolated;
276
272
 
277
- $effect(() => {
273
+ staticEffect(() => {
278
274
  parent = startBookend.parentNode;
279
275
  if (!parent) {
280
276
  prevItems = props.items();
@@ -444,6 +440,6 @@ export function list(props, terminal = false) {
444
440
  keyMap = null;
445
441
  prevItems = nextItems;
446
442
  nextItems = null;
447
- }, true);
443
+ });
448
444
  return outlet;
449
445
  }
package/src/index.ts CHANGED
@@ -13,4 +13,4 @@ export {
13
13
  show,
14
14
  terminalList,
15
15
  } from "./element.js";
16
- export { $compare, $effect, $signal, type Signal } from "./signals.js";
16
+ export { $compare, staticEffect, $effect, $signal, type Signal } from "./signals.js";
package/src/router.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { component, show } from "./element.js";
2
- import { $signal, $effect } from "./signals.js";
2
+ import { $signal, staticEffect } from "./signals.js";
3
3
 
4
4
  const params = $signal({} as any);
5
5
 
@@ -30,7 +30,7 @@ export function Router({ routes }: { routes: Route[] }) {
30
30
  return compiledRoute;
31
31
  });
32
32
 
33
- $effect(() => {
33
+ staticEffect(() => {
34
34
  const pn = router.path();
35
35
  if (pn !== location.pathname) {
36
36
  history.pushState({}, "", pn);
@@ -49,7 +49,7 @@ export function Router({ routes }: { routes: Route[] }) {
49
49
  };
50
50
  current(rt);
51
51
  params(ps);
52
- }, true);
52
+ });
53
53
 
54
54
  return component(
55
55
  show,
package/src/signals.ts CHANGED
@@ -82,13 +82,13 @@ export function $compare<T>(fn: () => T): (value: T) => boolean {
82
82
  const map = new Map<T, CompareSet>();
83
83
  let current: T = fn();
84
84
 
85
- $effect(() => {
85
+ staticEffect(() => {
86
86
  const newValue = fn();
87
87
  if (newValue === current) return;
88
88
  map.get(current)?.run();
89
89
  map.get(newValue)?.run();
90
90
  current = newValue;
91
- }, true);
91
+ });
92
92
 
93
93
  return (value: T) => {
94
94
  if (currentEffect) {
@@ -114,17 +114,22 @@ type EffectFn = (() => (() => void) | void) & {
114
114
  td: ((() => void) | { delete: (v: any) => void })[];
115
115
  }
116
116
 
117
- export function $effect(fn: (() => (() => void) | void) & any, stat?: boolean, mv?: boolean) {
117
+ export function $effect(fn: (() => (() => void) | void) & any) {
118
118
  fn.td = [];
119
- if (mv) fn.mv = true;
120
119
  const prev = currentEffect;
121
120
  currentEffect = fn;
122
- if (stat) {
123
- fn();
124
- } else {
125
- fn.dyn = true;
126
- runEffectFn(fn);
127
- }
121
+ fn.dyn = true;
122
+ runEffectFn(fn);
123
+ currentEffect = prev;
124
+ collectEffect(fn);
125
+ return fn;
126
+ }
127
+
128
+ export function staticEffect(fn: (() => (() => void) | void) & any) {
129
+ fn.td = [];
130
+ const prev = currentEffect;
131
+ currentEffect = fn;
132
+ fn();
128
133
  currentEffect = prev;
129
134
  collectEffect(fn);
130
135
  return fn;
@@ -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":"5389bb4c9694addc4a0271d10ae0ca9b6cb7032419b9df0194c0a43aedce8458","signature":"c03798f090801734a66d0f233a5ed2377c64f33f892e5cf199ec60112ed80f5e"},{"version":"9249fca3ba8a088ffad9f6a3a70571eb5377c9f74d6ec296e85512ecbbb2985b","signature":"b7c09f81a2aff4251294010c6aae497cdc6d993b4b93d01689ac00f1ba75fbc0"},{"version":"f078bb1ffe7613336b4ba1e113f2efeb1807af583ac83d705f01a9cd868bfdd0","signature":"b1a9d2029bc09d94260873e1f48c13f05dda2176e23821d0b194812fcc9c3ccc"},{"version":"5af6ec6879f94e91634dd1c33e9665da6a3c248580114b44d16d5ff5dcf4e9f4","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"}
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":"79dbd3ec429b462e492545a6f425e1aa821182605661a9a5be85919b10a186b9","signature":"4210658b4568adf9a13d7f1e613e59ad77a89432921d6a341269c66196c08735"},{"version":"b5549e7558cdb95f08cb8ff0493fc137f9349a65ead0513d55f0a4a3cbfa1de2","signature":"b7c09f81a2aff4251294010c6aae497cdc6d993b4b93d01689ac00f1ba75fbc0"},{"version":"9dabf67ea47d0dcaadf285ed74f55ca90ea9ec78ed941a39d81f5f4668ef0884","signature":"44306501f301ba573a5a473715e7a6363a753592f2c5685ea7f319977d38d8dc"},{"version":"23e3a2d8ef7695586b582f6366a28b1404801ada9a0c82d895f19344f8100ea5","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"}