Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade nyc to version 14.0.0 #27

Merged
merged 1 commit into from
Apr 17, 2019
Merged

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Apr 17, 2019

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)

Bug Fixes

Features

  • Add delete option to instrument command (#1005) (d6db551)
  • Add include and exclude options to instrument command (#1007) (8da097e)
  • Add processinfo index, add externalId (#1055) (8dcf180)
  • Add support for nyc.config.js (#1019) (3b203c7)
  • Add support to exclude files on coverage report generation (#982) (509c6aa)
  • Add test-exclude args to check-coverage and report subcommands. (0fc217e)
  • Always build the processinfo temp dir (#1061) (c213469)
  • Enable es-modules option for nyc instrument command (#1006) (596b120)
  • Fix excludeAfterRemap functionality. (36bcc0b)
  • Implement nyc instrument --complete-copy (#1056) (2eb13c6)
  • Remove bundling (#1017) (b25492a)
  • 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.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 48 commits:


Depfu Status

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)

@depfu depfu bot added the depfu label Apr 17, 2019
@coveralls
Copy link

Coverage Status

Coverage remained the same at 80.769% when pulling 36d1ff6 on depfu/update/npm/nyc-14.0.0 into 5096901 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 80.769% when pulling 36d1ff6 on depfu/update/npm/nyc-14.0.0 into 5096901 on master.

@papandreou papandreou merged commit f1d640b into master Apr 17, 2019
@depfu depfu bot deleted the depfu/update/npm/nyc-14.0.0 branch April 17, 2019 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants