-
-
Notifications
You must be signed in to change notification settings - Fork 361
Comparing changes
Open a pull request
base repository: istanbuljs/nyc
base: v13.3.0
head repository: istanbuljs/nyc
compare: v14.0.0
Commits on Feb 14, 2019
-
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.
Configuration menu - View commit details
-
Copy full SHA for 12b8986 - Browse repository at this point
Copy the full SHA 12b8986View commit details
Commits on Feb 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 509c6aa - Browse repository at this point
Copy the full SHA 509c6aaView commit details
Commits on Feb 22, 2019
-
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.
Configuration menu - View commit details
-
Copy full SHA for 91de23c - Browse repository at this point
Copy the full SHA 91de23cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c017bf9 - Browse repository at this point
Copy the full SHA c017bf9View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5d5f340 - Browse repository at this point
Copy the full SHA 5d5f340View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b5dad5 - Browse repository at this point
Copy the full SHA 7b5dad5View commit details
Commits on Feb 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7ac325d - Browse repository at this point
Copy the full SHA 7ac325dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b64d921 - Browse repository at this point
Copy the full SHA b64d921View commit details
Commits on Mar 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0d7fcb7 - Browse repository at this point
Copy the full SHA 0d7fcb7View commit details
Commits on Mar 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a161d23 - Browse repository at this point
Copy the full SHA a161d23View commit details
Commits on Mar 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3cb1861 - Browse repository at this point
Copy the full SHA 3cb1861View commit details -
feat: Enable
es-modules
option for nyc instrument command (#1006)BREAKING CHANGE: `nyc instrument` now enables the `--es-module` option by default.
Configuration menu - View commit details
-
Copy full SHA for 596b120 - Browse repository at this point
Copy the full SHA 596b120View commit details -
Configuration menu - View commit details
-
Copy full SHA for e501d86 - Browse repository at this point
Copy the full SHA e501d86View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc5996a - Browse repository at this point
Copy the full SHA bc5996aView commit details -
feat: Fix excludeAfterRemap functionality.
Previously excludeAfterRemap caused filtering to happen before remapping to original source filenames. This caused the filtering to be completely ineffective. Fix the order, add a test to verify functionality.
Configuration menu - View commit details
-
Copy full SHA for 36bcc0b - Browse repository at this point
Copy the full SHA 36bcc0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fc217e - Browse repository at this point
Copy the full SHA 0fc217eView commit details
Commits on Mar 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b25492a - Browse repository at this point
Copy the full SHA b25492aView commit details
Commits on Mar 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3b203c7 - Browse repository at this point
Copy the full SHA 3b203c7View commit details
Commits on Mar 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d6db551 - Browse repository at this point
Copy the full SHA d6db551View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3d95ff - Browse repository at this point
Copy the full SHA d3d95ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8f28e9 - Browse repository at this point
Copy the full SHA d8f28e9View commit details
Commits on Mar 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 364eb33 - Browse repository at this point
Copy the full SHA 364eb33View commit details
Commits on Mar 17, 2019
-
feat: add
--build-process-tree
feature (#1028)This allows a user to build the processinfo temp files, without actually dumping the process tree to stdout. The goal is to use this in node-tap to see which processes covered which files, so we know which tests to re-run on changes to the source files.
Configuration menu - View commit details
-
Copy full SHA for 64571d3 - Browse repository at this point
Copy the full SHA 64571d3View commit details
Commits on Mar 18, 2019
-
feat: Pass
extension
to test-exclude, use TestExclude.globSync. (#1026Configuration menu - View commit details
-
Copy full SHA for aae5a59 - Browse repository at this point
Copy the full SHA aae5a59View commit details -
feat: Rename
plugins
option toparser-plugins
. (#1031)The original option name created confusion about what was expected. This helps identify that babel parser plugins are expected, not babel transform plugins. BREAKING CHANGE: The `plugins` option has been renamed to `parser-plugins`. Fixes #986
Configuration menu - View commit details
-
Copy full SHA for 2867538 - Browse repository at this point
Copy the full SHA 2867538View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e02c6 - Browse repository at this point
Copy the full SHA 91e02c6View commit details
Commits on Mar 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 051d95a - Browse repository at this point
Copy the full SHA 051d95aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f6c3d4 - Browse repository at this point
Copy the full SHA 1f6c3d4View commit details
Commits on Mar 28, 2019
-
test(instrument): should return unmodified source if no transform fou…
…nd (#1036) * Test that the instrument command returns unmodified source if there is no transform found for a file extension. Currently this behaviour can only be reached when trying to instrument a single file. In the case of instrumenting a directory, files with an extension with no matching transform are filtered out before they can be instrumented. * Cleanup instrumentation code again with a focus on paths The main aim of this has been to clarify whether we're working with relative or absolute file paths, and removing unnecessary transformations. Although I've made a few other 'small' changes here and there. Key changes: * Created a new private method `NYC._transform`, common to `_maybeInstrumentSource` and `instrumentAllFiles`. * Renamed the param in `walkAllFiles` forEach handler to `relFile` to explicitly state the file representation being used. * Let the `addAllFiles` visitor function rely on `testExclude` to determine which files to instrument
Configuration menu - View commit details
-
Copy full SHA for 5c1eb38 - Browse repository at this point
Copy the full SHA 5c1eb38View commit details
Commits on Apr 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3eb0e37 - Browse repository at this point
Copy the full SHA 3eb0e37View commit details
Commits on Apr 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b7e16cd - Browse repository at this point
Copy the full SHA b7e16cdView commit details
Commits on Apr 3, 2019
-
fix: make --all work for transpiled code (#1047)
* cache source maps globally
Configuration menu - View commit details
-
Copy full SHA for 18e04ba - Browse repository at this point
Copy the full SHA 18e04baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31817de - Browse repository at this point
Copy the full SHA 31817deView commit details
Commits on Apr 4, 2019
-
feat: add
include
andexclude
options to instrument command (#1007)BREAKING CHANGE: `nyc instrument` now honors `include` and `exclude` settings, potentially resulting in some files that were previously instrumented being ignored.
Configuration menu - View commit details
-
Copy full SHA for 8da097e - Browse repository at this point
Copy the full SHA 8da097eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68d6333 - Browse repository at this point
Copy the full SHA 68d6333View commit details
Commits on Apr 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 997ed29 - Browse repository at this point
Copy the full SHA 997ed29View commit details -
fix: Use a single instance of nyc for all actions of main command. (#…
…1059) This shares the same instance of nyc for execution, checking coverage and reporting.
Configuration menu - View commit details
-
Copy full SHA for b909575 - Browse repository at this point
Copy the full SHA b909575View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16d4315 - Browse repository at this point
Copy the full SHA 16d4315View commit details
Commits on Apr 6, 2019
-
fix: set processinfo pid/ppid to actual numbers (#1057)
As of Node.js v6, process.ppid is available, and a number. So, there's no need to pass the parent PID through the environment, which casts it to a string. BREAKING CHANGE: this changes the data type of the pid/ppid fields in processinfo files
Configuration menu - View commit details
-
Copy full SHA for 32f75b0 - Browse repository at this point
Copy the full SHA 32f75b0View commit details -
feat: add processinfo index, add externalId (#1055)
If a NYC_PROCESSINFO_EXTERNAL_ID environment variable is set, then it is saved in the processinfo as `externalId`. Furthermore, when this file is generated, some additional helpful metadata is memoized to the processinfo json files, to minimize the cost of repeated generation. (This isn't necessarily a breaking change, but it is an update to the de facto schema for those files.) As soon as possible, index generation and process tree display should be migrated out to a new 'istanbul-lib-processinfo' library. This opens the door to add features in the v14 release family to improve support for partial/resumed test runs and file watching. - When a process is run with --clean=false and a previously seen externalId, clear away all the coverage files in the set for that externalId. - When a file is changed, a test runner can use the index to determine which tests (by externalId) ought to be re-run. - Adds a NYC_PROCESS_ID to environment - Adds `parent` to processInfo object, a uuid referring to parent. - Rebase onto processinfo-numeric-pids branch - Avoid re-writing the processinfo/{uuid}.json files - Update process tree output to rely on process index instead of duplicating effort. BREAKING CHANGE: 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.
Configuration menu - View commit details
-
Copy full SHA for 8dcf180 - Browse repository at this point
Copy the full SHA 8dcf180View commit details -
feat: Add support for --exclude-node-modules to subcommands. (#1053)
This adds support for the `--exclude-node-modules` option/setting to instrument, check-coverage and report sub-commands. Add testing to verify that `--exclude-node-modules=false` is honored for all commands.
Configuration menu - View commit details
-
Copy full SHA for e597c46 - Browse repository at this point
Copy the full SHA e597c46View commit details
Commits on Apr 9, 2019
-
feat: always build the processinfo temp dir (#1061)
Always build the processinfo data directory (with index) in ${tmpdir}/processinfo. This more easily supports cases where the processinfo index may be useful for later analysis, or generating the process tree post hoc.
Configuration menu - View commit details
-
Copy full SHA for c213469 - Browse repository at this point
Copy the full SHA c213469View commit details -
Configuration menu - View commit details
-
Copy full SHA for c88a852 - Browse repository at this point
Copy the full SHA c88a852View commit details -
feat: instrument
--complete-copy
implementation (#1056)With a few caveats: * This will dereference symlinks as it copies them, in some cases this could be a problem i.e. `node_modules/.bin` * This will not copy across empty directories
Configuration menu - View commit details
-
Copy full SHA for 2eb13c6 - Browse repository at this point
Copy the full SHA 2eb13c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 189bae8 - Browse repository at this point
Copy the full SHA 189bae8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7a9d6a - Browse repository at this point
Copy the full SHA d7a9d6aView commit details
Commits on Apr 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8cf8a89 - Browse repository at this point
Copy the full SHA 8cf8a89View commit details -
Configuration menu - View commit details
-
Copy full SHA for e21721a - Browse repository at this point
Copy the full SHA e21721aView commit details
There are no files selected for viewing