Merge pull request #1475 from guardicore/1468/fix-nodejs-dependencies

Update nodejs dependencies
This commit is contained in:
ilija-lazoroski 2021-09-20 09:58:59 +02:00 committed by GitHub
commit 4afeba6334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2470 additions and 10235 deletions

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,7 @@
"release:patch": "npm version patch && npm publish && git push --follow-tags", "release:patch": "npm version patch && npm publish && git push --follow-tags",
"serve": "node server.js --env=dev", "serve": "node server.js --env=dev",
"serve:dist": "node server.js --env=dist", "serve:dist": "node server.js --env=dist",
"start": "webpack-dev-server --verbose --mode development --open --history-api-fallback --port 8000", "start": "webpack-dev-server --mode development --open --history-api-fallback --port 8000",
"snyk-protect": "snyk protect", "snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect" "prepare": "npm run snyk-protect"
}, },
@ -27,8 +27,7 @@
"not dead" "not dead"
], ],
"devDependencies": { "devDependencies": {
"npm": "^6.14.8", "@babel/cli": "^7.15.4",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3", "@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1", "@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1", "@babel/plugin-transform-runtime": "^7.12.1",
@ -49,22 +48,23 @@
"file-loader": "^1.1.11", "file-loader": "^1.1.11",
"glob": "^7.1.6", "glob": "^7.1.6",
"html-loader": "^0.5.5", "html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^5.3.2",
"minimist": "^1.2.5", "minimist": "^1.2.5",
"node-sass": "^4.14.1", "npm": "^7.24.0",
"null-loader": "^0.1.1", "null-loader": "^0.1.1",
"react-addons-test-utils": "^15.6.2", "react-addons-test-utils": "^15.6.2",
"rimraf": "^2.7.1", "rimraf": "^2.7.1",
"sass": "^1.41.1",
"sass-loader": "^7.3.1", "sass-loader": "^7.3.1",
"snyk": "^1.434.4", "snyk": "^1.716.0",
"style-loader": "^0.22.1", "style-loader": "^0.22.1",
"stylelint": "^13.7.2", "stylelint": "^13.7.2",
"ts-loader": "^8.0.11", "ts-loader": "^8.0.11",
"typescript": "^4.1.2", "typescript": "^4.1.2",
"url-loader": "^1.1.2", "url-loader": "^1.1.2",
"webpack": "^4.44.2", "webpack": "^5.53.0",
"webpack-cli": "^3.3.12", "webpack-cli": "^4.8.0",
"webpack-dev-server": "^3.11.0" "webpack-dev-server": "^4.2.1"
}, },
"dependencies": { "dependencies": {
"@emotion/core": "^10.1.1", "@emotion/core": "^10.1.1",
@ -83,7 +83,7 @@
"file-saver": "^2.0.2", "file-saver": "^2.0.2",
"filepond": "^4.23.1", "filepond": "^4.23.1",
"jwt-decode": "^2.2.0", "jwt-decode": "^2.2.0",
"lodash": "^4.17.20", "lodash": "^4.17.21",
"marked": "^2.0.0", "marked": "^2.0.0",
"normalize.css": "^8.0.0", "normalize.css": "^8.0.0",
"pluralize": "^7.0.0", "pluralize": "^7.0.0",

View File

@ -13,7 +13,7 @@ class GraphWrapper extends React.Component {
newOptions = this.props.options; newOptions = this.props.options;
} }
return ( return (
<div class={'net-graph-wrapper'}> <div className={'net-graph-wrapper'}>
<Graph graph={this.props.graph} options={newOptions} events={this.props.events}/> <Graph graph={this.props.graph} options={newOptions} events={this.props.events}/>
</div> </div>
) )