@thyn/core 0.0.161 → 0.0.163

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
@@ -9,8 +9,6 @@ export declare function setReactiveProperty(el: any, key: any, val: any): any;
9
9
  export declare function addChildren(e: any, children: any): any;
10
10
  export declare function markAsReactive(el: any): any;
11
11
  export declare function addEffect(el: any, ef: any): any;
12
- export declare function show(props: any): (Element | Comment) & {
13
- $fx?: any;
14
- };
12
+ export declare function show(props: any): Element | Comment;
15
13
  export declare function terminalList(props: any): DocumentFragment;
16
14
  export declare function list(props: any, terminal?: boolean): DocumentFragment;
package/dist/element.js CHANGED
@@ -1,4 +1,4 @@
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
  }
@@ -11,21 +11,22 @@ export function collectEffect(effectFn) {
11
11
  }
12
12
  export function createReactiveTextNode(v) {
13
13
  let n;
14
- $effect(() => {
14
+ staticEffect(() => {
15
15
  if (n) {
16
16
  n.nodeValue = v();
17
17
  }
18
18
  else {
19
19
  n = document.createTextNode(v());
20
20
  }
21
- }, true);
21
+ });
22
22
  return n;
23
23
  }
24
+ const effects = new Map();
24
25
  export function component(name, props) {
25
26
  const prevHead = collectingHead;
26
27
  collectingHead = null;
27
28
  const e = name(props);
28
- const existing = e.$fx;
29
+ const existing = effects.get(e);
29
30
  if (existing) {
30
31
  let current = existing;
31
32
  while (current) {
@@ -48,7 +49,7 @@ export function component(name, props) {
48
49
  }
49
50
  }
50
51
  else {
51
- e.$fx = collectingHead;
52
+ effects.set(e, collectingHead);
52
53
  }
53
54
  collectingHead = prevHead;
54
55
  return e;
@@ -65,7 +66,7 @@ export function setProperty(el, key, val) {
65
66
  }
66
67
  export function setReactiveAttribute(el, key, val) {
67
68
  let ran;
68
- return addEffect(el, $effect(() => {
69
+ return addEffect(el, staticEffect(() => {
69
70
  const v = val();
70
71
  if (ran) {
71
72
  if (v === undefined)
@@ -77,11 +78,11 @@ export function setReactiveAttribute(el, key, val) {
77
78
  if (v !== undefined)
78
79
  el.setAttribute(key, val());
79
80
  ran = true;
80
- }, true));
81
+ }));
81
82
  }
82
83
  export function setReactiveProperty(el, key, val) {
83
84
  let ran = true;
84
- return addEffect(el, $effect(() => {
85
+ return addEffect(el, staticEffect(() => {
85
86
  const v = val();
86
87
  if (ran) {
87
88
  if (v === undefined)
@@ -93,7 +94,7 @@ export function setReactiveProperty(el, key, val) {
93
94
  if (v !== undefined)
94
95
  el[key] = v;
95
96
  ran = true;
96
- }, true));
97
+ }));
97
98
  }
98
99
  export function addChildren(e, children) {
99
100
  for (const ch of children) {
@@ -102,22 +103,20 @@ export function addChildren(e, children) {
102
103
  return e;
103
104
  }
104
105
  export function markAsReactive(el) {
105
- if (!el.$fx)
106
- el.$fx = null;
106
+ if (!effects.has(el))
107
+ effects.set(el, null);
107
108
  return el;
108
109
  }
109
110
  export function addEffect(el, ef) {
110
- if (el.$fx) {
111
- ef.next = el.$fx;
112
- el.$fx = ef;
113
- }
114
- else {
115
- el.$fx = ef;
111
+ const fx = effects.get(el);
112
+ if (fx) {
113
+ ef.next = fx;
116
114
  }
115
+ effects.set(el, ef);
117
116
  return el;
118
117
  }
119
118
  function shallowTeardown(elem) {
120
- let current = elem.$fx;
119
+ let current = effects.get(elem);
121
120
  let prev;
122
121
  while (current) {
123
122
  cleanup(current);
@@ -126,7 +125,7 @@ function shallowTeardown(elem) {
126
125
  current = current.next;
127
126
  prev.next = undefined;
128
127
  }
129
- elem.$fx = undefined;
128
+ effects.delete(elem);
130
129
  }
131
130
  function teardown(elem, iterating = false) {
132
131
  if (elem.$frag) {
@@ -134,7 +133,7 @@ function teardown(elem, iterating = false) {
134
133
  var end = elem.$end;
135
134
  elem = elem.$frag;
136
135
  }
137
- if (elem.$fx !== undefined) {
136
+ if (!effects.has(elem)) {
138
137
  shallowTeardown(elem);
139
138
  if (end) {
140
139
  if (iterating)
@@ -201,11 +200,11 @@ export function show(props) {
201
200
  }
202
201
  const newElem = currIndex < 0 ? document.createComment("") : props[currIndex].then();
203
202
  if (prevElem) {
204
- const prevFx = prevElem.$fx;
203
+ const prevFx = effects.get(prevElem);
205
204
  let sticky = null;
206
205
  if (prevFx) {
207
206
  sticky = filterEffects(prevFx, f => f.mv);
208
- prevElem.$fx = filterEffects(prevFx, f => !f.mv);
207
+ effects.set(prevElem, filterEffects(prevFx, f => !f.mv));
209
208
  }
210
209
  if (sticky) {
211
210
  // Find tail of sticky effects
@@ -214,13 +213,11 @@ export function show(props) {
214
213
  stickyTail = stickyTail.next;
215
214
  }
216
215
  // Append to new element's effects
217
- if (newElem.$fx) {
218
- stickyTail.next = newElem.$fx;
219
- newElem.$fx = sticky;
220
- }
221
- else {
222
- newElem.$fx = sticky;
216
+ const fx = effects.get(newElem);
217
+ if (fx) {
218
+ stickyTail.next = fx;
223
219
  }
220
+ effects.set(newElem, sticky);
224
221
  }
225
222
  let td = prevElem;
226
223
  queueMicrotask(() => {
@@ -231,7 +228,7 @@ export function show(props) {
231
228
  }
232
229
  prevElem = newElem;
233
230
  prevIndex = currIndex;
234
- }, false);
231
+ });
235
232
  eff.mv = true;
236
233
  return prevElem;
237
234
  }
@@ -243,7 +240,7 @@ export function terminalList(props) {
243
240
  return list(props, true);
244
241
  }
245
242
  export function list(props, terminal = false) {
246
- const teardownNode = terminal ? (e) => e.$fx && shallowTeardown(e) : teardown;
243
+ const teardownNode = terminal ? shallowTeardown : teardown;
247
244
  let parent;
248
245
  let outlet = document.createDocumentFragment();
249
246
  let prevItems;
@@ -253,7 +250,7 @@ export function list(props, terminal = false) {
253
250
  startBookend.$end = endBookend;
254
251
  const render = props.render;
255
252
  let isolated;
256
- $effect(() => {
253
+ staticEffect(() => {
257
254
  parent = startBookend.parentNode;
258
255
  if (!parent) {
259
256
  prevItems = props.items();
@@ -415,6 +412,6 @@ export function list(props, terminal = false) {
415
412
  keyMap = null;
416
413
  prevItems = nextItems;
417
414
  nextItems = null;
418
- }, true);
415
+ });
419
416
  return outlet;
420
417
  }
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,7 +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): any;
15
+ export declare function $effect(fn: (() => (() => void) | void) & any): any;
16
16
  export declare function staticEffect(fn: (() => (() => void) | void) & any): any;
17
17
  export declare function cleanup(ef: EffectFn): void;
18
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,17 +94,12 @@ function runEffectFn(ef) {
94
94
  ef.td.push(td);
95
95
  }
96
96
  }
97
- export function $effect(fn, stat) {
97
+ export function $effect(fn) {
98
98
  fn.td = [];
99
99
  const prev = currentEffect;
100
100
  currentEffect = fn;
101
- if (stat) {
102
- fn();
103
- }
104
- else {
105
- fn.dyn = true;
106
- runEffectFn(fn);
107
- }
101
+ fn.dyn = true;
102
+ runEffectFn(fn);
108
103
  currentEffect = prev;
109
104
  collectEffect(fn);
110
105
  return fn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thyn/core",
3
- "version": "0.0.161",
3
+ "version": "0.0.163",
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,4 +1,4 @@
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());
@@ -15,21 +15,23 @@ export function collectEffect(effectFn) {
15
15
 
16
16
  export function createReactiveTextNode(v) {
17
17
  let n;
18
- $effect(() => {
18
+ staticEffect(() => {
19
19
  if (n) {
20
20
  n.nodeValue = v();
21
21
  } else {
22
22
  n = document.createTextNode(v());
23
23
  }
24
- }, true);
24
+ });
25
25
  return n;
26
26
  }
27
27
 
28
+ const effects = new Map();
29
+
28
30
  export function component(name, props?: any) {
29
31
  const prevHead = collectingHead;
30
32
  collectingHead = null;
31
33
  const e = name(props);
32
- const existing = e.$fx;
34
+ const existing = effects.get(e);
33
35
 
34
36
  if (existing) {
35
37
  let current = existing;
@@ -52,7 +54,7 @@ export function component(name, props?: any) {
52
54
  tail.next = collectingHead;
53
55
  }
54
56
  } else {
55
- e.$fx = collectingHead;
57
+ effects.set(e, collectingHead);
56
58
  }
57
59
 
58
60
  collectingHead = prevHead;
@@ -71,7 +73,7 @@ export function setReactiveAttribute(el, key, val) {
71
73
  let ran;
72
74
  return addEffect(
73
75
  el,
74
- $effect(() => {
76
+ staticEffect(() => {
75
77
  const v = val();
76
78
  if (ran) {
77
79
  if (v === undefined) el.removeAttribute(key);
@@ -80,14 +82,14 @@ export function setReactiveAttribute(el, key, val) {
80
82
  }
81
83
  if (v !== undefined) el.setAttribute(key, val());
82
84
  ran = true;
83
- }, true),
85
+ }),
84
86
  );
85
87
  }
86
88
  export function setReactiveProperty(el, key, val) {
87
89
  let ran = true;
88
90
  return addEffect(
89
91
  el,
90
- $effect(() => {
92
+ staticEffect(() => {
91
93
  const v = val();
92
94
  if (ran) {
93
95
  if (v === undefined) delete el[key];
@@ -96,7 +98,7 @@ export function setReactiveProperty(el, key, val) {
96
98
  }
97
99
  if (v !== undefined) el[key] = v;
98
100
  ran = true;
99
- }, true),
101
+ }),
100
102
  );
101
103
  }
102
104
 
@@ -108,22 +110,21 @@ export function addChildren(e, children) {
108
110
  }
109
111
 
110
112
  export function markAsReactive(el) {
111
- if (!el.$fx) el.$fx = null;
113
+ if (!effects.has(el)) effects.set(el, null);
112
114
  return el;
113
115
  }
114
116
 
115
117
  export function addEffect(el, ef) {
116
- if (el.$fx) {
117
- ef.next = el.$fx;
118
- el.$fx = ef;
119
- } else {
120
- el.$fx = ef;
118
+ const fx = effects.get(el)
119
+ if (fx) {
120
+ ef.next = fx;
121
121
  }
122
+ effects.set(el, ef);
122
123
  return el;
123
124
  }
124
125
 
125
126
  function shallowTeardown(elem) {
126
- let current = elem.$fx;
127
+ let current = effects.get(elem);
127
128
  let prev;
128
129
  while (current) {
129
130
  cleanup(current);
@@ -132,7 +133,7 @@ function shallowTeardown(elem) {
132
133
  current = current.next;
133
134
  prev.next = undefined;
134
135
  }
135
- elem.$fx = undefined;
136
+ effects.delete(elem);
136
137
  }
137
138
 
138
139
  function teardown(elem, iterating = false) {
@@ -141,7 +142,7 @@ function teardown(elem, iterating = false) {
141
142
  var end = elem.$end;
142
143
  elem = elem.$frag;
143
144
  }
144
- if (elem.$fx !== undefined) {
145
+ if (!effects.has(elem)) {
145
146
  shallowTeardown(elem);
146
147
  if (end) {
147
148
  if (iterating) return;
@@ -200,7 +201,7 @@ function filterEffects(head, predicate) {
200
201
 
201
202
  export function show(props) {
202
203
  let prevIndex = -1;
203
- let prevElem: (Element | Comment) & { $fx?: any };
204
+ let prevElem: (Element | Comment);
204
205
 
205
206
  const eff = $effect(() => {
206
207
  const currIndex = props.findIndex((c) => !c.if || c.if());
@@ -212,11 +213,11 @@ export function show(props) {
212
213
  }
213
214
  const newElem = currIndex < 0 ? document.createComment("") : props[currIndex].then();
214
215
  if (prevElem) {
215
- const prevFx = prevElem.$fx;
216
+ const prevFx = effects.get(prevElem);
216
217
  let sticky = null;
217
218
  if (prevFx) {
218
219
  sticky = filterEffects(prevFx, f => f.mv);
219
- prevElem.$fx = filterEffects(prevFx, f => !f.mv);
220
+ effects.set(prevElem, filterEffects(prevFx, f => !f.mv))
220
221
  }
221
222
 
222
223
  if (sticky) {
@@ -227,12 +228,11 @@ export function show(props) {
227
228
  }
228
229
 
229
230
  // Append to new element's effects
230
- if (newElem.$fx) {
231
- stickyTail.next = newElem.$fx;
232
- newElem.$fx = sticky;
233
- } else {
234
- newElem.$fx = sticky;
231
+ const fx = effects.get(newElem);
232
+ if (fx) {
233
+ stickyTail.next = fx;
235
234
  }
235
+ effects.set(newElem, sticky);
236
236
  }
237
237
 
238
238
  let td = prevElem;
@@ -244,7 +244,7 @@ export function show(props) {
244
244
  }
245
245
  prevElem = newElem;
246
246
  prevIndex = currIndex;
247
- }, false);
247
+ });
248
248
  eff.mv = true;
249
249
  return prevElem;
250
250
  }
@@ -259,7 +259,7 @@ export function terminalList(props) {
259
259
  }
260
260
 
261
261
  export function list(props, terminal = false) {
262
- const teardownNode = terminal ? (e: any) => e.$fx && shallowTeardown(e) : teardown;
262
+ const teardownNode = terminal ? shallowTeardown : teardown;
263
263
  let parent;
264
264
  let outlet = document.createDocumentFragment();
265
265
  let prevItems;
@@ -270,7 +270,7 @@ export function list(props, terminal = false) {
270
270
  const render = props.render;
271
271
  let isolated;
272
272
 
273
- $effect(() => {
273
+ staticEffect(() => {
274
274
  parent = startBookend.parentNode;
275
275
  if (!parent) {
276
276
  prevItems = props.items();
@@ -440,6 +440,6 @@ export function list(props, terminal = false) {
440
440
  keyMap = null;
441
441
  prevItems = nextItems;
442
442
  nextItems = null;
443
- }, true);
443
+ });
444
444
  return outlet;
445
445
  }
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,16 +114,12 @@ 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) {
117
+ export function $effect(fn: (() => (() => void) | void) & any) {
118
118
  fn.td = [];
119
119
  const prev = currentEffect;
120
120
  currentEffect = fn;
121
- if (stat) {
122
- fn();
123
- } else {
124
- fn.dyn = true;
125
- runEffectFn(fn);
126
- }
121
+ fn.dyn = true;
122
+ runEffectFn(fn);
127
123
  currentEffect = prev;
128
124
  collectEffect(fn);
129
125
  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":"98515d114049deb4fb3c3c8249f2bf99fe3f4c21289509c1758c8a1f81a59725","signature":"f0558070fe304137057017df025ba293f0fae8709de4377bec108a15a0545317"},{"version":"3918eeb3016b307a793d2b87f380be088e07dc79bd561f5cb0c68a78250cb5db","signature":"b7c09f81a2aff4251294010c6aae497cdc6d993b4b93d01689ac00f1ba75fbc0"},{"version":"9dabf67ea47d0dcaadf285ed74f55ca90ea9ec78ed941a39d81f5f4668ef0884","signature":"44306501f301ba573a5a473715e7a6363a753592f2c5685ea7f319977d38d8dc"},{"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/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":"79dbd3ec429b462e492545a6f425e1aa821182605661a9a5be85919b10a186b9","signature":"4210658b4568adf9a13d7f1e613e59ad77a89432921d6a341269c66196c08735"},{"version":"8cc9a3d37863117f7939eea4f2c71e263a915e45a031b6820ad1150ed6580e23","signature":"96cb7a493b78f45ed197e18b91f0a0835ce0755a0ebba0138b001a607bb7250f"},{"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/element.d.ts","version":"5.8.3"}