Coder Social home page Coder Social logo

Comments (7)

VoltrexKeyva avatar VoltrexKeyva commented on May 24, 2024 3

If you use npm ls -g ip you can pinpoint exactly what depends on it, in this case npm depends on make-fetch-happen which in turn depends on @npmcli/agent which depends on socks-proxy-agent. socks-proxy-agent depends on socks but socks removed the ip package in JoshGlazebrook/socks@66b7f73, so to fix this the socks version must be bumped here in socks-proxy-agent and release an update, then @npmcli/agent must update to the new version of socks-proxy-agent and release an update, and then make-fetch-happen must update to the new version of @npmcli/agent and release an update, and finally npm must update to the new version of make-fetch-happen... 😅

from node.

mhdawson avatar mhdawson commented on May 24, 2024 2

Discussion on this issue in npm repo - npm/cli#7216

from node.

mhdawson avatar mhdawson commented on May 24, 2024 1

I think we should move this to https://github.com/nodejs/nodejs-dependency-vuln-assessments. Any concerns with moving it there?

from node.

rovindra avatar rovindra commented on May 24, 2024

Yes agree with you its a very long chain. Lets see what we can do as it should be fixed.

from node.

joyeecheung avatar joyeecheung commented on May 24, 2024

Or, it seems npm CLI is only using make-fetch-happen here: https://github.com/npm/cli/blob/95b505738a73ba740227a41b8c7c87013af5acaf/lib/commands/doctor.js#L197 which can be replaced with the global fetch since Node.js v18...

from node.

sidewaiise avatar sidewaiise commented on May 24, 2024

This is causing some issues with our security scanner. We might need to delete the dependency as part of the build process until it's fixed in the base images.

using base image node:18-alpine

from node.

michaelact avatar michaelact commented on May 24, 2024

This is causing some issues with our security scanner. We might need to delete the dependency as part of the build process until it's fixed in the base images.

using base image node:18-alpine

How did you manage to remove it?

from node.

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.