Skip to content

chore: update nyc to v15#1139

Merged
nfischer merged 1 commit intomasterfrom
chore-upgrade-nyc
Nov 12, 2023
Merged

chore: update nyc to v15#1139
nfischer merged 1 commit intomasterfrom
chore-upgrade-nyc

Conversation

@nfischer
Copy link
Copy Markdown
Member

No change to logic. This updates nyc (code coverage tool) to version 15. The main goal is to work around a bug on the latest nodejs LTS versions.

This change indicates it only supports nodejs >= 8.9. Hopefully this is good enough for our purposes since ShellJS currently supports nodejs >= 8.

Fixes #1130

@nfischer
Copy link
Copy Markdown
Member Author

Previously attempted a fix on #1131, but I think I will close that and just iterate on this branch instead.

No change to logic. This updates nyc (code coverage tool) to version 15,
which works around a breaking change that snuck into the latest Node LTS
versions.

Unfortunately, this version of nyc appears to break Node 8 and 9. We
need to work around this problem by skipping test coverage on those
versions.

Fixes #1130
@nfischer nfischer merged commit a987ecf into master Nov 12, 2023
@nfischer nfischer deleted the chore-upgrade-nyc branch November 12, 2023 00:50
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.

test-with-coverage is broken on node v16

1 participant