forked from p15670423/monkey
Merge pull request #1855 from guardicore/update-javascript-packages
Update javascript packages
This commit is contained in:
commit
2aee4c0541
File diff suppressed because it is too large
Load Diff
|
@ -45,23 +45,20 @@
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-loader": "^4.0.1",
|
"eslint-loader": "^4.0.1",
|
||||||
"eslint-plugin-react": "^7.26.1",
|
"eslint-plugin-react": "^7.26.1",
|
||||||
"file-loader": "^1.1.11",
|
|
||||||
"glob": "^7.2.0",
|
"glob": "^7.2.0",
|
||||||
"html-loader": "^0.5.5",
|
"html-loader": "^0.5.5",
|
||||||
"html-webpack-plugin": "^5.3.2",
|
"html-webpack-plugin": "^5.3.2",
|
||||||
"minimist": "^1.2.5",
|
"minimist": "^1.2.6",
|
||||||
"npm": "^7.24.2",
|
"npm": "^7.24.2",
|
||||||
"null-loader": "^0.1.1",
|
"null-loader": "^0.1.1",
|
||||||
"react-addons-test-utils": "^15.6.2",
|
|
||||||
"rimraf": "^2.7.1",
|
"rimraf": "^2.7.1",
|
||||||
"sass": "^1.42.1",
|
"sass": "^1.42.1",
|
||||||
"sass-loader": "^7.3.1",
|
"sass-loader": "^12.6.0",
|
||||||
"snyk": "^1.733.0",
|
"snyk": "^1.733.0",
|
||||||
"style-loader": "^0.22.1",
|
"style-loader": "^0.22.1",
|
||||||
"stylelint": "^13.13.1",
|
"stylelint": "^13.13.1",
|
||||||
"ts-loader": "^8.3.0",
|
"ts-loader": "^8.3.0",
|
||||||
"typescript": "^4.4.3",
|
"typescript": "^4.4.3",
|
||||||
"url-loader": "^1.1.2",
|
|
||||||
"webpack": "^5.58.0",
|
"webpack": "^5.58.0",
|
||||||
"webpack-cli": "^4.9.0",
|
"webpack-cli": "^4.9.0",
|
||||||
"webpack-dev-server": "^4.3.1"
|
"webpack-dev-server": "^4.3.1"
|
||||||
|
@ -106,12 +103,12 @@
|
||||||
"react-hot-loader": "^4.13.0",
|
"react-hot-loader": "^4.13.0",
|
||||||
"react-json-tree": "^0.12.1",
|
"react-json-tree": "^0.12.1",
|
||||||
"react-jsonschema-form-bs4": "^1.7.1",
|
"react-jsonschema-form-bs4": "^1.7.1",
|
||||||
"react-particles-js": "^3.5.3",
|
|
||||||
"react-redux": "^5.1.2",
|
"react-redux": "^5.1.2",
|
||||||
"react-router-dom": "^5.3.0",
|
"react-router-dom": "^5.3.0",
|
||||||
"react-spinners": "^0.9.0",
|
"react-spinners": "^0.9.0",
|
||||||
"react-table": "^6.10.3",
|
"react-table": "^6.10.3",
|
||||||
"react-tooltip-lite": "^1.12.0",
|
"react-tooltip-lite": "^1.12.0",
|
||||||
|
"react-tsparticles": "^1.42.4",
|
||||||
"redux": "^4.1.1",
|
"redux": "^4.1.1",
|
||||||
"sha3": "^2.1.4",
|
"sha3": "^2.1.4",
|
||||||
"source-map-loader": "^1.1.2",
|
"source-map-loader": "^1.1.2",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Particles from 'react-particles-js';
|
import Particles from 'react-tsparticles';
|
||||||
import {particleParams} from '../../styles/components/particle-component/ParticleBackgroundParams';
|
import {particleParams} from '../../styles/components/particle-component/ParticleBackgroundParams';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
export default function ParticleBackground() {
|
export default function ParticleBackground() {
|
||||||
return (<Particles className={'particle-background'} params={particleParams}/>);
|
return (<Particles className={'particle-background'} options={particleParams}/>);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
export const particleParams = {
|
export const particleParams = {
|
||||||
particles: {
|
'fps_limit': 60,
|
||||||
color: {
|
'particles': {
|
||||||
value: '#2b2b2b'
|
'color': {'value': '#646464'},
|
||||||
|
'links': {'color': '#555555', 'distance': 150, 'enable': true, 'opacity': 0.4, 'width': 1},
|
||||||
|
'move': {
|
||||||
|
'bounce': false,
|
||||||
|
'direction': 'none',
|
||||||
|
'enable': true,
|
||||||
|
'outMode': 'out',
|
||||||
|
'random': false,
|
||||||
|
'speed': 2,
|
||||||
|
'straight': false
|
||||||
},
|
},
|
||||||
line_linked: {
|
'number': {'density': {'enable': true, 'area': 800}, 'value': 50},
|
||||||
color: {
|
'shape': {'type': 'circle'},
|
||||||
value: '#555555'
|
'size': {'value': 3}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
number: {
|
'detectRetina': true
|
||||||
value: 150
|
}
|
||||||
},
|
|
||||||
size: {
|
|
||||||
value: 3
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -35,21 +35,15 @@ module.exports = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
||||||
use: {
|
type: 'asset/resource'
|
||||||
loader: 'file-loader'
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
||||||
use: {
|
type: 'asset'
|
||||||
loader: 'url-loader?limit=10000&mimetype=application/font-woff'
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(png|jpg|gif)$/,
|
test: /\.(png|jpg|gif)$/,
|
||||||
use: {
|
type: 'asset'
|
||||||
loader: 'url-loader?limit=8192'
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.html$/,
|
test: /\.html$/,
|
||||||
|
|
Loading…
Reference in New Issue