Support turning off node_modules default exclude via exclude-node-modules option (#912) (b7e16cd)
Add support for --exclude-node-modules to subcommands. (#1053) (e597c46)
BREAKING CHANGES
The --exclude-after-remap option is now functional and enabled by default. This causes the include and exclude lists to be processed after using source maps to determine the original filename of sources.
Add a file named 'index.json' to the .nyc_output/processinfo directory, which has a different format from the other files in this dir.
Change 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. This can cause failures to instrument scripts which violate 'use strict' rules.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Coverage remained the same at 80.769% when pulling 36d1ff6f3200171c48d029e2ab1cfdd3e0197d75 on depfu/update/npm/nyc-14.0.0 into 50969019f16f8c7d406d2cb5f6b8046324e5d9c9 on master.
Coverage remained the same at 80.769% when pulling 36d1ff6f3200171c48d029e2ab1cfdd3e0197d75 on depfu/update/npm/nyc-14.0.0 into 50969019f16f8c7d406d2cb5f6b8046324e5d9c9 on master.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ nyc (^13.1.0 → ^14.0.0) · Repo · Changelog
Release Notes
14.0.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 48 commits:
chore(release): 14.0.0
docs: update issue template [skip ci] (#1008)
chore: Update package-lock.json
chore: Update dependencies for 14.0.0-rc.1
feat: instrument `--complete-copy` implementation (#1056)
docs: `nyc instrument` and `--exclude-node-modules` (#1039)
feat: always build the processinfo temp dir (#1061)
feat: Add support for --exclude-node-modules to subcommands. (#1053)
feat: add processinfo index, add externalId (#1055)
fix: set processinfo pid/ppid to actual numbers (#1057)
chore: Stop excluding `bin` from coverage results. (#1060)
fix: Use a single instance of nyc for all actions of main command. (#1059)
chore: Remove arrify dependency. (#1058)
docs: move setup docs out of the readme [skip ci] (#1052)
feat: add `include` and `exclude` options to instrument command (#1007)
chore: Update dependencies (#1050)
fix: make --all work for transpiled code (#1047)
feat: Support turning off node_modules default exclude via flag (#912)
docs: A bunch of docs fix-ups (#1038)
test(instrument): should return unmodified source if no transform found (#1036)
docs: project root directory and `--cwd` doc (#1032)
fix: Add `cwd` option to instrument command (#1024)
chore: A few code cleanups (#1033)
feat: Rename `plugins` option to `parser-plugins`. (#1031)
feat: Pass `extension` to test-exclude, use TestExclude.globSync. (#1026)
feat: add `--build-process-tree` feature (#1028)
chore: Improve self-coverage collection. (#1027)
chore: update instrument code to use es2015+ (#1023)
chore: Update dependencies. (#1021)
feat: add `delete` option to instrument command (#1005)
feat: Add support for nyc.config.js (#1019)
feat: Remove bundling (#1017)
feat: Add test-exclude args to check-coverage and report subcommands.
feat: Fix excludeAfterRemap functionality.
Revert "feat: add support to exclude files on coverage report generation (#982)"
chore: Fix es-module test to check for absolute file path in error. (#1016)
feat: Enable `es-modules` option for nyc instrument command (#1006)
fix: resolve absolute paths in nyc instrument (#1012)
docs: Update description of how files are selected for instrumentation (#1009)
chore: Full self coverage (#1000)
docs: Fix a few typos in the changelog (#1004)
fix: add config values to hash salt (#988)
chore: Remove legacy code for exit handling in node.js < 0.11.8 (#999)
chore(test): consolidate on tap test runner, stop running build step (#997)
Revert "fix: Exclude negated not working with '--all' switch (#977)" (#998)
fix: Exclude negated not working with '--all' switch (#977)
feat: add support to exclude files on coverage report generation (#982)
chore: Update package-lock.json for security audit.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands