Skip to content

Commit e1f3e48

Browse files
authored
Merge pull request #37 from leonid-granulate/feature/fix-CVE-issues
CVE issues resolving
2 parents 5fda3ea + a6990cb commit e1f3e48

File tree

21 files changed

+2271
-2420
lines changed

21 files changed

+2271
-2420
lines changed

.github/workflows/backend-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ on:
3535
jobs:
3636
build:
3737
# The type of runner that the job will run on
38-
runs-on: ubuntu-20.04
38+
runs-on: ubuntu-24.04
3939

4040
steps:
41-
- uses: actions/checkout@v2
41+
- uses: actions/checkout@v4
4242

43-
- uses: actions/setup-python@v2
43+
- uses: actions/setup-python@v5
4444
with:
4545
python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax
4646
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
4747

48-
- uses: actions/cache@v2
48+
- uses: actions/cache@v4
4949
with:
5050
path: ~/.cache/pip
5151
key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}

.github/workflows/frontend-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,33 +31,33 @@ jobs:
3131
# Jobs are running in parallel, saving time
3232
build:
3333
# The type of runner that the job will run on
34-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-24.04
3535

3636
# Steps represent a sequence of tasks that will be executed as part of the job
3737
steps:
3838
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
39-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
4040

4141
- name: Get frontend source code HASH
4242
run: |
4343
export HASH=`git ls-files ./src/gprofiler/frontend/src ./src/gprofiler/frontend/yarn.lock | xargs md5sum | cut -d" " -f1 | md5sum | cut -d" " -f1`
4444
echo "FRONTEND_SRC_HASH=$HASH" >> $GITHUB_ENV
4545
4646
- name: Use frontend build cache
47-
uses: actions/cache@v2
47+
uses: actions/cache@v4
4848
id: frontend-build-cache
4949
with:
5050
path: "src/gprofiler/frontend/build"
5151
key: ${{ runner.os }}-frontend-build--${{ env.FRONTEND_SRC_HASH }}
5252

5353
- name: Setup node
5454
if: steps.frontend-build-cache.outputs.cache-hit != 'true'
55-
uses: actions/setup-node@v2
55+
uses: actions/setup-node@v4
5656
with:
57-
node-version: "16.15.1"
57+
node-version: "20.19"
5858

5959
- name: Use Yarn cache
60-
uses: actions/cache@v2
60+
uses: actions/cache@v4
6161
id: yarn-cache
6262
with:
6363
path: "**/node_modules"

dev-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
#
1616

1717
flake8==7.0.0
18-
black==22.3.0
18+
black==25.1.0
1919
mypy==0.942
2020
isort==5.8.0
2121
pytest==6.2.5
22-
requests==2.27.1
22+
requests==2.32.3
2323
boto3-stubs==1.26.13
2424
types-requests==2.28.3
2525
types-jsonschema==4.17.0.1

src/gprofiler-dev/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
boto3==1.34.25
1818
botocore==1.34.25
1919
terminaltables==3.1.10
20-
requests~=2.31.0
20+
requests~=2.32.3
2121
python-json-logger==2.0.7
2222
psutil==5.9.8
2323
backoff==1.10.0

src/gprofiler/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16.18 as frontend_dependencies
1+
FROM node:20.19 as frontend_dependencies
22

33
ARG VITE_PRODUCTION_ENV
44
ARG VITE_SERVER_HOST

src/gprofiler/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"eslint-plugin-simple-import-sort": "^7.0.0",
5959
"prettier": "^2.3.2",
6060
"use-resize-observer": "^7.0.1",
61-
"vite": "^4.5.0",
61+
"vite": "^6.2.6",
6262
"vite-plugin-svgr": "^2.2.2"
6363
}
6464
}

0 commit comments

Comments
 (0)