diff --git a/.github/workflows/vuln-scan.yaml b/.github/workflows/vuln-scan.yaml new file mode 100644 index 00000000..f6e23cd4 --- /dev/null +++ b/.github/workflows/vuln-scan.yaml @@ -0,0 +1,21 @@ +name: Vulnerability scan + +on: + pull_request: + push: + branches: + - main + schedule: + - cron: "0 6 * * 1" + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.sha }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + +jobs: + vuln-scan: + uses: datum-cloud/actions/.github/workflows/vuln-scan.yaml@v1.29.0 diff --git a/ui/consumer/package-lock.json b/ui/consumer/package-lock.json index a9b66a5c..587c8100 100644 --- a/ui/consumer/package-lock.json +++ b/ui/consumer/package-lock.json @@ -20,7 +20,7 @@ "react-day-picker": "^10", "react-dom": "19.2.8", "react-number-format": "^5.4.5", - "react-router": "8.3.1", + "react-router": "8.5.1", "recharts": "^3.10.1", "sonner": "^2.0.7", "zod": "^4.6.6" @@ -2483,6 +2483,12 @@ } } }, + "node_modules/@remix-run/route-pattern": { + "version": "0.22.1", + "resolved": "https://registry.npmjs.org/@remix-run/route-pattern/-/route-pattern-0.22.1.tgz", + "integrity": "sha512-czdGJWh09Lapvcqt7Vb09KlrU2PhRJ8xQaI+AItTuD9aDJ5MAgxnS38lnys6Ll+6RJEqPiaUqTwIQhVLwFvv+w==", + "license": "MIT" + }, "node_modules/@rolldown/pluginutils": { "version": "1.0.0-rc.3", "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.3.tgz", @@ -5591,21 +5597,30 @@ } }, "node_modules/react-router": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-8.3.1.tgz", - "integrity": "sha512-TEOpiO2g0TJHEOJeRVv4amUFun9v1npCKszvcquNvzETUtJ8udV86ah5eFoHT7g26bsBvT6EiIhqulR8eDF++A==", + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-8.5.1.tgz", + "integrity": "sha512-5u1eQ46QjuXjNfEnLwzrnou1Bm5dquO3xjVYkkMYCudtkicD2AQHtx+fvXzPATtPJx8TW6DR1x1TDRqsfHyZBw==", "license": "MIT", "dependencies": { + "@remix-run/route-pattern": "^0.22.1", "cookie-es": "^3.1.1" }, "engines": { "node": ">=22.22.0" }, "peerDependencies": { + "@types/react": ">=19.2.0", + "@types/react-dom": ">=19.2.0", "react": ">=19.2.7", "react-dom": ">=19.2.7" }, "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + }, "react-dom": { "optional": true } diff --git a/ui/consumer/package.json b/ui/consumer/package.json index 222a08a4..4471632a 100644 --- a/ui/consumer/package.json +++ b/ui/consumer/package.json @@ -25,7 +25,7 @@ "react-day-picker": "^10", "react-dom": "19.2.8", "react-number-format": "^5.4.5", - "react-router": "8.3.1", + "react-router": "8.5.1", "recharts": "^3.10.1", "sonner": "^2.0.7", "zod": "^4.6.6"