Skip to content

Commit f86e91b

Browse files
committed
Updated vulnerable dependancy
1 parent f454477 commit f86e91b

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

bin/gulp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ fi
1616

1717
cd "$CODEBASE"
1818

19-
docker-compose run --no-deps --rm -w /srv/manager app gulp $@
19+
/usr/local/bin/docker-compose run --no-deps --rm -w /srv/manager app gulp $@
2020
exit $?

bin/npm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ fi
1616

1717
cd "$CODEBASE"
1818

19-
docker-compose run --no-deps --rm -w /srv/manager app npm $@
19+
/usr/local/bin/docker-compose run --no-deps --rm -w /srv/manager app npm $@
2020
exit $?

bin/yarn

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4+
if hash realpath 2>/dev/null; then
5+
export CODEBASE=$(realpath $SCRIPT_DIR/..)
6+
elif hash grealpath 2>/dev/null; then
7+
export CODEBASE=$(grealpath $SCRIPT_DIR/..)
8+
else
9+
export CODEBASE=$(readlink -e $SCRIPT_DIR/..)
10+
fi
11+
12+
if [ -z "$CODEBASE" ]; then
13+
echo "Unable to determine absolute codebase directory"
14+
exit 1
15+
fi
16+
17+
cd "$CODEBASE"
18+
19+
/usr/local/bin/docker-compose run --no-deps --rm -w /srv/manager app yarn $@
20+
exit $?

manager/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"gulp-concat-util": "^0.5.5",
3939
"gulp-ejs": "^3.0.1",
4040
"gulp-imagemin": "^3.3.0",
41-
"gulp-sass": "^3.2.1",
41+
"gulp-sass": "^4.0.1",
4242
"gulp-util": "^3.0.8",
4343
"image-size": "^0.6.1",
4444
"jquery": "^3.2.1",

0 commit comments

Comments
 (0)