GithubHelp home page GithubHelp logo

Comments (6)

michaelficarra avatar michaelficarra commented on June 5, 2024 4

Published version 2.1.0.

from escodegen.

ericcornelissen avatar ericcornelissen commented on June 5, 2024 1

Note that at v2.0.0 this was still a regular dependency but on master (7a48a21) it's actually both a development dependency instead and at ^0.9.1. So, assuming master is stable, resolving this would be as easy as deploying the development head.

from escodegen.

wellwelwel avatar wellwelwel commented on June 5, 2024 1

@invaderb the fact that ^0.9.1 is used in package.json means v0.9.1 or a higher patch version can be installed by users of escodegen - in this case both v0.9.2 and v0.9.3, the latter of which resolves the vulnerable dependency. So, it would resolve the problem for any users of the latest version of escodegen, even if they still have to manually update the transitive dependency on their end.

The first comment on the issue you linked points this principle out as well.

@ericcornelissen, it would be great if this repository was synced with npm.

from escodegen.

wellwelwel avatar wellwelwel commented on June 5, 2024

This should be fixed automatically by:

"optionator": "^0.9.1",

Especially since it's a development dependency at master branch

But this repository isn't synchronized with npm package, where it's still as "optionator": "^0.8.1".


@estools, @Constellation and @michaelficarra, please can you check it?

from escodegen.

invaderb avatar invaderb commented on June 5, 2024

@ericcornelissen 0.9.1 still has the vulnerability in it, and 0.9.2 had some sort of hiccup and a newer version was published to npm talked about in this thread here on eslint
eslint/eslint#17317

from escodegen.

ericcornelissen avatar ericcornelissen commented on June 5, 2024

@invaderb the fact that ^0.9.1 is used in package.json means v0.9.1 or a higher patch version can be installed by users of escodegen - in this case both v0.9.2 and v0.9.3, the latter of which resolves the vulnerable dependency. So, it would resolve the problem for any users of the latest version of escodegen, even if they still have to manually update the transitive dependency on their end.

The first comment on the issue you linked points this principle out as well.

from escodegen.

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.