papandreou / seespee

Create a Content-Security-Policy for a website based on the statically detectable relations
BSD 3-Clause "New" or "Revised" License
75 stars 4 forks source link

Upgrade nyc to version 14.0.0 #28

Closed depfu[bot] closed 5 years ago

depfu[bot] commented 5 years ago

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.0.1 → ^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)
coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 83.14% when pulling 3ee13f0c35a684bea2118f4ae6fe95457b68a0d4 on depfu/update/npm/nyc-14.0.0 into df7c1406fb957b06082471948e663ec159363648 on master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 83.14% when pulling 3ee13f0c35a684bea2118f4ae6fe95457b68a0d4 on depfu/update/npm/nyc-14.0.0 into df7c1406fb957b06082471948e663ec159363648 on master.