Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npmパッケージのアップグレードが困難になっている #42

Open
Tsutomu-Ikeda opened this issue May 7, 2021 · 0 comments
Assignees

Comments

@Tsutomu-Ikeda
Copy link
Member

概要

フロントエンドを作ってから1年くらいが経ち、脆弱性のあるnpmパッケージを簡単にアップグレードできなくなってしまった。

 Dependabot cannot update hosted-git-info to a non-vulnerable version
The latest possible version that can be installed is 2.8.9 because of the following conflicting dependencies:

@vue/cli-plugin-babel@4.4.6 requires hosted-git-info@^2.1.4 via a transitive dependency on normalize-package-data@2.5.0
@vue/cli-plugin-eslint@4.4.6 requires hosted-git-info@^2.1.4 via a transitive dependency on normalize-package-data@2.5.0
@vue/cli-service@4.4.6 requires hosted-git-info@^2.1.4 via a transitive dependency on normalize-package-data@2.5.0
@vue/cli-shared-utils@4.4.6 requires hosted-git-info@^2.1.4 via a transitive dependency on normalize-package-data@2.5.0
node-sass@5.0.0 requires hosted-git-info@^2.1.4 via a transitive dependency on normalize-package-data@2.5.0
The earliest fixed version is 3.0.8.

View logs or learn more about troubleshooting Dependabot errors.

https://github.com/selelab/admin/security/dependabot/front/yarn.lock/hosted-git-info/open

hosted-git-info の場合、すでにdeprecatedとなったパッケージである node-sass に依存していることが根本的な原因である。

@Tsutomu-Ikeda Tsutomu-Ikeda self-assigned this May 7, 2021
@Tsutomu-Ikeda Tsutomu-Ikeda changed the title npmパッケージを簡単にアップグレードできなくなっている npmパッケージのアップグレードが困難になっている May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant