Skip to content

npm audit fails on http-proxy #9017

Closed
Closed

Description

@sergeicodes

Describe the bug

npm audit fails on http-proxy

Original issue: http-party/node-http-proxy#1446

Did you try recovering your dependencies?

Yes.

npm --version
6.14.5

Which terms did you search for in User Guide?

(Write your answer here if relevant.)

Environment

Environment Info:

  current version of create-react-app: 3.4.1
  running from /Users/sergeikriger/.npm/_npx/73840/lib/node_modules/create-react-app

  System:
    OS: macOS 10.15.3
    CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
  Binaries:
    Node: 12.11.1 - ~/.nvm/versions/node/v12.11.1/bin/node
    Yarn: 1.19.0 - /usr/local/bin/yarn
    npm: 6.14.5 - ~/.nvm/versions/node/v12.11.1/bin/npm
  Browsers:
    Chrome: 81.0.4044.138
    Firefox: 76.0.1
    Safari: 13.0.5
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-dom: 16.9.0 => 16.9.0 
    react-scripts: ^3.4.0 => 3.4.1 
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

  1. npm audit

Expected behavior

Audit passes.

Actual behavior

Audit fails:

image

Reproducible demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Activity

  1. vikramdadwal commented on May 15, 2020

    @vikramdadwal

    image

  2. erwanriou commented on May 15, 2020

    @erwanriou

    +1 same issue here, blocking CI to deploy

  3. sergeicodes commented on May 18, 2020

    @sergeicodes
    Author

    Original issue is fixed and marked as unaffected.

    http-party/node-http-proxy#1447 (comment)

  4. uxtx commented on May 18, 2020

    @uxtx

    Looks like this version bump is slowly getting propagated up the dependency chain (webpack/webpack-dev-server#2616) - anyone have cycles to look at bumping it for CRA? I can try taking it on if no other takers.

  5. chimurai commented on May 18, 2020

    @chimurai

    http-proxy@1.18.1 is now whitelisted: https://www.npmjs.com/advisories/1486/versions

    Think if you just refresh/update the lockfiles or reinstall the dependencies you should be able to get the latest http-proxy@1.18.1, without having to wait for webpack-dev-server.

    Optionally, with yarn you could also add resolutions to your package.json: https://classic.yarnpkg.com/en/docs/selective-version-resolutions/#toc-how-to-use-it

  6. stale commented on Jun 17, 2020

    @stale

    This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

  7. stale commented on Jun 23, 2020

    @stale

    This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions