Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions bin/npm-audit-fix-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

# SPDX-FileCopyrightText: 2020 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0

echo "Running 'npm audit fix' in all directories containing a package-lock.json"

find . -type f -name package-lock.json -print0 | while IFS= read -r -d '' chart; do
(
dir="$(dirname "${chart}")"
cd "${dir}" || exit
echo "Running 'npm audit fix' in $dir"
npm audit fix
)
done
7,852 changes: 5,631 additions & 2,221 deletions hook-sdk/nodejs/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hook-sdk/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"ws": "^7.4.6"
},
"devDependencies": {
"jest": "^26.6.3"
"jest": "^27.0.3"
}
}
7,739 changes: 5,624 additions & 2,115 deletions hooks/declarative-subsequent-scans/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hooks/declarative-subsequent-scans/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"devDependencies": {
"@types/node": "^14.0.14",
"jest": "^26.6.3",
"jest": "^27.0.3",
"typescript": "^3.9.5"
}
}
8,262 changes: 2,043 additions & 6,219 deletions hooks/finding-post-processing/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hooks/finding-post-processing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"lodash": "^4.17.20"
},
"devDependencies": {
"jest": "^26.6.3"
"jest": "^27.0.3"
}
}
Loading