@thyn/core 0.0.257 → 0.0.261

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.d.ts CHANGED
@@ -1,13 +1,12 @@
1
1
  export declare function mount(app: any, parent: any): void;
2
2
  export declare function collectEffect(effectFn: any): void;
3
- export declare function createReactiveTextNode(v: any): Text;
3
+ export declare function createReactiveTextNode(v: any): any;
4
4
  export declare function component(name: any, props?: any): any;
5
5
  export declare function fixedComponent(name: any, props?: any): any;
6
6
  export declare function setAttribute(el: any, key: any, val: any): any;
7
7
  export declare function setProperty(el: any, key: any, val: any): any;
8
8
  export declare function setReactiveAttribute(el: any, key: any, val: any): any;
9
9
  export declare function setReactiveProperty(el: any, key: any, val: any): any;
10
- export declare function delegate(el: any, event: any, handler: any): any;
11
10
  export declare function addChildren(e: any, children: any): any;
12
11
  export declare function markAsReactive(el: any): any;
13
12
  export declare function addEffect(el: any, ef: any): any;
package/dist/element.js CHANGED
@@ -8,9 +8,12 @@ export function collectEffect(effectFn) {
8
8
  collectingHead = effectFn;
9
9
  }
10
10
  export function createReactiveTextNode(v) {
11
- const n = document.createTextNode(v());
11
+ let n;
12
12
  staticEffect(() => {
13
- n.nodeValue = v();
13
+ if (n)
14
+ n.nodeValue = v();
15
+ else
16
+ n = document.createTextNode(v());
14
17
  });
15
18
  return n;
16
19
  }
@@ -50,19 +53,7 @@ export function fixedComponent(name, props) {
50
53
  const prevHead = collectingHead;
51
54
  collectingHead = null;
52
55
  const e = name(props);
53
- let existing = e.$fx;
54
- if (existing) {
55
- if (collectingHead) {
56
- let next;
57
- while ((next = existing.next)) {
58
- existing = next;
59
- }
60
- existing.next = collectingHead;
61
- }
62
- }
63
- else {
64
- e.$fx = collectingHead;
65
- }
56
+ e.$fx = collectingHead;
66
57
  collectingHead = prevHead;
67
58
  return e;
68
59
  }
@@ -77,7 +68,7 @@ export function setProperty(el, key, val) {
77
68
  return el;
78
69
  }
79
70
  export function setReactiveAttribute(el, key, val) {
80
- let ran;
71
+ let ran = false;
81
72
  return addEffect(el, staticEffect(() => {
82
73
  const v = val();
83
74
  if (ran) {
@@ -93,7 +84,7 @@ export function setReactiveAttribute(el, key, val) {
93
84
  }));
94
85
  }
95
86
  export function setReactiveProperty(el, key, val) {
96
- let ran = true;
87
+ let ran = false;
97
88
  return addEffect(el, staticEffect(() => {
98
89
  const v = val();
99
90
  if (ran) {
@@ -108,48 +99,6 @@ export function setReactiveProperty(el, key, val) {
108
99
  ran = true;
109
100
  }));
110
101
  }
111
- const delegatedEvents = new Set();
112
- const nonBubblingEvents = new Set([
113
- "focus",
114
- "blur",
115
- "scroll",
116
- "load",
117
- "error",
118
- "mouseenter",
119
- "mouseleave",
120
- ]);
121
- export function delegate(el, event, handler) {
122
- if (nonBubblingEvents.has(event)) {
123
- el.addEventListener(event, handler);
124
- return el;
125
- }
126
- if (!delegatedEvents.has(event)) {
127
- delegatedEvents.add(event);
128
- document.addEventListener(event, handleDelegatedEvent);
129
- }
130
- el[`__thyn_on${event}`] = handler;
131
- return el;
132
- }
133
- function handleDelegatedEvent(e) {
134
- let target = e.target;
135
- const key = `__thyn_on${e.type}`;
136
- Object.defineProperty(e, "currentTarget", {
137
- configurable: true,
138
- enumerable: true,
139
- get: () => target,
140
- });
141
- while (target) {
142
- const handler = target[key];
143
- if (handler) {
144
- handler.call(target, e);
145
- if (e.cancelBubble)
146
- return;
147
- }
148
- if (target === document)
149
- break;
150
- target = target.parentNode;
151
- }
152
- }
153
102
  export function addChildren(e, children) {
154
103
  for (const ch of children) {
155
104
  e.appendChild(ch);
@@ -484,13 +433,13 @@ export function isolatedTerminalList(props) {
484
433
  }
485
434
  const childNodeList = parent.childNodes;
486
435
  if (!newLength) {
487
- let node = startBookend.nextSibling;
488
- while (node !== endBookend) {
436
+ let node = startBookend;
437
+ while (node = node.nextSibling) {
489
438
  shallowTeardown(node);
490
- node = node.nextSibling;
491
439
  }
492
440
  parent.textContent = "";
493
- parent.append(startBookend, endBookend);
441
+ parent.appendChild(startBookend);
442
+ parent.appendChild(endBookend);
494
443
  prevItems = nextItems;
495
444
  nextItems = null;
496
445
  return;
@@ -545,10 +494,9 @@ export function isolatedTerminalList(props) {
545
494
  }
546
495
  }
547
496
  if (allRemove) {
548
- let node = startBookend.nextSibling;
549
- while (node !== endBookend) {
497
+ let node = startBookend;
498
+ while (node = node.nextSibling) {
550
499
  shallowTeardown(node);
551
- node = node.nextSibling;
552
500
  }
553
501
  parent.textContent = "";
554
502
  parent.appendChild(startBookend);
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { addChildren, addEffect, component, createReactiveTextNode, delegate, fixedComponent, isolatedTerminalList, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList } from "./element.js";
1
+ export { addChildren, addEffect, component, createReactiveTextNode, fixedComponent, isolatedTerminalList, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList } from "./element.js";
2
2
  export { $effect, $signal, staticEffect } from "./signals.js";
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { addChildren, addEffect, component, createReactiveTextNode, delegate, fixedComponent, isolatedTerminalList, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList } from "./element.js";
1
+ export { addChildren, addEffect, component, createReactiveTextNode, fixedComponent, isolatedTerminalList, list, markAsReactive, mount, setAttribute, setProperty, setReactiveAttribute, setReactiveProperty, show, terminalList } from "./element.js";
2
2
  export { $effect, $signal, staticEffect } from "./signals.js";
package/dist/router.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export declare const router: {
2
2
  path: {
3
- subs: any;
3
+ subs: Set<any>;
4
4
  value: string;
5
5
  get(): string;
6
6
  delete(ef: any): void;
package/dist/signals.d.ts CHANGED
@@ -5,7 +5,7 @@ export type Signal<T> = {
5
5
  };
6
6
  declare class SignalImpl<T> {
7
7
  value: T;
8
- subs: any;
8
+ subs: Set<any>;
9
9
  constructor(value: T);
10
10
  get(): T;
11
11
  delete(ef: any): void;
package/dist/signals.js CHANGED
@@ -27,62 +27,23 @@ function scheduleEffect(effectFn) {
27
27
  class SignalImpl {
28
28
  constructor(value) {
29
29
  this.value = value;
30
- this.subs = undefined;
30
+ this.subs = new Set();
31
31
  }
32
32
  get() {
33
33
  if (currentEffect) {
34
- if (!this.subs) {
35
- this.subs = currentEffect;
36
- }
37
- else if (typeof this.subs === "function") {
38
- if (this.subs !== currentEffect) {
39
- const oldEffect = this.subs;
40
- this.subs = new Set();
41
- this.subs.add(oldEffect);
42
- this.subs.add(currentEffect);
43
- }
44
- }
45
- else {
46
- this.subs.add(currentEffect);
47
- }
48
- if (!currentEffect.td) {
49
- currentEffect.td = this;
50
- }
51
- else if (Array.isArray(currentEffect.td)) {
52
- currentEffect.td.push(this);
53
- }
54
- else {
55
- currentEffect.td = [currentEffect.td, this];
56
- }
34
+ this.subs.add(currentEffect);
35
+ currentEffect.td.push(this);
57
36
  }
58
37
  return this.value;
59
38
  }
60
39
  delete(ef) {
61
- if (this.subs === ef) {
62
- this.subs = undefined;
63
- }
64
- else if (typeof this.subs === "object") {
65
- this.subs.delete(ef);
66
- if (this.subs.size === 0) {
67
- this.subs = undefined;
68
- }
69
- else if (this.subs.size === 1) {
70
- this.subs = this.subs.values().next().value;
71
- }
72
- }
40
+ this.subs.delete(ef);
73
41
  }
74
42
  set(value) {
75
43
  if (value !== this.value) {
76
44
  this.value = value;
77
- if (this.subs) {
78
- if (typeof this.subs === "function") {
79
- scheduleEffect(this.subs);
80
- }
81
- else {
82
- for (const ef of this.subs) {
83
- scheduleEffect(ef);
84
- }
85
- }
45
+ for (const ef of this.subs) {
46
+ scheduleEffect(ef);
86
47
  }
87
48
  }
88
49
  }
@@ -96,23 +57,14 @@ export function $signal(value) {
96
57
  function runEffectFn(ef) {
97
58
  const td = ef();
98
59
  if (td) {
99
- if (ef.td) {
100
- if (Array.isArray(ef.td)) {
101
- ef.td.push(td);
102
- }
103
- else {
104
- ef.td = [ef.td, td];
105
- }
106
- }
107
- else {
108
- ef.td = td;
109
- }
60
+ ef.td.push(td);
110
61
  }
111
62
  }
112
63
  export function $effect(fn) {
113
64
  const prev = currentEffect;
114
65
  currentEffect = fn;
115
66
  fn.dyn = true;
67
+ fn.td = [];
116
68
  runEffectFn(fn);
117
69
  currentEffect = prev;
118
70
  collectEffect(fn);
@@ -121,20 +73,15 @@ export function $effect(fn) {
121
73
  export function staticEffect(fn) {
122
74
  const prev = currentEffect;
123
75
  currentEffect = fn;
76
+ fn.td = [];
124
77
  fn();
125
78
  currentEffect = prev;
126
79
  collectEffect(fn);
127
80
  return fn;
128
81
  }
129
82
  export function cleanup(ef) {
130
- if (typeof ef.td === "function") {
131
- ef.td();
132
- }
133
- else if (ef.td.delete) {
134
- ef.td.delete(ef);
135
- }
136
- else {
137
- for (const f of ef.td)
138
- typeof f === "function" ? f() : f.delete(ef);
83
+ for (const f of ef.td) {
84
+ typeof f === "function" ? f() : f.delete(ef);
139
85
  }
86
+ ef.td.length = 0;
140
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thyn/core",
3
- "version": "0.0.257",
3
+ "version": "0.0.261",
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
@@ -11,9 +11,10 @@ export function collectEffect(effectFn) {
11
11
  }
12
12
 
13
13
  export function createReactiveTextNode(v) {
14
- const n = document.createTextNode(v());
14
+ let n;
15
15
  staticEffect(() => {
16
- n.nodeValue = v();
16
+ if (n) n.nodeValue = v();
17
+ else n = document.createTextNode(v());
17
18
  });
18
19
  return n;
19
20
  }
@@ -56,18 +57,7 @@ export function fixedComponent(name, props?: any) {
56
57
  const prevHead = collectingHead;
57
58
  collectingHead = null;
58
59
  const e = name(props);
59
- let existing = e.$fx;
60
- if (existing) {
61
- if (collectingHead) {
62
- let next;
63
- while ((next = existing.next)) {
64
- existing = next;
65
- }
66
- existing.next = collectingHead;
67
- }
68
- } else {
69
- e.$fx = collectingHead;
70
- }
60
+ e.$fx = collectingHead;
71
61
  collectingHead = prevHead;
72
62
  return e;
73
63
  }
@@ -81,7 +71,7 @@ export function setProperty(el, key, val) {
81
71
  return el;
82
72
  }
83
73
  export function setReactiveAttribute(el, key, val) {
84
- let ran;
74
+ let ran = false;
85
75
  return addEffect(
86
76
  el,
87
77
  staticEffect(() => {
@@ -97,7 +87,7 @@ export function setReactiveAttribute(el, key, val) {
97
87
  );
98
88
  }
99
89
  export function setReactiveProperty(el, key, val) {
100
- let ran = true;
90
+ let ran = false;
101
91
  return addEffect(
102
92
  el,
103
93
  staticEffect(() => {
@@ -113,49 +103,6 @@ export function setReactiveProperty(el, key, val) {
113
103
  );
114
104
  }
115
105
 
116
- const delegatedEvents = new Set();
117
- const nonBubblingEvents = new Set([
118
- "focus",
119
- "blur",
120
- "scroll",
121
- "load",
122
- "error",
123
- "mouseenter",
124
- "mouseleave",
125
- ]);
126
-
127
- export function delegate(el, event, handler) {
128
- if (nonBubblingEvents.has(event)) {
129
- el.addEventListener(event, handler);
130
- return el;
131
- }
132
- if (!delegatedEvents.has(event)) {
133
- delegatedEvents.add(event);
134
- document.addEventListener(event, handleDelegatedEvent);
135
- }
136
- el[`__thyn_on${event}`] = handler;
137
- return el;
138
- }
139
-
140
- function handleDelegatedEvent(e) {
141
- let target = e.target;
142
- const key = `__thyn_on${e.type}`;
143
- Object.defineProperty(e, "currentTarget", {
144
- configurable: true,
145
- enumerable: true,
146
- get: () => target,
147
- });
148
- while (target) {
149
- const handler = target[key];
150
- if (handler) {
151
- handler.call(target, e);
152
- if (e.cancelBubble) return;
153
- }
154
- if (target === document) break;
155
- target = target.parentNode;
156
- }
157
- }
158
-
159
106
  export function addChildren(e, children) {
160
107
  for (const ch of children) {
161
108
  e.appendChild(ch);
@@ -513,13 +460,13 @@ export function isolatedTerminalList(props) {
513
460
  }
514
461
  const childNodeList = parent.childNodes as NodeListOf<ChildNode>;
515
462
  if (!newLength) {
516
- let node = startBookend.nextSibling;
517
- while (node !== endBookend) {
463
+ let node = startBookend;
464
+ while (node = node.nextSibling) {
518
465
  shallowTeardown(node);
519
- node = node.nextSibling;
520
466
  }
521
467
  parent.textContent = "";
522
- parent.append(startBookend, endBookend);
468
+ parent.appendChild(startBookend);
469
+ parent.appendChild(endBookend);
523
470
  prevItems = nextItems;
524
471
  nextItems = null;
525
472
  return;
@@ -583,10 +530,9 @@ export function isolatedTerminalList(props) {
583
530
  }
584
531
  }
585
532
  if (allRemove) {
586
- let node = startBookend.nextSibling;
587
- while (node !== endBookend) {
533
+ let node = startBookend;
534
+ while (node = node.nextSibling) {
588
535
  shallowTeardown(node);
589
- node = node.nextSibling;
590
536
  }
591
537
  parent.textContent = "";
592
538
  parent.appendChild(startBookend);
@@ -659,3 +605,4 @@ export function isolatedTerminalList(props) {
659
605
  });
660
606
  return outlet;
661
607
  }
608
+
package/src/index.ts CHANGED
@@ -3,7 +3,6 @@ export {
3
3
  addEffect,
4
4
  component,
5
5
  createReactiveTextNode,
6
- delegate,
7
6
  fixedComponent,
8
7
  isolatedTerminalList,
9
8
  list,
@@ -17,3 +16,4 @@ export {
17
16
  terminalList
18
17
  } from "./element.js";
19
18
  export { $effect, $signal, staticEffect } from "./signals.js";
19
+
package/src/signals.ts CHANGED
@@ -34,59 +34,27 @@ export type Signal<T> = {
34
34
  };
35
35
 
36
36
  class SignalImpl<T> {
37
- subs: any = undefined;
37
+ subs: Set<any> = new Set();
38
38
 
39
39
  constructor(public value: T) { }
40
40
 
41
41
  get(): T {
42
42
  if (currentEffect) {
43
- if (!this.subs) {
44
- this.subs = currentEffect;
45
- } else if (typeof this.subs === "function") {
46
- if (this.subs !== currentEffect) {
47
- const oldEffect = this.subs;
48
- this.subs = new Set();
49
- this.subs.add(oldEffect);
50
- this.subs.add(currentEffect);
51
- }
52
- } else {
53
- this.subs.add(currentEffect);
54
- }
55
- if (!currentEffect.td) {
56
- currentEffect.td = this;
57
- } else if (Array.isArray(currentEffect.td)) {
58
- currentEffect.td.push(this);
59
- } else {
60
- currentEffect.td = [currentEffect.td, this];
61
- }
43
+ this.subs.add(currentEffect);
44
+ currentEffect.td.push(this);
62
45
  }
63
46
  return this.value;
64
47
  }
65
48
 
66
49
  delete(ef: any): void {
67
- if (this.subs === ef) {
68
- this.subs = undefined;
69
- } else if (typeof this.subs === "object") {
70
- this.subs.delete(ef);
71
- if (this.subs.size === 0) {
72
- this.subs = undefined;
73
- } else if (this.subs.size === 1) {
74
- this.subs = this.subs.values().next().value;
75
- }
76
- }
50
+ this.subs.delete(ef);
77
51
  }
78
52
 
79
53
  set(value: T): void {
80
54
  if (value !== this.value) {
81
55
  this.value = value;
82
- if (this.subs) {
83
- if (typeof this.subs === "function") {
84
- scheduleEffect(this.subs);
85
- } else {
86
- for (const ef of this.subs) {
87
- scheduleEffect(ef);
88
- }
89
- }
56
+ for (const ef of this.subs) {
57
+ scheduleEffect(ef);
90
58
  }
91
59
  }
92
60
  }
@@ -103,15 +71,7 @@ export function $signal<T>(value: T): SignalImpl<T> {
103
71
  function runEffectFn(ef: EffectFn) {
104
72
  const td = ef();
105
73
  if (td) {
106
- if (ef.td) {
107
- if (Array.isArray(ef.td)) {
108
- ef.td.push(td)
109
- } else {
110
- ef.td = [ef.td, td];
111
- }
112
- } else {
113
- ef.td = td;
114
- }
74
+ ef.td.push(td);
115
75
  }
116
76
  }
117
77
 
@@ -119,13 +79,14 @@ type EffectTeardown = (() => void) | { delete: (v: any) => void };
119
79
  type EffectFn = (() => (() => void) | void) & {
120
80
  mv?: boolean;
121
81
  dyn?: boolean;
122
- td: EffectTeardown | EffectTeardown[];
82
+ td: EffectTeardown[];
123
83
  }
124
84
 
125
85
  export function $effect(fn: (() => (() => void) | void) & any) {
126
86
  const prev = currentEffect;
127
87
  currentEffect = fn;
128
88
  fn.dyn = true;
89
+ fn.td = [];
129
90
  runEffectFn(fn);
130
91
  currentEffect = prev;
131
92
  collectEffect(fn);
@@ -135,6 +96,7 @@ export function $effect(fn: (() => (() => void) | void) & any) {
135
96
  export function staticEffect(fn: (() => (() => void) | void) & any) {
136
97
  const prev = currentEffect;
137
98
  currentEffect = fn;
99
+ fn.td = [];
138
100
  fn();
139
101
  currentEffect = prev;
140
102
  collectEffect(fn);
@@ -142,11 +104,8 @@ export function staticEffect(fn: (() => (() => void) | void) & any) {
142
104
  }
143
105
 
144
106
  export function cleanup(ef) {
145
- if (typeof ef.td === "function") {
146
- ef.td();
147
- } else if (ef.td.delete) {
148
- ef.td.delete(ef);
149
- } else {
150
- for (const f of ef.td) typeof f === "function" ? f() : f.delete(ef);
107
+ for (const f of ef.td) {
108
+ typeof f === "function" ? f() : f.delete(ef);
151
109
  }
110
+ ef.td.length = 0;
152
111
  }
@@ -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/assertion-error/index.d.ts","./node_modules/@types/chai/index.d.ts","./node_modules/@types/estree/index.d.ts"],"fileIdsList":[[56,57],[52],[52,53],[53]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"c45a0d7dd2ff10ebdf27f52c49ee05ced56340415c47a74af35a94c03dd0a09e","signature":"6f62706ec7610ba34467f5a0c3a393d6557bc78b9cc5592492fd0beca1a0315f"},{"version":"ebefd86c08537a5d3a36d47bdaf5e37d76c92be155b88f56cdda570c14e10359","signature":"87c632b199974f9bbce6e530ffa87b615df2ace65cffcd1a2c397991ab7e5486"},{"version":"2ffdfde8fa130509f89e1cd99eadcc0e8102cd1b8ee21812fd0d5ef6c62dded0","signature":"19d08fad5661937dbf10fcd59e40716e1ed3f16d7c949429c0e41ff95134357f"},{"version":"a155e9ebe821846c43103394346639a6a19a7f844be4892bbe4352aa20ee6707","signature":"58b2b60f8aae88fb4b926c3f9700b21a56e0b0f4016e56ab9fa879550cbdb294"},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1}],"root":[[52,55]],"options":{"allowJs":true,"checkJs":false,"composite":true,"esModuleInterop":true,"module":99,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"target":7},"referencedMap":[[58,1],[53,2],[54,3],[55,3],[52,4]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
1
+ {"fileNames":["./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.dom.iterable.d.ts","./node_modules/typescript/lib/lib.dom.asynciterable.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","./node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/typescript/lib/lib.es2020.full.d.ts","./src/signals.ts","./src/element.ts","./src/index.ts","./src/router.ts","./node_modules/@types/deep-eql/index.d.ts","./node_modules/assertion-error/index.d.ts","./node_modules/@types/chai/index.d.ts","./node_modules/@types/estree/index.d.ts"],"fileIdsList":[[56,57],[52],[52,53],[53]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"41a5b75b5eff52b8bec075695c1ba003ee85aaa9446fabf04d597da5adb00499","signature":"1be327160929196e5586e7c6578dba0d4c30de5fc33d34e9fd878205da3e8d97"},{"version":"ea2816684ad892b056facb0b021ac7eb438b34f0582987d5e47afc408d578be4","signature":"f3ddd3670c33381859688f604378a0028cafa5b52cc936da9a225933eb464387"},{"version":"17c210e47841877c5c6e6d64cf41277596f65faa6cf3ec35c482c3c2231bb21b","signature":"12fd8be483df752ac04ae85347f9c397954ac2390e0de50612bf8b9899d7767d"},{"version":"a155e9ebe821846c43103394346639a6a19a7f844be4892bbe4352aa20ee6707","signature":"32fb84e2d891488f581a83fbbf9ad6a39f4f0f28d6c86a1614f3e128d59d24aa"},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1}],"root":[[52,55]],"options":{"allowJs":true,"checkJs":false,"composite":true,"esModuleInterop":true,"module":99,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"target":7},"referencedMap":[[58,1],[53,2],[54,3],[55,3],[52,4]],"latestChangedDtsFile":"./dist/router.d.ts","version":"5.9.3"}