0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00

chore: update chartjs (#11888)

* chore: update chartjs

* update import
This commit is contained in:
Paul D'Ambra 2022-09-20 14:12:17 +01:00 committed by GitHub
parent 5c996cdc5a
commit 62b1aac50e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 36 deletions

View File

@ -19,7 +19,7 @@ import {
TooltipOptions,
} from 'chart.js'
import CrosshairPlugin, { CrosshairOptions } from 'chartjs-plugin-crosshair'
import 'chartjs-adapter-dayjs'
import 'chartjs-adapter-dayjs-3'
import { areObjectValuesEmpty, lightenDarkenColor } from '~/lib/utils'
import { getBarColorFromStatus, getGraphColors, getSeriesColor } from 'lib/colors'
import { AnnotationsOverlay, annotationsOverlayLogic } from 'lib/components/AnnotationsOverlay'

View File

@ -54,7 +54,6 @@
"@floating-ui/react-dom-interactions": "^0.6.6",
"@lottiefiles/react-lottie-player": "^3.4.7",
"@monaco-editor/react": "^4.1.3",
"@posthog/chart.js": "^2.9.6",
"@posthog/plugin-scaffold": "^1.3.2",
"@posthog/react-rrweb-player": "^1.1.3",
"@posthog/simmerjs": "^0.7.7",
@ -70,8 +69,8 @@
"antd": "^4.17.1",
"antd-dayjs-webpack-plugin": "^1.0.6",
"babel-preset-nano-react-app": "^0.1.0",
"chart.js": "^3.8.0",
"chartjs-adapter-dayjs": "^1.0.0",
"chart.js": "^3.9.1",
"chartjs-adapter-dayjs-3": "^1.2.3",
"chartjs-plugin-crosshair": "^1.2.0",
"clsx": "^1.1.1",
"core-js": "3.15.2",

View File

@ -2974,14 +2974,6 @@
schema-utils "^3.0.0"
source-map "^0.7.3"
"@posthog/chart.js@^2.9.6":
version "2.9.6"
resolved "https://registry.yarnpkg.com/@posthog/chart.js/-/chart.js-2.9.6.tgz#48bfd305b7d06693bf74561f05076d5d56f41a25"
integrity sha512-2ZH/7ic3rufp3pgMzwkadj6Y0mDSEMs8C//XoE7sxK9qUrDbPklQfB+T4E+FLmUFr7QX0wgWXvHvAozH323a0w==
dependencies:
chartjs-color "^2.1.0"
moment "^2.10.2"
"@posthog/plugin-scaffold@^1.3.2":
version "1.3.2"
resolved "https://registry.yarnpkg.com/@posthog/plugin-scaffold/-/plugin-scaffold-1.3.2.tgz#6c6cf964a5384d16cb9a3510216cd3421835afc9"
@ -6829,30 +6821,15 @@ charenc@0.0.2:
resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667"
integrity sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=
chart.js@^3.8.0:
version "3.8.0"
resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-3.8.0.tgz#c6c14c457b9dc3ce7f1514a59e9b262afd6f1a94"
integrity sha512-cr8xhrXjLIXVLOBZPkBZVF6NDeiVIrPLHcMhnON7UufudL+CNeRrD+wpYanswlm8NpudMdrt3CHoLMQMxJhHRg==
chart.js@^3.9.1:
version "3.9.1"
resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-3.9.1.tgz#3abf2c775169c4c71217a107163ac708515924b8"
integrity sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w==
chartjs-adapter-dayjs@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/chartjs-adapter-dayjs/-/chartjs-adapter-dayjs-1.0.0.tgz#794cafb11d3715a565daae4ef99525f9ed2d763f"
integrity sha512-EnbVqTJGFKLpg1TROLdCEufrzbmIa2oeLGx8O2Wdjw2EoMudoOo9+YFu+6CM0Z0hQ/v3yq/e/Y6efQMu22n8Jg==
chartjs-color-string@^0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/chartjs-color-string/-/chartjs-color-string-0.6.0.tgz#1df096621c0e70720a64f4135ea171d051402f71"
integrity sha512-TIB5OKn1hPJvO7JcteW4WY/63v6KwEdt6udfnDE9iCAZgy+V4SrbSxoIbTw/xkUIapjEI4ExGtD0+6D3KyFd7A==
dependencies:
color-name "^1.0.0"
chartjs-color@^2.1.0:
version "2.4.1"
resolved "https://registry.yarnpkg.com/chartjs-color/-/chartjs-color-2.4.1.tgz#6118bba202fe1ea79dd7f7c0f9da93467296c3b0"
integrity sha512-haqOg1+Yebys/Ts/9bLo/BqUcONQOdr/hoEr2LLTRl6C5LXctUdHxsCYfvQVg5JIxITrfCNUDr4ntqmQk9+/0w==
dependencies:
chartjs-color-string "^0.6.0"
color-convert "^1.9.3"
chartjs-adapter-dayjs-3@^1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/chartjs-adapter-dayjs-3/-/chartjs-adapter-dayjs-3-1.2.3.tgz#c3c4c61ec2b4d3a5532e80f159c0e78b92f2bf2c"
integrity sha512-H8m1c2cFi9zdiJ0IfY7txUSSZusnS671sUuE6dbmvcaHmSFTMNoWH5lJvNj+oM1hLRsiP5pSTiB7InAMDJP+rQ==
chartjs-plugin-crosshair@^1.2.0:
version "1.2.0"
@ -7106,7 +7083,7 @@ collection-visit@^1.0.0:
map-visit "^1.0.0"
object-visit "^1.0.0"
color-convert@^1.9.0, color-convert@^1.9.1, color-convert@^1.9.3:
color-convert@^1.9.0, color-convert@^1.9.1:
version "1.9.3"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==