diff --git a/package-lock.json b/package-lock.json index 1270fd3..5716069 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "chart.js": "^3.3.0", "chartjs-adapter-moment": "^1.0.0", "chartjs-plugin-datalabels": "^2.0.0-rc.1", - "chartjs-plugin-zoom": "^1.0.1", + "chartjs-plugin-zoom": "^1.1.1", "craco-less": "^1.17.1", "date-fns": "^2.20.0", "moment": "^2.29.1", @@ -4832,9 +4832,9 @@ "integrity": "sha512-p3JwpvIspZKHB7cRas3xoxa5BYeCOMCuCTp/AS/44RyvO8OuZ/Pz0DWl3WK2L+BMnoK72UUm0XnGLKiMEekaYA==" }, "node_modules/chartjs-plugin-zoom": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/chartjs-plugin-zoom/-/chartjs-plugin-zoom-1.0.1.tgz", - "integrity": "sha512-3G2Fjd1yhv+E54l0znz1zDOTA8KuUHNtPIP2s/aprNOwIQc5EQ0UVfvGuwiSXYuZuypIGQm4QOP55DPlv7wOXw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/chartjs-plugin-zoom/-/chartjs-plugin-zoom-1.1.1.tgz", + "integrity": "sha512-1q54WOzK7FtAjkbemQeqvmFUV0btNYIQny2HbQ6Awq9wUtCz7Zmj6vIgp3C1DYMQwN0nqgpC3vnApqiwI7cSdQ==", "dependencies": { "hammerjs": "^2.0.8" }, @@ -25542,9 +25542,9 @@ "integrity": "sha512-p3JwpvIspZKHB7cRas3xoxa5BYeCOMCuCTp/AS/44RyvO8OuZ/Pz0DWl3WK2L+BMnoK72UUm0XnGLKiMEekaYA==" }, "chartjs-plugin-zoom": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/chartjs-plugin-zoom/-/chartjs-plugin-zoom-1.0.1.tgz", - "integrity": "sha512-3G2Fjd1yhv+E54l0znz1zDOTA8KuUHNtPIP2s/aprNOwIQc5EQ0UVfvGuwiSXYuZuypIGQm4QOP55DPlv7wOXw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/chartjs-plugin-zoom/-/chartjs-plugin-zoom-1.1.1.tgz", + "integrity": "sha512-1q54WOzK7FtAjkbemQeqvmFUV0btNYIQny2HbQ6Awq9wUtCz7Zmj6vIgp3C1DYMQwN0nqgpC3vnApqiwI7cSdQ==", "requires": { "hammerjs": "^2.0.8" } diff --git a/package.json b/package.json index f978211..bb45f3e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "chart.js": "^3.3.0", "chartjs-adapter-moment": "^1.0.0", "chartjs-plugin-datalabels": "^2.0.0-rc.1", - "chartjs-plugin-zoom": "^1.0.1", + "chartjs-plugin-zoom": "^1.1.1", "craco-less": "^1.17.1", "date-fns": "^2.20.0", "moment": "^2.29.1", diff --git a/src/components/charts/ChartDepthToDayBase.tsx b/src/components/charts/ChartDepthToDayBase.tsx index e5236c0..e1e6159 100644 --- a/src/components/charts/ChartDepthToDayBase.tsx +++ b/src/components/charts/ChartDepthToDayBase.tsx @@ -220,5 +220,5 @@ export const ChartDepthToDayBase: React.FC = ({options, data chart.update() }, [chart, dataParams, options]) - return() + return() } \ No newline at end of file