nyc v15.0.0 Release Notes

Release Date: 2019-12-20 // over 4 years ago
  • โš  BREAKING CHANGES

    • ๐Ÿ”Œ The flow and jsx 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 during signal-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)