[Snyk] Upgrade solidity-coverage from 0.8.5 to 0.8.12 #37
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade solidity-coverage from 0.8.5 to 0.8.12.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 11 versions ahead of your current version.
The recommended version was released on 4 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-MOCHA-2863123
SNYK-JS-OPENZEPPELINCONTRACTS-5838352
SNYK-JS-OPENZEPPELINCONTRACTS-6346765
SNYK-JS-REQUEST-3361831
SNYK-JS-TOUGHCOOKIE-5672873
SNYK-JS-OPENZEPPELINCONTRACTS-5425051
SNYK-JS-OPENZEPPELINCONTRACTS-5711902
npm:debug:20170905
SNYK-JS-OPENZEPPELINCONTRACTS-5425827
SNYK-JS-OPENZEPPELINCONTRACTS-5672116
Release notes
Package name: solidity-coverage
- 
        0.8.12 - 2024-04-05
- Adds "work-around" support for the 
 
 
- Adds support for solc v0.4.x
 
- Fixes a bug where plugin crashed if the contract sources directory name contained a period.
 
- Fixes a bug where instrumentation failed if there was whitespace between 
 
- Add extendConfig logic for hardhat-viem plugin by @ cgewecke in #883
 
- Support solc v0.4.x by @ cgewecke in #877
 
- Use fs.stat to check directory status by @ cgewecke in #880
 
- Update hardhat dev dep to 2.22.2 (EDR) by @ cgewecke in #881
 
- Tolerate whitespace between 
 
- Document 
 
 
      - 
        0.8.11 - 2024-03-07
- Check all SWAP opcodes for inst. hashes when viaIR is true by @ cgewecke in #873
 
 
      - 
        0.8.10 - 2024-02-29
- Check all PUSH opcodes for instr. hashes when viaIR is true by @ cgewecke in #871
 
 
      - 
        0.8.10-rc.0 - 2024-02-28
      
 
      - 
        0.8.9 - 2024-02-27
- Fix regression introduced in 0.8.7 where modifier branch coverage for modifiers inherited from a dependency was not measured correctly in some cases @ cgewecke in #868
 
 
      - 
        0.8.9-rc.0 - 2024-02-25
      
 
      - 
        0.8.8 - 2024-02-21
- Fix bug when instrumenting hardhat flattened contracts:
- Only inject file-level instr. for first pragma in file by @ cgewecke in #865
 
 
- Fix 0% coverage when using with hardhat-foundry & foundry.toml is present:
- Coerce sources path to absolute path if necessary by @ cgewecke in #866
 
 
 
 
      - 
        0.8.7 - 2024-02-10
 
- Add command option to specify the source files to run the coverage on (#806) by @ clauBv23 in #838
 
- Remove ganache-cli related code from API & tests by @ cgewecke in #849
 
- Add missing 
 
- Enable coverage when 
 
 
      - 
        0.8.7-viaIR.0 - 2024-02-09
      
 
      - 
        0.8.6 - 2024-01-29
- Perform ternary conditional injections before branch injections (#828) by @ cgewecke in #828
 
- Fix chained ternary conditionals instrumentation by @ cgewecke in #830
 
- Fix instrumentation error for virtual modifiers by @ cgewecke in #832
 
- Throw error when mocha parallel is set to true by @ cgewecke in #833
 
- Update faq.md with another 
 
- Document Istanbul 
 
- Use ^ in mocha dep by @ cgewecke in #814
 
- Upgrade solidity-parser to 0.18.0 by @ cgewecke in #829
 
- Add drips funding config by @ cgewecke in #827
 
- @ remedcu made their first contribution in #822
 
 
      - 
        0.8.6-sha1.0 - 2023-10-14
      
 
      - 
        0.8.5 - 2023-09-22
- Update mocha version to fix deprecated debug package by @ ChristopherDedominici in #810
 
- Remove all mentions to buidler by @ fvictorio in #778
 
- change 
 
- Add a package description by @ ilovehackathons in #775
 
- Add dependabot config by @ jtakalai in #759
 
- @ ChristopherDedominici made their first contribution in #810
 
- @ joaoh9 made their first contribution in #777
 
- @ ilovehackathons made their first contribution in #775
 
- @ jtakalai made their first contribution in #759
 
 
    
from solidity-coverage GitHub release notesWhat's Changed
hardhat-viemplugin. If you're using viem, run the coverage task with:requirestatement and the terminating semi-colonPRs
requireand terminating;by @ cgewecke in #884extendConfigchanges in README by @ cgewecke in #885Full Changelog: v0.8.11...v0.8.12
Summary
0.8.11 fixes a(nother) bug that resulted in some line hits remaining undetected when compiling with viaIR=true
What's Changed
Full Changelog: v0.8.10...v0.8.11
Summary
0.8.10 fixes a bug that resulted in some line hits remaining undetected when compiling with
viaIR=trueWhat's Changed
Full Changelog: v0.8.9...v0.8.10
What's Changed
Full Changelog: v0.8.8...v0.8.9
What's Changed
Install
Full Changelog: v0.8.7...v0.8.8
What's Changed
viaIRnow allowedThis release (hopefully) fixes a long-running problem solidity-coverage had with solc's
viaIRcompilation mode - It's now possible to use it without any special configuration. (Please report any ongoing issues with this to issue #861)If you've been using
.solcover.jsoptions likeconfigureYulOptimizerandsolcOptimizerDetailsas a work around, you should remove them when upgrading. (Don't forget to run the hardhat clean task after updating any coverage config stuff).--networkno longer allowedSadly the ganache client has been deprecated. The coverage plugin never worked with its latest major version and the
networkflag only existed for its sake. Going forward, thenetworkoption throws an error notifying the user that coverage only uses the HardhatEVM network.--sourcescli optionYou can now select a single file (or folder) at the command line to generate coverage for. This option should speed things up if you've been waiting for the plugin to instrument everything in a large project whenever you run the command.
(Thanks so much @ clauBv23 for adding this!)
Funding
OpenZeppelin has very generously funded recent work at solidity-coverage via DRIPS, a public goods protocol which helps you direct money to projects in your dependency tree. Thanks so much! ❤️
Links to relevant PRs
onPreCompilestage hook by @ cgewecke in #851viaIRcompiler flag is true by @ cgewecke in #854Full Changelog: v0.8.6...v0.8.7
What's Changed
Fixes
Documentation
viaIRoptimizer config workaround by @ remedcu in #822check-coveragecli command by @ cgewecke in #834Dependencies
Misc
New Contributors
Full Changelog: v0.8.5...v0.8.6
What's Changed
.solcoverjsoccurencies to.solcover.jsby @ joaoh9 in #777New Contributors
Full Changelog: v0.8.4...v0.8.5
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: