@thyn/core 0.0.203 → 0.0.206

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,4 +1,4 @@
1
- import { $effect, cleanup, staticEffect } from "./signals.js";
1
+ import { $effect, staticEffect } from "./signals.js";
2
2
  export function mount(app, parent) {
3
3
  parent.appendChild(app());
4
4
  }
@@ -120,7 +120,7 @@ function shallowTeardown(elem) {
120
120
  let current = elem.$fx;
121
121
  let prev;
122
122
  while (current) {
123
- cleanup(current);
123
+ current.cleanup();
124
124
  current.td = null;
125
125
  prev = current;
126
126
  current = current.next;
package/dist/router.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  export declare const router: {
2
- path: import("./signals.js").Signal<string>;
2
+ path: {
3
+ subs: Set<any>;
4
+ value: string;
5
+ get(): string;
6
+ set(value: string): void;
7
+ update(action: (prev: string) => string): void;
8
+ };
3
9
  param: (name: string) => string | undefined;
4
10
  };
5
11
  interface Route {
package/dist/router.js CHANGED
@@ -3,7 +3,7 @@ import { $signal, staticEffect } from "./signals.js";
3
3
  const params = $signal({});
4
4
  export const router = {
5
5
  path: $signal(location.pathname),
6
- param: (name) => params()[name],
6
+ param: (name) => params.get()[name],
7
7
  };
8
8
  export function Router({ routes }) {
9
9
  const current = $signal(null);
@@ -21,7 +21,7 @@ export function Router({ routes }) {
21
21
  return compiledRoute;
22
22
  });
23
23
  staticEffect(() => {
24
- const pn = router.path();
24
+ const pn = router.path.get();
25
25
  if (pn !== location.pathname) {
26
26
  history.pushState({}, "", pn);
27
27
  }
@@ -39,11 +39,11 @@ export function Router({ routes }) {
39
39
  break;
40
40
  }
41
41
  ;
42
- current(rt);
43
- params(ps);
42
+ current.set(rt);
43
+ params.set(ps);
44
44
  });
45
45
  return component(show, compiledRoutes.map((r) => ({
46
- if: () => r === current(),
46
+ if: () => r === current.get(),
47
47
  then: () => component(r.component),
48
48
  })));
49
49
  }
@@ -59,7 +59,7 @@ export function Link({ slot, to }) {
59
59
  !(e.metaKey || e.ctrlKey || e.shiftKey || e.altKey)) {
60
60
  e.preventDefault();
61
61
  history.pushState({}, "", to);
62
- router.path(to);
62
+ router.path.set(to);
63
63
  }
64
64
  };
65
65
  return a;
package/dist/signals.d.ts CHANGED
@@ -3,7 +3,32 @@ export type Signal<T> = {
3
3
  (value: T): void;
4
4
  (updater: (prev: T) => T): void;
5
5
  };
6
- export declare function $signal<T>(value: T): Signal<T>;
7
- export declare function $effect(fn: (() => (() => void) | void) & any): any;
8
- export declare function staticEffect(fn: (() => (() => void) | void) & any): any;
9
- export declare function cleanup(ef: any): void;
6
+ declare class SignalImpl<T> {
7
+ value: T;
8
+ subs: Set<any>;
9
+ constructor(value: T);
10
+ get(): T;
11
+ set(value: T): void;
12
+ update(action: (prev: T) => T): void;
13
+ }
14
+ export declare function $signal<T>(value: T): SignalImpl<T>;
15
+ type EffectFunction = (() => (() => void) | void);
16
+ export interface Effect {
17
+ cleanup: () => void;
18
+ next?: Effect;
19
+ }
20
+ export declare class StaticEffect implements Effect {
21
+ private fn;
22
+ constructor(fn: EffectFunction);
23
+ run(): void;
24
+ td: any;
25
+ next?: Effect;
26
+ cleanup(): void;
27
+ }
28
+ declare class DynamicEffect extends StaticEffect {
29
+ dyn: boolean;
30
+ mv: boolean;
31
+ }
32
+ export declare function $effect(fn: (() => (() => void) | void) & any): DynamicEffect;
33
+ export declare function staticEffect(fn: (() => (() => void) | void) & any): StaticEffect;
34
+ export {};
package/dist/signals.js CHANGED
@@ -9,7 +9,7 @@ function scheduleEffect(effectFn) {
9
9
  queueMicrotask(() => {
10
10
  for (const ef of pendingEffects) {
11
11
  if (ef.dyn) {
12
- cleanup(ef);
12
+ ef.cleanup();
13
13
  const prev = currentEffect;
14
14
  currentEffect = ef;
15
15
  runEffectFn(ef);
@@ -28,31 +28,35 @@ class SignalImpl {
28
28
  constructor(value) {
29
29
  this.value = value;
30
30
  this.subs = new Set();
31
- this.fn = this.fn.bind(this);
32
31
  }
33
- fn(...args) {
34
- if (!args.length) {
35
- if (currentEffect) {
36
- this.subs.add(currentEffect);
37
- const td = currentEffect.td;
38
- if (!td) {
39
- currentEffect.td = this.subs;
40
- }
41
- else if (Array.isArray(td)) {
42
- td.push(this.subs);
43
- }
44
- else {
45
- currentEffect.td = [td, this.subs];
46
- }
32
+ get() {
33
+ if (currentEffect) {
34
+ this.subs.add(currentEffect);
35
+ const td = currentEffect.td;
36
+ if (!td) {
37
+ currentEffect.td = this.subs;
38
+ }
39
+ else if (Array.isArray(td)) {
40
+ td.push(this.subs);
41
+ }
42
+ else {
43
+ currentEffect.td = [td, this.subs];
47
44
  }
48
- return this.value;
49
45
  }
50
- const action = args[0];
51
- const newValue = typeof action === "function"
52
- ? action(this.value)
53
- : action;
54
- if (newValue !== this.value) {
55
- this.value = newValue;
46
+ return this.value;
47
+ }
48
+ set(value) {
49
+ if (value !== this.value) {
50
+ this.value = value;
51
+ for (const sub of this.subs) {
52
+ scheduleEffect(sub);
53
+ }
54
+ }
55
+ }
56
+ update(action) {
57
+ const value = action(this.value);
58
+ if (value !== this.value) {
59
+ this.value = value;
56
60
  for (const sub of this.subs) {
57
61
  scheduleEffect(sub);
58
62
  }
@@ -60,7 +64,7 @@ class SignalImpl {
60
64
  }
61
65
  }
62
66
  export function $signal(value) {
63
- return new SignalImpl(value).fn;
67
+ return new SignalImpl(value);
64
68
  }
65
69
  function runEffectFn(ef) {
66
70
  const td = ef();
@@ -78,32 +82,51 @@ function runEffectFn(ef) {
78
82
  }
79
83
  }
80
84
  }
85
+ export class StaticEffect {
86
+ constructor(fn) {
87
+ this.fn = fn;
88
+ const prev = currentEffect;
89
+ currentEffect = this;
90
+ this.run();
91
+ currentEffect = prev;
92
+ collectEffect(this);
93
+ }
94
+ run() {
95
+ const td = this.fn();
96
+ if (!td)
97
+ return;
98
+ if (!this.td) {
99
+ this.td = td;
100
+ return;
101
+ }
102
+ if (Array.isArray(this.td)) {
103
+ this.td.push(td);
104
+ return;
105
+ }
106
+ this.td = [this.td, td];
107
+ }
108
+ cleanup() {
109
+ if (!this.td)
110
+ return;
111
+ if (Array.isArray(this.td)) {
112
+ for (const f of this.td)
113
+ typeof f === "function" ? f() : f.delete(this);
114
+ }
115
+ else {
116
+ typeof this.td === "function" ? this.td() : this.td.delete(this);
117
+ }
118
+ }
119
+ }
120
+ class DynamicEffect extends StaticEffect {
121
+ constructor() {
122
+ super(...arguments);
123
+ this.dyn = true;
124
+ this.mv = false;
125
+ }
126
+ }
81
127
  export function $effect(fn) {
82
- const prev = currentEffect;
83
- currentEffect = fn;
84
- fn.dyn = true;
85
- runEffectFn(fn);
86
- currentEffect = prev;
87
- collectEffect(fn);
88
- return fn;
128
+ return new DynamicEffect(fn);
89
129
  }
90
130
  export function staticEffect(fn) {
91
- fn.td = null;
92
- const prev = currentEffect;
93
- currentEffect = fn;
94
- fn();
95
- currentEffect = prev;
96
- collectEffect(fn);
97
- return fn;
98
- }
99
- export function cleanup(ef) {
100
- if (!ef.td)
101
- return;
102
- if (Array.isArray(ef.td)) {
103
- for (const f of ef.td)
104
- typeof f === "function" ? f() : f.delete(ef);
105
- }
106
- else {
107
- typeof ef.td === "function" ? ef.td() : ef.td.delete(ef);
108
- }
131
+ return new StaticEffect(fn);
109
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thyn/core",
3
- "version": "0.0.203",
3
+ "version": "0.0.206",
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, staticEffect } from "./signals.js";
1
+ import { $effect, staticEffect } from "./signals.js";
2
2
 
3
3
  export function mount(app, parent) {
4
4
  parent.appendChild(app());
@@ -126,7 +126,7 @@ function shallowTeardown(elem) {
126
126
  let current = elem.$fx;
127
127
  let prev;
128
128
  while (current) {
129
- cleanup(current);
129
+ current.cleanup();
130
130
  current.td = null;
131
131
  prev = current;
132
132
  current = current.next;
package/src/router.ts CHANGED
@@ -5,7 +5,7 @@ const params = $signal({} as any);
5
5
 
6
6
  export const router = {
7
7
  path: $signal(location.pathname),
8
- param: (name: string): string | undefined => params()[name],
8
+ param: (name: string): string | undefined => params.get()[name],
9
9
  };
10
10
 
11
11
 
@@ -31,7 +31,7 @@ export function Router({ routes }: { routes: Route[] }) {
31
31
  });
32
32
 
33
33
  staticEffect(() => {
34
- const pn = router.path();
34
+ const pn = router.path.get();
35
35
  if (pn !== location.pathname) {
36
36
  history.pushState({}, "", pn);
37
37
  }
@@ -47,14 +47,14 @@ export function Router({ routes }: { routes: Route[] }) {
47
47
  rt = route;
48
48
  break;
49
49
  };
50
- current(rt);
51
- params(ps);
50
+ current.set(rt);
51
+ params.set(ps);
52
52
  });
53
53
 
54
54
  return component(
55
55
  show,
56
56
  compiledRoutes.map((r) => ({
57
- if: () => r === current(),
57
+ if: () => r === current.get(),
58
58
  then: () => component(r.component),
59
59
  })),
60
60
  );
@@ -74,7 +74,7 @@ export function Link({ slot, to }) {
74
74
  ) {
75
75
  e.preventDefault();
76
76
  history.pushState({}, "", to);
77
- router.path(to);
77
+ router.path.set(to);
78
78
  }
79
79
  };
80
80
  return a;
package/src/signals.ts CHANGED
@@ -12,7 +12,7 @@ function scheduleEffect(effectFn: EffectFn) {
12
12
  queueMicrotask(() => {
13
13
  for (const ef of pendingEffects) {
14
14
  if (ef.dyn) {
15
- cleanup(ef);
15
+ ef.cleanup();
16
16
  const prev = currentEffect;
17
17
  currentEffect = ef;
18
18
  runEffectFn(ef);
@@ -34,35 +34,38 @@ export type Signal<T> = {
34
34
  };
35
35
 
36
36
  class SignalImpl<T> {
37
- private subs = new Set<any>();
37
+ subs = new Set<any>();
38
38
 
39
- constructor(private value: T) {
40
- this.fn = this.fn.bind(this);
41
- }
39
+ constructor(public value: T) {}
42
40
 
43
- fn(...args: [T] | [(prev: T) => T] | []): T | void {
44
- if (!args.length) {
45
- if (currentEffect) {
46
- this.subs.add(currentEffect);
47
- const td = currentEffect.td;
48
- if (!td) {
49
- currentEffect.td = this.subs;
50
- } else if (Array.isArray(td)) {
51
- td.push(this.subs);
52
- } else {
53
- currentEffect.td = [td, this.subs];
54
- }
41
+ get(): T {
42
+ if (currentEffect) {
43
+ this.subs.add(currentEffect);
44
+ const td = currentEffect.td;
45
+ if (!td) {
46
+ currentEffect.td = this.subs;
47
+ } else if (Array.isArray(td)) {
48
+ td.push(this.subs);
49
+ } else {
50
+ currentEffect.td = [td, this.subs];
55
51
  }
56
- return this.value;
57
52
  }
53
+ return this.value;
54
+ }
58
55
 
59
- const action = args[0];
60
- const newValue = typeof action === "function"
61
- ? (action as (prev: T) => T)(this.value)
62
- : action;
56
+ set(value: T): void {
57
+ if (value !== this.value) {
58
+ this.value = value;
59
+ for (const sub of this.subs) {
60
+ scheduleEffect(sub);
61
+ }
62
+ }
63
+ }
63
64
 
64
- if (newValue !== this.value) {
65
- this.value = newValue;
65
+ update(action: (prev: T) => T): void {
66
+ const value = action(this.value);
67
+ if (value !== this.value) {
68
+ this.value = value;
66
69
  for (const sub of this.subs) {
67
70
  scheduleEffect(sub);
68
71
  }
@@ -70,8 +73,8 @@ class SignalImpl<T> {
70
73
  }
71
74
  }
72
75
 
73
- export function $signal<T>(value: T): Signal<T> {
74
- return new SignalImpl(value).fn as Signal<T>;
76
+ export function $signal<T>(value: T): SignalImpl<T> {
77
+ return new SignalImpl(value);
75
78
  }
76
79
 
77
80
  function runEffectFn(ef: EffectFn) {
@@ -89,38 +92,66 @@ function runEffectFn(ef: EffectFn) {
89
92
  }
90
93
  }
91
94
 
95
+ type EffectFunction = (() => (() => void) | void);
96
+
97
+ export interface Effect {
98
+ cleanup: () => void;
99
+ next?: Effect;
100
+ }
101
+
102
+ export class StaticEffect implements Effect {
103
+ constructor(private fn: EffectFunction) {
104
+ const prev = currentEffect;
105
+ currentEffect = this;
106
+ this.run();
107
+ currentEffect = prev;
108
+ collectEffect(this);
109
+ }
110
+
111
+ run() {
112
+ const td = this.fn();
113
+ if (!td) return;
114
+ if (!this.td) {
115
+ this.td = td;
116
+ return;
117
+ }
118
+ if (Array.isArray(this.td)) {
119
+ this.td.push(td);
120
+ return;
121
+ }
122
+ this.td = [this.td, td];
123
+ }
124
+
125
+ td;
126
+
127
+ next?: Effect;
128
+
129
+ cleanup() {
130
+ if (!this.td) return;
131
+ if (Array.isArray(this.td)) {
132
+ for (const f of this.td) typeof f === "function" ? f() : f.delete(this);
133
+ } else {
134
+ typeof this.td === "function" ? this.td() : this.td.delete(this);
135
+ }
136
+ }
137
+ }
138
+
92
139
  type EffectTeardown = (() => void) | { delete: (v: any) => void };
93
140
  type EffectFn = (() => (() => void) | void) & {
94
141
  mv?: boolean;
95
142
  dyn?: boolean;
96
143
  td: EffectTeardown | EffectTeardown[];
97
144
  }
145
+ class DynamicEffect extends StaticEffect {
146
+ dyn = true;
147
+ mv = false;
148
+ }
98
149
 
99
150
  export function $effect(fn: (() => (() => void) | void) & any) {
100
- const prev = currentEffect;
101
- currentEffect = fn;
102
- fn.dyn = true;
103
- runEffectFn(fn);
104
- currentEffect = prev;
105
- collectEffect(fn);
106
- return fn;
151
+ return new DynamicEffect(fn);
107
152
  }
108
153
 
109
154
  export function staticEffect(fn: (() => (() => void) | void) & any) {
110
- fn.td = null;
111
- const prev = currentEffect;
112
- currentEffect = fn;
113
- fn();
114
- currentEffect = prev;
115
- collectEffect(fn);
116
- return fn;
155
+ return new StaticEffect(fn);
117
156
  }
118
157
 
119
- export function cleanup(ef) {
120
- if (!ef.td) return;
121
- if (Array.isArray(ef.td)) {
122
- for (const f of ef.td) typeof f === "function" ? f() : f.delete(ef);
123
- } else {
124
- typeof ef.td === "function" ? ef.td() : ef.td.delete(ef);
125
- }
126
- }
@@ -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":"1d2f64ead4d0db4a83df4b1b8ae61a38571d6e71729db51c9671d94e8882291b","signature":"67babcc13ac63da5f434738992089e8169b2bb38b093326fa3e762097aeaceaa"},{"version":"dffcac76ec030452a8a99623a32aa066f6001d652bf745e4d687115c9f1de890","signature":"1e9fd227702d856993cc7d708cc104bcbea5c070fbf976204a77c36457b1342e"},{"version":"ac16f8022e1d86594d058f84a530164af4b03dcc8bb45ac4a00736fe8aab62e7","signature":"1e325d171d22aa3144736ace94df4b5bf779c6083bc0f9ce684855844f8abcbc"},{"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"}
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":"e10a0e662d6401e9e96b35fd505359e46a8374a562cb10c3cebe13633e17a81a","signature":"5e8dc48cc1e2d1e0474c351c0d945874d4c276c63092f462b8ac5ea6d772bbd3"},{"version":"71113ad0fe0e21bf42871735473105244a0836d8c6beffff52d35d221162cc67","signature":"1e9fd227702d856993cc7d708cc104bcbea5c070fbf976204a77c36457b1342e"},{"version":"ac16f8022e1d86594d058f84a530164af4b03dcc8bb45ac4a00736fe8aab62e7","signature":"1e325d171d22aa3144736ace94df4b5bf779c6083bc0f9ce684855844f8abcbc"},{"version":"a155e9ebe821846c43103394346639a6a19a7f844be4892bbe4352aa20ee6707","signature":"166554555b2dc6392155b045bb33ce964f7d5f092f50fada34eb4d5828d7740e"},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"c8905dbea83f3220676a669366cd8c1acef56af4d9d72a8b2241b1d044bb4302","affectsGlobalScope":true,"impliedFormat":99},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1}],"root":[[52,55]],"options":{"allowJs":true,"checkJs":false,"composite":true,"esModuleInterop":true,"module":99,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"target":7},"referencedMap":[[57,1],[53,2],[54,3],[55,3],[52,4]],"latestChangedDtsFile":"./dist/signals.d.ts","version":"5.8.3"}