nyc v15.0.0 Release Notes
Release Date: 2019-12-20 // over 4 years ago-
โ BREAKING CHANGES
- ๐ The
flow
andjsx
parser plugins are no longer 0๏ธโฃ enabled by default. - Node.js 8 is now required to run nyc
- Remove NYC_ROOT_ID and NYC_INSTRUMENTER environmental variables.
- ๐ The
root
field has been removed from processinfo files.
๐ Features
- โ Add
--use-spawn-wrap=true
option (#1169) (df4de4d) - โ Add
.cjs
,.mjs
,.ts
,.tsx
,.jsx
to default extensions (#1110) (914b776), closes #1103 - ๐ Allow
nyc instrument
to instrument code in place (#1149) (7783284) - โฌ๏ธ Drop node.js 6, upgrade dependencies (#1134) (00c3b34)
- Filenames relative to project cwd in coverage reports (#1212) (5258e9f)
- ๐ Use @istanbuljs/schema for yargs setup (#1194) (fd40d49)
- ๐ Use istanbul-lib-processinfo (#1145) (7943413)
- ๐ Use source base name to prefix cache files (#1144) (5c1b7a9)
๐ Bug Fixes
- ๐ฆ Avoid
source-map
module duringsignal-exit
handler (#1191) (83eb629) - ๐ Better error handling for main execution, reporting (#1229) (dfd629d)
- Correct handling of source-maps for pre-instrumented files (#1216) (8411a26), closes #1208
- โฌ๏ธ Drop coverage produced by
nyc --all
for files that were tested (#1155) (fc1bbbf), closes #1113 #1124 #1148 - 0๏ธโฃ Honor eager setting (false by default) (#1179) (c18fb0a)
- โ Remove vestigial environment variables (#1078) (cfd3da0)
- ๐ The