diff --git a/site/.snyk b/site/.snyk index e200738..cc8467c 100644 --- a/site/.snyk +++ b/site/.snyk @@ -1,5 +1,5 @@ # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. -version: v1.14.1 +version: v1.22.1 ignore: {} # patches apply the minimum changes required to fix a vulnerability patch: @@ -50,3 +50,9 @@ patch: patched: '2020-05-22T04:10:37.498Z' - react-contentful > contentful > lodash: patched: '2020-05-22T04:10:37.498Z' + - react-scripts > eslint > @eslint/eslintrc > lodash: + patched: '2022-03-25T17:33:46.706Z' + - react-scripts > eslint-plugin-testing-library > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > lodash: + patched: '2022-03-25T17:33:46.706Z' + - react-scripts > jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > request-promise-native > request-promise-core > lodash: + patched: '2022-03-25T17:33:46.706Z' diff --git a/site/package-lock.json b/site/package-lock.json index 8f6f9ee..e90b522 100644 --- a/site/package-lock.json +++ b/site/package-lock.json @@ -1892,6 +1892,11 @@ "@sinonjs/commons": "^1.7.0" } }, + "@snyk/protect": { + "version": "1.883.0", + "resolved": "https://registry.npmjs.org/@snyk/protect/-/protect-1.883.0.tgz", + "integrity": "sha512-N/EqG6P/qNYWOfuZAfGS1d7yGwGY4zV7AvKtgTzdhazDt7G/mRLG6czLSWNWGEFYBiMsYRVPHdc5It3bjhmIGw==" + }, "@surma/rollup-plugin-off-main-thread": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-1.4.2.tgz", diff --git a/site/package.json b/site/package.json index 8bae7b0..996c4f7 100644 --- a/site/package.json +++ b/site/package.json @@ -11,14 +11,17 @@ "react-redux": "^7.2.2", "react-router-dom": "^5.2.0", "react-scripts": "^4.0.1", - "redux": "^4.0.5" + "redux": "^4.0.5", + "@snyk/protect": "latest" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "build:docs": "react-scripts build && rm -rf ../docs && mv build ../docs", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "prepare": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "eslintConfig": { "extends": "react-app" @@ -31,5 +34,6 @@ ], "localDependencies": { "react-contentful": ".." - } + }, + "snyk": true }