Backport 31913 to v7.5.x (#31955)

* uPlot 1.6.7 (#31913)
This commit is contained in:
Leon Sorokin
2021-03-12 15:04:17 -06:00
committed by GitHub
parent 876e18c105
commit 1d3339de34
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -77,7 +77,7 @@
"react-transition-group": "4.4.1",
"slate": "0.47.8",
"tinycolor2": "1.4.1",
"uplot": "1.6.4"
"uplot": "1.6.7"
},
"devDependencies": {
"@rollup/plugin-commonjs": "16.0.0",
@@ -80,7 +80,7 @@ export const UPlotChart: React.FC<PlotProps> = (props) => {
);
};
function initializePlot(data: AlignedData | null, config: Options, el: HTMLDivElement) {
function initializePlot(data: AlignedData | undefined, config: Options, el: HTMLDivElement) {
pluginLog('UPlotChart: init uPlot', false, 'initialized with', data, config);
return new uPlot(config, data, el);
}
+5
View File
@@ -25817,6 +25817,11 @@ uplot@1.6.4:
resolved "https://registry.yarnpkg.com/uplot/-/uplot-1.6.4.tgz#016e9f66796d78c187957e710743f7ca405dfb4d"
integrity sha512-4d6JixG54HQKFDLAegzwgwf87GtEbp6pt3YlHygyLt+mJ9RHneCXYlZxr1QOhLetoSSHeeDuWP5RFMv8mdltpg==
uplot@1.6.7:
version "1.6.7"
resolved "https://registry.yarnpkg.com/uplot/-/uplot-1.6.7.tgz#d3faaec899791ee3fdf5d2835b19a33d9117566a"
integrity sha512-6aYZmGywrHTqTgT1GfYHnU77xDUdutR1EJbVX4P9I45CGrtXN77S69/cgW2BXPL1lR4g6V6bh7ujJsFyvHw1hg==
upper-case@^1.1.1:
version "1.1.3"
resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598"