From cef8b809b51500f1a39a0bdf82ecdd67511510f6 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Wed, 14 Feb 2024 19:45:48 +0000 Subject: [PATCH] [2.x] upgrade plotly to v2 Signed-off-by: Joshua Li (cherry picked from commit 4d4e8ffad0c1147976adf6a4c54746b2d68bba81) --- package.json | 8 ++++---- yarn.lock | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 891b546..c225411 100644 --- a/package.json +++ b/package.json @@ -13,12 +13,12 @@ "cypress:open": "TZ=America/Los_Angeles cypress open" }, "dependencies": { - "plotly.js-dist": "^1.57.1", - "react-plotly.js": "^2.4.0" + "plotly.js-dist": "^2.29.1", + "react-plotly.js": "^2.6.0" }, "devDependencies": { "@types/enzyme-adapter-react-16": "^1.0.6", - "@types/react-plotly.js": "^2.2.4", + "@types/react-plotly.js": "^2.6.0", "@types/showdown": "^1.9.3", "cypress": "^5.0.0", "enzyme-adapter-react-16": "^1.15.2", @@ -32,4 +32,4 @@ "word-wrap": "^1.2.4", "@cypress/request": "^3.0.0" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index ba31fe3..d30d8dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -114,10 +114,10 @@ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== -"@types/react-plotly.js@^2.2.4": - version "2.5.2" - resolved "https://registry.yarnpkg.com/@types/react-plotly.js/-/react-plotly.js-2.5.2.tgz#e326e0480a5bd31edae8a962e02a63313b34ec17" - integrity sha512-hsCEdgGTEkeEXI8ZlB0qOgXCcDjq3NGsi/mlxOasAclScvk1i4b+ajaOj+J/j2Ay86I2a7eDxpuTHrBdVyUrkg== +"@types/react-plotly.js@^2.6.0": + version "2.6.3" + resolved "https://registry.yarnpkg.com/@types/react-plotly.js/-/react-plotly.js-2.6.3.tgz#49829a5c4f011345d09f6cab692f7ddbf558cbfb" + integrity sha512-HBQwyGuu/dGXDsWhnQrhH+xcJSsHvjkwfSRjP+YpOsCCWryIuXF78ZCBjpfgO3sCc0Jo8sYp4NOGtqT7Cn3epQ== dependencies: "@types/plotly.js" "*" "@types/react" "*" @@ -1841,10 +1841,10 @@ pify@^2.2.0: resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== -plotly.js-dist@^1.57.1: - version "1.58.5" - resolved "https://registry.yarnpkg.com/plotly.js-dist/-/plotly.js-dist-1.58.5.tgz#526d84459231f9debe98429d7b20fa08e541ad42" - integrity sha512-gy4cm5gYeem1eoXeryrSfftDm/CacQUE+W6xPRGiC5PnB/WHDPaex+HVeAGdKEek57ok1j2IkDw3lnXoB0Bfiw== +plotly.js-dist@^2.29.1: + version "2.29.1" + resolved "https://registry.yarnpkg.com/plotly.js-dist/-/plotly.js-dist-2.29.1.tgz#8e67dcc3050e732f44cb8a23e063a4e5bcbfe892" + integrity sha512-jEdUhk9brzzleuJP1vTxk1ECfm896bld78elG6YRPdywyUYAAO0rd+JUNv56hZu4uqUftvKU6xfjSwjm0R3LUw== prelude-ls@~1.1.2: version "1.1.2" @@ -1934,7 +1934,7 @@ react-is@^16.13.1, react-is@^16.8.6: resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== -react-plotly.js@^2.4.0: +react-plotly.js@^2.6.0: version "2.6.0" resolved "https://registry.yarnpkg.com/react-plotly.js/-/react-plotly.js-2.6.0.tgz#ad6b68ee64f1b5cfa142ee92c59687f9c2c09209" integrity sha512-g93xcyhAVCSt9kV1svqG1clAEdL6k3U+jjuSzfTV7owaSU9Go6Ph8bl25J+jKfKvIGAEYpe4qj++WHJuc9IaeA==