Skip to content

Commit

Permalink
[Snyk] Security upgrade mocha from 9.0.3 to 9.1.2 (#22)
Browse files Browse the repository at this point in the history
* fix: package.json & package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908

* fix: shell linting

Co-authored-by: Martin Buchleitner <[email protected]>
  • Loading branch information
snyk-bot and mabunixda authored Dec 6, 2021
1 parent 1220c6b commit 4f9ca06
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 54 deletions.
69 changes: 18 additions & 51 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
},
"dependencies": {
"mocha": "^9.0.2",
"mocha": "^9.1.2",
"node-fronius-solar": "^0.0.10",
"npm-check": "^5.9.2"
},
Expand Down
3 changes: 1 addition & 2 deletions scripts/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

cmd="podman"
has_podman=$(hash docker 2> /dev/null)
if [ "$?" == "0" ]; then
if hash docker ; then
cmd="docker"
fi

Expand Down

0 comments on commit 4f9ca06

Please sign in to comment.