From df0de17eb5e44cf7f2aca768f179347d78778d82 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 19 Apr 2024 16:42:05 +0000 Subject: [PATCH] chore(main): release 17.0.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 211 ++++++++++++++++++++++++++++++++++ package-lock.json | 4 +- package.json | 2 +- 4 files changed, 215 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e6f87049..841e693b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "16.0.0" + ".": "17.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 31c252d9..09c4a412 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,217 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [17.0.0](https://github.com/istanbuljs/nyc/compare/v16.0.0...v17.0.0) (2024-04-19) + + +### ⚠ BREAKING CHANGES + +* minimum Node version now 18 +* The `flow` and `jsx` parser plugins are no longer enabled by default. +* Node.js 8 is now required to run nyc +* Remove NYC_ROOT_ID and NYC_INSTRUMENTER environmental variables. +* This adds a file named 'index.json' to the .nyc_output/processinfo directory, which has a different format from the other files in this dir. +* this changes the data type of the pid/ppid fields in processinfo files +* `nyc instrument` now honors `include` and `exclude` settings, potentially resulting in some files that were previously instrumented being ignored. +* The `plugins` option has been renamed to `parser-plugins`. +* The logic involving include/exclude processing has changed. Results should be verified to ensure all desired sources have coverage data. +* `nyc instrument` now enables the `--es-module` option by default. +* --hook-run-in-context, and --hook-run-in-this-context are no longer true by default (they should be enabled if you're using a library like requirejs). +* babel@7 drops Node.js 4 support +* new version of find-up requires dropping 0.10/0.12 support (which we had already been planning). +* nyc's cache is now enabled by default +* **/node_modules/** is again excluded by default. +* node_modules is no longer automatically excluded, and an empty array of exclude rules can now be provided. +* + +### Features + +* add --exclude-after-remap option for users who pre-instrument their codebase ([#697](https://github.com/istanbuljs/nyc/issues/697)) ([cdfdff3](https://github.com/istanbuljs/nyc/commit/cdfdff3616184d2d1958eef94fb3d12b4cb867a9)) +* add "instrument" option as alternative to specifying noop instrumenter ([#278](https://github.com/istanbuljs/nyc/issues/278)) ([ea028b9](https://github.com/istanbuljs/nyc/commit/ea028b985f44d1a2cd48c545441abcaa75287da5)) +* add `--build-process-tree` feature ([#1028](https://github.com/istanbuljs/nyc/issues/1028)) ([64571d3](https://github.com/istanbuljs/nyc/commit/64571d317033b083d3628e16829b39da1eeffb1c)) +* Add `--use-spawn-wrap=true` option ([#1169](https://github.com/istanbuljs/nyc/issues/1169)) ([df4de4d](https://github.com/istanbuljs/nyc/commit/df4de4d490f8cd32204fba66a810ed0444c26d0d)) +* Add `.cjs`, `.mjs`, `.ts`, `.tsx`, `.jsx` to default extensions ([#1110](https://github.com/istanbuljs/nyc/issues/1110)) ([914b776](https://github.com/istanbuljs/nyc/commit/914b776215ad3ea54f0e46b4ba2904a8a9d4dfdd)), closes [#1103](https://github.com/istanbuljs/nyc/issues/1103) +* add `delete` option to instrument command ([#1005](https://github.com/istanbuljs/nyc/issues/1005)) ([d6db551](https://github.com/istanbuljs/nyc/commit/d6db55175c240bda28184ae2ebfc8587edc21f3e)) +* add `include` and `exclude` options to instrument command ([#1007](https://github.com/istanbuljs/nyc/issues/1007)) ([8da097e](https://github.com/istanbuljs/nyc/commit/8da097e1bcfd0cb353a940bcf54eb1329cedb855)) +* add command line options to control compacting and comment removal ([#754](https://github.com/istanbuljs/nyc/issues/754)) ([2030e0c](https://github.com/istanbuljs/nyc/commit/2030e0c6721f574500a745277334b8bf20d58ccb)) +* add option that allows instrument to exit on error ([#850](https://github.com/istanbuljs/nyc/issues/850)) ([1329a3b](https://github.com/istanbuljs/nyc/commit/1329a3b008dd0b3f174db3dbb51e1cf8b54ca06d)) +* add option to hook vm.runInContext ([#680](https://github.com/istanbuljs/nyc/issues/680)) ([f04b7a9](https://github.com/istanbuljs/nyc/commit/f04b7a93fa740eb59773c9276f7a5f7d238ef4cb)) +* add possibility to filter coverage-maps ([#637](https://github.com/istanbuljs/nyc/issues/637)) ([dd40dc5](https://github.com/istanbuljs/nyc/commit/dd40dc5118741415a7f35626555f58390afd9641)) +* add processinfo index, add externalId ([#1055](https://github.com/istanbuljs/nyc/issues/1055)) ([8dcf180](https://github.com/istanbuljs/nyc/commit/8dcf180a4152af26245f089f2d49ceac6d7d6453)) +* Add support for --exclude-node-modules to subcommands. ([#1053](https://github.com/istanbuljs/nyc/issues/1053)) ([e597c46](https://github.com/istanbuljs/nyc/commit/e597c46ab33d47531119d66398e678ee8eb0265c)) +* add support for --no-clean, to disable deleting raw coverage output ([#558](https://github.com/istanbuljs/nyc/issues/558)) ([1887d1c](https://github.com/istanbuljs/nyc/commit/1887d1ca0319ff13a09602b8456c09f7ecba774f)) +* add support for .nycrc ([#391](https://github.com/istanbuljs/nyc/issues/391)) ([1c2349b](https://github.com/istanbuljs/nyc/commit/1c2349b494260c224b5e7f9e613bada06e87a12b)) +* Add support for env.NYC_CONFIG_OVERRIDE ([#1077](https://github.com/istanbuljs/nyc/issues/1077)) ([132a074](https://github.com/istanbuljs/nyc/commit/132a0748f90124dc90db2bf44eb111d6e8404f91)) +* Add support for nyc.config.js ([#1019](https://github.com/istanbuljs/nyc/issues/1019)) ([3b203c7](https://github.com/istanbuljs/nyc/commit/3b203c7f57f8074ec10172a772b766f92570a1aa)) +* add support for per file coverage checking ([#591](https://github.com/istanbuljs/nyc/issues/591)) ([bbadc1f](https://github.com/istanbuljs/nyc/commit/bbadc1f198bfc060940a040bb604ad2474109ed8)) +* add support for yaml configuration file ([#1054](https://github.com/istanbuljs/nyc/issues/1054)) ([ca37ffa](https://github.com/istanbuljs/nyc/commit/ca37ffa74c146b77c5fa9dc3411901e96e8c3a17)) +* add support to exclude files on coverage report generation ([#982](https://github.com/istanbuljs/nyc/issues/982)) ([509c6aa](https://github.com/istanbuljs/nyc/commit/509c6aae5e001f45ad284901ada141dca6a3a2f4)) +* Add test-exclude args to check-coverage and report subcommands. ([0fc217e](https://github.com/istanbuljs/nyc/commit/0fc217edb6a583e2015616158fc6e72cf7f46487)) +* adds instrument command line option ([#298](https://github.com/istanbuljs/nyc/issues/298)) ([e45b51b](https://github.com/istanbuljs/nyc/commit/e45b51b4d1255434ad2e0e4ba2869dfac76d4222)) +* adds support for source-map production ([#439](https://github.com/istanbuljs/nyc/issues/439)) ([31488f5](https://github.com/istanbuljs/nyc/commit/31488f5d8d69cb9445dbb008a99f8692adc31af3)) +* allow .nycrc.json ([#580](https://github.com/istanbuljs/nyc/issues/580)) ([a1a457f](https://github.com/istanbuljs/nyc/commit/a1a457facd07d94a4387b81c96690d757ecc154c)) +* Allow `nyc instrument` to instrument code in place ([#1149](https://github.com/istanbuljs/nyc/issues/1149)) ([7783284](https://github.com/istanbuljs/nyc/commit/77832845b85134d21eca3a23c812c4f21f36713f)) +* allow 0-line files to be ignored in coverage output ([#808](https://github.com/istanbuljs/nyc/issues/808)) ([24e5979](https://github.com/istanbuljs/nyc/commit/24e597996d18cc21ef2f8423e5de454b508b7a8b)) +* allow alternate path for .nycrc to be specified ([#724](https://github.com/istanbuljs/nyc/issues/724)) ([785fccb](https://github.com/istanbuljs/nyc/commit/785fccbc58dbbeaf3c7003c0c670279019fbd505)) +* allow an alternate cache folder to be provided ([#443](https://github.com/istanbuljs/nyc/issues/443)) ([b6713a3](https://github.com/istanbuljs/nyc/commit/b6713a39ddddf8835a88e23bca62d7edccc98298)) +* allow babel cache to be enabled ([#517](https://github.com/istanbuljs/nyc/issues/517)) ([98ebdff](https://github.com/istanbuljs/nyc/commit/98ebdff573be91e1098bb7259776a9082a5c1ce1)) +* allow cwd to be configured see [#620](https://github.com/istanbuljs/nyc/issues/620) ([0dcceda](https://github.com/istanbuljs/nyc/commit/0dcceda9decc2ca90d424f40a51b8d150be901fb)) +* allow eager instantiation of instrumenter ([#490](https://github.com/istanbuljs/nyc/issues/490)) ([8b58c05](https://github.com/istanbuljs/nyc/commit/8b58c05b43e43dd7de152eb7979ce7f0a09e9c4b)) +* allow instrument-only to produce sourcemaps ([#674](https://github.com/istanbuljs/nyc/issues/674)) ([f31d7a6](https://github.com/istanbuljs/nyc/commit/f31d7a6e64336c4544c9ef5903c950f3687e4287)) +* allow rows with 100% statement, branch, and function coverage to be skipped in text report ([#859](https://github.com/istanbuljs/nyc/issues/859)) ([893345a](https://github.com/istanbuljs/nyc/commit/893345a193829802bee2c5047a78ad0addeb8b50)) +* allow usage of ignoreClassMethods from istanbul ([#785](https://github.com/istanbuljs/nyc/issues/785)) ([c6b30ba](https://github.com/istanbuljs/nyc/commit/c6b30ba7d88a98f759ebb75945a6ba20bea3fa77)) +* always build the processinfo temp dir ([#1061](https://github.com/istanbuljs/nyc/issues/1061)) ([c213469](https://github.com/istanbuljs/nyc/commit/c21346911f7772ba282a003beec05bda41dbc766)) +* avoid hardcoded HOME for spawn-wrap working dir ([#957](https://github.com/istanbuljs/nyc/issues/957)) ([ff834aa](https://github.com/istanbuljs/nyc/commit/ff834aa680742ac58f86d71ae2c12020227fcfc7)) +* better docs for excluding, thanks [@kentdodds](https://github.com/kentdodds) \o/ ([22b06fe](https://github.com/istanbuljs/nyc/commit/22b06fe2ecde8eeee456c508d6b26d01469e07ad)) +* Bump dependencies. ([#915](https://github.com/istanbuljs/nyc/issues/915)) ([0b3d2cf](https://github.com/istanbuljs/nyc/commit/0b3d2cf0188eab703240be31267a3b68380c9d57)) +* cache now turned on by default ([#454](https://github.com/istanbuljs/nyc/issues/454)) ([0dd970c](https://github.com/istanbuljs/nyc/commit/0dd970c0a98d48933b7196eaa281efa15ac19579)) +* **cli:** --include and --exclude are now accepted as CLI options, thanks [@rpominov](https://github.com/rpominov) \o/ see [#207](https://github.com/istanbuljs/nyc/issues/207) ([f8a02b4](https://github.com/istanbuljs/nyc/commit/f8a02b44010cd3d94f46c65cdceb84dce69e805c)) +* **conventional changelog:** introducing conventional-changelog for changelog generation ([f594c5e](https://github.com/istanbuljs/nyc/commit/f594c5e0a725cb6b18edddffd801cafd1a2d4994)) +* coverage information is now returned for process tree ([#416](https://github.com/istanbuljs/nyc/issues/416)) ([92dedda](https://github.com/istanbuljs/nyc/commit/92deddaf47dd4e0b5e80dd9b941816e122d1ee55)) +* document the fact that cacheDir is configurable ([#968](https://github.com/istanbuljs/nyc/issues/968)) ([35cd49a](https://github.com/istanbuljs/nyc/commit/35cd49adab7be33e77b882c02fb07ae7e0c87fc5)) +* Drop node.js 6, upgrade dependencies ([#1134](https://github.com/istanbuljs/nyc/issues/1134)) ([00c3b34](https://github.com/istanbuljs/nyc/commit/00c3b3440a5b2ffe11b9c19ae4e08ad2f5b70e33)) +* Enable `es-modules` option for nyc instrument command ([#1006](https://github.com/istanbuljs/nyc/issues/1006)) ([596b120](https://github.com/istanbuljs/nyc/commit/596b1201ab736cbbe2b6ca41b55fb63f31d92d94)) +* **exclude patterns:** introduces new exclude-patterns based on [@kentcdodds](https://github.com/kentcdodds)' coding conventions. ([51b1777](https://github.com/istanbuljs/nyc/commit/51b17778b90022e206c245bf22dd6ada8156b1ef)) +* exclude the coverage/ folder by default 🚀 ([#502](https://github.com/istanbuljs/nyc/issues/502)) ([50adde4](https://github.com/istanbuljs/nyc/commit/50adde41969eb067aefc787b5ddb5cb463fd0bb3)) +* **experimental:** Support using `--all` with node.js ESM ([#1320](https://github.com/istanbuljs/nyc/issues/1320)) ([992359a](https://github.com/istanbuljs/nyc/commit/992359a1e2108906e28324058008f28aa1052dc1)) +* Filenames relative to project cwd in coverage reports ([#1212](https://github.com/istanbuljs/nyc/issues/1212)) ([5258e9f](https://github.com/istanbuljs/nyc/commit/5258e9fdb1d9e3d4abd4cc9768bc09cd8040a6be)) +* Fix excludeAfterRemap functionality. ([36bcc0b](https://github.com/istanbuljs/nyc/commit/36bcc0b5555f6e975a8cc73faee3b375f3c71fa7)) +* gather process tree information ([#364](https://github.com/istanbuljs/nyc/issues/364)) ([fabe5f3](https://github.com/istanbuljs/nyc/commit/fabe5f39491f484be7631272f87a691f8c8ad372)) +* implicitly assume `node` when the command starts with an option ([#350](https://github.com/istanbuljs/nyc/issues/350)) ([2bb52cd](https://github.com/istanbuljs/nyc/commit/2bb52cd7bb7d14def54d149d1fb75e275423ff08)) +* instrument `--complete-copy` implementation ([#1056](https://github.com/istanbuljs/nyc/issues/1056)) ([2eb13c6](https://github.com/istanbuljs/nyc/commit/2eb13c660ad0a5cc0c9f6601f668a984f07064db)) +* load coverage files individually instead of all at once, addressing memory issues ([#806](https://github.com/istanbuljs/nyc/issues/806)) ([05fea60](https://github.com/istanbuljs/nyc/commit/05fea60862e0dce05eb6ec8dee9ff79b1baf2f3f)) +* make `__coverage__` the default approach we advocate for ES2015 coverage ([#268](https://github.com/istanbuljs/nyc/issues/268)) ([9fd2295](https://github.com/istanbuljs/nyc/commit/9fd22950380cf107af1dbab97237485af91e4230)) +* merge together multiple istanbul format reports ([#840](https://github.com/istanbuljs/nyc/issues/840)) ([9def3eb](https://github.com/istanbuljs/nyc/commit/9def3eb13d51ff5fee85efb2019cfaddb72a32c0)) +* node_modules is again excluded by default when custom exclude is provided ([#442](https://github.com/istanbuljs/nyc/issues/442)) ([2828538](https://github.com/istanbuljs/nyc/commit/28285383642228d8da5c4ca01baad8ff58161448)) +* nyc is being refactored to become the official Istanbul 1.0 bin ([#286](https://github.com/istanbuljs/nyc/issues/286)) ([61a05ea](https://github.com/istanbuljs/nyc/commit/61a05ea1e988ae15b68d5e16ada9053fd3cdab50)) +* nyc no longer tries to run arguments passed to the instrumented bin ([#322](https://github.com/istanbuljs/nyc/issues/322)) ([e0a8c0b](https://github.com/istanbuljs/nyc/commit/e0a8c0b1eead39661e4ccca8945d6fd908aaa0ec)) +* Option Plugins ([#948](https://github.com/istanbuljs/nyc/issues/948)) ([df2730d](https://github.com/istanbuljs/nyc/commit/df2730dc2d6520f10d543bb9b6d431cc92e47830)) +* Pass `extension` to test-exclude, use TestExclude.globSync. ([#1026](https://github.com/istanbuljs/nyc/issues/1026)) ([aae5a59](https://github.com/istanbuljs/nyc/commit/aae5a597023db3f0d7ec4ddceb0d88e159264acb)) +* read coverage header when using "noop" instrumenter ([#420](https://github.com/istanbuljs/nyc/issues/420)) ([63a8758](https://github.com/istanbuljs/nyc/commit/63a8758ecfb1fc792897cffbc12a95e8adc3e8e6)) +* refactored config to fix precedence of config vs. args ([#388](https://github.com/istanbuljs/nyc/issues/388)) ([99dbbb3](https://github.com/istanbuljs/nyc/commit/99dbbb3a36c12770686f59fa3ff26fbbdc991e8d)) +* Remove bundling ([#1017](https://github.com/istanbuljs/nyc/issues/1017)) ([b25492a](https://github.com/istanbuljs/nyc/commit/b25492a82926c9a21051bc2de252de55f785323f)) +* Rename --temp-directory option to --temp-dir ([#897](https://github.com/istanbuljs/nyc/issues/897)) ([ccf42df](https://github.com/istanbuljs/nyc/commit/ccf42dffaf93bbc97cd98577f0a2b7724bb8d4c9)) +* Rename `plugins` option to `parser-plugins`. ([#1031](https://github.com/istanbuljs/nyc/issues/1031)) ([2867538](https://github.com/istanbuljs/nyc/commit/2867538d9d859e97f226b11585bb8ea7718874b5)), closes [#986](https://github.com/istanbuljs/nyc/issues/986) +* reporting watermarks can now be set in nyc config stanza ([#469](https://github.com/istanbuljs/nyc/issues/469)) ([0a1d72a](https://github.com/istanbuljs/nyc/commit/0a1d72ab6dbfc688d53095263fd4eba7977a8eee)) +* resolve custom cache directory to absolute path ([#766](https://github.com/istanbuljs/nyc/issues/766)) ([dd48707](https://github.com/istanbuljs/nyc/commit/dd48707660b12252562d39e164829fd600eb3d92)) +* Support nyc report --check-coverage ([#984](https://github.com/istanbuljs/nyc/issues/984)) ([dd48410](https://github.com/istanbuljs/nyc/commit/dd4841085cf763f2c3648e4b4ca78687c8f8c2a5)) +* Support turning off node_modules default exclude via flag ([#912](https://github.com/istanbuljs/nyc/issues/912)) ([b7e16cd](https://github.com/istanbuljs/nyc/commit/b7e16cdf704bdf4935cfbc9f4a5eb228002fbc3a)) +* **update dependencies:** new foreground-child and spawn-wrap have landed \o/ ([1a0ad0b](https://github.com/istanbuljs/nyc/commit/1a0ad0b14ba2c5a261dbb2d8928b6c6ddba79cf4)) +* updating dependencies (spawn wrap with npm patches \o/) ([ac841b8](https://github.com/istanbuljs/nyc/commit/ac841b88bd57b834411061bead1b90af999dbfc8)) +* upgrade to istanbul-lib-instrument with support for 'const foo = function () {}' name preservation. upgrade to istanbul-lib-hook with fix for ts-node. ([#494](https://github.com/istanbuljs/nyc/issues/494)) ([d8d2de0](https://github.com/istanbuljs/nyc/commit/d8d2de0ea23d4429e6f35d89d327c9667ac5e569)) +* upgrade to new test-exclude; with suppport for node_modules, and empty exclude ([#348](https://github.com/istanbuljs/nyc/issues/348)) ([d616ffc](https://github.com/istanbuljs/nyc/commit/d616ffc19c1a53dc3157beb45aae6b7cca30e80c)) +* upgrade to version of spawn-wrap that supports .EXE ([#626](https://github.com/istanbuljs/nyc/issues/626)) ([8768afe](https://github.com/istanbuljs/nyc/commit/8768afe567371f16974a58111c9ff10c222f8645)) +* upgrade to version of yargs with extend support ([#541](https://github.com/istanbuljs/nyc/issues/541)) ([95cc09a](https://github.com/istanbuljs/nyc/commit/95cc09af6bb0839469e6a047b432fd8906809bd6)) +* upgrade to version of yargs with support for presets ([33829b8](https://github.com/istanbuljs/nyc/commit/33829b86d50fb821da87cdc68bb57c94c2cefa99)) +* Use @istanbuljs/schema for yargs setup ([#1194](https://github.com/istanbuljs/nyc/issues/1194)) ([fd40d49](https://github.com/istanbuljs/nyc/commit/fd40d49331665d936b86f30e9a873ba80071b770)) +* use istanbul-lib-hook to wrap require and support vm hooks ([#308](https://github.com/istanbuljs/nyc/issues/308)) ([2b64cf8](https://github.com/istanbuljs/nyc/commit/2b64cf8c937eeb9545b41f451f32a369dc587bae)) +* Use istanbul-lib-processinfo ([#1145](https://github.com/istanbuljs/nyc/issues/1145)) ([7943413](https://github.com/istanbuljs/nyc/commit/7943413dc032f8f98a164fdde88d7344e817bb5e)) +* Use source base name to prefix cache files ([#1144](https://github.com/istanbuljs/nyc/issues/1144)) ([5c1b7a9](https://github.com/istanbuljs/nyc/commit/5c1b7a9c43771f3439af44a1104e5426519e1123)) + + +### Bug Fixes + +* Add `cwd` option to instrument command ([#1024](https://github.com/istanbuljs/nyc/issues/1024)) ([051d95a](https://github.com/istanbuljs/nyc/commit/051d95a4abeaf6811e95eeee94ed81d58ae50568)) +* add a feature which allows us to bust the cache when breaking changes are introduced ([#394](https://github.com/istanbuljs/nyc/issues/394)) ([b7a413a](https://github.com/istanbuljs/nyc/commit/b7a413a6c369402464db9b231692943f851846d6)) +* add config values to hash salt ([#988](https://github.com/istanbuljs/nyc/issues/988)) ([7ac325d](https://github.com/istanbuljs/nyc/commit/7ac325d31b0715cda5b058344352a6c76d05e053)), closes [#522](https://github.com/istanbuljs/nyc/issues/522) +* add flag to allow control of intrumenter esModules option, default to looser parsing ([#863](https://github.com/istanbuljs/nyc/issues/863)) ([6b6cd5e](https://github.com/istanbuljs/nyc/commit/6b6cd5e5cb9469aa1975e41d9950783832d7b815)) +* add shim for check-coverage on node 0.10 ([#386](https://github.com/istanbuljs/nyc/issues/386)) ([9ebaea8](https://github.com/istanbuljs/nyc/commit/9ebaea8e274b0120134ff1546c77a929eece9d0f)) +* add support for ES6 modules ([f18f780](https://github.com/istanbuljs/nyc/commit/f18f780debc948bfc7c40557a60fa79d8e2430a6)) +* address edge-cases related to --all when instrumentation is disabled ([#482](https://github.com/istanbuljs/nyc/issues/482)) ([8c58d68](https://github.com/istanbuljs/nyc/commit/8c58d687fac7e200bed13f9c1ab4e3b163c177cd)) +* addresses several test-exclude edge-cases. addresses perf issue with yargs ([#444](https://github.com/istanbuljs/nyc/issues/444)) ([4e5111d](https://github.com/istanbuljs/nyc/commit/4e5111ddab53a2b6563dd5ff2ee3170f606c2ee1)) +* adds CLI integration testing, where there was no integration testing before. ([3403ca1](https://github.com/istanbuljs/nyc/commit/3403ca17991fded623a05fda3e3398375320e1d9)) +* always invoke instrumenter callback, set appropriate exit-code ([#703](https://github.com/istanbuljs/nyc/issues/703)) ([7ea96ba](https://github.com/istanbuljs/nyc/commit/7ea96ba8b21b3f081466f7f34ec401343b06779a)) +* and another broken test ([c3d8975](https://github.com/istanbuljs/nyc/commit/c3d897543145827ae04b3f1ca5f31be8534961f7)) +* apply exclude logic before remapping coverage ([#667](https://github.com/istanbuljs/nyc/issues/667)) ([a10d478](https://github.com/istanbuljs/nyc/commit/a10d478d3ec250c19212181447454b0582d6df5f)) +* Avoid `source-map` module during `signal-exit` handler ([#1191](https://github.com/istanbuljs/nyc/issues/1191)) ([83eb629](https://github.com/istanbuljs/nyc/commit/83eb6294f9492bf98405ee9fdf6281c3bc199a3d)) +* avoid pid collisions. ([#301](https://github.com/istanbuljs/nyc/issues/301)) ([f67bff7](https://github.com/istanbuljs/nyc/commit/f67bff703bb7c55e6c2e94aab1417d0b986db3fc)) +* Better error handling for main execution, reporting ([#1229](https://github.com/istanbuljs/nyc/issues/1229)) ([dfd629d](https://github.com/istanbuljs/nyc/commit/dfd629d95716e6159aa7216c03e28a7fbbb161e7)) +* **bundle dependencies:** start bundling dependencies, which should address some issues we have seen with bundling dependencies. This pull also begins bundling a patched version of spawn-wrap, which addresses an issue we've seen on Node@5.8.0 (we should eventually pull this out). ([6116077](https://github.com/istanbuljs/nyc/commit/61160771dd23cc2a6efa22d8fe77c286027df161)) +* **bundling:** .gitignore was interfering with bundle ([0e4adae](https://github.com/istanbuljs/nyc/commit/0e4adae18a4cf8f69e5ce6619c9f26639a216f0e)) +* **check-coverage:** make the --temp-dir option visible ([#1101](https://github.com/istanbuljs/nyc/issues/1101)) ([b5b67de](https://github.com/istanbuljs/nyc/commit/b5b67de5155fd8347ff56529cba28b7a9a1744f6)) +* cleanup dependencies ([#254](https://github.com/istanbuljs/nyc/issues/254)) ([a20d03d](https://github.com/istanbuljs/nyc/commit/a20d03df9d13d0c647d40abc3ca5df14c7807c99)) +* **cli:** Report error if unwanted positional arguments are received ([#1100](https://github.com/istanbuljs/nyc/issues/1100)) ([57debc1](https://github.com/istanbuljs/nyc/commit/57debc1e8d57e6835045f8fbb1563b5732de1c07)), closes [#401](https://github.com/istanbuljs/nyc/issues/401) +* Correct handling of source-maps for pre-instrumented files ([#1216](https://github.com/istanbuljs/nyc/issues/1216)) ([8411a26](https://github.com/istanbuljs/nyc/commit/8411a26c9e520c66251cc8044cde2c81f33f1c5f)), closes [#1208](https://github.com/istanbuljs/nyc/issues/1208) +* coverage reportDir should respect `--cwd` ([#764](https://github.com/istanbuljs/nyc/issues/764)) ([b0d6dae](https://github.com/istanbuljs/nyc/commit/b0d6daeb1c04a71fe4af03a177d094aa2de74ab3)) +* Create directory for merge destination. ([#979](https://github.com/istanbuljs/nyc/issues/979)) ([921d386](https://github.com/istanbuljs/nyc/commit/921d386f1325c732adab87e5478958f84a4e4dc4)), closes [#976](https://github.com/istanbuljs/nyc/issues/976) +* create temp directory when --no-clean flag is set [#663](https://github.com/istanbuljs/nyc/issues/663) ([#664](https://github.com/istanbuljs/nyc/issues/664)) ([3bd1527](https://github.com/istanbuljs/nyc/commit/3bd1527ce7c48755bb9bfc02b6c59bb2066f6676)) +* Data merge concurrency limit to prevent OOM ([#1293](https://github.com/istanbuljs/nyc/issues/1293)) ([df34c1c](https://github.com/istanbuljs/nyc/commit/df34c1c71e74468fd67287caad2ac987176ae503)), closes [#1263](https://github.com/istanbuljs/nyc/issues/1263) +* debug-log should be production dependency ([a3c7f83](https://github.com/istanbuljs/nyc/commit/a3c7f83059b98011ad71514076a2074f5103f04d)) +* **deps:** address security alerts in deps ([#1555](https://github.com/istanbuljs/nyc/issues/1555)) ([b6ed598](https://github.com/istanbuljs/nyc/commit/b6ed59832e1b190486cbf289f081122b384465e5)) +* disable the babel/nyc cache ([#303](https://github.com/istanbuljs/nyc/issues/303)) ([104b3da](https://github.com/istanbuljs/nyc/commit/104b3da74da3717714e748296f73b3b7f4d973cf)) +* discard more bad source map positions ([#255](https://github.com/istanbuljs/nyc/issues/255)) ([0838a0e](https://github.com/istanbuljs/nyc/commit/0838a0e5e2ce8d7ae636655e3832cd318aaaaf95)) +* Do not crash when nyc is run inside itself. ([#1068](https://github.com/istanbuljs/nyc/issues/1068)) ([c4fcf5e](https://github.com/istanbuljs/nyc/commit/c4fcf5e3f5c8aa60c76790d691beb6cd88a48744)), closes [#1067](https://github.com/istanbuljs/nyc/issues/1067) +* don't bundle istanbul-lib-instrument due to Node 6 issues ([b4c325b](https://github.com/istanbuljs/nyc/commit/b4c325b263310859ec2c32537a17a258b284e2b7)) +* Drop coverage produced by `nyc --all` for files that were tested ([#1155](https://github.com/istanbuljs/nyc/issues/1155)) ([fc1bbbf](https://github.com/istanbuljs/nyc/commit/fc1bbbf490f6ab0272359ce10ceb4987d1716256)) +* Enable es-modules by default. ([#889](https://github.com/istanbuljs/nyc/issues/889)) ([d0b76e2](https://github.com/istanbuljs/nyc/commit/d0b76e25ee8fb2e3cc8c0f9606a3a802cf7871fc)) +* Exclude negated not working with '--all' switch ([#977](https://github.com/istanbuljs/nyc/issues/977)) ([91de23c](https://github.com/istanbuljs/nyc/commit/91de23c6bf59e323aa2e9c355449ba225cebb3ef)) +* **exit code:** use test program’s exit code even with `--check-coverage` ([00bbeb2](https://github.com/istanbuljs/nyc/commit/00bbeb21139ac77062f059c1caf02d75d6d72d2a)) +* Exit with code 1 when nyc doesn't know what to do. ([#1070](https://github.com/istanbuljs/nyc/issues/1070)) ([21fb2c8](https://github.com/istanbuljs/nyc/commit/21fb2c8fe49045a2ec802f77c6e502b81ba6821a)) +* explicitly update spawn-wrap ([#748](https://github.com/istanbuljs/nyc/issues/748)) ([4e4f428](https://github.com/istanbuljs/nyc/commit/4e4f428136c0b7b776b4ec9239102c4e922a77b3)) +* finished test-exclude yak-shave. ([21a9a70](https://github.com/istanbuljs/nyc/commit/21a9a703fa49d16ed0377320cb9cb93674f30fb7)) +* fix bug related to merging coverage reports see [#482](https://github.com/istanbuljs/nyc/issues/482) ([81229a0](https://github.com/istanbuljs/nyc/commit/81229a08ab44c141ef19c91605ce097a930cf657)) +* Honor eager setting (false by default) ([#1179](https://github.com/istanbuljs/nyc/issues/1179)) ([c18fb0a](https://github.com/istanbuljs/nyc/commit/c18fb0a9a8eae5904298d87c62d9934243de8674)) +* hot-fix bad release of nyc ([c487eb3](https://github.com/istanbuljs/nyc/commit/c487eb34e0d3d917222139f921e3673c69b526f1)) +* Ignore insignificant lines when coalesce text report ([#1300](https://github.com/istanbuljs/nyc/issues/1300)) ([3a577f0](https://github.com/istanbuljs/nyc/commit/3a577f0ddc4799d0334f7c154b612653a46b532f)) +* introduced a bug that resulted in source-maps not being loaded approriately on second test run ([#566](https://github.com/istanbuljs/nyc/issues/566)) ([1bf74fd](https://github.com/istanbuljs/nyc/commit/1bf74fddeffd20658423688327e4f848006d8bd0)) +* make --all flag work with files with extensions other than .js ([#326](https://github.com/istanbuljs/nyc/issues/326)) ([d0a8674](https://github.com/istanbuljs/nyc/commit/d0a867442304f82ad5e49d73e744eed786bbf5f5)) +* make --all work for transpiled code ([#1047](https://github.com/istanbuljs/nyc/issues/1047)) ([18e04ba](https://github.com/istanbuljs/nyc/commit/18e04ba2b9e92961399de5f015380ae6e3c745d3)) +* make `nyc instrument` work in subdirectories ([#343](https://github.com/istanbuljs/nyc/issues/343)) ([a82cf49](https://github.com/istanbuljs/nyc/commit/a82cf49186ecf2d3d6546cf4ef7ae949a1fde29a)) +* missing command temp-directory ([#928](https://github.com/istanbuljs/nyc/issues/928)) ([28b6d09](https://github.com/istanbuljs/nyc/commit/28b6d09c5a0700d7a6b0b91088c1898d0a45458d)) +* must bundle dependencies on npm<3.x or they will flatten (we need a better long-term solution) ([9826f11](https://github.com/istanbuljs/nyc/commit/9826f110e00f84bdc9b0a686078425bdbd202baf)) +* nyc processing files not covered by include when `all` is enabled. ([#914](https://github.com/istanbuljs/nyc/issues/914)) ([40afc5f](https://github.com/istanbuljs/nyc/commit/40afc5f539bd628cb134a906eae91a4f082c969d)) +* one other test was broken by changing # of exclude rules ([eaaa07a](https://github.com/istanbuljs/nyc/commit/eaaa07a7604f3ef6173e18c9dbc91b26b07ec3ec)) +* pass configuration options to --check-coverage ([#483](https://github.com/istanbuljs/nyc/issues/483)) ([1022b16](https://github.com/istanbuljs/nyc/commit/1022b1607eca9cf8a1b4f4d805744113badd8764)) +* Purge source-map cache before reporting if cache is disabled. ([#1080](https://github.com/istanbuljs/nyc/issues/1080)) ([3d9eaa4](https://github.com/istanbuljs/nyc/commit/3d9eaa4263e3db341092986e76fc5b972f7d87e8)) +* remove excluded files from coverage before writing ([#649](https://github.com/istanbuljs/nyc/issues/649)) ([658dba4](https://github.com/istanbuljs/nyc/commit/658dba4ebbf8062e49965a77fb7df3f79a20c193)) +* Remove vestigial environment variables ([#1078](https://github.com/istanbuljs/nyc/issues/1078)) ([cfd3da0](https://github.com/istanbuljs/nyc/commit/cfd3da05156b98952f03f7be2dd3d23ba328073f)) +* removes unused split-lines dependency. ([#787](https://github.com/istanbuljs/nyc/issues/787)) ([b4032ce](https://github.com/istanbuljs/nyc/commit/b4032ce5d2b1fc027f52cf8f4d6d1d9ea2a2919f)) +* resolve absolute paths in nyc instrument ([#1012](https://github.com/istanbuljs/nyc/issues/1012)) ([3cb1861](https://github.com/istanbuljs/nyc/commit/3cb1861a960a5954750c3957b3e14ae148b3cda3)), closes [#1014](https://github.com/istanbuljs/nyc/issues/1014) +* revert defaulting to empty file-coverage report, this caused too many issues ([25aec77](https://github.com/istanbuljs/nyc/commit/25aec778cfa6d79fe71077c96b0dde81e6ec3a1f)) +* reverts _maybeInstrumentSource logic, so that exclude is still applied ([#429](https://github.com/istanbuljs/nyc/issues/429)) ([b90d26f](https://github.com/istanbuljs/nyc/commit/b90d26fde46c2b890e4ee8debf54c861f264bf8a)) +* serialization using ',' was breaking globs ([#353](https://github.com/istanbuljs/nyc/issues/353)) ([22929db](https://github.com/istanbuljs/nyc/commit/22929dbc985b4a24546a91157a77c26467dbac37)) +* set processinfo pid/ppid to actual numbers ([#1057](https://github.com/istanbuljs/nyc/issues/1057)) ([32f75b0](https://github.com/istanbuljs/nyc/commit/32f75b0eed46476122a721ae701a076eb49a9862)) +* source was being instrumented twice, due to upstream fix in ista… ([#853](https://github.com/istanbuljs/nyc/issues/853)) ([d0f654c](https://github.com/istanbuljs/nyc/commit/d0f654c9bcca353af03a8aff4deca705753e53ed)) +* source-maps were not being cached in the parent process when --all was being used ([#556](https://github.com/istanbuljs/nyc/issues/556)) ([ff73b18](https://github.com/istanbuljs/nyc/commit/ff73b1827559f49500bb527b4ebcec5f0e680d94)), closes [#537](https://github.com/istanbuljs/nyc/issues/537) +* stop bundling istanbul-lib-instrument due to npm issue on Node 6 ([#854](https://github.com/istanbuljs/nyc/issues/854)) ([ddc9331](https://github.com/istanbuljs/nyc/commit/ddc9331f47a1a251b98515b9a2412688f38b24a1)) +* strip any duplicate extensions from --extension ([#237](https://github.com/istanbuljs/nyc/issues/237)) ([0946f82](https://github.com/istanbuljs/nyc/commit/0946f82d9d7fd2784cba823776330b9dc424aabd)) +* swap to version of test-exclude that does not warn ([#410](https://github.com/istanbuljs/nyc/issues/410)) ([78aac45](https://github.com/istanbuljs/nyc/commit/78aac45b136f49a829e1dab17a9b18b2fe117bf6)) +* the package tree of bundled dependencies was incorrect ([7bdccf5](https://github.com/istanbuljs/nyc/commit/7bdccf5e416e106bae180bb568ecc004eaf88848)) +* there's one more exluce rule now ([177f3b4](https://github.com/istanbuljs/nyc/commit/177f3b4cdec9aa3fdffe989a9a9245eb3b441538)) +* typo in option definition ([#758](https://github.com/istanbuljs/nyc/issues/758)) ([6a734b6](https://github.com/istanbuljs/nyc/commit/6a734b6a22f15cc57a93029ee78691ade62a57d3)) +* Update AppVeyor config with ~faster npm install ([#252](https://github.com/istanbuljs/nyc/issues/252)) ([df591f4](https://github.com/istanbuljs/nyc/commit/df591f44667d034d98795841f397abe789af9cca)) +* Update caching-transform options. ([#873](https://github.com/istanbuljs/nyc/issues/873)) ([52b69ef](https://github.com/istanbuljs/nyc/commit/52b69ef5ef68d3965ce14cf28a3864237f15bf04)) +* update core istanbul libraries ([#426](https://github.com/istanbuljs/nyc/issues/426)) ([4945dac](https://github.com/istanbuljs/nyc/commit/4945dacaf2da7fbdd20e0e31633b8c0fe54bdacf)) +* update dependendencies due to vulnerabilities ([#992](https://github.com/istanbuljs/nyc/issues/992)) ([e8cc59b](https://github.com/istanbuljs/nyc/commit/e8cc59bee9ee526e44333927cd112996e770f27c)), closes [#991](https://github.com/istanbuljs/nyc/issues/991) +* update help link to list of reporters ([#601](https://github.com/istanbuljs/nyc/issues/601)) ([b1eb4d6](https://github.com/istanbuljs/nyc/commit/b1eb4d631b7fabce2975db20dae845d040d254c8)) +* update istanbul-lib-source-maps to 1.0.2 ([#411](https://github.com/istanbuljs/nyc/issues/411)) ([9c89945](https://github.com/istanbuljs/nyc/commit/9c89945b267473e015f6a372a3faa0c71a56dfb1)) +* update to yargs version that allows extending configs with no extension ([#790](https://github.com/istanbuljs/nyc/issues/790)) ([2d51562](https://github.com/istanbuljs/nyc/commit/2d515628773d178aa6932ea792f296467b629d47)) +* **update:** update strip-bom to version 3.0.0 ([#240](https://github.com/istanbuljs/nyc/issues/240)) ([24f55e7](https://github.com/istanbuljs/nyc/commit/24f55e7d171a6aede02edd99a667f1cb9e6b9ad6)) +* upgrade foreground-child dependency ([#276](https://github.com/istanbuljs/nyc/issues/276)) ([1b9e4a8](https://github.com/istanbuljs/nyc/commit/1b9e4a85eeb61c536c1d7b94bbb1571bbd8e8c1b)) +* upgrade spawn-wrap and istanbul-lib-instrument ([#477](https://github.com/istanbuljs/nyc/issues/477)) ([e0ef1d5](https://github.com/istanbuljs/nyc/commit/e0ef1d56d38ae8979499d1bd7713a7a601a01865)) +* upgrade spawn-wrap to version that works with new shelljs ([#242](https://github.com/istanbuljs/nyc/issues/242)) ([b16053c](https://github.com/istanbuljs/nyc/commit/b16053c991dc124f980555d54e83348a2e2fc445)) +* upgrade standard, and a few other dependencies. fix standard nits ([#375](https://github.com/istanbuljs/nyc/issues/375)) ([64c68b7](https://github.com/istanbuljs/nyc/commit/64c68b7800450c06b6ef7d5e08242cddc8339578)) +* upgrade to newer istanbul-lib-instrument, with fixes for inferred function names ([#479](https://github.com/istanbuljs/nyc/issues/479)) ([e01ec8c](https://github.com/istanbuljs/nyc/commit/e01ec8c28ab7e0b698934708f70048ecd24cca19)) +* upgrade to newer versions of source-map, signal-exit, and instrument ([#389](https://github.com/istanbuljs/nyc/issues/389)) ([a9bdf0f](https://github.com/istanbuljs/nyc/commit/a9bdf0f7f9b5650eca1675f843880ecda4372192)) +* upgrade to spawn-wrap version that works with babel-register ([#617](https://github.com/istanbuljs/nyc/issues/617)) ([923b062](https://github.com/istanbuljs/nyc/commit/923b062989b74e69556b3c9442e60bc3643b13ee)) +* upgrade to versions of coverage/instrument that solve out-of-bound errors ([#349](https://github.com/istanbuljs/nyc/issues/349)) ([bee0328](https://github.com/istanbuljs/nyc/commit/bee0328fefb2928fb30fee3d23ae10ec22313df4)) +* upgraded dependencies, add missing lodash bundled dependency ([#250](https://github.com/istanbuljs/nyc/issues/250)) ([32042fc](https://github.com/istanbuljs/nyc/commit/32042fcbfdddc3771144e8a806b0a6d8a6f5d061)) +* Use a single instance of nyc for all actions of main command. ([#1059](https://github.com/istanbuljs/nyc/issues/1059)) ([b909575](https://github.com/istanbuljs/nyc/commit/b909575e60c1b8107d950e71fe1667f91d42b9c5)) +* Use correct config property for parser plugins ([#1082](https://github.com/istanbuljs/nyc/issues/1082)) ([a7bc7ae](https://github.com/istanbuljs/nyc/commit/a7bc7ae6dc60b75c58d1977c728084577afb3ee5)) +* use uuid/v4 to generate unique identifiers. ([#883](https://github.com/istanbuljs/nyc/issues/883)) ([7483ed9](https://github.com/istanbuljs/nyc/commit/7483ed96c625402b549bdaa20582ca4abbe8b70c)) +* we should not create a cache folder if cache is false ([#567](https://github.com/istanbuljs/nyc/issues/567)) ([213206f](https://github.com/istanbuljs/nyc/commit/213206f03a35472fc894e7feb10044aa79df3e50)) +* work around for Windows path issue nodejs/node[#6624](https://github.com/istanbuljs/nyc/issues/6624) ([6b1fed0](https://github.com/istanbuljs/nyc/commit/6b1fed02ebb2313150386689deeabb0e7aa0bfc1)) + + +### Miscellaneous Chores + +* upgrade to newest version of istanbul codebase ([#848](https://github.com/istanbuljs/nyc/issues/848)) ([19b7d21](https://github.com/istanbuljs/nyc/commit/19b7d2130556b939bdd2fb69c2a35d09fe83f61e)) + + +### Build System + +* minimum Node version now 18 ([9ef340e](https://github.com/istanbuljs/nyc/commit/9ef340e07514b5e2d05f93a99fca17e5d60d65db)) + ## [16.0.0](https://github.com/istanbuljs/nyc/compare/v15.1.0...v16.0.0) (2024-04-10) diff --git a/package-lock.json b/package-lock.json index 64aaef63..9965ed02 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nyc", - "version": "16.0.0", + "version": "17.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nyc", - "version": "16.0.0", + "version": "17.0.0", "license": "ISC", "dependencies": { "@istanbuljs/load-nyc-config": "^1.0.0", diff --git a/package.json b/package.json index acededa2..778de516 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nyc", - "version": "16.0.0", + "version": "17.0.0", "description": "the Istanbul command line interface", "main": "index.js", "scripts": {