Skip to content

Commit 0394f9c

Browse files
authored
kubeflow-centraldashboard: fix GHSA-rhx6-c78j-4q9w (#39269)
1 parent 0429a32 commit 0394f9c

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

kubeflow-centraldashboard.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: kubeflow-centraldashboard
33
version: 1.9.2
4-
epoch: 2
4+
epoch: 3
55
description: Landing page and central dashboard for Kubeflow deployments
66
copyright:
77
- license: MIT
@@ -30,6 +30,10 @@ pipeline:
3030
tag: v${{package.version}}
3131
expected-commit: 315ee7e305e8b7485c975283fb7e5751d21f267d
3232

33+
- uses: patch
34+
with:
35+
patches: GHSA-rhx6-c78j-4q9w.patch
36+
3337
- working-directory: components/centraldashboard
3438
runs: |
3539
# Create "overrides" section of package.json
@@ -54,7 +58,6 @@ pipeline:
5458
"follow-redirects": "^1.15.6",
5559
"express": "^4.20.0",
5660
"@grpc/grpc-js": "^1.10.9",
57-
"path-to-regexp": "0.1.10",
5861
"serve-static": "^1.16.0",
5962
"cookie": "0.7.0",
6063
"jsonpath-plus": "10.0.7"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/components/centraldashboard/package.json b/components/centraldashboard/package.json
2+
index a8f2e45..b9c3d12 100644
3+
--- a/components/centraldashboard/package.json
4+
+++ b/components/centraldashboard/package.json
5+
@@ -258,7 +258,8 @@
6+
},
7+
"overrides": {
8+
"pug-loader": {
9+
- "pug": "^3.0.1"
10+
+ "pug": "^3.0.1",
11+
+ "path-to-regexp": "0.1.12"
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)