diff --git a/auth0-client/.snyk b/auth0-client/.snyk new file mode 100644 index 0000000..be63d78 --- /dev/null +++ b/auth0-client/.snyk @@ -0,0 +1,14 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.22.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - '@8base/auth > @8base/utils > @8base/schema-name-generator > lodash': + patched: '2022-03-26T04:50:40.312Z' + - react-scripts > eslint > inquirer > lodash: + patched: '2022-03-26T04:50:40.312Z' + - react-scripts > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2022-03-26T04:50:40.312Z' + - react-scripts > @svgr/webpack > @babel/preset-env > @babel/plugin-transform-modules-amd > @babel/helper-module-transforms > lodash: + patched: '2022-03-26T04:50:40.312Z' diff --git a/auth0-client/package-lock.json b/auth0-client/package-lock.json index 7fefa9a..588947b 100644 --- a/auth0-client/package-lock.json +++ b/auth0-client/package-lock.json @@ -3542,6 +3542,11 @@ "resolved": "https://registry.npmjs.org/@sheerun/mutationobserver-shim/-/mutationobserver-shim-0.3.3.tgz", "integrity": "sha512-DetpxZw1fzPD5xUBrIAoplLChO2VB8DlL5Gg+I1IR9b2wPqYIca2WSUxL5g1vLeR4MsQq1NeWriXAVffV+U1Fw==" }, + "@snyk/protect": { + "version": "1.883.0", + "resolved": "https://registry.npmjs.org/@snyk/protect/-/protect-1.883.0.tgz", + "integrity": "sha512-N/EqG6P/qNYWOfuZAfGS1d7yGwGY4zV7AvKtgTzdhazDt7G/mRLG6czLSWNWGEFYBiMsYRVPHdc5It3bjhmIGw==" + }, "@svgr/babel-plugin-add-jsx-attribute": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-4.2.0.tgz", diff --git a/auth0-client/package.json b/auth0-client/package.json index a5c4d4f..634b35f 100644 --- a/auth0-client/package.json +++ b/auth0-client/package.json @@ -14,13 +14,16 @@ "react": "^16.13.1", "react-dom": "^16.13.1", "react-router-dom": "^5.2.0", - "react-scripts": "3.4.1" + "react-scripts": "3.4.1", + "@snyk/protect": "latest" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "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" @@ -36,5 +39,6 @@ "last 1 firefox version", "last 1 safari version" ] - } + }, + "snyk": true }