@contractkit/prettier-plugin 0.11.1 → 0.12.0

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.
@@ -5,9 +5,9 @@ $ tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly
5
5
  CLI tsup v8.5.1
6
6
  CLI Target: esnext
7
7
  ESM Build start
8
- ESM dist/index.js 20.55 KB
9
- ESM dist/index.js.map 49.22 KB
10
- ESM ⚡️ Build success in 142ms
8
+ ESM dist/index.js 20.80 KB
9
+ ESM dist/index.js.map 49.78 KB
10
+ ESM ⚡️ Build success in 177ms
11
11
  DTS Build start
12
- DTS ⚡️ Build success in 3981ms
12
+ DTS ⚡️ Build success in 4761ms
13
13
  DTS dist/index.d.ts 630.00 B
@@ -3,21 +3,21 @@ $ vitest run --coverage
3
3
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/apps/prettier-plugin
4
4
  Coverage enabled with v8
5
5
 
6
- ✓ tests/print-ck.test.ts (60 tests) 242ms
6
+ ✓ tests/print-ck.test.ts (61 tests) 547ms
7
7
 
8
8
   Test Files  1 passed (1)
9
-  Tests  60 passed (60)
10
-  Start at  11:53:22
11
-  Duration  5.06s (transform 1.59s, setup 0ms, import 3.43s, tests 242ms, environment 0ms)
9
+  Tests  61 passed (61)
10
+  Start at  19:14:39
11
+  Duration  5.95s (transform 1.62s, setup 0ms, import 3.70s, tests 547ms, environment 0ms)
12
12
 
13
13
   % Coverage report from v8
14
14
  -------------------|---------|----------|---------|---------|-------------------
15
15
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
16
16
  -------------------|---------|----------|---------|---------|-------------------
17
- All files | 68.47 | 58.91 | 74.19 | 74.69 |
17
+ All files | 68.83 | 59.1 | 74.19 | 75.07 |
18
18
  indent.ts | 100 | 100 | 100 | 100 |
19
19
  print-ck.ts | 89.85 | 80 | 100 | 98.03 | 59
20
20
  print-contract.ts | 41.93 | 30.35 | 50 | 42.85 | 10,37-68
21
- ...t-operation.ts | 73.41 | 64.35 | 92.85 | 83.33 | ...67,275-286,318
21
+ ...t-operation.ts | 73.96 | 64.67 | 92.85 | 83.78 | ...74,282-293,325
22
22
  print-type.ts | 47.12 | 46.87 | 45.45 | 48.61 | ...10,139,142-145
23
23
  -------------------|---------|----------|---------|---------|-------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @contractkit/prettier-plugin-contractkit
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fff30df: Add a block form to the operation `signature:` key. Alongside the existing bare form (`signature: KEY`), you can now write `signature: { options: KEY, policy: name }` to attach a signature-scoped policy. The policy is passed through to the generated `requireSignature(KEY, { policy: name })` middleware and surfaces in OpenAPI-to-`.ck` output, Markdown docs, and the explorer UI. The bare form is unchanged and remains shorthand for a block with only `options:`.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [fff30df]
12
+ - @contractkit/core@0.21.0
13
+
14
+ ## 0.11.2
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [bdebb9c]
19
+ - Updated dependencies [90f45ff]
20
+ - @contractkit/core@0.20.0
21
+
3
22
  ## 0.11.1
4
23
 
5
24
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1778846007745" clover="3.2.0">
3
- <project timestamp="1778846007745" name="All files">
4
- <metrics statements="332" coveredstatements="248" conditionals="443" coveredconditionals="261" methods="31" coveredmethods="23" elements="806" coveredelements="532" complexity="0" loc="332" ncloc="332" packages="1" files="5" classes="5"/>
2
+ <coverage generated="1781291685346" clover="3.2.0">
3
+ <project timestamp="1781291685347" name="All files">
4
+ <metrics statements="337" coveredstatements="253" conditionals="445" coveredconditionals="263" methods="31" coveredmethods="23" elements="813" coveredelements="539" complexity="0" loc="337" ncloc="337" packages="1" files="5" classes="5"/>
5
5
  <file name="indent.ts" path="/home/runner/work/ContractKit/ContractKit/apps/prettier-plugin/src/indent.ts">
6
6
  <metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
7
7
  <line num="1" count="1" type="stmt"/>
@@ -10,12 +10,12 @@
10
10
  <metrics statements="51" coveredstatements="50" conditionals="75" coveredconditionals="60" methods="4" coveredmethods="4"/>
11
11
  <line num="7" count="1" type="stmt"/>
12
12
  <line num="20" count="5" type="cond" truecount="2" falsecount="0"/>
13
- <line num="24" count="60" type="stmt"/>
14
- <line num="25" count="60" type="stmt"/>
15
- <line num="26" count="60" type="stmt"/>
16
- <line num="27" count="60" type="cond" truecount="8" falsecount="0"/>
17
- <line num="28" count="60" type="cond" truecount="8" falsecount="0"/>
18
- <line num="30" count="60" type="cond" truecount="7" falsecount="0"/>
13
+ <line num="24" count="61" type="stmt"/>
14
+ <line num="25" count="61" type="stmt"/>
15
+ <line num="26" count="61" type="stmt"/>
16
+ <line num="27" count="61" type="cond" truecount="8" falsecount="0"/>
17
+ <line num="28" count="61" type="cond" truecount="8" falsecount="0"/>
18
+ <line num="30" count="61" type="cond" truecount="7" falsecount="0"/>
19
19
  <line num="32" count="7" type="stmt"/>
20
20
  <line num="34" count="7" type="cond" truecount="2" falsecount="0"/>
21
21
  <line num="35" count="3" type="stmt"/>
@@ -45,20 +45,20 @@
45
45
  <line num="75" count="2" type="stmt"/>
46
46
  <line num="76" count="2" type="stmt"/>
47
47
  <line num="77" count="2" type="stmt"/>
48
- <line num="90" count="60" type="cond" truecount="2" falsecount="2"/>
49
- <line num="91" count="60" type="stmt"/>
50
- <line num="94" count="60" type="stmt"/>
51
- <line num="95" count="60" type="cond" truecount="2" falsecount="0"/>
52
- <line num="98" count="60" type="cond" truecount="2" falsecount="2"/>
48
+ <line num="90" count="61" type="cond" truecount="2" falsecount="2"/>
49
+ <line num="91" count="61" type="stmt"/>
50
+ <line num="94" count="61" type="stmt"/>
51
+ <line num="95" count="61" type="cond" truecount="2" falsecount="0"/>
52
+ <line num="98" count="61" type="cond" truecount="2" falsecount="2"/>
53
53
  <line num="99" count="5" type="cond" truecount="1" falsecount="1"/>
54
54
  <line num="100" count="5" type="stmt"/>
55
- <line num="104" count="60" type="stmt"/>
56
- <line num="105" count="60" type="stmt"/>
57
- <line num="106" count="60" type="cond" truecount="2" falsecount="2"/>
58
- <line num="107" count="50" type="cond" truecount="2" falsecount="0"/>
59
- <line num="108" count="50" type="cond" truecount="6" falsecount="0"/>
60
- <line num="109" count="50" type="stmt"/>
61
- <line num="112" count="60" type="stmt"/>
55
+ <line num="104" count="61" type="stmt"/>
56
+ <line num="105" count="61" type="stmt"/>
57
+ <line num="106" count="61" type="cond" truecount="2" falsecount="2"/>
58
+ <line num="107" count="51" type="cond" truecount="2" falsecount="0"/>
59
+ <line num="108" count="51" type="cond" truecount="6" falsecount="0"/>
60
+ <line num="109" count="51" type="stmt"/>
61
+ <line num="112" count="61" type="stmt"/>
62
62
  </file>
63
63
  <file name="print-contract.ts" path="/home/runner/work/ContractKit/ContractKit/apps/prettier-plugin/src/print-contract.ts">
64
64
  <metrics statements="28" coveredstatements="12" conditionals="56" coveredconditionals="17" methods="2" coveredmethods="1"/>
@@ -92,7 +92,7 @@
92
92
  <line num="68" count="0" type="stmt"/>
93
93
  </file>
94
94
  <file name="print-operation.ts" path="/home/runner/work/ContractKit/ContractKit/apps/prettier-plugin/src/print-operation.ts">
95
- <metrics statements="180" coveredstatements="150" conditionals="216" coveredconditionals="139" methods="14" coveredmethods="13"/>
95
+ <metrics statements="185" coveredstatements="155" conditionals="218" coveredconditionals="141" methods="14" coveredmethods="13"/>
96
96
  <line num="16" count="1" type="stmt"/>
97
97
  <line num="17" count="1" type="stmt"/>
98
98
  <line num="18" count="1" type="stmt"/>
@@ -106,23 +106,23 @@
106
106
  <line num="35" count="0" type="stmt"/>
107
107
  <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
108
108
  <line num="39" count="0" type="stmt"/>
109
- <line num="46" count="103" type="cond" truecount="3" falsecount="1"/>
110
- <line num="47" count="103" type="cond" truecount="1" falsecount="1"/>
109
+ <line num="46" count="105" type="cond" truecount="3" falsecount="1"/>
110
+ <line num="47" count="105" type="cond" truecount="1" falsecount="1"/>
111
111
  <line num="48" count="0" type="cond" truecount="0" falsecount="4"/>
112
112
  <line num="49" count="0" type="stmt"/>
113
- <line num="56" count="50" type="stmt"/>
114
- <line num="57" count="50" type="cond" truecount="2" falsecount="0"/>
115
- <line num="58" count="50" type="stmt"/>
116
- <line num="60" count="50" type="cond" truecount="2" falsecount="0"/>
113
+ <line num="56" count="51" type="stmt"/>
114
+ <line num="57" count="51" type="cond" truecount="2" falsecount="0"/>
115
+ <line num="58" count="51" type="stmt"/>
116
+ <line num="60" count="51" type="cond" truecount="2" falsecount="0"/>
117
117
  <line num="61" count="3" type="stmt"/>
118
- <line num="64" count="50" type="cond" truecount="2" falsecount="0"/>
118
+ <line num="64" count="51" type="cond" truecount="2" falsecount="0"/>
119
119
  <line num="65" count="2" type="stmt"/>
120
- <line num="68" count="50" type="cond" truecount="2" falsecount="2"/>
121
- <line num="70" count="53" type="stmt"/>
122
- <line num="71" count="53" type="stmt"/>
123
- <line num="75" count="50" type="stmt"/>
124
- <line num="77" count="50" type="stmt"/>
125
- <line num="78" count="50" type="stmt"/>
120
+ <line num="68" count="51" type="cond" truecount="2" falsecount="2"/>
121
+ <line num="70" count="54" type="stmt"/>
122
+ <line num="71" count="54" type="stmt"/>
123
+ <line num="75" count="51" type="stmt"/>
124
+ <line num="77" count="51" type="stmt"/>
125
+ <line num="78" count="51" type="stmt"/>
126
126
  <line num="84" count="3" type="cond" truecount="1" falsecount="1"/>
127
127
  <line num="85" count="3" type="cond" truecount="1" falsecount="1"/>
128
128
  <line num="86" count="0" type="stmt"/>
@@ -139,140 +139,145 @@
139
139
  <line num="99" count="3" type="stmt"/>
140
140
  <line num="100" count="3" type="stmt"/>
141
141
  <line num="103" count="0" type="stmt"/>
142
- <line num="109" count="53" type="stmt"/>
143
- <line num="110" count="53" type="cond" truecount="2" falsecount="0"/>
144
- <line num="111" count="53" type="cond" truecount="6" falsecount="0"/>
145
- <line num="112" count="53" type="stmt"/>
146
- <line num="114" count="53" type="cond" truecount="1" falsecount="1"/>
147
- <line num="115" count="53" type="cond" truecount="1" falsecount="1"/>
148
- <line num="116" count="53" type="cond" truecount="1" falsecount="1"/>
149
- <line num="117" count="53" type="cond" truecount="2" falsecount="0"/>
150
- <line num="118" count="2" type="cond" truecount="1" falsecount="1"/>
151
- <line num="119" count="2" type="stmt"/>
152
- <line num="121" count="53" type="cond" truecount="2" falsecount="0"/>
153
- <line num="122" count="53" type="cond" truecount="4" falsecount="0"/>
154
- <line num="123" count="6" type="stmt"/>
155
- <line num="124" count="10" type="cond" truecount="2" falsecount="2"/>
156
- <line num="125" count="10" type="stmt"/>
157
- <line num="127" count="6" type="stmt"/>
158
- <line num="129" count="53" type="cond" truecount="2" falsecount="0"/>
159
- <line num="130" count="53" type="cond" truecount="2" falsecount="0"/>
160
- <line num="131" count="1" type="stmt"/>
161
- <line num="132" count="52" type="cond" truecount="2" falsecount="0"/>
162
- <line num="133" count="2" type="stmt"/>
163
- <line num="135" count="53" type="cond" truecount="2" falsecount="0"/>
164
- <line num="136" count="3" type="stmt"/>
165
- <line num="137" count="3" type="cond" truecount="2" falsecount="2"/>
166
- <line num="138" count="4" type="stmt"/>
167
- <line num="140" count="3" type="stmt"/>
168
- <line num="142" count="53" type="cond" truecount="2" falsecount="0"/>
169
- <line num="143" count="7" type="stmt"/>
170
- <line num="146" count="53" type="stmt"/>
171
- <line num="147" count="53" type="stmt"/>
172
- <line num="152" count="1" type="stmt"/>
173
- <line num="155" count="8" type="stmt"/>
174
- <line num="159" count="10" type="stmt"/>
175
- <line num="160" count="10" type="stmt"/>
176
- <line num="161" count="10" type="cond" truecount="2" falsecount="0"/>
177
- <line num="162" count="6" type="stmt"/>
178
- <line num="164" count="4" type="stmt"/>
179
- <line num="165" count="4" type="stmt"/>
180
- <line num="166" count="4" type="stmt"/>
181
- <line num="167" count="11" type="stmt"/>
182
- <line num="169" count="10" type="stmt"/>
183
- <line num="173" count="16" type="cond" truecount="2" falsecount="0"/>
184
- <line num="174" count="8" type="cond" truecount="4" falsecount="0"/>
185
- <line num="175" count="5" type="cond" truecount="1" falsecount="1"/>
186
- <line num="176" count="5" type="cond" truecount="3" falsecount="1"/>
187
- <line num="177" count="5" type="cond" truecount="4" falsecount="1"/>
188
- <line num="178" count="5" type="stmt"/>
189
- <line num="182" count="5" type="stmt"/>
190
- <line num="183" count="5" type="stmt"/>
191
- <line num="184" count="5" type="cond" truecount="2" falsecount="0"/>
192
- <line num="185" count="1" type="stmt"/>
193
- <line num="186" count="1" type="cond" truecount="2" falsecount="2"/>
194
- <line num="187" count="2" type="stmt"/>
195
- <line num="188" count="2" type="cond" truecount="1" falsecount="1"/>
196
- <line num="189" count="2" type="stmt"/>
197
- <line num="191" count="0" type="stmt"/>
198
- <line num="192" count="0" type="cond" truecount="0" falsecount="4"/>
199
- <line num="195" count="1" type="stmt"/>
200
- <line num="196" count="1" type="stmt"/>
201
- <line num="198" count="4" type="cond" truecount="4" falsecount="2"/>
202
- <line num="199" count="4" type="stmt"/>
203
- <line num="200" count="4" type="cond" truecount="2" falsecount="2"/>
204
- <line num="201" count="4" type="cond" truecount="1" falsecount="1"/>
205
- <line num="202" count="4" type="stmt"/>
206
- <line num="203" count="4" type="cond" truecount="2" falsecount="0"/>
207
- <line num="204" count="3" type="stmt"/>
208
- <line num="206" count="1" type="stmt"/>
209
- <line num="207" count="1" type="stmt"/>
210
- <line num="208" count="2" type="stmt"/>
211
- <line num="211" count="4" type="stmt"/>
212
- <line num="212" count="4" type="stmt"/>
213
- <line num="215" count="0" type="stmt"/>
214
- <line num="222" count="2" type="cond" truecount="2" falsecount="0"/>
215
- <line num="233" count="5" type="cond" truecount="8" falsecount="0"/>
216
- <line num="234" count="5" type="cond" truecount="2" falsecount="0"/>
217
- <line num="235" count="3" type="stmt"/>
218
- <line num="236" count="3" type="cond" truecount="1" falsecount="1"/>
219
- <line num="237" count="3" type="stmt"/>
220
- <line num="238" count="3" type="cond" truecount="1" falsecount="1"/>
221
- <line num="239" count="5" type="cond" truecount="2" falsecount="0"/>
222
- <line num="240" count="5" type="stmt"/>
223
- <line num="241" count="5" type="stmt"/>
224
- <line num="242" count="5" type="stmt"/>
225
- <line num="248" count="9" type="cond" truecount="1" falsecount="1"/>
226
- <line num="249" count="9" type="cond" truecount="1" falsecount="1"/>
227
- <line num="250" count="0" type="stmt"/>
228
- <line num="252" count="9" type="cond" truecount="1" falsecount="1"/>
229
- <line num="253" count="9" type="cond" truecount="1" falsecount="1"/>
230
- <line num="254" count="9" type="stmt"/>
231
- <line num="255" count="9" type="cond" truecount="2" falsecount="2"/>
232
- <line num="256" count="11" type="cond" truecount="2" falsecount="0"/>
233
- <line num="257" count="11" type="stmt"/>
234
- <line num="258" count="11" type="cond" truecount="2" falsecount="0"/>
235
- <line num="259" count="11" type="cond" truecount="2" falsecount="0"/>
236
- <line num="260" count="11" type="cond" truecount="2" falsecount="0"/>
237
- <line num="261" count="11" type="stmt"/>
238
- <line num="263" count="9" type="stmt"/>
239
- <line num="264" count="9" type="stmt"/>
240
- <line num="267" count="0" type="stmt"/>
241
- <line num="274" count="10" type="cond" truecount="1" falsecount="1"/>
242
- <line num="275" count="0" type="stmt"/>
243
- <line num="276" count="0" type="stmt"/>
244
- <line num="277" count="0" type="cond" truecount="0" falsecount="4"/>
245
- <line num="278" count="0" type="cond" truecount="0" falsecount="2"/>
246
- <line num="279" count="0" type="stmt"/>
247
- <line num="280" count="0" type="cond" truecount="0" falsecount="2"/>
248
- <line num="281" count="0" type="cond" truecount="0" falsecount="2"/>
249
- <line num="282" count="0" type="cond" truecount="0" falsecount="2"/>
142
+ <line num="109" count="54" type="stmt"/>
143
+ <line num="110" count="54" type="cond" truecount="2" falsecount="0"/>
144
+ <line num="111" count="54" type="cond" truecount="6" falsecount="0"/>
145
+ <line num="112" count="54" type="stmt"/>
146
+ <line num="114" count="54" type="cond" truecount="1" falsecount="1"/>
147
+ <line num="115" count="54" type="cond" truecount="1" falsecount="1"/>
148
+ <line num="116" count="54" type="cond" truecount="1" falsecount="1"/>
149
+ <line num="117" count="54" type="cond" truecount="2" falsecount="0"/>
150
+ <line num="118" count="3" type="cond" truecount="1" falsecount="1"/>
151
+ <line num="119" count="3" type="cond" truecount="2" falsecount="0"/>
152
+ <line num="120" count="1" type="stmt"/>
153
+ <line num="121" count="1" type="stmt"/>
154
+ <line num="122" count="1" type="stmt"/>
155
+ <line num="123" count="1" type="stmt"/>
156
+ <line num="125" count="2" type="stmt"/>
157
+ <line num="128" count="54" type="cond" truecount="2" falsecount="0"/>
158
+ <line num="129" count="54" type="cond" truecount="4" falsecount="0"/>
159
+ <line num="130" count="6" type="stmt"/>
160
+ <line num="131" count="10" type="cond" truecount="2" falsecount="2"/>
161
+ <line num="132" count="10" type="stmt"/>
162
+ <line num="134" count="6" type="stmt"/>
163
+ <line num="136" count="54" type="cond" truecount="2" falsecount="0"/>
164
+ <line num="137" count="54" type="cond" truecount="2" falsecount="0"/>
165
+ <line num="138" count="1" type="stmt"/>
166
+ <line num="139" count="53" type="cond" truecount="2" falsecount="0"/>
167
+ <line num="140" count="2" type="stmt"/>
168
+ <line num="142" count="54" type="cond" truecount="2" falsecount="0"/>
169
+ <line num="143" count="3" type="stmt"/>
170
+ <line num="144" count="3" type="cond" truecount="2" falsecount="2"/>
171
+ <line num="145" count="4" type="stmt"/>
172
+ <line num="147" count="3" type="stmt"/>
173
+ <line num="149" count="54" type="cond" truecount="2" falsecount="0"/>
174
+ <line num="150" count="7" type="stmt"/>
175
+ <line num="153" count="54" type="stmt"/>
176
+ <line num="154" count="54" type="stmt"/>
177
+ <line num="159" count="1" type="stmt"/>
178
+ <line num="162" count="8" type="stmt"/>
179
+ <line num="166" count="10" type="stmt"/>
180
+ <line num="167" count="10" type="stmt"/>
181
+ <line num="168" count="10" type="cond" truecount="2" falsecount="0"/>
182
+ <line num="169" count="6" type="stmt"/>
183
+ <line num="171" count="4" type="stmt"/>
184
+ <line num="172" count="4" type="stmt"/>
185
+ <line num="173" count="4" type="stmt"/>
186
+ <line num="174" count="11" type="stmt"/>
187
+ <line num="176" count="10" type="stmt"/>
188
+ <line num="180" count="16" type="cond" truecount="2" falsecount="0"/>
189
+ <line num="181" count="8" type="cond" truecount="4" falsecount="0"/>
190
+ <line num="182" count="5" type="cond" truecount="1" falsecount="1"/>
191
+ <line num="183" count="5" type="cond" truecount="3" falsecount="1"/>
192
+ <line num="184" count="5" type="cond" truecount="4" falsecount="1"/>
193
+ <line num="185" count="5" type="stmt"/>
194
+ <line num="189" count="5" type="stmt"/>
195
+ <line num="190" count="5" type="stmt"/>
196
+ <line num="191" count="5" type="cond" truecount="2" falsecount="0"/>
197
+ <line num="192" count="1" type="stmt"/>
198
+ <line num="193" count="1" type="cond" truecount="2" falsecount="2"/>
199
+ <line num="194" count="2" type="stmt"/>
200
+ <line num="195" count="2" type="cond" truecount="1" falsecount="1"/>
201
+ <line num="196" count="2" type="stmt"/>
202
+ <line num="198" count="0" type="stmt"/>
203
+ <line num="199" count="0" type="cond" truecount="0" falsecount="4"/>
204
+ <line num="202" count="1" type="stmt"/>
205
+ <line num="203" count="1" type="stmt"/>
206
+ <line num="205" count="4" type="cond" truecount="4" falsecount="2"/>
207
+ <line num="206" count="4" type="stmt"/>
208
+ <line num="207" count="4" type="cond" truecount="2" falsecount="2"/>
209
+ <line num="208" count="4" type="cond" truecount="1" falsecount="1"/>
210
+ <line num="209" count="4" type="stmt"/>
211
+ <line num="210" count="4" type="cond" truecount="2" falsecount="0"/>
212
+ <line num="211" count="3" type="stmt"/>
213
+ <line num="213" count="1" type="stmt"/>
214
+ <line num="214" count="1" type="stmt"/>
215
+ <line num="215" count="2" type="stmt"/>
216
+ <line num="218" count="4" type="stmt"/>
217
+ <line num="219" count="4" type="stmt"/>
218
+ <line num="222" count="0" type="stmt"/>
219
+ <line num="229" count="3" type="cond" truecount="2" falsecount="0"/>
220
+ <line num="240" count="5" type="cond" truecount="8" falsecount="0"/>
221
+ <line num="241" count="5" type="cond" truecount="2" falsecount="0"/>
222
+ <line num="242" count="3" type="stmt"/>
223
+ <line num="243" count="3" type="cond" truecount="1" falsecount="1"/>
224
+ <line num="244" count="3" type="stmt"/>
225
+ <line num="245" count="3" type="cond" truecount="1" falsecount="1"/>
226
+ <line num="246" count="5" type="cond" truecount="2" falsecount="0"/>
227
+ <line num="247" count="5" type="stmt"/>
228
+ <line num="248" count="5" type="stmt"/>
229
+ <line num="249" count="5" type="stmt"/>
230
+ <line num="255" count="9" type="cond" truecount="1" falsecount="1"/>
231
+ <line num="256" count="9" type="cond" truecount="1" falsecount="1"/>
232
+ <line num="257" count="0" type="stmt"/>
233
+ <line num="259" count="9" type="cond" truecount="1" falsecount="1"/>
234
+ <line num="260" count="9" type="cond" truecount="1" falsecount="1"/>
235
+ <line num="261" count="9" type="stmt"/>
236
+ <line num="262" count="9" type="cond" truecount="2" falsecount="2"/>
237
+ <line num="263" count="11" type="cond" truecount="2" falsecount="0"/>
238
+ <line num="264" count="11" type="stmt"/>
239
+ <line num="265" count="11" type="cond" truecount="2" falsecount="0"/>
240
+ <line num="266" count="11" type="cond" truecount="2" falsecount="0"/>
241
+ <line num="267" count="11" type="cond" truecount="2" falsecount="0"/>
242
+ <line num="268" count="11" type="stmt"/>
243
+ <line num="270" count="9" type="stmt"/>
244
+ <line num="271" count="9" type="stmt"/>
245
+ <line num="274" count="0" type="stmt"/>
246
+ <line num="281" count="10" type="cond" truecount="1" falsecount="1"/>
247
+ <line num="282" count="0" type="stmt"/>
250
248
  <line num="283" count="0" type="stmt"/>
251
- <line num="285" count="0" type="stmt"/>
249
+ <line num="284" count="0" type="cond" truecount="0" falsecount="4"/>
250
+ <line num="285" count="0" type="cond" truecount="0" falsecount="2"/>
252
251
  <line num="286" count="0" type="stmt"/>
253
- <line num="288" count="10" type="stmt"/>
254
- <line num="294" count="7" type="stmt"/>
255
- <line num="296" count="7" type="cond" truecount="2" falsecount="2"/>
256
- <line num="297" count="8" type="cond" truecount="2" falsecount="0"/>
257
- <line num="298" count="8" type="cond" truecount="2" falsecount="0"/>
258
- <line num="299" count="8" type="stmt"/>
259
- <line num="300" count="8" type="cond" truecount="4" falsecount="1"/>
260
- <line num="301" count="8" type="stmt"/>
261
- <line num="302" count="8" type="cond" truecount="2" falsecount="0"/>
262
- <line num="303" count="6" type="stmt"/>
252
+ <line num="287" count="0" type="cond" truecount="0" falsecount="2"/>
253
+ <line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
254
+ <line num="289" count="0" type="cond" truecount="0" falsecount="2"/>
255
+ <line num="290" count="0" type="stmt"/>
256
+ <line num="292" count="0" type="stmt"/>
257
+ <line num="293" count="0" type="stmt"/>
258
+ <line num="295" count="10" type="stmt"/>
259
+ <line num="301" count="7" type="stmt"/>
260
+ <line num="303" count="7" type="cond" truecount="2" falsecount="2"/>
261
+ <line num="304" count="8" type="cond" truecount="2" falsecount="0"/>
263
262
  <line num="305" count="8" type="cond" truecount="2" falsecount="0"/>
264
- <line num="306" count="1" type="stmt"/>
265
- <line num="307" count="7" type="cond" truecount="2" falsecount="0"/>
266
- <line num="308" count="2" type="stmt"/>
267
- <line num="309" count="2" type="cond" truecount="2" falsecount="2"/>
268
- <line num="310" count="3" type="cond" truecount="2" falsecount="0"/>
269
- <line num="311" count="3" type="cond" truecount="2" falsecount="0"/>
270
- <line num="312" count="3" type="stmt"/>
271
- <line num="314" count="2" type="stmt"/>
272
- <line num="316" count="8" type="stmt"/>
273
- <line num="318" count="0" type="stmt"/>
274
- <line num="322" count="7" type="stmt"/>
275
- <line num="323" count="7" type="stmt"/>
263
+ <line num="306" count="8" type="stmt"/>
264
+ <line num="307" count="8" type="cond" truecount="4" falsecount="1"/>
265
+ <line num="308" count="8" type="stmt"/>
266
+ <line num="309" count="8" type="cond" truecount="2" falsecount="0"/>
267
+ <line num="310" count="6" type="stmt"/>
268
+ <line num="312" count="8" type="cond" truecount="2" falsecount="0"/>
269
+ <line num="313" count="1" type="stmt"/>
270
+ <line num="314" count="7" type="cond" truecount="2" falsecount="0"/>
271
+ <line num="315" count="2" type="stmt"/>
272
+ <line num="316" count="2" type="cond" truecount="2" falsecount="2"/>
273
+ <line num="317" count="3" type="cond" truecount="2" falsecount="0"/>
274
+ <line num="318" count="3" type="cond" truecount="2" falsecount="0"/>
275
+ <line num="319" count="3" type="stmt"/>
276
+ <line num="321" count="2" type="stmt"/>
277
+ <line num="323" count="8" type="stmt"/>
278
+ <line num="325" count="0" type="stmt"/>
279
+ <line num="329" count="7" type="stmt"/>
280
+ <line num="330" count="7" type="stmt"/>
276
281
  </file>
277
282
  <file name="print-type.ts" path="/home/runner/work/ContractKit/ContractKit/apps/prettier-plugin/src/print-type.ts">
278
283
  <metrics statements="72" coveredstatements="35" conditionals="96" coveredconditionals="45" methods="11" coveredmethods="5"/>