Updated to chartjs 4

This commit is contained in:
Alejandro Celaya 2022-12-25 09:53:50 +01:00
parent 51283cc130
commit 8e8a5f3fd6
2 changed files with 36 additions and 17 deletions

49
package-lock.json generated
View file

@ -20,7 +20,7 @@
"bootstrap": "^5.2.2", "bootstrap": "^5.2.2",
"bottlejs": "^2.0.1", "bottlejs": "^2.0.1",
"bowser": "^2.11.0", "bowser": "^2.11.0",
"chart.js": "^3.9.1", "chart.js": "^4.1.1",
"classnames": "^2.3.1", "classnames": "^2.3.1",
"compare-versions": "^5.0.1", "compare-versions": "^5.0.1",
"csvtojson": "^2.0.10", "csvtojson": "^2.0.10",
@ -31,7 +31,7 @@
"qs": "^6.11.0", "qs": "^6.11.0",
"ramda": "^0.27.2", "ramda": "^0.27.2",
"react": "^18.2.0", "react": "^18.2.0",
"react-chartjs-2": "^4.3.1", "react-chartjs-2": "^5.1.0",
"react-colorful": "^5.6.1", "react-colorful": "^5.6.1",
"react-copy-to-clipboard": "^5.1.0", "react-copy-to-clipboard": "^5.1.0",
"react-datepicker": "^4.8.0", "react-datepicker": "^4.8.0",
@ -4207,6 +4207,11 @@
"lodash.get": "^4.4.2" "lodash.get": "^4.4.2"
} }
}, },
"node_modules/@kurkle/color": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.1.tgz",
"integrity": "sha512-hW0GwZj06z/ZFUW2Espl7toVDjghJN+EKqyXzPSV8NV89d5BYp5rRMBJoc+aUN0x5OXDMeRQHazejr2Xmqj2tw=="
},
"node_modules/@nodelib/fs.scandir": { "node_modules/@nodelib/fs.scandir": {
"version": "2.1.3", "version": "2.1.3",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",
@ -7011,9 +7016,15 @@
"dev": true "dev": true
}, },
"node_modules/chart.js": { "node_modules/chart.js": {
"version": "3.9.1", "version": "4.1.1",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.9.1.tgz", "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.1.1.tgz",
"integrity": "sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w==" "integrity": "sha512-P0pCosNXp+LR8zO/QTkZKT6Hb7p0DPFtypEeVOf+6x06hX13NIb75R0DXUA4Ksx/+48chDQKtCCmRCviQRTqsA==",
"dependencies": {
"@kurkle/color": "^0.3.0"
},
"engines": {
"pnpm": "^7.0.0"
}
}, },
"node_modules/chokidar": { "node_modules/chokidar": {
"version": "3.5.3", "version": "3.5.3",
@ -15288,11 +15299,11 @@
} }
}, },
"node_modules/react-chartjs-2": { "node_modules/react-chartjs-2": {
"version": "4.3.1", "version": "5.1.0",
"resolved": "https://registry.npmjs.org/react-chartjs-2/-/react-chartjs-2-4.3.1.tgz", "resolved": "https://registry.npmjs.org/react-chartjs-2/-/react-chartjs-2-5.1.0.tgz",
"integrity": "sha512-5i3mjP6tU7QSn0jvb8I4hudTzHJqS8l00ORJnVwI2sYu0ihpj83Lv2YzfxunfxTZkscKvZu2F2w9LkwNBhj6xA==", "integrity": "sha512-Gt76b7+p7nMQq0MvkWfUSNAzIm/TLAnAO32zIpSzrQyc9JWRbVCtq8qOzPJmfpDzPcIJ7Y9Gp5g+VdTRrGITsQ==",
"peerDependencies": { "peerDependencies": {
"chart.js": "^3.5.0", "chart.js": "^4.1.1",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0" "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
} }
}, },
@ -21317,6 +21328,11 @@
"lodash.get": "^4.4.2" "lodash.get": "^4.4.2"
} }
}, },
"@kurkle/color": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.1.tgz",
"integrity": "sha512-hW0GwZj06z/ZFUW2Espl7toVDjghJN+EKqyXzPSV8NV89d5BYp5rRMBJoc+aUN0x5OXDMeRQHazejr2Xmqj2tw=="
},
"@nodelib/fs.scandir": { "@nodelib/fs.scandir": {
"version": "2.1.3", "version": "2.1.3",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",
@ -23377,9 +23393,12 @@
"dev": true "dev": true
}, },
"chart.js": { "chart.js": {
"version": "3.9.1", "version": "4.1.1",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.9.1.tgz", "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.1.1.tgz",
"integrity": "sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w==" "integrity": "sha512-P0pCosNXp+LR8zO/QTkZKT6Hb7p0DPFtypEeVOf+6x06hX13NIb75R0DXUA4Ksx/+48chDQKtCCmRCviQRTqsA==",
"requires": {
"@kurkle/color": "^0.3.0"
}
}, },
"chokidar": { "chokidar": {
"version": "3.5.3", "version": "3.5.3",
@ -29613,9 +29632,9 @@
} }
}, },
"react-chartjs-2": { "react-chartjs-2": {
"version": "4.3.1", "version": "5.1.0",
"resolved": "https://registry.npmjs.org/react-chartjs-2/-/react-chartjs-2-4.3.1.tgz", "resolved": "https://registry.npmjs.org/react-chartjs-2/-/react-chartjs-2-5.1.0.tgz",
"integrity": "sha512-5i3mjP6tU7QSn0jvb8I4hudTzHJqS8l00ORJnVwI2sYu0ihpj83Lv2YzfxunfxTZkscKvZu2F2w9LkwNBhj6xA==", "integrity": "sha512-Gt76b7+p7nMQq0MvkWfUSNAzIm/TLAnAO32zIpSzrQyc9JWRbVCtq8qOzPJmfpDzPcIJ7Y9Gp5g+VdTRrGITsQ==",
"requires": {} "requires": {}
}, },
"react-colorful": { "react-colorful": {

View file

@ -37,7 +37,7 @@
"bootstrap": "^5.2.2", "bootstrap": "^5.2.2",
"bottlejs": "^2.0.1", "bottlejs": "^2.0.1",
"bowser": "^2.11.0", "bowser": "^2.11.0",
"chart.js": "^3.9.1", "chart.js": "^4.1.1",
"classnames": "^2.3.1", "classnames": "^2.3.1",
"compare-versions": "^5.0.1", "compare-versions": "^5.0.1",
"csvtojson": "^2.0.10", "csvtojson": "^2.0.10",
@ -48,7 +48,7 @@
"qs": "^6.11.0", "qs": "^6.11.0",
"ramda": "^0.27.2", "ramda": "^0.27.2",
"react": "^18.2.0", "react": "^18.2.0",
"react-chartjs-2": "^4.3.1", "react-chartjs-2": "^5.1.0",
"react-colorful": "^5.6.1", "react-colorful": "^5.6.1",
"react-copy-to-clipboard": "^5.1.0", "react-copy-to-clipboard": "^5.1.0",
"react-datepicker": "^4.8.0", "react-datepicker": "^4.8.0",