UNPKG

15.5 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
5### [7.3.2](https://www.github.com/bcoe/c8/compare/v7.3.1...v7.3.2) (2020-10-08)
6
7
8### Bug Fixes
9
10* **v8-to-istanbul:** pull in fix for missing branches ([#258](https://www.github.com/bcoe/c8/issues/258)) ([eaffa78](https://www.github.com/bcoe/c8/commit/eaffa7836155d051a0d13899f70a728819860bdb))
11
12### [7.3.1](https://www.github.com/bcoe/c8/compare/v7.3.0...v7.3.1) (2020-09-10)
13
14
15### Bug Fixes
16
17* **deps:** update dependency yargs to v16 ([#251](https://www.github.com/bcoe/c8/issues/251)) ([0436816](https://www.github.com/bcoe/c8/commit/0436816ef0ceb4cff25f65dfff1843a2bad80ca1))
18* **deps:** update dependency yargs-parser to v20 ([#252](https://www.github.com/bcoe/c8/issues/252)) ([ae845f0](https://www.github.com/bcoe/c8/commit/ae845f0bf52c5b1547263079f210ad99c6bd4d7b))
19* add missing space in text ([#245](https://www.github.com/bcoe/c8/issues/245)) ([efe6d04](https://www.github.com/bcoe/c8/commit/efe6d041aa0a1620f9b2e4717ba5d2a96da7a5a3))
20* **deps:** update dependency find-up to v5 ([#242](https://www.github.com/bcoe/c8/issues/242)) ([8a0cfd7](https://www.github.com/bcoe/c8/commit/8a0cfd702e35fa9d7e87ef99f0fd08dd92cd9614))
21* **deps:** update dependency yargs-parser to v19 ([#241](https://www.github.com/bcoe/c8/issues/241)) ([baa01df](https://www.github.com/bcoe/c8/commit/baa01df3dede86373773acfae086647da2b43549))
22
23## [7.3.0](https://www.github.com/bcoe/c8/compare/v7.2.1...v7.3.0) (2020-08-03)
24
25
26### Features
27
28* adds support for 1:many source maps ([#238](https://www.github.com/bcoe/c8/issues/238)) ([dbf94a0](https://www.github.com/bcoe/c8/commit/dbf94a0dcf8104ef8d5ec1ccd6198594bc6c2bd3))
29
30### [7.2.1](https://www.github.com/bcoe/c8/compare/v7.2.0...v7.2.1) (2020-07-11)
31
32
33### Bug Fixes
34
35* ignore missing source maps in raw coverage output ([#233](https://www.github.com/bcoe/c8/issues/233)) ([eed98af](https://www.github.com/bcoe/c8/commit/eed98afae8dc6878c64b157d5007b0d9ce3bd59f))
36
37## [7.2.0](https://www.github.com/bcoe/c8/compare/v7.1.2...v7.2.0) (2020-05-25)
38
39
40### Features
41
42* support for instrumenting files outside of current working directory ([7e53a0e](https://www.github.com/bcoe/c8/commit/7e53a0ecf93eda5467e2a8ac7d33cf8d6af84cf1))
43
44### [7.1.2](https://www.github.com/bcoe/c8/compare/v7.1.1...v7.1.2) (2020-05-04)
45
46
47### Bug Fixes
48
49* **deps:** update dependency yargs-parser to v18 ([#202](https://www.github.com/bcoe/c8/issues/202)) ([983de44](https://www.github.com/bcoe/c8/commit/983de440cf8876eb223975f06ddb658a7b8f4220))
50
51### [7.1.1](https://www.github.com/bcoe/c8/compare/v7.1.0...v7.1.1) (2020-04-29)
52
53
54### Bug Fixes
55
56* **deps:** update dependency yargs-parser to v17 ([#201](https://www.github.com/bcoe/c8/issues/201)) ([d730c63](https://www.github.com/bcoe/c8/commit/d730c63235c1292da65cdc19ba68ffcb9d316dc2))
57* escaping issue with cobertura reporter ([#203](https://www.github.com/bcoe/c8/issues/203)) ([e93747b](https://www.github.com/bcoe/c8/commit/e93747b9e9044fa14f5ceebda9d0d789aba1c655))
58
59## [7.1.0](https://www.github.com/bcoe/c8/compare/v7.0.1...v7.1.0) (2020-02-09)
60
61
62### Features
63
64* adds TypeScript definitions ([d39801b](https://www.github.com/bcoe/c8/commit/d39801bc9b2713aa56592010e6394a295bd12b0b)), closes [#195](https://www.github.com/bcoe/c8/issues/195)
65
66
67### Bug Fixes
68
69* **deps:** update dependency furi to v2 ([#193](https://www.github.com/bcoe/c8/issues/193)) ([6b9af6e](https://www.github.com/bcoe/c8/commit/6b9af6ee8cbbacd85eea91dc49bb269fe3651c12))
70* **deps:** v8-to-istanbul with patch for crasher ([#200](https://www.github.com/bcoe/c8/issues/200)) ([d4b7d80](https://www.github.com/bcoe/c8/commit/d4b7d80d78f3d1cb2e9a2e9e106af0cef327b446))
71
72### [7.0.1](https://www.github.com/bcoe/c8/compare/v7.0.0...v7.0.1) (2020-01-13)
73
74
75### Bug Fixes
76
77* all flag not propagated to check-coverage command ([#188](https://www.github.com/bcoe/c8/issues/188)) ([86eaf72](https://www.github.com/bcoe/c8/commit/86eaf72a8c7af93d6ec9699b741d11df50017a8d))
78
79## [7.0.0](https://www.github.com/bcoe/c8/compare/v6.0.1...v7.0.0) (2019-12-22)
80
81
82### ⚠ BREAKING CHANGES
83
84* new test-exclude with modified exclude rules (#179)
85* **istanbul-reports:** lcov reports now use relative paths (#168)
86
87### Features
88
89* adds --all functionality ([#158](https://www.github.com/bcoe/c8/issues/158)) ([2eb631e](https://www.github.com/bcoe/c8/commit/2eb631e460eba3d06925ee1d128e0db82ec50b6c))
90* **istanbul-reports:** lcov reports now use relative paths ([#168](https://www.github.com/bcoe/c8/issues/168)) ([35d9338](https://www.github.com/bcoe/c8/commit/35d9338b69ba803c19a19d16ff601e3ec5692fa6))
91* new test-exclude with modified exclude rules ([#179](https://www.github.com/bcoe/c8/issues/179)) ([af7d94d](https://www.github.com/bcoe/c8/commit/af7d94d715ab98d67e6b5bff5dfba19430681c9c))
92
93
94### Bug Fixes
95
96* **deps:** update dependency v8-to-istanbul to v4 ([#167](https://www.github.com/bcoe/c8/issues/167)) ([97b9769](https://www.github.com/bcoe/c8/commit/97b97699870ddc4af780cedb25cbb3a87e0eb777))
97* **deps:** update dependency yargs to v15 ([#164](https://www.github.com/bcoe/c8/issues/164)) ([e41a483](https://www.github.com/bcoe/c8/commit/e41a4831aac92591f303d48038a327e9631affee))
98* **deps:** update dependency yargs-parser to v16 ([#157](https://www.github.com/bcoe/c8/issues/157)) ([15746e5](https://www.github.com/bcoe/c8/commit/15746e51640e6e172f27f02c12056e2977342005))
99
100### [6.0.1](https://github.com/bcoe/c8/compare/v6.0.0...v6.0.1) (2019-10-26)
101
102
103### Bug Fixes
104
105* regex flags in dependency were breaking Node 8 ([a9d9645](https://github.com/bcoe/c8/commit/a9d9645858031cee985087828f5e04cfd8922868))
106
107## [6.0.0](https://github.com/bcoe/c8/compare/v5.0.4...v6.0.0) (2019-10-24)
108
109
110### ⚠ BREAKING CHANGES
111
112* Node.js' source-map and lineLength cache is now used to remap coverage output (this allows tools like ts-node to be supported, which transpile at runtime).
113
114### Features
115
116* use Node.js' source-map cache, to support tools like ts-node ([#152](https://github.com/bcoe/c8/issues/152)) ([53bba15](https://github.com/bcoe/c8/commit/53bba15bee07e8f0446fd85cc59d2b562fe34a21))
117
118
119### Bug Fixes
120
121* **deps:** update dependency yargs-parser to v15 ([#153](https://github.com/bcoe/c8/issues/153)) ([80153de](https://github.com/bcoe/c8/commit/80153de61be8e5830f1c228945184e4878f8cf0c))
122
123### [5.0.4](https://github.com/bcoe/c8/compare/v5.0.3...v5.0.4) (2019-09-06)
124
125
126### Bug Fixes
127
128* **deps:** merging failed when the same script occurred multiple times in the same report ([#147](https://github.com/bcoe/c8/issues/147)) ([1ebcaf9](https://github.com/bcoe/c8/commit/1ebcaf9))
129* don't load JSON that does not look like coverage ([#146](https://github.com/bcoe/c8/issues/146)) ([a6481f1](https://github.com/bcoe/c8/commit/a6481f1))
130* **deps:** update dependency yargs-parser to v14 ([#144](https://github.com/bcoe/c8/issues/144)) ([9b3d089](https://github.com/bcoe/c8/commit/9b3d089))
131
132### [5.0.3](https://www.github.com/bcoe/c8/compare/v5.0.2...v5.0.3) (2019-09-06)
133
134
135### Bug Fixes
136
137* **deps:** update dependency rimraf to v3 ([#132](https://www.github.com/bcoe/c8/issues/132)) ([7601748](https://www.github.com/bcoe/c8/commit/7601748))
138* **deps:** update dependency yargs to v14 ([#134](https://www.github.com/bcoe/c8/issues/134)) ([e49737f](https://www.github.com/bcoe/c8/commit/e49737f))
139* **deps:** update deps to address warning in cross-spawn ([#141](https://www.github.com/bcoe/c8/issues/141)) ([4b66221](https://www.github.com/bcoe/c8/commit/4b66221))
140
141### [5.0.2](https://www.github.com/bcoe/c8/compare/v5.0.1...v5.0.2) (2019-06-24)
142
143
144### Bug Fixes
145
146* HTML report now has correct source positions for Node >10.16.0 ([#125](https://www.github.com/bcoe/c8/issues/125)) ([c49fa7f](https://www.github.com/bcoe/c8/commit/c49fa7f))
147* **deps:** update dependency find-up to v4 ([#119](https://www.github.com/bcoe/c8/issues/119)) ([c568d96](https://www.github.com/bcoe/c8/commit/c568d96))
148* **deps:** update dependency yargs-parser to v13 ([#124](https://www.github.com/bcoe/c8/issues/124)) ([1eb3394](https://www.github.com/bcoe/c8/commit/1eb3394))
149* do not override NODE_V8_COVERAGE if set ([#70](https://www.github.com/bcoe/c8/issues/70)) ([8bb67b0](https://www.github.com/bcoe/c8/commit/8bb67b0))
150
151### [5.0.1](https://www.github.com/bcoe/c8/compare/v5.0.0...v5.0.1) (2019-05-20)
152
153
154### Bug Fixes
155
156* temporary files should be in tmp folder ([#106](https://www.github.com/bcoe/c8/issues/106)) ([64dd2e6](https://www.github.com/bcoe/c8/commit/64dd2e6))
157
158## [5.0.0](https://www.github.com/bcoe/c8/compare/v4.1.5...v5.0.0) (2019-05-20)
159
160
161### ⚠ BREAKING CHANGES
162
163* temp directory now defaults to setting for report directory
164
165### Features
166
167* default temp directory to report directory ([#102](https://www.github.com/bcoe/c8/issues/102)) ([8602f4a](https://www.github.com/bcoe/c8/commit/8602f4a))
168* load .nycrc/.nycrc.json to simplify migration ([#100](https://www.github.com/bcoe/c8/issues/100)) ([bd7484f](https://www.github.com/bcoe/c8/commit/bd7484f))
169
170### [4.1.5](https://github.com/bcoe/c8/compare/v4.1.4...v4.1.5) (2019-05-11)
171
172
173### Bug Fixes
174
175* exit with code 1 when report output fails ([#92](https://github.com/bcoe/c8/issues/92)) ([a27b694](https://github.com/bcoe/c8/commit/a27b694))
176* remove the unmaintained mkdirp dependency ([#91](https://github.com/bcoe/c8/issues/91)) ([a465b65](https://github.com/bcoe/c8/commit/a465b65))
177
178
179
180## [4.1.4](https://github.com/bcoe/c8/compare/v4.1.3...v4.1.4) (2019-05-03)
181
182
183### Bug Fixes
184
185* we were not exiting with 1 if mkdir failed ([#89](https://github.com/bcoe/c8/issues/89)) ([fb02ed6](https://github.com/bcoe/c8/commit/fb02ed6))
186
187
188
189## [4.1.3](https://github.com/bcoe/c8/compare/v4.1.2...v4.1.3) (2019-05-03)
190
191
192### Bug Fixes
193
194* switch to mkdirp for Node 8 ([206b83f](https://github.com/bcoe/c8/commit/206b83f))
195
196
197
198## [4.1.2](https://github.com/bcoe/c8/compare/v4.1.1...v4.1.2) (2019-05-02)
199
200
201### Bug Fixes
202
203* make tmp directory regardless of clean ([44d2185](https://github.com/bcoe/c8/commit/44d2185))
204
205
206
207## [4.1.1](https://github.com/bcoe/c8/compare/v4.1.0...v4.1.1) (2019-05-02)
208
209
210
211# [4.1.0](https://github.com/bcoe/c8/compare/v4.0.0...v4.1.0) (2019-05-02)
212
213
214### Bug Fixes
215
216* exclude coverage of the CJS-ESM bridge from results ([#83](https://github.com/bcoe/c8/issues/83)) ([da2c945](https://github.com/bcoe/c8/commit/da2c945))
217* upgrade to @bcoe/v8-coverage with breaking regex dropped ([6c28e7f](https://github.com/bcoe/c8/commit/6c28e7f))
218
219
220### Features
221
222* add --report-dir alias (for consistency with nyc) ([0dd1b04](https://github.com/bcoe/c8/commit/0dd1b04))
223* add support for ignoring lines, functions, and blocks ([#87](https://github.com/bcoe/c8/issues/87)) ([c66950e](https://github.com/bcoe/c8/commit/c66950e))
224
225
226
227# [4.0.0](https://github.com/bcoe/c8/compare/v3.5.0...v4.0.0) (2019-05-02)
228
229
230### Features
231
232* add support for 1:1 source-maps ([#85](https://github.com/bcoe/c8/issues/85)) ([6ca4345](https://github.com/bcoe/c8/commit/6ca4345))
233* foreground-child's done() method was not being called ([#82](https://github.com/bcoe/c8/issues/82)) ([fde596e](https://github.com/bcoe/c8/commit/fde596e))
234
235
236### BREAKING CHANGES
237
238* c8 will now load source-maps if possible and remap coverage accordingly
239
240
241
242# [3.5.0](https://github.com/bcoe/c8/compare/v3.4.0...v3.5.0) (2019-04-12)
243
244
245### Features
246
247* allow --reports-dir to be configured ([#65](https://github.com/bcoe/c8/issues/65)) ([5ab31f5](https://github.com/bcoe/c8/commit/5ab31f5))
248
249
250
251<a name="3.4.0"></a>
252# [3.4.0](https://github.com/bcoe/c8/compare/v3.3.0...v3.4.0) (2019-01-24)
253
254
255### Features
256
257* support --check-coverage for reports ([#60](https://github.com/bcoe/c8/issues/60)) ([b542930](https://github.com/bcoe/c8/commit/b542930))
258
259
260
261<a name="3.3.0"></a>
262# [3.3.0](https://github.com/bcoe/c8/compare/v3.2.1...v3.3.0) (2019-01-23)
263
264
265### Bug Fixes
266
267* file URL to system path conversion ([#46](https://github.com/bcoe/c8/issues/46)) ([e7f8cf2](https://github.com/bcoe/c8/commit/e7f8cf2))
268* float patch for branch/function coverage merge bug ([#56](https://github.com/bcoe/c8/issues/56)) ([1de0cca](https://github.com/bcoe/c8/commit/1de0cca))
269* snapshot ([7fd9e13](https://github.com/bcoe/c8/commit/7fd9e13))
270
271
272### Features
273
274* add thresholds for enforcing coverage percentage ([#59](https://github.com/bcoe/c8/issues/59)) ([70e8943](https://github.com/bcoe/c8/commit/70e8943))
275* allow script wrapper length to be specified ([#51](https://github.com/bcoe/c8/issues/51)) ([a22c4e0](https://github.com/bcoe/c8/commit/a22c4e0))
276
277
278
279<a name="3.2.1"></a>
280## [3.2.1](https://github.com/bcoe/c8/compare/v3.2.0...v3.2.1) (2018-10-21)
281
282
283### Bug Fixes
284
285* address file:// issue with CJS ([#39](https://github.com/bcoe/c8/issues/39)) ([d4f9cab](https://github.com/bcoe/c8/commit/d4f9cab))
286* process coverage merging ([#37](https://github.com/bcoe/c8/issues/37)) ([67959b4](https://github.com/bcoe/c8/commit/67959b4))
287
288
289
290<a name="3.2.0"></a>
291# [3.2.0](https://github.com/bcoe/c8/compare/v3.1.0...v3.2.0) (2018-09-16)
292
293
294### Bug Fixes
295
296* make tests run on Windows ([#25](https://github.com/bcoe/c8/issues/25)) ([08e44d0](https://github.com/bcoe/c8/commit/08e44d0))
297
298
299### Features
300
301* improve test assertions ([#28](https://github.com/bcoe/c8/issues/28)) ([522720e](https://github.com/bcoe/c8/commit/522720e))
302* warn instead of throw on exception ([#29](https://github.com/bcoe/c8/issues/29)) ([a8620d4](https://github.com/bcoe/c8/commit/a8620d4))
303
304
305
306<a name="3.1.0"></a>
307# [3.1.0](https://github.com/bcoe/c8/compare/v3.0.3...v3.1.0) (2018-09-11)
308
309
310### Features
311
312* allow relative paths to be optionally included ([3806c79](https://github.com/bcoe/c8/commit/3806c79))
313
314
315
316<a name="3.0.3"></a>
317## [3.0.3](https://github.com/bcoe/c8/compare/v3.0.2...v3.0.3) (2018-09-10)
318
319
320
321<a name="3.0.2"></a>
322## [3.0.2](https://github.com/bcoe/c8/compare/v3.0.1...v3.0.2) (2018-09-10)
323
324
325
326<a name="3.0.1"></a>
327## [3.0.1](https://github.com/bcoe/c8/compare/v3.0.0...v3.0.1) (2018-09-10)
328
329
330
331<a name="3.0.0"></a>
332# [3.0.0](https://github.com/bcoe/c8/compare/v1.0.1...v3.0.0) (2018-09-10)
333
334### Features
335
336* switch to using Node's built in coverage ([#22](https://github.com/bcoe/c8/issues/22)) ([3c1b92b](https://github.com/bcoe/c8/commit/3c1b92b))
337
338
339### BREAKING CHANGES
340
341* switches to using NODE_V8_COVERAGE rather than inspector directly
342
343
344<a name="2.0.0"></a>
345# [2.0.0](https://github.com/bcoe/c8/compare/v1.0.1...v2.0.0) (2017-12-17)
346
347
348### Bug Fixes
349
350* tweak inspector event timing ([#6](https://github.com/bcoe/c8/issues/6)) ([01f654e](https://github.com/bcoe/c8/commit/01f654e))
351
352
353### Features
354
355* first pass at functional prototype without subprocess support ([#5](https://github.com/bcoe/c8/issues/5)) ([9534f56](https://github.com/bcoe/c8/commit/9534f56))
356* implement Istanbul reporting ([#8](https://github.com/bcoe/c8/issues/8)) ([8e430bf](https://github.com/bcoe/c8/commit/8e430bf))
357* switch to stderr and default port ([#7](https://github.com/bcoe/c8/issues/7)) ([bb117b7](https://github.com/bcoe/c8/commit/bb117b7))
358
359
360### BREAKING CHANGES
361
362* dropped subprocess support for the time being, while we march towards an initial implementation.
363
364
365
366<a name="1.0.1"></a>
367## [1.0.1](https://github.com/bcoe/c8/compare/v1.0.0...v1.0.1) (2017-10-26)
368
369
370### Bug Fixes
371
372* pin to functional version of spawn-wrap ([d1ced8c](https://github.com/bcoe/c8/commit/d1ced8c))
373
374
375
376<a name="1.0.0"></a>
377# 1.0.0 (2017-10-26)
378
379
380### Features
381
382* playing around with initial implementation ([18f5471](https://github.com/bcoe/c8/commit/18f5471))