@contractkit/prettier-plugin 0.9.2 → 0.9.4

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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @contractkit/prettier-plugin@0.9.2 build:ci /home/runner/work/ContractKit/ContractKit/apps/prettier-plugin
2
+ > @contractkit/prettier-plugin@0.9.4 build:ci /home/runner/work/ContractKit/ContractKit/apps/prettier-plugin
3
3
  > eslint --max-warnings=0 && pnpm run build
4
4
 
5
5
 
6
- > @contractkit/prettier-plugin@0.9.2 build /home/runner/work/ContractKit/ContractKit/apps/prettier-plugin
6
+ > @contractkit/prettier-plugin@0.9.4 build /home/runner/work/ContractKit/ContractKit/apps/prettier-plugin
7
7
  > tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration
8
8
 
9
9
  CLI Building entry: src/index.ts
@@ -11,9 +11,9 @@
11
11
  CLI tsup v8.5.1
12
12
  CLI Target: esnext
13
13
  ESM Build start
14
- ESM dist/index.js 18.32 KB
15
- ESM dist/index.js.map 44.20 KB
16
- ESM ⚡️ Build success in 166ms
14
+ ESM dist/index.js 20.51 KB
15
+ ESM dist/index.js.map 48.93 KB
16
+ ESM ⚡️ Build success in 92ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 3922ms
18
+ DTS ⚡️ Build success in 3985ms
19
19
  DTS dist/index.d.ts 157.00 B
@@ -1,26 +1,26 @@
1
1
 
2
- > @contractkit/prettier-plugin@0.9.2 test:ci /home/runner/work/ContractKit/ContractKit/apps/prettier-plugin
2
+ > @contractkit/prettier-plugin@0.9.4 test:ci /home/runner/work/ContractKit/ContractKit/apps/prettier-plugin
3
3
  > vitest run --coverage
4
4
 
5
5
 
6
6
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/apps/prettier-plugin
7
7
  Coverage enabled with v8
8
8
 
9
- ✓ tests/print-ck.test.ts (57 tests) 263ms
9
+ ✓ tests/print-ck.test.ts (60 tests) 384ms
10
10
 
11
11
   Test Files  1 passed (1)
12
-  Tests  57 passed (57)
13
-  Start at  13:24:20
14
-  Duration  5.57s (transform 1.61s, setup 0ms, import 4.11s, tests 263ms, environment 0ms)
12
+  Tests  60 passed (60)
13
+  Start at  11:09:07
14
+  Duration  6.19s (transform 1.72s, setup 0ms, import 4.41s, tests 384ms, environment 0ms)
15
15
 
16
16
   % Coverage report from v8
17
17
  -------------------|---------|----------|---------|---------|-------------------
18
18
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
19
19
  -------------------|---------|----------|---------|---------|-------------------
20
- All files | 66.3 | 58.04 | 70.37 | 72.06 |
20
+ All files | 68.47 | 58.91 | 74.19 | 74.69 |
21
21
  indent.ts | 100 | 100 | 100 | 100 |
22
22
  print-ck.ts | 89.85 | 80 | 100 | 98.03 | 59
23
23
  print-contract.ts | 41.93 | 30.35 | 50 | 42.85 | 10,37-68
24
- ...t-operation.ts | 70.62 | 63.74 | 90 | 80.43 | ...92,200-211,243
24
+ ...t-operation.ts | 73.41 | 64.35 | 92.85 | 83.33 | ...61,269-280,312
25
25
  print-type.ts | 47.12 | 46.87 | 45.45 | 48.61 | ...10,139,142-145
26
26
  -------------------|---------|----------|---------|---------|-------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @contractkit/prettier-plugin-contractkit
2
2
 
3
+ ## 0.9.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [10ca07b]
8
+ - @contractkit/core@0.15.0
9
+
10
+ ## 0.9.3
11
+
12
+ ### Patch Changes
13
+
14
+ - a9e9ec0: Replace per-operation `pluginFiles` with structured `pluginExtensions`. The `plugins:` block on an operation now accepts JSON-like values (string, number, boolean, null, object, array) so each plugin owns its own schema for its entry. `file://` URLs in any string position are resolved relative to the `.ck` source file before plugins run, and `http://` / `https://` URLs are fetched via GET. `op.pluginExtensions` carries the resolved tree; the raw form lives at `op.plugins`. The Bruno plugin now expects `{ template: "file://..." }` (was a bare path string) and ships a `validateBrunoExtension` hook that fails compilation on unknown fields or non-string `template`.
15
+
16
+ Plugins can now implement `validateExtension(value)` on the `ContractKitPlugin` interface to surface compilation-time errors/warnings on their entry.
17
+
18
+ All CLI caching is unified under `<rootDir>/.contractkit/cache/` via a new `CacheService` class: `build.json` for file/plugin hashes and `http/<sha256(url)>` for fetched HTTP response bodies. The `cache: string` config field is reinterpreted as a custom cache **directory** (was a custom build-cache filename); previous file paths under `.contractkit-cache` and `.contractkit-http-cache/` are abandoned. Add `.contractkit/` to `.gitignore`.
19
+
20
+ - Updated dependencies [a9e9ec0]
21
+ - @contractkit/core@0.14.0
22
+
3
23
  ## 0.9.2
4
24
 
5
25
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1777901065783" clover="3.2.0">
3
- <project timestamp="1777901065783" name="All files">
4
- <metrics statements="290" coveredstatements="209" conditionals="398" coveredconditionals="231" methods="27" coveredmethods="19" elements="715" coveredelements="459" complexity="0" loc="290" ncloc="290" packages="1" files="5" classes="5"/>
2
+ <coverage generated="1778152154215" clover="3.2.0">
3
+ <project timestamp="1778152154215" 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"/>
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="57" type="stmt"/>
14
- <line num="25" count="57" type="stmt"/>
15
- <line num="26" count="57" type="stmt"/>
16
- <line num="27" count="57" type="cond" truecount="8" falsecount="0"/>
17
- <line num="28" count="57" type="cond" truecount="8" falsecount="0"/>
18
- <line num="30" count="57" type="cond" truecount="7" 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"/>
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="57" type="cond" truecount="2" falsecount="2"/>
49
- <line num="91" count="57" type="stmt"/>
50
- <line num="94" count="57" type="stmt"/>
51
- <line num="95" count="57" type="cond" truecount="2" falsecount="0"/>
52
- <line num="98" count="57" type="cond" truecount="2" falsecount="2"/>
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"/>
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="57" type="stmt"/>
56
- <line num="105" count="57" type="stmt"/>
57
- <line num="106" count="57" type="cond" truecount="2" falsecount="2"/>
58
- <line num="107" count="47" type="cond" truecount="2" falsecount="0"/>
59
- <line num="108" count="47" type="cond" truecount="6" falsecount="0"/>
60
- <line num="109" count="47" type="stmt"/>
61
- <line num="112" count="57" 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"/>
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,145 +92,187 @@
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="138" coveredstatements="111" conditionals="171" coveredconditionals="109" methods="10" coveredmethods="9"/>
96
- <line num="15" count="1" type="stmt"/>
95
+ <metrics statements="180" coveredstatements="150" conditionals="216" coveredconditionals="139" methods="14" coveredmethods="13"/>
97
96
  <line num="16" count="1" type="stmt"/>
98
97
  <line num="17" count="1" type="stmt"/>
99
98
  <line num="18" count="1" type="stmt"/>
100
- <line num="27" count="0" type="stmt"/>
99
+ <line num="19" count="1" type="stmt"/>
101
100
  <line num="28" count="0" type="stmt"/>
102
- <line num="29" count="0" type="cond" truecount="0" falsecount="4"/>
101
+ <line num="29" count="0" type="stmt"/>
103
102
  <line num="30" count="0" type="cond" truecount="0" falsecount="4"/>
104
- <line num="31" count="0" type="stmt"/>
105
- <line num="33" count="0" type="cond" truecount="0" falsecount="2"/>
106
- <line num="34" count="0" type="stmt"/>
107
- <line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
108
- <line num="38" count="0" type="stmt"/>
109
- <line num="45" count="97" type="cond" truecount="3" falsecount="1"/>
110
- <line num="46" count="97" type="cond" truecount="1" falsecount="1"/>
111
- <line num="47" count="0" type="cond" truecount="0" falsecount="4"/>
112
- <line num="48" count="0" type="stmt"/>
113
- <line num="55" count="47" type="stmt"/>
114
- <line num="56" count="47" type="cond" truecount="2" falsecount="0"/>
115
- <line num="57" count="47" type="stmt"/>
116
- <line num="59" count="47" type="cond" truecount="2" falsecount="0"/>
117
- <line num="60" count="3" type="stmt"/>
118
- <line num="63" count="47" type="cond" truecount="2" falsecount="0"/>
119
- <line num="64" count="2" type="stmt"/>
120
- <line num="67" count="47" type="cond" truecount="2" falsecount="2"/>
121
- <line num="69" count="50" type="stmt"/>
122
- <line num="70" count="50" type="stmt"/>
123
- <line num="74" count="47" type="stmt"/>
124
- <line num="76" count="47" type="stmt"/>
125
- <line num="77" count="47" type="stmt"/>
126
- <line num="83" count="3" type="cond" truecount="1" falsecount="1"/>
103
+ <line num="31" count="0" type="cond" truecount="0" falsecount="4"/>
104
+ <line num="32" count="0" type="stmt"/>
105
+ <line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
106
+ <line num="35" count="0" type="stmt"/>
107
+ <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
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"/>
111
+ <line num="48" count="0" type="cond" truecount="0" falsecount="4"/>
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"/>
117
+ <line num="61" count="3" type="stmt"/>
118
+ <line num="64" count="50" type="cond" truecount="2" falsecount="0"/>
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"/>
127
126
  <line num="84" count="3" type="cond" truecount="1" falsecount="1"/>
128
- <line num="85" count="0" type="stmt"/>
129
- <line num="87" count="3" type="cond" truecount="1" falsecount="1"/>
130
- <line num="88" count="3" type="stmt"/>
127
+ <line num="85" count="3" type="cond" truecount="1" falsecount="1"/>
128
+ <line num="86" count="0" type="stmt"/>
129
+ <line num="88" count="3" type="cond" truecount="1" falsecount="1"/>
131
130
  <line num="89" count="3" type="stmt"/>
132
- <line num="90" count="3" type="cond" truecount="2" falsecount="2"/>
133
- <line num="91" count="3" type="cond" truecount="1" falsecount="1"/>
134
- <line num="92" count="3" type="stmt"/>
135
- <line num="93" count="3" type="cond" truecount="1" falsecount="1"/>
131
+ <line num="90" count="3" type="stmt"/>
132
+ <line num="91" count="3" type="cond" truecount="2" falsecount="2"/>
133
+ <line num="92" count="3" type="cond" truecount="1" falsecount="1"/>
134
+ <line num="93" count="3" type="stmt"/>
136
135
  <line num="94" count="3" type="cond" truecount="1" falsecount="1"/>
137
- <line num="95" count="3" type="cond" truecount="2" falsecount="0"/>
138
- <line num="96" count="3" type="stmt"/>
139
- <line num="98" count="3" type="stmt"/>
136
+ <line num="95" count="3" type="cond" truecount="1" falsecount="1"/>
137
+ <line num="96" count="3" type="cond" truecount="2" falsecount="0"/>
138
+ <line num="97" count="3" type="stmt"/>
140
139
  <line num="99" count="3" type="stmt"/>
141
- <line num="102" count="0" type="stmt"/>
142
- <line num="108" count="50" type="stmt"/>
143
- <line num="109" count="50" type="cond" truecount="2" falsecount="0"/>
144
- <line num="110" count="50" type="cond" truecount="6" falsecount="0"/>
145
- <line num="111" count="50" type="stmt"/>
146
- <line num="113" count="50" type="cond" truecount="1" falsecount="1"/>
147
- <line num="114" count="50" type="cond" truecount="1" falsecount="1"/>
148
- <line num="115" count="50" type="cond" truecount="1" falsecount="1"/>
149
- <line num="116" count="50" type="cond" truecount="2" falsecount="0"/>
150
- <line num="117" count="2" type="cond" truecount="1" falsecount="1"/>
151
- <line num="118" count="2" type="stmt"/>
152
- <line num="120" count="50" type="cond" truecount="2" falsecount="0"/>
153
- <line num="121" count="50" type="cond" truecount="4" falsecount="0"/>
154
- <line num="122" count="3" type="stmt"/>
155
- <line num="123" count="4" type="cond" truecount="2" falsecount="2"/>
156
- <line num="124" count="4" type="stmt"/>
157
- <line num="126" count="3" type="stmt"/>
158
- <line num="128" count="50" type="cond" truecount="2" falsecount="0"/>
159
- <line num="129" count="50" type="cond" truecount="2" falsecount="0"/>
160
- <line num="130" count="1" type="stmt"/>
161
- <line num="131" count="49" type="cond" truecount="2" falsecount="0"/>
162
- <line num="132" count="2" type="stmt"/>
163
- <line num="134" count="50" type="cond" truecount="2" falsecount="0"/>
164
- <line num="135" count="3" type="stmt"/>
165
- <line num="136" count="3" type="cond" truecount="2" falsecount="2"/>
166
- <line num="137" count="4" type="stmt"/>
167
- <line num="139" count="3" type="stmt"/>
168
- <line num="141" count="50" type="cond" truecount="2" falsecount="0"/>
169
- <line num="142" count="7" type="stmt"/>
170
- <line num="145" count="50" type="stmt"/>
171
- <line num="146" count="50" type="stmt"/>
172
- <line num="153" count="2" type="cond" truecount="2" falsecount="0"/>
173
- <line num="158" count="5" type="cond" truecount="8" falsecount="0"/>
174
- <line num="159" count="5" type="cond" truecount="2" falsecount="0"/>
175
- <line num="160" count="3" type="stmt"/>
176
- <line num="161" count="3" type="cond" truecount="2" falsecount="0"/>
177
- <line num="162" count="5" type="cond" truecount="1" falsecount="1"/>
178
- <line num="163" count="3" type="stmt"/>
179
- <line num="164" count="3" type="cond" truecount="1" falsecount="1"/>
180
- <line num="165" count="5" type="stmt"/>
181
- <line num="166" count="5" type="stmt"/>
182
- <line num="167" count="5" type="stmt"/>
183
- <line num="173" count="9" type="cond" truecount="1" falsecount="1"/>
184
- <line num="174" count="9" type="cond" truecount="1" falsecount="1"/>
185
- <line num="175" count="0" type="stmt"/>
186
- <line num="177" count="9" type="cond" truecount="1" falsecount="1"/>
187
- <line num="178" count="9" type="cond" truecount="1" falsecount="1"/>
188
- <line num="179" count="9" type="stmt"/>
189
- <line num="180" count="9" type="cond" truecount="2" falsecount="2"/>
190
- <line num="181" count="11" type="cond" truecount="2" falsecount="0"/>
191
- <line num="182" count="11" type="stmt"/>
192
- <line num="183" count="11" type="cond" truecount="2" falsecount="0"/>
193
- <line num="184" count="11" type="cond" truecount="2" falsecount="0"/>
194
- <line num="185" count="11" type="cond" truecount="2" falsecount="0"/>
195
- <line num="186" count="11" type="stmt"/>
196
- <line num="188" count="9" type="stmt"/>
197
- <line num="189" count="9" type="stmt"/>
198
- <line num="192" count="0" type="stmt"/>
199
- <line num="199" count="10" type="cond" truecount="1" falsecount="1"/>
200
- <line num="200" count="0" type="stmt"/>
201
- <line num="201" count="0" type="stmt"/>
202
- <line num="202" count="0" type="cond" truecount="0" falsecount="4"/>
203
- <line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
204
- <line num="204" count="0" type="stmt"/>
205
- <line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
206
- <line num="206" count="0" type="cond" truecount="0" falsecount="2"/>
207
- <line num="207" count="0" type="cond" truecount="0" falsecount="2"/>
208
- <line num="208" count="0" type="stmt"/>
209
- <line num="210" count="0" type="stmt"/>
210
- <line num="211" count="0" type="stmt"/>
211
- <line num="213" count="10" type="stmt"/>
212
- <line num="219" count="7" type="stmt"/>
213
- <line num="221" count="7" type="cond" truecount="2" falsecount="2"/>
214
- <line num="222" count="8" type="cond" truecount="2" falsecount="0"/>
215
- <line num="223" count="8" type="cond" truecount="2" falsecount="0"/>
216
- <line num="224" count="8" type="stmt"/>
217
- <line num="225" count="8" type="cond" truecount="4" falsecount="1"/>
218
- <line num="226" count="8" type="stmt"/>
219
- <line num="227" count="8" type="cond" truecount="2" falsecount="0"/>
220
- <line num="228" count="6" type="stmt"/>
221
- <line num="230" count="8" type="cond" truecount="2" falsecount="0"/>
222
- <line num="231" count="1" type="stmt"/>
223
- <line num="232" count="7" type="cond" truecount="2" falsecount="0"/>
224
- <line num="233" count="2" type="stmt"/>
225
- <line num="234" count="2" type="cond" truecount="2" falsecount="2"/>
226
- <line num="235" count="3" type="cond" truecount="2" falsecount="0"/>
227
- <line num="236" count="3" type="cond" truecount="2" falsecount="0"/>
228
- <line num="237" count="3" type="stmt"/>
229
- <line num="239" count="2" type="stmt"/>
230
- <line num="241" count="8" type="stmt"/>
231
- <line num="243" count="0" type="stmt"/>
232
- <line num="247" count="7" type="stmt"/>
233
- <line num="248" count="7" type="stmt"/>
140
+ <line num="100" count="3" type="stmt"/>
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="227" count="5" type="cond" truecount="8" falsecount="0"/>
216
+ <line num="228" count="5" type="cond" truecount="2" falsecount="0"/>
217
+ <line num="229" count="3" type="stmt"/>
218
+ <line num="230" count="3" type="cond" truecount="2" falsecount="0"/>
219
+ <line num="231" count="5" type="cond" truecount="1" falsecount="1"/>
220
+ <line num="232" count="3" type="stmt"/>
221
+ <line num="233" count="3" type="cond" truecount="1" falsecount="1"/>
222
+ <line num="234" count="5" type="stmt"/>
223
+ <line num="235" count="5" type="stmt"/>
224
+ <line num="236" count="5" type="stmt"/>
225
+ <line num="242" count="9" type="cond" truecount="1" falsecount="1"/>
226
+ <line num="243" count="9" type="cond" truecount="1" falsecount="1"/>
227
+ <line num="244" count="0" type="stmt"/>
228
+ <line num="246" count="9" type="cond" truecount="1" falsecount="1"/>
229
+ <line num="247" count="9" type="cond" truecount="1" falsecount="1"/>
230
+ <line num="248" count="9" type="stmt"/>
231
+ <line num="249" count="9" type="cond" truecount="2" falsecount="2"/>
232
+ <line num="250" count="11" type="cond" truecount="2" falsecount="0"/>
233
+ <line num="251" count="11" type="stmt"/>
234
+ <line num="252" count="11" type="cond" truecount="2" falsecount="0"/>
235
+ <line num="253" count="11" type="cond" truecount="2" falsecount="0"/>
236
+ <line num="254" count="11" type="cond" truecount="2" falsecount="0"/>
237
+ <line num="255" count="11" type="stmt"/>
238
+ <line num="257" count="9" type="stmt"/>
239
+ <line num="258" count="9" type="stmt"/>
240
+ <line num="261" count="0" type="stmt"/>
241
+ <line num="268" count="10" type="cond" truecount="1" falsecount="1"/>
242
+ <line num="269" count="0" type="stmt"/>
243
+ <line num="270" count="0" type="stmt"/>
244
+ <line num="271" count="0" type="cond" truecount="0" falsecount="4"/>
245
+ <line num="272" count="0" type="cond" truecount="0" falsecount="2"/>
246
+ <line num="273" count="0" type="stmt"/>
247
+ <line num="274" count="0" type="cond" truecount="0" falsecount="2"/>
248
+ <line num="275" count="0" type="cond" truecount="0" falsecount="2"/>
249
+ <line num="276" count="0" type="cond" truecount="0" falsecount="2"/>
250
+ <line num="277" count="0" type="stmt"/>
251
+ <line num="279" count="0" type="stmt"/>
252
+ <line num="280" count="0" type="stmt"/>
253
+ <line num="282" count="10" type="stmt"/>
254
+ <line num="288" count="7" type="stmt"/>
255
+ <line num="290" count="7" type="cond" truecount="2" falsecount="2"/>
256
+ <line num="291" count="8" type="cond" truecount="2" falsecount="0"/>
257
+ <line num="292" count="8" type="cond" truecount="2" falsecount="0"/>
258
+ <line num="293" count="8" type="stmt"/>
259
+ <line num="294" count="8" type="cond" truecount="4" falsecount="1"/>
260
+ <line num="295" count="8" type="stmt"/>
261
+ <line num="296" count="8" type="cond" truecount="2" falsecount="0"/>
262
+ <line num="297" count="6" type="stmt"/>
263
+ <line num="299" count="8" type="cond" truecount="2" falsecount="0"/>
264
+ <line num="300" count="1" type="stmt"/>
265
+ <line num="301" count="7" type="cond" truecount="2" falsecount="0"/>
266
+ <line num="302" count="2" type="stmt"/>
267
+ <line num="303" count="2" type="cond" truecount="2" falsecount="2"/>
268
+ <line num="304" count="3" type="cond" truecount="2" falsecount="0"/>
269
+ <line num="305" count="3" type="cond" truecount="2" falsecount="0"/>
270
+ <line num="306" count="3" type="stmt"/>
271
+ <line num="308" count="2" type="stmt"/>
272
+ <line num="310" count="8" type="stmt"/>
273
+ <line num="312" count="0" type="stmt"/>
274
+ <line num="316" count="7" type="stmt"/>
275
+ <line num="317" count="7" type="stmt"/>
234
276
  </file>
235
277
  <file name="print-type.ts" path="/home/runner/work/ContractKit/ContractKit/apps/prettier-plugin/src/print-type.ts">
236
278
  <metrics statements="72" coveredstatements="35" conditionals="96" coveredconditionals="45" methods="11" coveredmethods="5"/>