Coder Social home page Coder Social logo

Comments (10)

ryanluker avatar ryanluker commented on September 28, 2024 1

hmm... I didn't use mocha before ... but if it's just a testing library ... I can move it to devDependencies or remove it altogether as I added jest. I'll have to fix scripts also.

BTW the old version mocha was the one causing the critical vulnerability. so, I had to do this major upgrade.

Yeah old mocha has security complaints in this repo as well but within the example project folders 😅. Ping me once the PR is up to swap out the dependency with yours and I can get the CI workflow running against it for yeah.

from vscode-coverage-gutters.

ryanluker avatar ryanluker commented on September 28, 2024 1

@7sean68 Thanks again for helping maintain and enhance the extension!
This will go out in the 2.11.0 release (shouldn't be more than a couple weeks as I will descope some of the items to allow for this to go out quicker).

from vscode-coverage-gutters.

ryanluker avatar ryanluker commented on September 28, 2024

@7sean68 Thanks for the ticket!
Most likely, we will need to fix this in the jacoco upstream dependency 🤔.
https://www.npmjs.com/package/jacoco-parse

It seems like the project is not maintained anymore though and someone will have to look for a more up-to-date fork or do the fix in a fork themselves.

from vscode-coverage-gutters.

7sean68 avatar 7sean68 commented on September 28, 2024

I searched but couldn't find a suitable fork ... I can create a fork and implement this in it then publish it on npm. will you be willing to use it?

from vscode-coverage-gutters.

7sean68 avatar 7sean68 commented on September 28, 2024

I forked it to
https://www.npmjs.com/package/@7sean68/jacoco-parse

and added support for group tag keeping all backward compatibility.
also I fixed some vulnerabilities including 1 critical.

from vscode-coverage-gutters.

ryanluker avatar ryanluker commented on September 28, 2024

I forked it to https://www.npmjs.com/package/@7sean68/jacoco-parse

and added support for group tag keeping all backward compatibility. also I fixed some vulnerabilities including 1 critical.

Looks great, thanks for taking this on!
If you can setup a PR against the extension, I will do a review of the new forked dependency and we can see if all the tests pass in the CI workflow.

from vscode-coverage-gutters.

ryanluker avatar ryanluker commented on September 28, 2024

@7sean68 Only initial minor issue I see (after looking through vokal/jacoco-parse@master...7sean68:jacoco-parse:master#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R21), is that the repo has mocha as a dependency rather than a dev one? (this isn't something you did with the fork and I am not sure the lift to move that into a dev dependency instead?)

Nice job with the fork and the extra test coverage though! 👍🏻

from vscode-coverage-gutters.

7sean68 avatar 7sean68 commented on September 28, 2024

hmm... I didn't use mocha before ... but if it's just a testing library ... I can move it to devDependencies or remove it altogether as I added jest. I'll have to fix scripts also.

BTW the old version mocha was the one causing the critical vulnerability. so, I had to do this major upgrade.

from vscode-coverage-gutters.

7sean68 avatar 7sean68 commented on September 28, 2024

@ryanluker
can you check this PR #405 ?

from vscode-coverage-gutters.

ryanluker avatar ryanluker commented on September 28, 2024

@ryanluker can you check this PR #405 ?

Sure thing!


Took a first look and left one comment, otherwise looking great to me (especially the added example + test coverage! thanks a bunch for htis).

from vscode-coverage-gutters.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.