source: trip-planner-front/node_modules/karma-coverage/CHANGELOG.md@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 16.7 KB
Line 
1## [2.0.3](https://github.com/karma-runner/karma-coverage/compare/v2.0.2...v2.0.3) (2020-07-24)
2
3
4### Bug Fixes
5
6* **report:** waiting promise resolve in onExist method fix [#418](https://github.com/karma-runner/karma-coverage/issues/418) ([c93f061](https://github.com/karma-runner/karma-coverage/commit/c93f0612da6898fb5cfbb9ece57556a2704c4397))
7
8## [2.0.2](https://github.com/karma-runner/karma-coverage/compare/v2.0.1...v2.0.2) (2020-04-13)
9
10
11### Bug Fixes
12
13* **reporter:** update calls to match new API in istanbul-lib-report fix [#398](https://github.com/karma-runner/karma-coverage/issues/398) ([#403](https://github.com/karma-runner/karma-coverage/issues/403)) ([4962a70](https://github.com/karma-runner/karma-coverage/commit/4962a70026efbbd77e9fa7b6bfd6be29047c1082))
14* remove information about old istanbul lib ([#404](https://github.com/karma-runner/karma-coverage/issues/404)) ([5cf931a](https://github.com/karma-runner/karma-coverage/commit/5cf931afe331cfcebf7cf934ec52de933344091d))
15
16<a name="2.0.1"></a>
17## [2.0.1](https://github.com/karma-runner/karma-coverage/compare/v2.0.0...v2.0.1) (2019-08-20)
18
19
20
21<a name="2.0.0"></a>
22# [2.0.0](https://github.com/karma-runner/karma-coverage/compare/v1.1.1...v2.0.0) (2019-08-20)
23
24
25### Bug Fixes
26
27* **build:** Update to lodash 4 ([d6d21d2](https://github.com/karma-runner/karma-coverage/commit/d6d21d2)), closes [#242](https://github.com/karma-runner/karma-coverage/issues/242)
28* **reporter:** replace colons in the output path ([3b2bffa](https://github.com/karma-runner/karma-coverage/commit/3b2bffa))
29* bump lodash for CVE-2018-16487 ([15f8b12](https://github.com/karma-runner/karma-coverage/commit/15f8b12))
30
31
32### Chores
33
34* Update travis config ([00090ea](https://github.com/karma-runner/karma-coverage/commit/00090ea))
35* **deps:** Use latest istanbul lib packages ([#377](https://github.com/karma-runner/karma-coverage/issues/377)) ([f40d6af](https://github.com/karma-runner/karma-coverage/commit/f40d6af))
36
37
38### BREAKING CHANGES
39
40* **deps:** This set of changes may impact some use cases.
41
42* chore: Add Updated Istanbul Dependencies
43
44The istanbul package is deprecated in favor several split packages that
45control different aspects of how istanbul works. This commit adds the
46recommended packages that will be used in future commits as
47karma-coverage's usage of istanbul is updated to the latest api.
48
49* refactor(reporter): Follow new report API
50
51This commit refactors the in memory report implementation to use the new
52istanbul report API.
53
54Report creation is removed from newer versions of the istanbul API, so
55this commit adds a set of utility functions to wrap around the new API
56and provide similar functionality as the old API. The top level export
57uses the new utility function to register the in-memory report.
58
59* refactor(preprocessor): Switch to istanbul-lib-instrument
60
61This commit updates the preprocessor to use istanbul-lib-instrument
62instead of the deprecated istanbul package. The biggest change in this
63refactor is using a callable function instead of a constructor when
64creating instrumenters
65
66The old istanbul package exposed the Instrumenter directly, allowing the
67preprocessor to create an instance of it. istanbul-lib-instrument,
68however, exposes a callable function that creates an Instrumenter.
69This commit updates the preprocessor to follow this new pattern of using
70a callable function. In order to ensure backwards compatibility, a
71utility function is added to wrap constructors with a callable function
72for creation automatically.
73
74This change allows the following configuration for creating instrumenters:
751. An object that contains an Instrumenter constructor
762. An Instrumenter constructor itself
773. A callable function that returns an Instrumenter instance.
78
79This commit also uses the istanbul-lib-source-maps package to handle
80storing source maps. A global source map store registers source maps so
81they can be used later on in the reporter.
82
83* refactor(reporter): Switch to istanbul-lib-coverage
84
85This commit updates the reporter by using the istanbul-lib-coverage
86package api for handling coverage checking/management and the
87istanbul-lib-report package api for handling reporting.
88
89The new apis remove the need for collectors and remove the need to
90handle disposing collectors.
91
92* refactor: Remove unused source cache utilities
93
94This commit removes the source-cache-store and source-cache files as
95they are no longer being used. The source-map-store and
96istanbul-lib-source-maps are used instead, so these files are no longer
97needed.
98
99* feat(util): Add Reset Functionality
100
101This commit updates the report creator utility to allow resetting the
102custom reporter map.
103
104* fix(preprocessor): Track Coverage Maps Properly
105
106This commit updates the preprocessor to properly access file coverage
107when storing it in the global coverage map (when includeAllSources is
108true). The previous method did not work because the returned
109instrumented code from the default istanbul instrumenter returns the
110coverage map in a POJO object instead of JSON notation. This breaks the
111coverage regex used to match and parse the coverage map.
112
113The istanbul instrumenter offers the ability to receive the coverage map
114for the last instrumented file through a separate function, so that is
115tested for and used if it is supported. The original method is used as a
116fallback for backwards compatibility.
117
118This commit also addresses changes from the v0 instanbul instrumenter
119options. The changes are additive only to maintain backwards compatibility
120for other instrumenters.
121
122* fix(reporter): Access Data Properly to Check Coverage
123
124This commit fixes errors with accessing data properly during the
125checkCoverage method. A previous commit updated the implementation to
126use istanbul-lib-coverage, but this involved an api change to access the
127raw coverage data (which checkCoverage uses).
128
129This commit also fixes the checking coverage for each file by using a
130map to store file coverage summaries instead of merging summaries like
131the global results. Per file coverage now works as expected.
132
133* test: Update Unit Tests to use new Istanbul API
134
135This commit updates the mocking done in unit tests to properly mock the
136new istanbul API. Additionally, new unit test suites are added for the
137utility methods report-creator and source-map-store.
138* drop support for node < 8
139* **reporter:** the output folder names change, they no longer contain `:`
140
141
142
143<a name="1.1.2"></a>
144## [1.1.2](https://github.com/karma-runner/karma-coverage/compare/v1.1.1...v1.1.2) (2018-05-03)
145
146
147### Bug Fixes
148
149* **build:** Update to lodash 4 ([d6d21d2](https://github.com/karma-runner/karma-coverage/commit/d6d21d2)), closes [#242](https://github.com/karma-runner/karma-coverage/issues/242)
150* **reporter:** replace colons in the output path ([3b2bffa](https://github.com/karma-runner/karma-coverage/commit/3b2bffa))
151
152
153### BREAKING CHANGES
154
155* **reporter:** the output folder names change, they no longer contain `:`
156
157
158
159<a name="1.1.1"></a>
160## [1.1.1](https://github.com/karma-runner/karma-coverage/compare/v1.1.0...v1.1.1) (2016-07-23)
161
162
163### Bug Fixes
164
165* remove usage of the deprecated helper._ ([dacf9e9](https://github.com/karma-runner/karma-coverage/commit/dacf9e9))
166
167
168
169<a name="1.1.0"></a>
170# [1.1.0](https://github.com/karma-runner/karma-coverage/compare/v0.5.5...v1.1.0) (2016-07-07)
171
172
173### Features
174
175* **reporter:** Add callbacks for "writeReport" and "onExit" methods ([7e20759](https://github.com/karma-runner/karma-coverage/commit/7e20759))
176
177
178
179<a name="1.0.0"></a>
180# [1.0.0](https://github.com/karma-runner/karma-coverage/compare/v0.5.5...v1.0.0) (2016-05-04)
181
182
183
184<a name="0.5.5"></a>
185## [0.5.5](https://github.com/karma-runner/karma-coverage/compare/v0.5.4...v0.5.5) (2016-03-07)
186
187
188### Bug Fixes
189
190* **in-memory-reporter:** Fix bug in new InMemoryReport, now using null-checks ([051cffd](https://github.com/karma-runner/karma-coverage/commit/051cffd))
191
192
193
194<a name="0.5.4"></a>
195## [0.5.4](https://github.com/karma-runner/karma-coverage/compare/v0.5.3...v0.5.4) (2016-03-03)
196
197
198### Bug Fixes
199
200* **preprocessor:** Call done with error message instead of populating instrumentedCode ([c56e4de](https://github.com/karma-runner/karma-coverage/commit/c56e4de))
201* **preprocessor:** Support CoffeeScript when using RequireJS ([e941e0c](https://github.com/karma-runner/karma-coverage/commit/e941e0c)), closes [#177](https://github.com/karma-runner/karma-coverage/issues/177)
202* **preprocessor:** Use _.includes instead of _.contains ([3c769d5](https://github.com/karma-runner/karma-coverage/commit/3c769d5)), closes [#212](https://github.com/karma-runner/karma-coverage/issues/212)
203
204
205
206<a name="0.5.3"></a>
207## 0.5.3 (2015-10-20)
208
209
210### Bug Fixes
211
212* Update (dev)dependencies, include missing peer dependency and fix linter errors ([bb73158](https://github.com/karma-runner/karma-coverage/commit/bb73158))
213
214
215
216<a name="0.5.2"></a>
217## 0.5.2 (2015-09-08)
218
219
220### Bug Fixes
221
222* **preprocessor:** Reset coverageObjRegex before each use ([ef3f45c](https://github.com/karma-runner/karma-coverage/commit/ef3f45c))
223
224
225
226<a name="0.5.1"></a>
227## 0.5.1 (2015-08-28)
228
229
230### Bug Fixes
231
232* **preprocessor:** Change paths in windows to use backslash ([b0eecbe](https://github.com/karma-runner/karma-coverage/commit/b0eecbe)), closes [#178](https://github.com/karma-runner/karma-coverage/issues/178)
233* **preprocessor:** Resolve all paths properly ([098182f](https://github.com/karma-runner/karma-coverage/commit/098182f)), closes [#65](https://github.com/karma-runner/karma-coverage/issues/65)
234
235
236
237<a name="0.5.0"></a>
238# 0.5.0 (2015-08-06)
239
240
241### Bug Fixes
242
243* **preprocessor:** use absolute paths ([27e0b09](https://github.com/karma-runner/karma-coverage/commit/27e0b09))
244
245
246
247<a name"0.4.2"></a>
248### 0.4.2 (2015-06-12)
249
250
251#### Bug Fixes
252
253* **preprocessor:** Use `_.contains` instead of `_.includes` to avoid braking with `lodash@2` ([411beb1f](https://github.com/karma-runner/karma-coverage/commit/411beb1f))
254
255
256<a name"0.4.1"></a>
257### 0.4.1 (2015-06-09)
258
259#### Features
260
261* **preprocessor:** Add sourcemap support ([de3b738b](https://github.com/karma-runner/karma-coverage/commit/de3b738b), closes [#109](https://github.com/karma-runner/karma-coverage/issues/109))
262* **reporter:** add check coverage thresholds ([bc63b158](https://github.com/karma-runner/karma-coverage/commit/bc63b158), closes [#21](https://github.com/karma-runner/karma-coverage/issues/21))
263
264
265<a name"0.4.0"></a>
266## 0.4.0 (2015-06-09)
267
268
269#### Bug Fixes
270
271* Drop karma from peerDependencies ([eebcc989](https://github.com/karma-runner/karma-coverage/commit/eebcc989))
272* do not dispose collectors before they are written ([9816cd14](https://github.com/karma-runner/karma-coverage/commit/9816cd14))
273* reporter allow using a externally provided source cachere for reporters change ` ([781c126f](https://github.com/karma-runner/karma-coverage/commit/781c126f))
274* watermarks are not passed to reporters ([a9044055](https://github.com/karma-runner/karma-coverage/commit/a9044055), closes [#143](https://github.com/karma-runner/karma-coverage/issues/143), [#144](https://github.com/karma-runner/karma-coverage/issues/144))
275* when using browserify dont create source code caching ([50030df1](https://github.com/karma-runner/karma-coverage/commit/50030df1))
276
277
278#### Breaking Changes
279
280* Karma is no longer a `peerDependency` so it needs to be installed
281manually. Ref https://github.com/karma-runner/integration-tests/issues/5 ([eebcc989](https://github.com/karma-runner/karma-coverage/commit/eebcc989))
282
283
284<a name"0.3.1"></a>
285### 0.3.1 (2015-06-09)
286
287
288#### Bug Fixes
289
290* skip directory creation when reporting to console ([42c9e0a8](https://github.com/karma-runner/karma-coverage/commit/42c9e0a8), closes [#24](https://github.com/karma-runner/karma-coverage/issues/24))
291
292
293#### Features
294
295* adding support for including all sources in coverage data ([18091753](https://github.com/karma-runner/karma-coverage/commit/18091753))
296
297
298<a name"0.3.0"></a>
299## 0.3.0 (2015-06-09)
300
301
302#### Features
303
304* **preprocessor:** free instrumenter ([626e7b0c](https://github.com/karma-runner/karma-coverage/commit/626e7b0c), closes [#101](https://github.com/karma-runner/karma-coverage/issues/101))
305
306
307#### Breaking Changes
308
309* Karma-coverage does not ship with additional instrumenter. You need to explicitly install the instrumenter you need.
310
311Removed **Ibrik** instrumenter that need to be installed explicitly.
312
313Quick list of known community instrumenters :
314- [Ibrik](https://github.com/Constellation/ibrik) (CoffeeScript files instrumenter).
315- [Ismailia](https://github.com/Spote/ismailia) (ES6 files instrumenter using Traceur).
316- [Isparta](https://github.com/douglasduteil/isparta) (ES6 files instrumenter using 6to5).
317
318 ([626e7b0c](https://github.com/karma-runner/karma-coverage/commit/626e7b0c))
319
320
321<a name"0.2.7"></a>
322### 0.2.7 (2015-06-09)
323
324
325#### Bug Fixes
326
327* add in-memory source code caching to support detail reports on compiled CoffeeSc ([c1e542a5](https://github.com/karma-runner/karma-coverage/commit/c1e542a5))
328
329
330<a name"0.2.6"></a>
331### 0.2.6 (2015-06-09)
332
333
334#### Bug Fixes
335
336* reporters can be configured individually ([adcb8e69](https://github.com/karma-runner/karma-coverage/commit/adcb8e69))
337
338
339<a name"0.2.5"></a>
340### 0.2.5 (2015-06-09)
341
342
343#### Features
344
345* new `subdir` option ([309dad4e](https://github.com/karma-runner/karma-coverage/commit/309dad4e))
346
347
348<a name"0.2.4"></a>
349### 0.2.4 (2015-06-09)
350
351
352#### Bug Fixes
353
354* optional option no longer trigger an error when omitted ([a2cdf569](https://github.com/karma-runner/karma-coverage/commit/a2cdf569))
355
356
357<a name"0.2.3"></a>
358### 0.2.3 (2015-06-09)
359
360
361#### Features
362
363* **config:** instrumenter override option ([ee3e68e8](https://github.com/karma-runner/karma-coverage/commit/ee3e68e8))
364
365
366<a name"0.2.2"></a>
367### 0.2.2 (2015-06-09)
368
369
370#### Features
371
372* update the dependencies ([77d73e2b](https://github.com/karma-runner/karma-coverage/commit/77d73e2b))
373
374
375<a name"0.2.1"></a>
376### 0.2.1 (2015-06-09)
377
378
379#### Features
380
381* update istanbul to 0.2.3, ibrik to 1.1.1 ([9064ec1e](https://github.com/karma-runner/karma-coverage/commit/9064ec1e))
382
383
384<a name"0.2.0"></a>
385## 0.2.0 (2015-06-09)
386
387
388#### Features
389
390* no longer write json unless configured ([1256fb8b](https://github.com/karma-runner/karma-coverage/commit/1256fb8b))
391
392
393#### Breaking Changes
394
395* No json coverage is generated by default. If you want that, please use `json` reporter:
396
397```js
398coverageReporter: {
399 type: 'json'
400}
401
402// or with multiple reporters
403coverageReporter: {
404 reporters: [
405 {type: 'html', dir: 'coverage'},
406 {type: 'json', dir: 'coverage'},
407 ]
408}
409```
410
411 ([1256fb8b](https://github.com/karma-runner/karma-coverage/commit/1256fb8b))
412
413
414<a name"0.1.5"></a>
415### 0.1.5 (2015-06-09)
416
417
418#### Bug Fixes
419
420* use output dir per reporter ([dac46788](https://github.com/karma-runner/karma-coverage/commit/dac46788), closes [#42](https://github.com/karma-runner/karma-coverage/issues/42))
421
422
423#### Features
424
425* revert update istanbul ([5b8937ab](https://github.com/karma-runner/karma-coverage/commit/5b8937ab))
426* update istanbul ([b696c3e3](https://github.com/karma-runner/karma-coverage/commit/b696c3e3))
427
428
429<a name"0.1.4"></a>
430### 0.1.4 (2015-06-09)
431
432
433#### Features
434
435* Update ibrik version to 1.0.1 ([b50f2d53](https://github.com/karma-runner/karma-coverage/commit/b50f2d53), closes [#39](https://github.com/karma-runner/karma-coverage/issues/39))
436
437
438<a name"0.1.3"></a>
439### 0.1.3 (2015-06-09)
440
441
442#### Bug Fixes
443
444* update to work with Karma 0.11 ([89c98177](https://github.com/karma-runner/karma-coverage/commit/89c98177))
445
446
447#### Features
448
449* update instanbul ([24126e72](https://github.com/karma-runner/karma-coverage/commit/24126e72))
450* support coverage for coffee script ([9f802c1c](https://github.com/karma-runner/karma-coverage/commit/9f802c1c))
451* log where the coverage reports are generated ([c9ef5c9f](https://github.com/karma-runner/karma-coverage/commit/c9ef5c9f))
452* add a default config and normalize outputFile path ([027fa4fc](https://github.com/karma-runner/karma-coverage/commit/027fa4fc))
453
454
455<a name"0.1.2"></a>
456### 0.1.2 (2015-06-09)
457
458
459<a name"0.1.1"></a>
460### 0.1.1 (2015-06-09)
461
462
463#### Bug Fixes
464
465* update to work with Karma 0.11 ([b744d6f2](https://github.com/karma-runner/karma-coverage/commit/b744d6f2))
466
467
468<a name"0.1.0"></a>
469## 0.1.0 (2015-06-09)
470
471
472<a name"0.0.5"></a>
473### 0.0.5 (2015-06-09)
474
475
476#### Bug Fixes
477
478* delay collector disposal until all file writing has completed. ([75c4db0e](https://github.com/karma-runner/karma-coverage/commit/75c4db0e))
479
480
481#### Features
482
483* allow multiple report types ([4a9afb62](https://github.com/karma-runner/karma-coverage/commit/4a9afb62))
484
485
486<a name"0.0.4"></a>
487### 0.0.4 (2015-06-09)
488
489
490#### Features
491
492* do not preprocess files if coverage reporter is not used ([277a1ad9](https://github.com/karma-runner/karma-coverage/commit/277a1ad9), closes [#7](https://github.com/karma-runner/karma-coverage/issues/7))
493
494
495<a name"0.0.3"></a>
496### 0.0.3 (2015-06-09)
497
498
499#### Bug Fixes
500
501* handle no result ([5eca4882](https://github.com/karma-runner/karma-coverage/commit/5eca4882))
502
503
504#### Features
505
506* support coverage per spec ([385b6e1f](https://github.com/karma-runner/karma-coverage/commit/385b6e1f))
507
508
509<a name"0.0.2"></a>
510### 0.0.2 (2015-06-09)
511
512* Initial release
Note: See TracBrowser for help on using the repository browser.