fix: frontend/package.json, frontend/yarn.lock & frontend/.snyk to reduce vulnerabilities (#310)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908
- https://snyk.io/vuln/SNYK-JS-AXIOS-1579269
- https://snyk.io/vuln/SNYK-JS-D3COLOR-1076592
- https://snyk.io/vuln/SNYK-JS-GLOBPARENT-1016905


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:debug:20170905
This commit is contained in:
Snyk bot 2021-09-28 14:55:41 +02:00 committed by GitHub
parent da653681cf
commit e756cefa75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 634 additions and 750 deletions

8
frontend/.snyk Normal file
View File

@ -0,0 +1,8 @@
# 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:
'npm:debug:20170905':
- react-force-graph > 3d-force-graph-vr > aframe > debug:
patched: '2021-09-28T04:21:10.696Z'

View File

@ -1,169 +1,173 @@
{ {
"name": "frontend", "name": "frontend",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"main": "webpack.config.js", "main": "webpack.config.js",
"scripts": { "scripts": {
"dev": "NODE_ENV=development webpack serve --progress", "dev": "NODE_ENV=development webpack serve --progress",
"build": "webpack --config=webpack.config.prod.js --progress", "build": "webpack --config=webpack.config.prod.js --progress",
"prettify": "prettier --write .", "prettify": "prettier --write .",
"lint": "eslint . --debug", "lint": "eslint . --debug",
"lint:fix": "eslint . --fix --debug", "lint:fix": "eslint . --fix --debug",
"cypress:open": "cypress open", "cypress:open": "cypress open",
"cypress:run": "cypress run" "cypress:run": "cypress run",
}, "prepare": "yarn run snyk-protect",
"engines": { "snyk-protect": "snyk-protect"
"node": ">=12.13.0" },
}, "engines": {
"author": "", "node": ">=12.13.0"
"license": "ISC", },
"dependencies": { "author": "",
"@ant-design/icons": "^4.6.2", "license": "ISC",
"@auth0/auth0-react": "^1.2.0", "dependencies": {
"@babel/core": "7.12.3", "@ant-design/icons": "^4.6.2",
"@pmmmwh/react-refresh-webpack-plugin": "0.4.2", "@auth0/auth0-react": "^1.2.0",
"@svgr/webpack": "5.4.0", "@babel/core": "7.12.3",
"@testing-library/jest-dom": "^5.11.4", "@pmmmwh/react-refresh-webpack-plugin": "0.4.2",
"@testing-library/react": "^11.1.0", "@svgr/webpack": "5.4.0",
"@testing-library/user-event": "^12.1.10", "@testing-library/jest-dom": "^5.11.4",
"@types/d3": "^6.2.0", "@testing-library/react": "^11.1.0",
"@types/jest": "^26.0.15", "@testing-library/user-event": "^12.1.10",
"@types/react": "^17.0.0", "@types/d3": "^6.2.0",
"@types/react-dom": "^16.9.9", "@types/jest": "^26.0.15",
"@types/react-redux": "^7.1.11", "@types/react": "^17.0.0",
"@types/react-router-dom": "^5.1.6", "@types/react-dom": "^16.9.9",
"@types/redux": "^3.6.0", "@types/react-redux": "^7.1.11",
"@types/styled-components": "^5.1.4", "@types/react-router-dom": "^5.1.6",
"@types/vis": "^4.21.21", "@types/redux": "^3.6.0",
"antd": "^4.16.13", "@types/styled-components": "^5.1.4",
"axios": "^0.21.0", "@types/vis": "^4.21.21",
"babel-eslint": "^10.1.0", "antd": "^4.16.13",
"babel-jest": "^26.6.0", "axios": "^0.21.3",
"babel-loader": "8.1.0", "babel-eslint": "^10.1.0",
"babel-plugin-named-asset-import": "^0.3.7", "babel-jest": "^26.6.0",
"babel-preset-minify": "^0.5.1", "babel-loader": "8.1.0",
"babel-preset-react-app": "^10.0.0", "babel-plugin-named-asset-import": "^0.3.7",
"bfj": "^7.0.2", "babel-preset-minify": "^0.5.1",
"camelcase": "^6.1.0", "babel-preset-react-app": "^10.0.0",
"case-sensitive-paths-webpack-plugin": "2.3.0", "bfj": "^7.0.2",
"chart.js": "^3.4.0", "camelcase": "^6.1.0",
"chartjs-adapter-date-fns": "^2.0.0", "case-sensitive-paths-webpack-plugin": "2.3.0",
"css-loader": "4.3.0", "chart.js": "^3.4.0",
"d3": "^6.2.0", "chartjs-adapter-date-fns": "^2.0.0",
"d3-flame-graph": "^3.1.1", "css-loader": "4.3.0",
"d3-tip": "^0.9.1", "d3": "^7.0.0",
"dotenv": "8.2.0", "d3-flame-graph": "^3.1.1",
"dotenv-expand": "5.1.0", "d3-tip": "^0.9.1",
"eslint-config-react-app": "^6.0.0", "dotenv": "8.2.0",
"eslint-plugin-flowtype": "^5.2.0", "dotenv-expand": "5.1.0",
"eslint-plugin-jest": "^24.1.0", "eslint-config-react-app": "^6.0.0",
"eslint-plugin-jsx-a11y": "^6.3.1", "eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-jest": "^24.1.0",
"eslint-plugin-testing-library": "^3.9.2", "eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-webpack-plugin": "^2.1.0", "eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "6.1.1", "eslint-plugin-testing-library": "^3.9.2",
"fs-extra": "^9.0.1", "eslint-webpack-plugin": "^2.1.0",
"history": "4.10.1", "file-loader": "6.1.1",
"html-webpack-plugin": "5.1.0", "fs-extra": "^9.0.1",
"identity-obj-proxy": "3.0.0", "history": "4.10.1",
"jest": "26.6.0", "html-webpack-plugin": "5.1.0",
"jest-circus": "26.6.0", "identity-obj-proxy": "3.0.0",
"jest-resolve": "26.6.0", "jest": "26.6.0",
"jest-watch-typeahead": "0.6.1", "jest-circus": "26.6.0",
"pnp-webpack-plugin": "1.6.4", "jest-resolve": "26.6.0",
"postcss-loader": "3.0.0", "jest-watch-typeahead": "0.6.1",
"postcss-normalize": "8.0.1", "pnp-webpack-plugin": "1.6.4",
"postcss-preset-env": "6.7.0", "postcss-loader": "3.0.0",
"postcss-safe-parser": "5.0.2", "postcss-normalize": "8.0.1",
"prop-types": "^15.6.2", "postcss-preset-env": "6.7.0",
"react": "17.0.0", "postcss-safe-parser": "5.0.2",
"react-app-polyfill": "^2.0.0", "prop-types": "^15.6.2",
"react-chips": "^0.8.0", "react": "17.0.0",
"react-css-theme-switcher": "^0.1.6", "react-app-polyfill": "^2.0.0",
"react-dev-utils": "^11.0.0", "react-chips": "^0.8.0",
"react-dom": "17.0.0", "react-css-theme-switcher": "^0.1.6",
"react-force-graph": "^1.41.0", "react-dev-utils": "^11.0.0",
"react-graph-vis": "^1.0.5", "react-dom": "17.0.0",
"react-grid-layout": "^1.2.5", "react-force-graph": "^1.41.0",
"react-modal": "^3.12.1", "react-graph-vis": "^1.0.5",
"react-redux": "^7.2.2", "react-grid-layout": "^1.2.5",
"react-refresh": "^0.8.3", "react-modal": "^3.12.1",
"react-router-dom": "^5.2.0", "react-redux": "^7.2.2",
"react-vis": "^1.11.7", "react-refresh": "^0.8.3",
"redux": "^4.0.5", "react-router-dom": "^5.2.0",
"redux-thunk": "^2.3.0", "react-vis": "^1.11.7",
"resolve": "1.18.1", "redux": "^4.0.5",
"resolve-url-loader": "^3.1.2", "redux-thunk": "^2.3.0",
"sass-loader": "8.0.2", "resolve": "1.18.1",
"semver": "7.3.2", "resolve-url-loader": "^3.1.2",
"style-loader": "1.3.0", "sass-loader": "8.0.2",
"styled-components": "^5.2.1", "semver": "7.3.2",
"terser-webpack-plugin": "4.2.3", "style-loader": "1.3.0",
"ts-pnp": "1.2.0", "styled-components": "^5.2.1",
"tsconfig-paths-webpack-plugin": "^3.5.1", "terser-webpack-plugin": "4.2.3",
"typescript": "^4.0.5", "ts-pnp": "1.2.0",
"url-loader": "4.1.1", "tsconfig-paths-webpack-plugin": "^3.5.1",
"uuid": "^8.3.2", "typescript": "^4.0.5",
"web-vitals": "^0.2.4", "url-loader": "4.1.1",
"webpack": "^5.23.0", "uuid": "^8.3.2",
"webpack-dev-server": "^3.11.2", "web-vitals": "^0.2.4",
"webpack-manifest-plugin": "2.2.0", "webpack": "^5.23.0",
"workbox-webpack-plugin": "5.1.4" "webpack-dev-server": "^4.0.0",
}, "webpack-manifest-plugin": "2.2.0",
"browserslist": { "workbox-webpack-plugin": "5.1.4",
"production": [ "@snyk/protect": "latest"
">0.2%", },
"not dead", "browserslist": {
"not op_mini all" "production": [
], ">0.2%",
"development": [ "not dead",
"last 1 chrome version", "not op_mini all"
"last 1 firefox version", ],
"last 1 safari version" "development": [
] "last 1 chrome version",
}, "last 1 firefox version",
"devDependencies": { "last 1 safari version"
"@babel/core": "^7.12.3", ]
"@babel/plugin-proposal-class-properties": "^7.12.13", },
"@babel/plugin-syntax-jsx": "^7.12.13", "devDependencies": {
"@babel/preset-env": "^7.12.17", "@babel/core": "^7.12.3",
"@babel/preset-react": "^7.12.13", "@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/preset-typescript": "^7.12.17", "@babel/plugin-syntax-jsx": "^7.12.13",
"@testing-library/cypress": "^8.0.0", "@babel/preset-env": "^7.12.17",
"@types/d3-tip": "^3.5.5", "@babel/preset-react": "^7.12.13",
"@types/lodash-es": "^4.17.4", "@babel/preset-typescript": "^7.12.17",
"@types/node": "^14.17.12", "@testing-library/cypress": "^8.0.0",
"@types/react-grid-layout": "^1.1.2", "@types/d3-tip": "^3.5.5",
"@types/uuid": "^8.3.1", "@types/lodash-es": "^4.17.4",
"@typescript-eslint/eslint-plugin": "^4.28.2", "@types/node": "^14.17.12",
"@typescript-eslint/parser": "^4.28.2", "@types/react-grid-layout": "^1.1.2",
"autoprefixer": "^9.0.0", "@types/uuid": "^8.3.1",
"babel-plugin-styled-components": "^1.12.0", "@typescript-eslint/eslint-plugin": "^4.28.2",
"compression-webpack-plugin": "^8.0.0", "@typescript-eslint/parser": "^4.28.2",
"copy-webpack-plugin": "^7.0.0", "autoprefixer": "^9.0.0",
"cypress": "^8.3.0", "babel-plugin-styled-components": "^1.12.0",
"eslint": "^7.30.0", "compression-webpack-plugin": "^8.0.0",
"eslint-config-prettier": "^8.3.0", "copy-webpack-plugin": "^7.0.0",
"eslint-config-standard": "^16.0.3", "cypress": "^8.3.0",
"eslint-plugin-import": "^2.23.4", "eslint": "^7.30.0",
"eslint-plugin-node": "^11.1.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0", "eslint-config-standard": "^16.0.3",
"eslint-plugin-promise": "^5.1.0", "eslint-plugin-import": "^2.23.4",
"eslint-plugin-react": "^7.24.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-simple-import-sort": "^7.0.0", "eslint-plugin-prettier": "^4.0.0",
"gulp": "^4.0.2", "eslint-plugin-promise": "^5.1.0",
"gulp-csso": "^4.0.1", "eslint-plugin-react": "^7.24.0",
"gulp-debug": "^4.0.0", "eslint-plugin-simple-import-sort": "^7.0.0",
"gulp-less": "^4.0.1", "gulp": "^4.0.2",
"gulp-postcss": "^9.0.0", "gulp-csso": "^4.0.1",
"husky": "4.3.8", "gulp-debug": "^4.0.0",
"less-plugin-npm-import": "^2.1.0", "gulp-less": "^4.0.1",
"lint-staged": "10.5.3", "gulp-postcss": "^9.0.0",
"lodash-es": "^4.17.21", "husky": "4.3.8",
"portfinder-sync": "^0.0.2", "less-plugin-npm-import": "^2.1.0",
"prettier": "2.2.1", "lint-staged": "10.5.3",
"react-hot-loader": "^4.13.0", "lodash-es": "^4.17.21",
"react-is": "^17.0.1", "portfinder-sync": "^0.0.2",
"webpack-cli": "^4.5.0" "prettier": "2.2.1",
} "react-hot-loader": "^4.13.0",
"react-is": "^17.0.1",
"webpack-cli": "^4.5.0"
},
"snyk": true
} }

File diff suppressed because it is too large Load Diff