Bartek Iwańczuk
4192978c3a
feat(lint): add Deno.run
to no-deprecated-deno-api
( #18869 )
...
This upgrade includes a warning for the deprecated "Deno.run()" API.
---------
Co-authored-by: David Sherret <dsherret@gmail.com>
2023-04-27 02:52:52 +00:00
Levente Kurusa
c336755881
fix(test/coverage): exclude test files ( #18748 )
...
Fixes: #18454
2023-04-19 23:30:52 +02:00
Geert-Jan Zwiers
206c593519
fix(coverage): ignore files from npm registry ( #18457 )
...
Fixes https://github.com/denoland/deno/issues/17664 and part of
https://github.com/denoland/deno/issues/18454 by excluding files
belonging to npm modules by default in the coverage output.
2023-03-30 17:40:22 +00:00
David Sherret
b4b718d6ae
fix(lint): revert no-deprecated-api for Deno.run ( #17880 )
2023-02-22 16:14:53 +00:00
David Sherret
b3e88e0681
refactor: deno_graph 0.43 upgrade ( #17692 )
2023-02-09 22:00:23 -05:00
sigmaSd
2656af2544
fix(coverage): Error if the emit cache is invalid ( #16850 )
2022-11-29 18:43:54 +01:00
Bartek Iwańczuk
7aa8e9c035
test: don't use remote std for tests ( #16631 )
2022-11-15 17:21:25 +01:00
David Sherret
e203bd9c5a
fix: upgrade swc_ecma_parser to 0.122.19 - deno_ast 0.20 ( #16406 )
2022-10-25 11:55:57 -04:00
David Sherret
9e6917426a
fix: upgrade deno_ast to 0.19 ( #15808 )
2022-09-07 15:06:18 -04:00
David Sherret
8eed24cd3d
fix(coverage): ensure coverage is only collected in certain situations ( #15467 )
2022-08-12 15:21:17 -04:00
David Sherret
0c87dd1e98
perf: use emit from swc instead of tsc ( #15118 )
2022-07-12 18:58:39 -04:00
David Sherret
82431062fa
fix(coverage): better handling of multi-byte characters ( #15159 )
2022-07-11 19:02:11 -04:00
Colin Ihrig
d55444b41c
fix(coverage): do not report transpiled files with no lines ( #14699 )
...
This commit omits files from the coverage report that have no
lines of code to report coverage for.
Fixes: https://github.com/denoland/deno/issues/14683
2022-05-22 10:45:22 -04:00
Bartek Iwańczuk
d76acfdc17
fix: base64 encoding of source maps with emojis ( #14607 )
...
This commit fixes source maps for files that contain emojis.
This is done by updating "deno_ast" to "0.14.1" for the case
of "--no-check" flag (ie using SWC emit) and by overriding
TSC's default base64 encoder (which turned out to be buggy)
for the type checking case.
2022-05-17 16:59:35 +02:00
Geert-Jan Zwiers
253fbf9d2a
fix(coverage): exclude .snap files ( #14480 )
2022-05-04 13:10:55 +02:00
Bartek Iwańczuk
13751d9de6
fix(coverage): merge coverage ranges ( #13334 )
...
Covered ranges were not merged and thus it appeared that some lines
might be uncovered. To fix this I used "v8-coverage" that takes care
of merging the ranges properly. With this change, coverage collected
from a file by multiple entrypoints is now correctly calculated.
I ended up forking https://github.com/demurgos/v8-coverage and adding
"cli/tools/coverage/merge.rs" and "cli/tools/coverage/range_tree.rs".
2022-01-11 21:17:25 +01:00
David Sherret
7ebbda7fd7
fix(coverage): use only string byte indexes and 0-indexed line numbers ( #13190 )
2021-12-23 20:02:54 -05:00
Bartek Iwańczuk
4e3068be63
Revert "fix(cli): ensure empty lines don't count towards coverage ( #11957 )" ( #12348 )
...
This reverts commit d5b38a9929
.
2021-10-06 19:28:28 +02:00
Casper Beyer
d5b38a9929
fix(cli): ensure empty lines don't count towards coverage ( #11957 )
2021-10-06 07:05:18 +02:00
David Sherret
15a763152f
chore: move test files to testdata directory ( #11601 )
2021-08-11 10:20:47 -04:00