Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: istanbuljs/nyc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: adb310ca9e6196b67e044dc6e3b6c855b47a9beb
Choose a base ref
...
head repository: istanbuljs/nyc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bebf4d68c6a2cb0c5fd66ba3513a8e68ad5a284f
Choose a head ref

Commits on Jun 5, 2018

  1. fix: source was being instrumented twice, due to upstream fix in ista… (

    #853)
    
    BREAKING CHANGE: --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).
    bcoe authored Jun 5, 2018
    Copy the full SHA
    d0f654c View commit details

Commits on Jun 6, 2018

  1. chore: update dependencies (#855)

    coreyfarrell authored and bcoe committed Jun 6, 2018
    Copy the full SHA
    f09cf02 View commit details

Commits on Jun 8, 2018

  1. feat: allow rows with 100% statement, branch, and function coverage t…

    …o be skipped in text report (#859)
    bcoe authored Jun 8, 2018
    Copy the full SHA
    893345a View commit details
  2. Copy the full SHA
    f0d98a5 View commit details
  3. chore(release): 13.0.0

    Benjamin committed Jun 8, 2018
    Copy the full SHA
    a5818f5 View commit details

Commits on Jun 26, 2018

  1. chore: update dependencies (#866)

    LinusU authored and bcoe committed Jun 26, 2018
    Copy the full SHA
    624a723 View commit details

Commits on Jun 29, 2018

  1. fix: Update caching-transform options. (#873)

    When updating caching--transform it was missed that the `hash` option
    has been refactored.  This means that two files with identical contents
    would be treated as identical.
    coreyfarrell authored and bcoe committed Jun 29, 2018
    Copy the full SHA
    52b69ef View commit details

Commits on Jul 4, 2018

  1. chore: update dependencies (#872)

    LinusU authored and coreyfarrell committed Jul 4, 2018
    Copy the full SHA
    8ab1ae3 View commit details

Commits on Jul 5, 2018

  1. Copy the full SHA
    7483ed9 View commit details
  2. Copy the full SHA
    c325799 View commit details
  3. fix: add flag to allow control of intrumenter esModules option, defau…

    …lt to looser parsing (#863)
    coreyfarrell authored and bcoe committed Jul 5, 2018
    Copy the full SHA
    6b6cd5e View commit details

Commits on Jul 23, 2018

  1. fix: Enable es-modules by default. (#889)

    A previous fix for #796 added an es-modules option and set it false by
    default.  This default was a change of behavior in NYC as previously all
    sources were parsed as ES modules by the instrumenter.  I believe the
    old behavior is the correct default because it allows NYC to work with
    modern code.  Code which uses certain features which violate strict mode
    will have to disable es-modules.  This will not effect ES5 which follows
    the rules of 'use strict'.
    coreyfarrell authored Jul 23, 2018
    Copy the full SHA
    d0b76e2 View commit details

Commits on Jul 24, 2018

  1. Copy the full SHA
    ae5318b View commit details
  2. chore(release): 13.0.1

    coreyfarrell committed Jul 24, 2018
    Copy the full SHA
    4a6b327 View commit details

Commits on Aug 27, 2018

  1. feat: Rename --temp-directory option to --temp-dir (#897)

    * Rename --temp-directory option to --temp-dir
    * Add -t alias
    
    Deprecates the option name --temp-directory in favour of --temp-dir
    --temp-directory has been demoted to a yargs alias of --temp-dir
    This change makes the option naming consistent using the form --*-dir
    AndrewFinlay authored and coreyfarrell committed Aug 27, 2018
    Copy the full SHA
    ccf42df View commit details
  2. chore: Update language of ISSUE_TEMPLATE. (#901)

    Ask for link to repository first, add text explaining the importance of
    linking a repository that demonstrates the bug.
    coreyfarrell authored Aug 27, 2018
    Copy the full SHA
    3b95858 View commit details

Commits on Sep 6, 2018

  1. feat: Bump dependencies. (#915)

    This causes nyc to use final release of babel 7.
    coreyfarrell authored Sep 6, 2018
    Copy the full SHA
    0b3d2cf View commit details
  2. chore(release): 13.1.0

    coreyfarrell committed Sep 6, 2018
    Copy the full SHA
    9f9a1df View commit details

Commits on Oct 14, 2018

  1. docs: Reference @babel/preset-env instead of @babel/env (#925)

    Using the full module name may help avoid potential confusion as `npm install @babel/env` is not valid.
    revelt authored and coreyfarrell committed Oct 14, 2018
    Copy the full SHA
    223c6c9 View commit details

Commits on Nov 19, 2018

  1. chore: Update dependencies. (#926)

    This causes an update to mem to resolve a potential DoS vulnerability in
    command-line processing.
    
    The vulnerable version of mem is still included by development
    dependencies.
    
    Fixes #918
    coreyfarrell authored and JaKXz committed Nov 19, 2018
    Copy the full SHA
    409a2f5 View commit details

Commits on Jan 5, 2019

  1. chore: enable probot-stale

    JaKXz authored Jan 5, 2019
    Copy the full SHA
    2dbb82d View commit details
  2. Copy the full SHA
    ba22a26 View commit details
  3. fix: nyc processing files not covered by include when all is enable…

    …d. (#914)
    
    Fixes #913.
    Fixes #782.
    AGrzes authored and JaKXz committed Jan 5, 2019
    Copy the full SHA
    40afc5f View commit details

Commits on Jan 6, 2019

  1. fix: missing command temp-directory (#928)

    * Fix missing command temp-directory
    
    After changing tempDirectory to tempDir, with a fallback for tempDirectory, the default values set in the 'temp-dir' yargs option were being used rather than falling back to tempDirectory and then the default temp dir.
    This change removes the yargs default value for the option 'temp-dir'.
    This means the statement that assigns '_tempDirectory' in 'index.js' attempts to use temp-dir, then temp-directory, then the default value.  
    This is now under test with some new test cases that show:
      - tempDir is preferred to tempDirectory
      - tempDirectory is used if tempDir isn't set
      - that we fall back to the '.nyc_output' dir if neither tempDir or tempDirectory are set.
    
    * Alternate implementation
    
    Maintains notice of default temp-dir in help output.
    Removed tests as I'm not confident with these right now, will take another look when I get some time.
    
    Fixes #927.
    AndrewFinlay authored and JaKXz committed Jan 6, 2019
    Copy the full SHA
    28b6d09 View commit details
  2. Copy the full SHA
    62d7fb8 View commit details
  3. Copy the full SHA
    f23d474 View commit details

Commits on Jan 8, 2019

  1. Copy the full SHA
    d566efe View commit details

Commits on Jan 12, 2019

  1. tests: coverage for temp-dir changes (#964)

    Covers default value, legacy temp-directory option and new temp-dir option
    AndrewFinlay authored and JaKXz committed Jan 12, 2019
    Copy the full SHA
    93cb5c1 View commit details

Commits on Jan 13, 2019

  1. Copy the full SHA
    35710b1 View commit details

Commits on Jan 15, 2019

  1. feat: avoid hardcoded HOME for spawn-wrap working dir (#957)

    By default, spawn-wrap writes temporary files to HOME.
    It used to be /tmp, but it changed that to HOME to support
    environments that have 'noexec' flags set on their tmpfs mount.
    Ref istanbuljs/spawn-wrap#3.
    
    The problem with this is that nyc now no longer works in environments
    without a (writable) home directory (e.g. the 'nobody' user on
    Linux).
    
    While it is fine to fallback to HOME, it should write elsewhere
    if that is unavailable, and ideally in a way that doesn't require
    every sysadmin or end-user to hardcode some environment variable
    in their package.json specifically for nyc or spawn-wrap.
    
    A common way to communicate this intent is with the XDG_CACHE_HOME
    environment variable.
    
    Fixes #951.
    Krinkle authored and coreyfarrell committed Jan 15, 2019
    Copy the full SHA
    ff834aa View commit details

Commits on Jan 19, 2019

  1. Copy the full SHA
    35cd49a View commit details

Commits on Jan 26, 2019

  1. feat: Option Plugins (#948)

    wzalazar authored and coreyfarrell committed Jan 26, 2019
    Copy the full SHA
    df2730d View commit details

Commits on Jan 27, 2019

  1. Copy the full SHA
    921d386 View commit details
  2. chore: Update dependencies. (#978)

    * Update dependencies.
    * Replace legacy debug-log ponyfill with util.debuglog.
    coreyfarrell authored Jan 27, 2019
    Copy the full SHA
    e95856c View commit details
  3. chore(release): 13.2.0

    coreyfarrell committed Jan 27, 2019
    Copy the full SHA
    29e6f5e View commit details

Commits on Feb 3, 2019

  1. Copy the full SHA
    dd48410 View commit details

Commits on Feb 5, 2019

  1. Copy the full SHA
    8a5e222 View commit details

Commits on Feb 14, 2019

  1. Copy the full SHA
    e8cc59b View commit details
  2. chore(release): 13.3.0

    coreyfarrell committed Feb 14, 2019
    Copy the full SHA
    747a6c1 View commit details
  3. chore: Update package-lock.json for security audit.

    Update so `tap` pulls nyc@13.3.0 to avoid the vulnerable handlebars
    provided by nyc@13.2.0.  This causes the security audit to be clean for
    development installs.
    coreyfarrell committed Feb 14, 2019
    Copy the full SHA
    12b8986 View commit details

Commits on Feb 20, 2019

  1. Copy the full SHA
    509c6aa View commit details

Commits on Feb 22, 2019

  1. fix: Exclude negated not working with '--all' switch (#977)

    * Add tests for nyc --all negated excludes
    * Update file walker to allow negated excludes
    
    Previously the call to glob.sync was knocking out all files in the exclude patterns,
    this would also knock out any files that were intended to be restored by the exclude negated patterns.
    This would prevent node_modules exclude negated files from being covered when run with --all.
    AndrewFinlay authored and coreyfarrell committed Feb 22, 2019
    Copy the full SHA
    91de23c View commit details
  2. Copy the full SHA
    c017bf9 View commit details
  3. chore(test): consolidate on tap test runner, stop running build step (#…

    …997)
    
    * remove build step from tests
    * address standard nits
    * remove forking-tap dependency
    * increase tap timeout now that we have bigger test files
    bcoe authored and coreyfarrell committed Feb 22, 2019
    Copy the full SHA
    5d5f340 View commit details
  4. Copy the full SHA
    7b5dad5 View commit details

Commits on Feb 27, 2019

  1. fix: add config values to hash salt (#988)

    Fixes #522
    taye authored and coreyfarrell committed Feb 27, 2019
    Copy the full SHA
    7ac325d View commit details
  2. Copy the full SHA
    b64d921 View commit details

Commits on Mar 4, 2019

  1. Copy the full SHA
    0d7fcb7 View commit details

Commits on Mar 5, 2019

  1. Copy the full SHA
    a161d23 View commit details

Commits on Mar 7, 2019

  1. Copy the full SHA
    3cb1861 View commit details
Showing with 10,213 additions and 10,609 deletions.
  1. +0 −3 .babelrc
  2. +27 −0 .github/ISSUE_TEMPLATE.md
  3. +8 −0 .github/stale.yml
  4. +1 −1 .gitignore
  5. +8 −0 .taprc
  6. +17 −5 .travis.yml
  7. +183 −1 CHANGELOG.md
  8. +0 −17 ISSUE_TEMPLATE
  9. +225 −288 README.md
  10. +0 −22 appveyor.yml
  11. +81 −64 bin/nyc.js
  12. +3 −22 bin/wrap.js
  13. +42 −18 build-self-coverage.js
  14. +0 −56 build-tests.js
  15. +43 −0 docs/instrument.md
  16. +37 −0 docs/setup-codecov.md
  17. +34 −0 docs/setup-coveralls.md
  18. +412 −461 index.js
  19. +12 −30 lib/commands/check-coverage.js
  20. +74 −0 lib/commands/helpers.js
  21. +50 −69 lib/commands/instrument.js
  22. +22 −27 lib/commands/merge.js
  23. +19 −34 lib/commands/report.js
  24. +36 −220 lib/config-util.js
  25. +51 −0 lib/fs-promises.js
  26. +27 −11 lib/hash.js
  27. +15 −22 lib/instrumenters/istanbul.js
  28. +7 −6 lib/instrumenters/noop.js
  29. +4 −2 lib/process-args.js
  30. +0 −98 lib/process.js
  31. +27 −0 lib/register-env.js
  32. +0 −20 lib/self-coverage-helper.js
  33. +68 −41 lib/source-maps.js
  34. +28 −0 lib/wrap.js
  35. +19 −0 npm-run-clean.js
  36. +22 −0 nyc.config.js
  37. +5,022 −6,448 package-lock.json
  38. +49 −101 package.json
  39. +31 −0 self-coverage-helper.js
  40. +20 −0 tap-snapshots/test-config-override.js-TAP.test.js
  41. +16 −0 tap-snapshots/test-eager.js-TAP.test.js
  42. +17 −0 tap-snapshots/test-instrument.js-TAP.test.js
  43. +980 −0 tap-snapshots/test-nyc-integration.js-TAP.test.js
  44. +26 −0 tap-snapshots/test-tsc.js-TAP.test.js
  45. +127 −0 test/add-all-files.js
  46. +35 −0 test/cache.js
  47. +15 −0 test/config-override.js
  48. +85 −0 test/config.js
  49. +39 −0 test/cwd.js
  50. +30 −0 test/eager.js
  51. +0 −71 test/fixtures/_generateReport.js
  52. +6 −0 test/fixtures/cli/.instrument-nycrc
  53. +8 −0 test/fixtures/cli/by-arg2.js
  54. +2 −0 test/fixtures/cli/conf-override-module.js
  55. +24 −0 test/fixtures/cli/conf-override-root.js
  56. +1 −1 test/fixtures/cli/external-instrumenter.js
  57. +1 −1 test/fixtures/cli/half-covered-failing.js
  58. +5 −0 test/fixtures/cli/instrument-inplace/file1.js
  59. +5 −0 test/fixtures/cli/instrument-inplace/file2.js
  60. +1 −0 test/fixtures/cli/instrument-inplace/package.json
  61. +9 −0 test/fixtures/cli/no-transform/half-covered.xjs
  62. +5 −0 test/fixtures/cli/not-strict.js
  63. +1 −0 test/fixtures/cli/nyc-config-js/ignore.js
  64. +11 −0 test/fixtures/cli/nyc-config-js/index.js
  65. +3 −0 test/fixtures/cli/nyc-config-js/nyc.config.js
  66. +9 −0 test/fixtures/cli/nyc-config-js/nycrc-config.js
  67. +5 −0 test/fixtures/cli/nyc-config-js/package.json
  68. +2 −0 test/fixtures/cli/nycrc/.nycrc.yaml
  69. +2 −0 test/fixtures/cli/nycrc/.nycrc.yml
  70. +2 −0 test/fixtures/cli/selfspawn-fibonacci.js
  71. +2 −0 test/fixtures/cli/skip-full.js
  72. +1 −0 test/fixtures/cli/subdir/.gitignore
  73. +2 −0 test/fixtures/cli/subdir/input-dir/exclude-me/index.js
  74. +2 −0 test/fixtures/cli/subdir/input-dir/include-me/exclude-me.js
  75. +2 −0 test/fixtures/cli/subdir/input-dir/include-me/include-me.js
  76. +2 −0 test/fixtures/cli/subdir/input-dir/node_modules/index.js
  77. +4 −0 test/fixtures/conf-multiple-extensions/run.js
  78. +5 −0 test/fixtures/eager.js
  79. +2 −0 test/fixtures/exclude-node-modules/.gitignore
  80. 0 test/fixtures/exclude-node-modules/bin/do-nothing.js
  81. +1 −0 test/fixtures/exclude-node-modules/node_modules/@istanbuljs/fake-module-1/index.js
  82. +1 −0 test/fixtures/exclude-node-modules/node_modules/@istanbuljs/fake-module-2/index.js
  83. +1 −0 test/fixtures/exclude-node-modules/package.json
  84. +9 −0 test/fixtures/hooks/run-in-context.js
  85. +14 −0 test/fixtures/identical-file-runner.js
  86. +5 −0 test/fixtures/identical-file1.js
  87. +5 −0 test/fixtures/identical-file2.js
  88. +4 −0 test/fixtures/nyc.config.js
  89. +2 −2 test/fixtures/package.json
  90. +3 −0 test/fixtures/parser-plugins/no-plugins.json
  91. +7 −0 test/fixtures/parser-plugins/package.json
  92. +2 −0 test/fixtures/parser-plugins/v8.js
  93. +5 −0 test/fixtures/recursive-run/package.json
  94. +0 −793 test/fixtures/report.js
  95. +4 −0 test/fixtures/transpile-hook.js
  96. +1 −0 test/fixtures/tsc/.npmrc
  97. +16 −0 test/fixtures/tsc/mapping.js
  98. +1 −0 test/fixtures/tsc/mapping.js.map
  99. +8 −0 test/fixtures/tsc/mapping.ts
  100. +15 −0 test/fixtures/tsc/package.json
  101. +8 −0 test/fixtures/tsc/tsconfig.json
  102. +29 −0 test/helpers/env-check-config.js
  103. +16 −0 test/helpers/index.js
  104. +11 −0 test/helpers/parse-argv.js
  105. +8 −0 test/helpers/paths.js
  106. +32 −0 test/helpers/reset-state.js
  107. +49 −0 test/helpers/run-nyc.js
  108. +3 −0 test/helpers/source-map-support.js
  109. +25 −0 test/helpers/spawn.js
  110. +31 −0 test/helpers/temp-dir-setup.js
  111. +16 −0 test/helpers/test-failure.js
  112. +16 −0 test/helpers/test-success.js
  113. +355 −0 test/instrument.js
  114. +58 −0 test/issue-190.js
  115. +0 −1,079 test/nyc-bin.js
  116. +668 −0 test/nyc-integration.js
  117. +0 −48 test/nyc.js
  118. +29 −0 test/parser-plugins.js
  119. +65 −65 test/process-args.js
  120. +86 −0 test/processinfo.js
  121. +52 −0 test/report.js
  122. +76 −0 test/should-instrument.js
  123. +37 −0 test/source-map-support.js
  124. +0 −462 test/src/nyc-tap.js
  125. +81 −0 test/temp-dir.js
  126. +28 −0 test/tsc.js
  127. +112 −0 test/wrap.js
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--Please use the template provided below when reporting bugs:-->
## Link to bug demonstration repository
<!--
A demo repository will show the combination of module versions being used,
command-lines and configurations. NYC is very complex, it is difficult or
even impossible to triage most bugs without this information.
If you cannot share a link to your repository (maybe it's private) then you must
create a basic `nyc-bug-demo` repository and link to that please [mandatory].
-->

## Expected Behavior

## Observed Behavior

### Troubleshooting steps
- [ ] still occurring when I put `cache: false` in my nyc config

## Environment Information
<!--
[mandatory] run the following script:
npx envinfo@latest --preset nyc
-->
```
# paste the output here
```
8 changes: 8 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 365

exemptLabels:
- "Great First Contribution"
- pinned
- security

staleLabel: stale
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -3,6 +3,6 @@ coverage
node_modules
test/build/
.self_coverage
*.covered.js
self-coverage/
*.swp
needs-transpile.js
8 changes: 8 additions & 0 deletions .taprc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"test-ignore": "^test/(helpers|src)/",
"coverage": false,
"jobs": 1,
"timeout": 360,
"bail": false,
"esm": false
}
22 changes: 17 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
sudo: false
language: node_js
os:
- windows
- linux
- osx
node_js:
- "node"
- 10
- 8
- 6
- "stable"
matrix:
## An ENOMEM error occurs with 10+ under Travis-CI for Windows.
## Disable until we can determine the cause.
# include:
# - os: windows
# node_js: "latest"
exclude:
- os: windows
node_js: "node"
- os: windows
node_js: 10
git:
depth:
1
env:
secure: "SVg7NpV0Sru296kdp+eFl07RFjtJy242fWQ1KDCUdk/1EtZEOzBoSKP7Tn3zX/VLBieexL0T31EwYvRztnL97Sr8VgpYU0z95vCPO8FrixElJR6NH3dqrKeNzC3xOYdV0fy2b4UMlPJOI0aYDT1KHm1aWtkb2J8zqII+XbMtlDaelfHCDxa2+RBII9nYYDP62z+0chQFS6MGPSNwve3G2emYHZpYP5iTFmOzaFUCAjLskKvnnsY0jyx5XssqAo17747WKZl5SDgN8YHZIwhE5tB9m9j3MGjJhwdsR3kmq2om0GD1tQFFAXzWhWad3zNBUE4fLqswgASi39o5NIEzvSRzpw77ttOkkIFGem0l421Zi25W8x5n6GZvP06Y47ddmjNBlniwIzG4fb3dbIByCy/g5SjUYmfnke7stXXBKsPv0eEadlLGFWnG5RIfnyGjvUgQ//QXSAnBBzYF9IK+KUdU8c9kHF6kPybsGEzjQoX+4EJL6kZ4sNX9qxjHERUr4Jb6rAMOnKI9VtCBNqwcCC3nV5DDWHS86hKwbuTbBFkszP7majOi0kUQJTO/tZGwVVcphSDwhL5QkmMepLOqXyRICdUcB2ffXHYhZLiZPofYdom8csaDolqFkotJEBj3GM3gwHvUC3i1vxshxtjF6NHjanhpiIpHLRCs6R1RESE="

after_script:
- "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
184 changes: 183 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,189 @@
# Change Log
# Changelog

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.

## [15.0.0](https://github.com/istanbuljs/nyc/compare/v14.1.1...v15.0.0) (2019-12-20)


### ⚠ BREAKING CHANGES

* 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.
* The `root` field has been removed from processinfo
files.

### Features

* 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)
* Allow `nyc instrument` to instrument code in place ([#1149](https://github.com/istanbuljs/nyc/issues/1149)) ([7783284](https://github.com/istanbuljs/nyc/commit/77832845b85134d21eca3a23c812c4f21f36713f))
* Drop node.js 6, upgrade dependencies ([#1134](https://github.com/istanbuljs/nyc/issues/1134)) ([00c3b34](https://github.com/istanbuljs/nyc/commit/00c3b3440a5b2ffe11b9c19ae4e08ad2f5b70e33))
* Filenames relative to project cwd in coverage reports ([#1212](https://github.com/istanbuljs/nyc/issues/1212)) ([5258e9f](https://github.com/istanbuljs/nyc/commit/5258e9fdb1d9e3d4abd4cc9768bc09cd8040a6be))
* 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-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

* Avoid `source-map` module during `signal-exit` handler ([#1191](https://github.com/istanbuljs/nyc/issues/1191)) ([83eb629](https://github.com/istanbuljs/nyc/commit/83eb6294f9492bf98405ee9fdf6281c3bc199a3d))
* Better error handling for main execution, reporting ([#1229](https://github.com/istanbuljs/nyc/issues/1229)) ([dfd629d](https://github.com/istanbuljs/nyc/commit/dfd629d95716e6159aa7216c03e28a7fbbb161e7))
* 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)
* 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)), closes [#1113](https://github.com/istanbuljs/nyc/issues/1113) [#1124](https://github.com/istanbuljs/nyc/issues/1124) [#1148](https://github.com/istanbuljs/nyc/issues/1148)
* Honor eager setting (false by default) ([#1179](https://github.com/istanbuljs/nyc/issues/1179)) ([c18fb0a](https://github.com/istanbuljs/nyc/commit/c18fb0a9a8eae5904298d87c62d9934243de8674))
* Remove vestigial environment variables ([#1078](https://github.com/istanbuljs/nyc/issues/1078)) ([cfd3da0](https://github.com/istanbuljs/nyc/commit/cfd3da05156b98952f03f7be2dd3d23ba328073f))

## [14.1.1](https://github.com/istanbuljs/nyc/compare/v14.1.0...v14.1.1) (2019-05-09)


### Bug Fixes

* **check-coverage:** make the --temp-dir option visible ([#1101](https://github.com/istanbuljs/nyc/issues/1101)) ([b5b67de](https://github.com/istanbuljs/nyc/commit/b5b67de))
* **cli:** Report error if unwanted positional arguments are received ([#1100](https://github.com/istanbuljs/nyc/issues/1100)) ([57debc1](https://github.com/istanbuljs/nyc/commit/57debc1)), closes [#401](https://github.com/istanbuljs/nyc/issues/401)



# [14.1.0](https://github.com/istanbuljs/nyc/compare/v14.0.0...v14.1.0) (2019-04-24)


### Bug Fixes

* Do not crash when nyc is run inside itself. ([#1068](https://github.com/istanbuljs/nyc/issues/1068)) ([c4fcf5e](https://github.com/istanbuljs/nyc/commit/c4fcf5e)), closes [#1067](https://github.com/istanbuljs/nyc/issues/1067)
* 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/21fb2c8))
* 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/3d9eaa4))
* Use correct config property for parser plugins ([#1082](https://github.com/istanbuljs/nyc/issues/1082)) ([a7bc7ae](https://github.com/istanbuljs/nyc/commit/a7bc7ae))


### Features

* add support for yaml configuration file ([#1054](https://github.com/istanbuljs/nyc/issues/1054)) ([ca37ffa](https://github.com/istanbuljs/nyc/commit/ca37ffa))



# [14.0.0](https://github.com/istanbuljs/nyc/compare/v13.3.0...v14.0.0) (2019-04-15)


### Bug Fixes

* Add `cwd` option to instrument command ([#1024](https://github.com/istanbuljs/nyc/issues/1024)) ([051d95a](https://github.com/istanbuljs/nyc/commit/051d95a))
* Add config values to hash salt ([#988](https://github.com/istanbuljs/nyc/issues/988)) ([7ac325d](https://github.com/istanbuljs/nyc/commit/7ac325d)), closes [#522](https://github.com/istanbuljs/nyc/issues/522)
* Exclude negated not working with '--all' switch ([#977](https://github.com/istanbuljs/nyc/issues/977)) ([91de23c](https://github.com/istanbuljs/nyc/commit/91de23c))
* Make --all work for transpiled code ([#1047](https://github.com/istanbuljs/nyc/issues/1047)) ([18e04ba](https://github.com/istanbuljs/nyc/commit/18e04ba))
* Resolve absolute paths in nyc instrument ([#1012](https://github.com/istanbuljs/nyc/issues/1012)) ([3cb1861](https://github.com/istanbuljs/nyc/commit/3cb1861)), closes [#1014](https://github.com/istanbuljs/nyc/issues/1014)
* Set processinfo pid/ppid to actual numbers ([#1057](https://github.com/istanbuljs/nyc/issues/1057)) ([32f75b0](https://github.com/istanbuljs/nyc/commit/32f75b0))
* 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/b909575))


### Features

* Add `delete` option to instrument command ([#1005](https://github.com/istanbuljs/nyc/issues/1005)) ([d6db551](https://github.com/istanbuljs/nyc/commit/d6db551))
* Add `include` and `exclude` options to instrument command ([#1007](https://github.com/istanbuljs/nyc/issues/1007)) ([8da097e](https://github.com/istanbuljs/nyc/commit/8da097e))
* Add processinfo index, add externalId ([#1055](https://github.com/istanbuljs/nyc/issues/1055)) ([8dcf180](https://github.com/istanbuljs/nyc/commit/8dcf180))
* Add support for nyc.config.js ([#1019](https://github.com/istanbuljs/nyc/issues/1019)) ([3b203c7](https://github.com/istanbuljs/nyc/commit/3b203c7))
* Add support to exclude files on coverage report generation ([#982](https://github.com/istanbuljs/nyc/issues/982)) ([509c6aa](https://github.com/istanbuljs/nyc/commit/509c6aa))
* Add test-exclude args to check-coverage and report subcommands. ([0fc217e](https://github.com/istanbuljs/nyc/commit/0fc217e))
* Always build the processinfo temp dir ([#1061](https://github.com/istanbuljs/nyc/issues/1061)) ([c213469](https://github.com/istanbuljs/nyc/commit/c213469))
* Enable `es-modules` option for nyc instrument command ([#1006](https://github.com/istanbuljs/nyc/issues/1006)) ([596b120](https://github.com/istanbuljs/nyc/commit/596b120))
* Fix excludeAfterRemap functionality. ([36bcc0b](https://github.com/istanbuljs/nyc/commit/36bcc0b))
* Implement `nyc instrument --complete-copy` ([#1056](https://github.com/istanbuljs/nyc/issues/1056)) ([2eb13c6](https://github.com/istanbuljs/nyc/commit/2eb13c6))
* Remove bundling ([#1017](https://github.com/istanbuljs/nyc/issues/1017)) ([b25492a](https://github.com/istanbuljs/nyc/commit/b25492a))
* Support turning off node_modules default exclude via `exclude-node-modules` option ([#912](https://github.com/istanbuljs/nyc/issues/912)) ([b7e16cd](https://github.com/istanbuljs/nyc/commit/b7e16cd))
* Add support for `--exclude-node-modules` to subcommands. ([#1053](https://github.com/istanbuljs/nyc/issues/1053)) ([e597c46](https://github.com/istanbuljs/nyc/commit/e597c46))


### BREAKING CHANGES

* The `--exclude-after-remap` option is now functional and enabled by default. This causes the `include`, `exclude` and `extension` 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.



<a name="13.3.0"></a>
# [13.3.0](https://github.com/istanbuljs/nyc/compare/v13.2.0...v13.3.0) (2019-02-14)


### Bug Fixes

* update dependencies due to vulnerabilities ([#992](https://github.com/istanbuljs/nyc/issues/992)) ([e8cc59b](https://github.com/istanbuljs/nyc/commit/e8cc59b)), closes [#991](https://github.com/istanbuljs/nyc/issues/991)


### Features

* Support nyc report --check-coverage ([#984](https://github.com/istanbuljs/nyc/issues/984)) ([dd48410](https://github.com/istanbuljs/nyc/commit/dd48410))



<a name="13.2.0"></a>
# [13.2.0](https://github.com/istanbuljs/nyc/compare/v13.1.0...v13.2.0) (2019-01-27)


### Bug Fixes

* Create directory for merge destination. ([#979](https://github.com/istanbuljs/nyc/issues/979)) ([921d386](https://github.com/istanbuljs/nyc/commit/921d386)), closes [#976](https://github.com/istanbuljs/nyc/issues/976)
* missing command temp-directory ([#928](https://github.com/istanbuljs/nyc/issues/928)) ([28b6d09](https://github.com/istanbuljs/nyc/commit/28b6d09)), closes [#927](https://github.com/istanbuljs/nyc/issues/927)
* 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/40afc5f)), closes [#913](https://github.com/istanbuljs/nyc/issues/913) [#782](https://github.com/istanbuljs/nyc/issues/782)


### Features

* avoid hardcoded HOME for spawn-wrap working dir ([#957](https://github.com/istanbuljs/nyc/issues/957)) ([ff834aa](https://github.com/istanbuljs/nyc/commit/ff834aa)), closes [#951](https://github.com/istanbuljs/nyc/issues/951)
* document the fact that cacheDir is configurable ([#968](https://github.com/istanbuljs/nyc/issues/968)) ([35cd49a](https://github.com/istanbuljs/nyc/commit/35cd49a))
* Option Plugins ([#948](https://github.com/istanbuljs/nyc/issues/948)) ([df2730d](https://github.com/istanbuljs/nyc/commit/df2730d))



<a name="13.1.0"></a>
# [13.1.0](https://github.com/istanbuljs/nyc/compare/v13.0.1...v13.1.0) (2018-09-06)


### Features

* Bump dependencies. ([#915](https://github.com/istanbuljs/nyc/issues/915)) ([0b3d2cf](https://github.com/istanbuljs/nyc/commit/0b3d2cf))
* Rename --temp-directory option to --temp-dir ([#897](https://github.com/istanbuljs/nyc/issues/897)) ([ccf42df](https://github.com/istanbuljs/nyc/commit/ccf42df))



<a name="13.0.1"></a>
## [13.0.1](https://github.com/istanbuljs/nyc/compare/v13.0.0...v13.0.1) (2018-07-24)


### Bug Fixes

* add flag to allow control of instrumenter esModules option, default to looser parsing ([#863](https://github.com/istanbuljs/nyc/issues/863)) ([6b6cd5e](https://github.com/istanbuljs/nyc/commit/6b6cd5e))
* Enable es-modules by default. ([#889](https://github.com/istanbuljs/nyc/issues/889)) ([d0b76e2](https://github.com/istanbuljs/nyc/commit/d0b76e2)), closes [#796](https://github.com/istanbuljs/nyc/issues/796)
* Update caching-transform options. ([#873](https://github.com/istanbuljs/nyc/issues/873)) ([52b69ef](https://github.com/istanbuljs/nyc/commit/52b69ef))
* use uuid/v4 to generate unique identifiers. ([#883](https://github.com/istanbuljs/nyc/issues/883)) ([7483ed9](https://github.com/istanbuljs/nyc/commit/7483ed9))



<a name="13.0.0"></a>
# [13.0.0](https://github.com/istanbuljs/nyc/compare/v12.0.2...v13.0.0) (2018-06-08)


### Bug Fixes

* 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/d0f654c))


### Features

* 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/893345a))


### BREAKING CHANGES

* --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).



<a name="12.0.2"></a>
## [12.0.2](https://github.com/istanbuljs/nyc/compare/v12.0.1...v12.0.2) (2018-06-03)

17 changes: 0 additions & 17 deletions ISSUE_TEMPLATE

This file was deleted.

Loading