@openreplay/tracker 11.0.0 → 11.0.2
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/CHANGELOG.md +4 -0
- package/cjs/app/index.d.ts +3 -0
- package/cjs/app/index.js +27 -4
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +7 -1
- package/cjs/modules/Network/fetchProxy.js +4 -2
- package/cjs/modules/userTesting/SignalManager.d.ts +29 -0
- package/cjs/modules/userTesting/SignalManager.js +83 -0
- package/cjs/modules/userTesting/index.d.ts +5 -5
- package/cjs/modules/userTesting/index.js +156 -189
- package/cjs/modules/userTesting/styles.d.ts +28 -11
- package/cjs/modules/userTesting/styles.js +51 -29
- package/cjs/modules/userTesting/utils.d.ts +9 -0
- package/cjs/modules/userTesting/utils.js +87 -0
- package/coverage/clover.xml +1331 -562
- package/coverage/coverage-final.json +13 -6
- package/coverage/lcov-report/index.html +49 -34
- package/coverage/lcov-report/main/app/canvas.ts.html +1 -1
- package/coverage/lcov-report/main/app/guards.ts.html +42 -42
- package/coverage/lcov-report/main/app/index.html +24 -24
- package/coverage/lcov-report/main/app/index.ts.html +1046 -56
- package/coverage/lcov-report/main/app/logger.ts.html +1 -1
- package/coverage/lcov-report/main/app/messages.gen.ts.html +1 -1
- package/coverage/lcov-report/main/app/nodes.ts.html +1 -1
- package/coverage/lcov-report/main/app/observer/iframe_observer.ts.html +1 -1
- package/coverage/lcov-report/main/app/observer/iframe_offsets.ts.html +1 -1
- package/coverage/lcov-report/main/app/observer/index.html +1 -1
- package/coverage/lcov-report/main/app/observer/shadow_root_observer.ts.html +1 -1
- package/coverage/lcov-report/main/app/observer/top_observer.ts.html +1 -1
- package/coverage/lcov-report/main/app/sanitizer.ts.html +1 -1
- package/coverage/lcov-report/main/app/session.ts.html +1 -1
- package/coverage/lcov-report/main/app/ticker.ts.html +1 -1
- package/coverage/lcov-report/main/index.html +11 -11
- package/coverage/lcov-report/main/index.ts.html +274 -100
- package/coverage/lcov-report/main/modules/Network/beaconProxy.ts.html +1 -1
- package/coverage/lcov-report/main/modules/Network/fetchProxy.ts.html +1 -1
- package/coverage/lcov-report/main/modules/Network/index.html +1 -1
- package/coverage/lcov-report/main/modules/Network/index.ts.html +1 -1
- package/coverage/lcov-report/main/modules/Network/networkMessage.ts.html +1 -1
- package/coverage/lcov-report/main/modules/Network/utils.ts.html +1 -1
- package/coverage/lcov-report/main/modules/Network/xhrProxy.ts.html +1 -1
- package/coverage/lcov-report/main/modules/attributeSender.ts.html +1 -1
- package/coverage/lcov-report/main/modules/axiosSpy.ts.html +1 -1
- package/coverage/lcov-report/main/modules/conditionsManager.ts.html +799 -0
- package/coverage/lcov-report/main/modules/connection.ts.html +1 -1
- package/coverage/lcov-report/main/modules/console.ts.html +1 -1
- package/coverage/lcov-report/main/modules/constructedStyleSheets.ts.html +1 -1
- package/coverage/lcov-report/main/modules/cssrules.ts.html +1 -1
- package/coverage/lcov-report/main/modules/exception.ts.html +1 -1
- package/coverage/lcov-report/main/modules/featureFlags.ts.html +10 -7
- package/coverage/lcov-report/main/modules/focus.ts.html +1 -1
- package/coverage/lcov-report/main/modules/fonts.ts.html +1 -1
- package/coverage/lcov-report/main/modules/img.ts.html +1 -1
- package/coverage/lcov-report/main/modules/index.html +27 -12
- package/coverage/lcov-report/main/modules/input.ts.html +1 -1
- package/coverage/lcov-report/main/modules/mouse.ts.html +1 -1
- package/coverage/lcov-report/main/modules/network.ts.html +1 -1
- package/coverage/lcov-report/main/modules/performance.ts.html +1 -1
- package/coverage/lcov-report/main/modules/scroll.ts.html +1 -1
- package/coverage/lcov-report/main/modules/selection.ts.html +1 -1
- package/coverage/lcov-report/main/modules/tabs.ts.html +1 -1
- package/coverage/lcov-report/main/modules/timing.ts.html +1 -1
- package/coverage/lcov-report/main/modules/userTesting/SignalManager.ts.html +370 -0
- package/coverage/lcov-report/main/modules/userTesting/dnd.ts.html +10 -22
- package/coverage/lcov-report/main/modules/userTesting/index.html +57 -27
- package/coverage/lcov-report/main/modules/userTesting/index.ts.html +814 -115
- package/coverage/lcov-report/main/modules/userTesting/recorder.ts.html +136 -67
- package/coverage/lcov-report/main/modules/userTesting/styles.ts.html +111 -39
- package/coverage/lcov-report/main/modules/userTesting/utils.ts.html +364 -0
- package/coverage/lcov-report/main/modules/viewport.ts.html +1 -1
- package/coverage/lcov-report/main/utils.ts.html +48 -6
- package/coverage/lcov-report/webworker/BatchWriter.ts.html +1 -1
- package/coverage/lcov-report/webworker/MessageEncoder.gen.ts.html +1 -1
- package/coverage/lcov-report/webworker/PrimitiveEncoder.ts.html +1 -1
- package/coverage/lcov-report/webworker/QueueSender.ts.html +1 -1
- package/coverage/lcov-report/webworker/index.html +5 -5
- package/coverage/lcov-report/webworker/index.ts.html +15 -9
- package/coverage/lcov.info +2306 -900
- package/lib/app/index.d.ts +3 -0
- package/lib/app/index.js +27 -4
- package/lib/index.d.ts +1 -0
- package/lib/index.js +7 -1
- package/lib/modules/Network/fetchProxy.js +4 -2
- package/lib/modules/userTesting/SignalManager.d.ts +29 -0
- package/lib/modules/userTesting/SignalManager.js +80 -0
- package/lib/modules/userTesting/index.d.ts +5 -5
- package/lib/modules/userTesting/index.js +128 -161
- package/lib/modules/userTesting/styles.d.ts +28 -11
- package/lib/modules/userTesting/styles.js +50 -28
- package/lib/modules/userTesting/utils.d.ts +9 -0
- package/lib/modules/userTesting/utils.js +79 -0
- package/package.json +1 -1
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">2.09% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>83/3961</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">1.52% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>30/1967</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">3.64% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>28/768</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">1.97% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>76/3847</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -84,28 +84,28 @@
|
|
|
84
84
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
85
85
|
</td>
|
|
86
86
|
<td data-value="0" class="pct low">0%</td>
|
|
87
|
-
<td data-value="
|
|
87
|
+
<td data-value="281" class="abs low">0/281</td>
|
|
88
88
|
<td data-value="0" class="pct low">0%</td>
|
|
89
|
-
<td data-value="
|
|
89
|
+
<td data-value="144" class="abs low">0/144</td>
|
|
90
90
|
<td data-value="0" class="pct low">0%</td>
|
|
91
|
-
<td data-value="
|
|
91
|
+
<td data-value="59" class="abs low">0/59</td>
|
|
92
92
|
<td data-value="0" class="pct low">0%</td>
|
|
93
|
-
<td data-value="
|
|
93
|
+
<td data-value="279" class="abs low">0/279</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
97
97
|
<td class="file low" data-value="main/app"><a href="main/app/index.html">main/app</a></td>
|
|
98
|
-
<td data-value="
|
|
99
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
98
|
+
<td data-value="0" class="pic low">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
100
100
|
</td>
|
|
101
|
-
<td data-value="
|
|
102
|
-
<td data-value="
|
|
103
|
-
<td data-value="
|
|
104
|
-
<td data-value="
|
|
105
|
-
<td data-value="
|
|
106
|
-
<td data-value="
|
|
107
|
-
<td data-value="
|
|
108
|
-
<td data-value="
|
|
101
|
+
<td data-value="0" class="pct low">0%</td>
|
|
102
|
+
<td data-value="872" class="abs low">0/872</td>
|
|
103
|
+
<td data-value="0" class="pct low">0%</td>
|
|
104
|
+
<td data-value="340" class="abs low">0/340</td>
|
|
105
|
+
<td data-value="0" class="pct low">0%</td>
|
|
106
|
+
<td data-value="222" class="abs low">0/222</td>
|
|
107
|
+
<td data-value="0" class="pct low">0%</td>
|
|
108
|
+
<td data-value="851" class="abs low">0/851</td>
|
|
109
109
|
</tr>
|
|
110
110
|
|
|
111
111
|
<tr>
|
|
@@ -125,32 +125,47 @@
|
|
|
125
125
|
|
|
126
126
|
<tr>
|
|
127
127
|
<td class="file low" data-value="main/modules"><a href="main/modules/index.html">main/modules</a></td>
|
|
128
|
+
<td data-value="6.56" class="pic low">
|
|
129
|
+
<div class="chart"><div class="cover-fill" style="width: 6%"></div><div class="cover-empty" style="width: 94%"></div></div>
|
|
130
|
+
</td>
|
|
131
|
+
<td data-value="6.56" class="pct low">6.56%</td>
|
|
132
|
+
<td data-value="1265" class="abs low">83/1265</td>
|
|
133
|
+
<td data-value="4.73" class="pct low">4.73%</td>
|
|
134
|
+
<td data-value="634" class="abs low">30/634</td>
|
|
135
|
+
<td data-value="10.85" class="pct low">10.85%</td>
|
|
136
|
+
<td data-value="258" class="abs low">28/258</td>
|
|
137
|
+
<td data-value="6.26" class="pct low">6.26%</td>
|
|
138
|
+
<td data-value="1214" class="abs low">76/1214</td>
|
|
139
|
+
</tr>
|
|
140
|
+
|
|
141
|
+
<tr>
|
|
142
|
+
<td class="file low" data-value="main/modules/Network"><a href="main/modules/Network/index.html">main/modules/Network</a></td>
|
|
128
143
|
<td data-value="0" class="pic low">
|
|
129
144
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
130
145
|
</td>
|
|
131
146
|
<td data-value="0" class="pct low">0%</td>
|
|
132
|
-
<td data-value="
|
|
147
|
+
<td data-value="504" class="abs low">0/504</td>
|
|
133
148
|
<td data-value="0" class="pct low">0%</td>
|
|
134
|
-
<td data-value="
|
|
149
|
+
<td data-value="265" class="abs low">0/265</td>
|
|
135
150
|
<td data-value="0" class="pct low">0%</td>
|
|
136
|
-
<td data-value="
|
|
151
|
+
<td data-value="71" class="abs low">0/71</td>
|
|
137
152
|
<td data-value="0" class="pct low">0%</td>
|
|
138
|
-
<td data-value="
|
|
153
|
+
<td data-value="491" class="abs low">0/491</td>
|
|
139
154
|
</tr>
|
|
140
155
|
|
|
141
156
|
<tr>
|
|
142
|
-
<td class="file low" data-value="main/modules/
|
|
157
|
+
<td class="file low" data-value="main/modules/userTesting"><a href="main/modules/userTesting/index.html">main/modules/userTesting</a></td>
|
|
143
158
|
<td data-value="0" class="pic low">
|
|
144
159
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
145
160
|
</td>
|
|
146
161
|
<td data-value="0" class="pct low">0%</td>
|
|
147
|
-
<td data-value="
|
|
162
|
+
<td data-value="473" class="abs low">0/473</td>
|
|
148
163
|
<td data-value="0" class="pct low">0%</td>
|
|
149
|
-
<td data-value="
|
|
164
|
+
<td data-value="179" class="abs low">0/179</td>
|
|
150
165
|
<td data-value="0" class="pct low">0%</td>
|
|
151
|
-
<td data-value="
|
|
166
|
+
<td data-value="75" class="abs low">0/75</td>
|
|
152
167
|
<td data-value="0" class="pct low">0%</td>
|
|
153
|
-
<td data-value="
|
|
168
|
+
<td data-value="459" class="abs low">0/459</td>
|
|
154
169
|
</tr>
|
|
155
170
|
|
|
156
171
|
<tr>
|
|
@@ -159,13 +174,13 @@
|
|
|
159
174
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
160
175
|
</td>
|
|
161
176
|
<td data-value="0" class="pct low">0%</td>
|
|
162
|
-
<td data-value="
|
|
177
|
+
<td data-value="444" class="abs low">0/444</td>
|
|
163
178
|
<td data-value="0" class="pct low">0%</td>
|
|
164
179
|
<td data-value="364" class="abs low">0/364</td>
|
|
165
180
|
<td data-value="0" class="pct low">0%</td>
|
|
166
181
|
<td data-value="54" class="abs low">0/54</td>
|
|
167
182
|
<td data-value="0" class="pct low">0%</td>
|
|
168
|
-
<td data-value="
|
|
183
|
+
<td data-value="437" class="abs low">0/437</td>
|
|
169
184
|
</tr>
|
|
170
185
|
|
|
171
186
|
</tbody>
|
|
@@ -176,7 +191,7 @@
|
|
|
176
191
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
177
192
|
Code coverage generated by
|
|
178
193
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
179
|
-
at 2023-
|
|
194
|
+
at 2023-12-15T15:55:44.965Z
|
|
180
195
|
</div>
|
|
181
196
|
<script src="prettify.js"></script>
|
|
182
197
|
<script>
|
|
@@ -460,7 +460,7 @@ function <span class="fstat-no" title="function not covered" >saveImageData(</sp
|
|
|
460
460
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
461
461
|
Code coverage generated by
|
|
462
462
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
463
|
-
at 2023-
|
|
463
|
+
at 2023-12-15T15:55:44.965Z
|
|
464
464
|
</div>
|
|
465
465
|
<script src="../../prettify.js"></script>
|
|
466
466
|
<script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>0/16</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/4</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>0/8</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>0/16</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line low'></div>
|
|
65
65
|
<pre><table class="coverage">
|
|
66
66
|
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
67
|
<a name='L2'></a><a href='#L2'>2</a>
|
|
@@ -113,32 +113,32 @@
|
|
|
113
113
|
<a name='L48'></a><a href='#L48'>48</a>
|
|
114
114
|
<a name='L49'></a><a href='#L49'>49</a>
|
|
115
115
|
<a name='L50'></a><a href='#L50'>50</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
116
|
-
<span class="cline-any cline-
|
|
117
|
-
<span class="cline-any cline-
|
|
116
|
+
<span class="cline-any cline-no"> </span>
|
|
117
|
+
<span class="cline-any cline-no"> </span>
|
|
118
118
|
<span class="cline-any cline-neutral"> </span>
|
|
119
119
|
<span class="cline-any cline-neutral"> </span>
|
|
120
|
-
<span class="cline-any cline-
|
|
121
|
-
<span class="cline-any cline-
|
|
120
|
+
<span class="cline-any cline-no"> </span>
|
|
121
|
+
<span class="cline-any cline-no"> </span>
|
|
122
122
|
<span class="cline-any cline-neutral"> </span>
|
|
123
123
|
<span class="cline-any cline-neutral"> </span>
|
|
124
|
-
<span class="cline-any cline-
|
|
125
|
-
<span class="cline-any cline-
|
|
124
|
+
<span class="cline-any cline-no"> </span>
|
|
125
|
+
<span class="cline-any cline-no"> </span>
|
|
126
126
|
<span class="cline-any cline-neutral"> </span>
|
|
127
127
|
<span class="cline-any cline-neutral"> </span>
|
|
128
|
-
<span class="cline-any cline-
|
|
129
|
-
<span class="cline-any cline-
|
|
128
|
+
<span class="cline-any cline-no"> </span>
|
|
129
|
+
<span class="cline-any cline-no"> </span>
|
|
130
130
|
<span class="cline-any cline-neutral"> </span>
|
|
131
131
|
<span class="cline-any cline-neutral"> </span>
|
|
132
|
-
<span class="cline-any cline-
|
|
133
|
-
<span class="cline-any cline-
|
|
132
|
+
<span class="cline-any cline-no"> </span>
|
|
133
|
+
<span class="cline-any cline-no"> </span>
|
|
134
134
|
<span class="cline-any cline-neutral"> </span>
|
|
135
135
|
<span class="cline-any cline-neutral"> </span>
|
|
136
|
-
<span class="cline-any cline-
|
|
137
|
-
<span class="cline-any cline-
|
|
136
|
+
<span class="cline-any cline-no"> </span>
|
|
137
|
+
<span class="cline-any cline-no"> </span>
|
|
138
138
|
<span class="cline-any cline-neutral"> </span>
|
|
139
139
|
<span class="cline-any cline-neutral"> </span>
|
|
140
|
-
<span class="cline-any cline-
|
|
141
|
-
<span class="cline-any cline-
|
|
140
|
+
<span class="cline-any cline-no"> </span>
|
|
141
|
+
<span class="cline-any cline-no"> </span>
|
|
142
142
|
<span class="cline-any cline-neutral"> </span>
|
|
143
143
|
<span class="cline-any cline-neutral"> </span>
|
|
144
144
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -154,40 +154,40 @@
|
|
|
154
154
|
<span class="cline-any cline-neutral"> </span>
|
|
155
155
|
<span class="cline-any cline-neutral"> </span>
|
|
156
156
|
<span class="cline-any cline-neutral"> </span>
|
|
157
|
-
<span class="cline-any cline-
|
|
157
|
+
<span class="cline-any cline-no"> </span>
|
|
158
158
|
<span class="cline-any cline-neutral"> </span>
|
|
159
159
|
<span class="cline-any cline-neutral"> </span>
|
|
160
160
|
<span class="cline-any cline-neutral"> </span>
|
|
161
161
|
<span class="cline-any cline-neutral"> </span>
|
|
162
|
-
<span class="cline-any cline-
|
|
162
|
+
<span class="cline-any cline-no"> </span>
|
|
163
163
|
<span class="cline-any cline-neutral"> </span>
|
|
164
164
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">//@ts-ignore
|
|
165
|
-
export function
|
|
166
|
-
return !!sth && sth.nodeType != null
|
|
165
|
+
<span class="cstat-no" title="statement not covered" >export function <span class="fstat-no" title="function not covered" >i</span>sNode(</span>sth: any): sth is Node {
|
|
166
|
+
<span class="cstat-no" title="statement not covered" > return !!sth && sth.nodeType != null</span>
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
export function
|
|
170
|
-
return node.namespaceURI === 'http://www.w3.org/2000/svg'
|
|
169
|
+
<span class="cstat-no" title="statement not covered" >export function <span class="fstat-no" title="function not covered" >i</span>sSVGElement(</span>node: Element): node is SVGElement {
|
|
170
|
+
<span class="cstat-no" title="statement not covered" > return node.namespaceURI === 'http://www.w3.org/2000/svg'</span>
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export function
|
|
174
|
-
return node.nodeType === Node.ELEMENT_NODE
|
|
173
|
+
<span class="cstat-no" title="statement not covered" >export function <span class="fstat-no" title="function not covered" >i</span>sElementNode(</span>node: Node): node is Element {
|
|
174
|
+
<span class="cstat-no" title="statement not covered" > return node.nodeType === Node.ELEMENT_NODE</span>
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export function
|
|
178
|
-
return node.nodeType === Node.COMMENT_NODE
|
|
177
|
+
<span class="cstat-no" title="statement not covered" >export function <span class="fstat-no" title="function not covered" >i</span>sCommentNode(</span>node: Node): node is Comment {
|
|
178
|
+
<span class="cstat-no" title="statement not covered" > return node.nodeType === Node.COMMENT_NODE</span>
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export function
|
|
182
|
-
return node.nodeType === Node.TEXT_NODE
|
|
181
|
+
<span class="cstat-no" title="statement not covered" >export function <span class="fstat-no" title="function not covered" >i</span>sTextNode(</span>node: Node): node is Text {
|
|
182
|
+
<span class="cstat-no" title="statement not covered" > return node.nodeType === Node.TEXT_NODE</span>
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
export function
|
|
186
|
-
return node.nodeType === Node.DOCUMENT_NODE
|
|
185
|
+
<span class="cstat-no" title="statement not covered" >export function <span class="fstat-no" title="function not covered" >i</span>sDocument(</span>node: Node): node is Document {
|
|
186
|
+
<span class="cstat-no" title="statement not covered" > return node.nodeType === Node.DOCUMENT_NODE</span>
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
export function
|
|
190
|
-
return node.nodeType === Node.DOCUMENT_NODE || node.nodeType === Node.DOCUMENT_FRAGMENT_NODE
|
|
189
|
+
<span class="cstat-no" title="statement not covered" >export function <span class="fstat-no" title="function not covered" >i</span>sRootNode(</span>node: Node): node is Document | DocumentFragment {
|
|
190
|
+
<span class="cstat-no" title="statement not covered" > return node.nodeType === Node.DOCUMENT_NODE || node.nodeType === Node.DOCUMENT_FRAGMENT_NODE</span>
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
type TagTypeMap = {
|
|
@@ -203,12 +203,12 @@ type TagTypeMap = {
|
|
|
203
203
|
link: HTMLLinkElement
|
|
204
204
|
canvas: HTMLCanvasElement
|
|
205
205
|
}
|
|
206
|
-
export function
|
|
206
|
+
<span class="cstat-no" title="statement not covered" >export function <span class="fstat-no" title="function not covered" >h</span>asTag<</span>T extends keyof TagTypeMap>(
|
|
207
207
|
el: Node,
|
|
208
208
|
tagName: T,
|
|
209
209
|
): el is TagTypeMap[typeof tagName] {
|
|
210
210
|
// @ts-ignore
|
|
211
|
-
return el.localName === tagName
|
|
211
|
+
<span class="cstat-no" title="statement not covered" > return el.localName === tagName</span>
|
|
212
212
|
}
|
|
213
213
|
</pre></td></tr></table></pre>
|
|
214
214
|
|
|
@@ -217,7 +217,7 @@ export function hasTag<T extends keyof TagTypeMap>(
|
|
|
217
217
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
218
218
|
Code coverage generated by
|
|
219
219
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
220
|
-
at 2023-
|
|
220
|
+
at 2023-12-15T15:55:44.965Z
|
|
221
221
|
</div>
|
|
222
222
|
<script src="../../prettify.js"></script>
|
|
223
223
|
<script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>0/872</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/340</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>0/222</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>0/851</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -94,18 +94,18 @@
|
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
97
|
-
<td class="file
|
|
98
|
-
<td data-value="
|
|
99
|
-
<div class="chart"><div class="cover-fill
|
|
97
|
+
<td class="file low" data-value="guards.ts"><a href="guards.ts.html">guards.ts</a></td>
|
|
98
|
+
<td data-value="0" class="pic low">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
100
100
|
</td>
|
|
101
|
-
<td data-value="
|
|
102
|
-
<td data-value="16" class="abs
|
|
103
|
-
<td data-value="
|
|
104
|
-
<td data-value="4" class="abs
|
|
105
|
-
<td data-value="
|
|
106
|
-
<td data-value="8" class="abs
|
|
107
|
-
<td data-value="
|
|
108
|
-
<td data-value="16" class="abs
|
|
101
|
+
<td data-value="0" class="pct low">0%</td>
|
|
102
|
+
<td data-value="16" class="abs low">0/16</td>
|
|
103
|
+
<td data-value="0" class="pct low">0%</td>
|
|
104
|
+
<td data-value="4" class="abs low">0/4</td>
|
|
105
|
+
<td data-value="0" class="pct low">0%</td>
|
|
106
|
+
<td data-value="8" class="abs low">0/8</td>
|
|
107
|
+
<td data-value="0" class="pct low">0%</td>
|
|
108
|
+
<td data-value="16" class="abs low">0/16</td>
|
|
109
109
|
</tr>
|
|
110
110
|
|
|
111
111
|
<tr>
|
|
@@ -114,13 +114,13 @@
|
|
|
114
114
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
115
115
|
</td>
|
|
116
116
|
<td data-value="0" class="pct low">0%</td>
|
|
117
|
-
<td data-value="
|
|
117
|
+
<td data-value="452" class="abs low">0/452</td>
|
|
118
118
|
<td data-value="0" class="pct low">0%</td>
|
|
119
|
-
<td data-value="
|
|
119
|
+
<td data-value="240" class="abs low">0/240</td>
|
|
120
120
|
<td data-value="0" class="pct low">0%</td>
|
|
121
|
-
<td data-value="
|
|
121
|
+
<td data-value="75" class="abs low">0/75</td>
|
|
122
122
|
<td data-value="0" class="pct low">0%</td>
|
|
123
|
-
<td data-value="
|
|
123
|
+
<td data-value="441" class="abs low">0/441</td>
|
|
124
124
|
</tr>
|
|
125
125
|
|
|
126
126
|
<tr>
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
222
222
|
Code coverage generated by
|
|
223
223
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
224
|
-
at 2023-
|
|
224
|
+
at 2023-12-15T15:55:44.965Z
|
|
225
225
|
</div>
|
|
226
226
|
<script src="../../prettify.js"></script>
|
|
227
227
|
<script>
|