깃허브에 푸시 이후에 dependabot alerts 가 뜬다.
We found potential security vulnerabilities in your dependencies.
보안이 취약하므로 package.json의 패키지를 최신 버젼으로 업데이트 해주면 된다.
npm audit // 보안 취약점 확인
npm audit fix // 업데이트
npm audit fix --force // 위 커맨드로 안될 때
[깃허브] 보안 취약점 알림 해결방법 (Dependabot alerts)
요즘 공부용으로 진행 중인 리액트 프로젝트를 push한 뒤 갑자기 Dependabot alerts이 메일로 와서 깜짝 놀랐다. We found potential security vulnerabilities in your dependencies. 보안이 취약하므로 package..
iancoding.tistory.com
'Project > mevote' 카테고리의 다른 글
지도 api 사용 후기 (0) | 2022.06.04 |
---|---|
npm update (0) | 2022.05.21 |
모듈 종속성에러 및 ERR_PACKAGE_PATH_NOT_EXPORTED 오류 해결 (0) | 2022.05.20 |
github remote: Repository not found 오류 해결 (0) | 2022.05.18 |