Socket
Socket
Sign inDemoInstall

nyc

Package Overview
Dependencies
Maintainers
3
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nyc - npm Package Versions

13
17

14.1.1

Diff

Changelog

Source

14.1.1 (2019-05-09)

Bug Fixes

  • check-coverage: make the --temp-dir option visible (#1101) (b5b67de)
  • cli: Report error if unwanted positional arguments are received (#1100) (57debc1), closes #401
coreyfarrell
published 14.1.0 •

Changelog

Source

14.1.0 (2019-04-24)

Bug Fixes

  • Do not crash when nyc is run inside itself. (#1068) (c4fcf5e), closes #1067
  • Exit with code 1 when nyc doesn't know what to do. (#1070) (21fb2c8)
  • Purge source-map cache before reporting if cache is disabled. (#1080) (3d9eaa4)
  • Use correct config property for parser plugins (#1082) (a7bc7ae)

Features

coreyfarrell
published 14.0.0 •

Changelog

Source

14.0.0 (2019-04-15)

Bug Fixes

  • Add cwd option to instrument command (#1024) (051d95a)
  • Add config values to hash salt (#988) (7ac325d), closes #522
  • Exclude negated not working with '--all' switch (#977) (91de23c)
  • Make --all work for transpiled code (#1047) (18e04ba)
  • Resolve absolute paths in nyc instrument (#1012) (3cb1861), closes #1014
  • Set processinfo pid/ppid to actual numbers (#1057) (32f75b0)
  • Use a single instance of nyc for all actions of main command. (#1059) (b909575)

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, 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>

coreyfarrell
published 14.0.0-rc.1 •

coreyfarrell
published 14.0.0-alpha.0 •

coreyfarrell
published 13.3.0 •

Changelog

Source

13.3.0 (2019-02-14)

Bug Fixes

Features

<a name="13.2.0"></a>

coreyfarrell
published 13.2.0 •

Changelog

Source

13.2.0 (2019-01-27)

Bug Fixes

Features

<a name="13.1.0"></a>

coreyfarrell
published 13.1.0 •

Changelog

Source

13.1.0 (2018-09-06)

Features

<a name="13.0.1"></a>

coreyfarrell
published 13.0.1 •

Changelog

Source

13.0.1 (2018-07-24)

Bug Fixes

  • add flag to allow control of instrumenter esModules option, default to looser parsing (#863) (6b6cd5e)
  • Enable es-modules by default. (#889) (d0b76e2), closes #796
  • Update caching-transform options. (#873) (52b69ef)
  • use uuid/v4 to generate unique identifiers. (#883) (7483ed9)

<a name="13.0.0"></a>

bcoe
published 13.0.0 •

Changelog

Source

13.0.0 (2018-06-08)

Bug Fixes

  • source was being instrumented twice, due to upstream fix in ista… (#853) (d0f654c)

Features

  • allow rows with 100% statement, branch, and function coverage to be skipped in text report (#859) (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>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc