diff --git a/client/.snyk b/client/.snyk new file mode 100644 index 00000000000000..9d4769b66462ce --- /dev/null +++ b/client/.snyk @@ -0,0 +1,117 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:debug:20170905' + path: >- + gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch + > braces > snapdragon > debug + - gatsby-plugin-create-client-paths > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:debug:20170905' + path: >- + gatsby-plugin-create-client-paths > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug + - gatsby-plugin-manifest > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:debug:20170905' + path: >- + gatsby-plugin-manifest > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug + - gatsby-plugin-pnpm > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:debug:20170905' + path: >- + gatsby-plugin-pnpm > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug + - gatsby-plugin-postcss > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:debug:20170905' + path: >- + gatsby-plugin-postcss > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug + - gatsby-plugin-react-helmet > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:debug:20170905' + path: >- + gatsby-plugin-react-helmet > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug + - gatsby-source-filesystem > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:debug:20170905' + path: >- + gatsby-source-filesystem > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug + - gatsby-transformer-remark > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:debug:20170905' + path: >- + gatsby-transformer-remark > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug + 'npm:ms:20170412': + - gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug > ms: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:ms:20170412' + path: >- + gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch + > braces > snapdragon > debug > ms + - gatsby-plugin-create-client-paths > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug > ms: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:ms:20170412' + path: >- + gatsby-plugin-create-client-paths > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug > ms + - gatsby-plugin-manifest > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug > ms: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:ms:20170412' + path: >- + gatsby-plugin-manifest > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug > ms + - gatsby-plugin-pnpm > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug > ms: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:ms:20170412' + path: >- + gatsby-plugin-pnpm > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug > ms + - gatsby-plugin-postcss > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug > ms: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:ms:20170412' + path: >- + gatsby-plugin-postcss > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug > ms + - gatsby-plugin-react-helmet > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug > ms: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:ms:20170412' + path: >- + gatsby-plugin-react-helmet > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug > ms + - gatsby-source-filesystem > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug > ms: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:ms:20170412' + path: >- + gatsby-source-filesystem > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug > ms + - gatsby-transformer-remark > gatsby > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > debug > ms: + patched: '2025-12-11T10:56:08.126Z' + id: 'npm:ms:20170412' + path: >- + gatsby-transformer-remark > gatsby > react-dev-utils > + fork-ts-checker-webpack-plugin > micromatch > braces > snapdragon > + debug > ms diff --git a/client/package.json b/client/package.json index 7a837f8cd6e5df..387a95d3cf0237 100644 --- a/client/package.json +++ b/client/package.json @@ -34,7 +34,9 @@ "serve-ci": "serve -l 8000 -c serve.json public", "prestand-alone": "pnpm run prebuild", "stand-alone": "gatsby develop", - "validate-keys": "tsx --tsconfig ../tsconfig.json ../tools/scripts/lint/validate-keys" + "validate-keys": "tsx --tsconfig ../tsconfig.json ../tools/scripts/lint/validate-keys", + "prepare": "pnpm run snyk-protect", + "snyk-protect": "snyk-protect" }, "dependencies": { "@babel/plugin-proposal-export-default-from": "7.23.3", @@ -68,8 +70,8 @@ "crypto-browserify": "3.12.0", "date-fns": "2.30.0", "final-form": "4.20.10", - "gatsby": "3.15.0", - "gatsby-cli": "3.15.0", + "gatsby": "4.22.0", + "gatsby-cli": "4.5.0", "gatsby-plugin-create-client-paths": "3.15.0", "gatsby-plugin-manifest": "3.15.0", "gatsby-plugin-pnpm": "^1.2.10", @@ -127,7 +129,8 @@ "uuid": "8.3.2", "validator": "13.11.0", "xterm": "^5.2.1", - "xterm-addon-fit": "^0.8.0" + "xterm-addon-fit": "^0.8.0", + "@snyk/protect": "latest" }, "devDependencies": { "@babel/plugin-syntax-dynamic-import": "7.8.3", @@ -170,5 +173,6 @@ "redux-saga-test-plan": "4.0.6", "serve": "13.0.4", "webpack": "5.90.3" - } + }, + "snyk": true }