mirror of
https://github.com/JHUAPL/PINE.git
synced 2026-01-08 22:27:53 -05:00
23 lines
563 B
Bash
Executable File
23 lines
563 B
Bash
Executable File
#!/bin/bash
|
|
# (C) 2021 The Johns Hopkins University Applied Physics Laboratory LLC.
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
echo "Checking dependencies for security issues..."
|
|
|
|
for MOD in backend client docs eve pipelines test; do
|
|
pushd ${DIR}/${MOD} &> /dev/null
|
|
echo ""
|
|
echo " Checking ${MOD}..."
|
|
pipenv check
|
|
popd &> /dev/null
|
|
done
|
|
|
|
for MOD in frontend/annotation test/tests; do
|
|
pushd ${DIR}/${MOD} &> /dev/null
|
|
echo ""
|
|
echo " Checking ${MOD}..."
|
|
npm audit
|
|
popd &> /dev/null
|
|
done
|