Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 641 Bytes

vulnerabilities.md

File metadata and controls

24 lines (17 loc) · 641 Bytes

Vulnerabilities

Investigate vulnerabilities.

# Run audit in docker container
yarn audit

# Run audit in project folder on host system
docker-compose exec -u application web yarn audit

# Search for Yarn and execute audit on host system
find . -maxdepth 2 -iname yarn.lock -exec sh -c '(echo "\n$(dirname {})" && cd $(dirname {}) && docker-compose up -d && docker-compose exec -u application web yarn audit && cd -)' \;

Update interactively. In case of doubt delete node_modules and reinstall with yarn install.

# Interactive upgrade
yarn upgrade-interactive --latest

# Show outdated packages
yarn outdated