Skip to content

Commit e01f2f3

Browse files
Update Plotly version to the latest to resolve CVE (#683)
* fix multiple CVEs Signed-off-by: Jackie Han <jkhanjob@gmail.com> * update plotly version to the latest to resolve cve V1246256023 Signed-off-by: Jackie Han <jkhanjob@gmail.com> --------- Signed-off-by: Jackie Han <jkhanjob@gmail.com>
1 parent 757b992 commit e01f2f3

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"devDependencies": {
2626
"@elastic/eslint-import-resolver-kibana": "link:../../packages/osd-eslint-import-resolver-opensearch-dashboards",
2727
"@testing-library/user-event": "^12.1.6",
28-
"@types/react-plotly.js": "^2.2.4",
28+
"@types/react-plotly.js": "^2.6.0",
2929
"@types/redux-mock-store": "^1.0.1",
3030
"babel-polyfill": "^6.26.0",
3131
"eslint-plugin-no-unsanitized": "^3.0.2",
@@ -39,9 +39,9 @@
3939
"babel-polyfill": "^6.26.0",
4040
"brace": "0.11.1",
4141
"formik": "^2.2.5",
42-
"plotly.js-dist": "^1.57.1",
42+
"plotly.js-dist": "^2.29.1",
4343
"prettier": "^2.1.1",
44-
"react-plotly.js": "^2.4.0",
44+
"react-plotly.js": "^2.6.0",
4545
"react-redux": "^7.2.0",
4646
"reselect": "^4.0.0"
4747
},

yarn.lock

+9-9
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@
197197
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf"
198198
integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==
199199

200-
"@types/react-plotly.js@^2.2.4":
201-
version "2.6.0"
202-
resolved "https://registry.yarnpkg.com/@types/react-plotly.js/-/react-plotly.js-2.6.0.tgz#1b856c2ed1219babda3e95ef3270091f156ff987"
203-
integrity sha512-nJJ57U0/CNDAO+F3dpnMgM8PtjLE/O1I3O6gq4+5Q13uKqrPnHGYOttfdzQJ4D7KYgF609miVzEYakUS2zds8w==
200+
"@types/react-plotly.js@^2.6.0":
201+
version "2.6.3"
202+
resolved "https://registry.yarnpkg.com/@types/react-plotly.js/-/react-plotly.js-2.6.3.tgz#49829a5c4f011345d09f6cab692f7ddbf558cbfb"
203+
integrity sha512-HBQwyGuu/dGXDsWhnQrhH+xcJSsHvjkwfSRjP+YpOsCCWryIuXF78ZCBjpfgO3sCc0Jo8sYp4NOGtqT7Cn3epQ==
204204
dependencies:
205205
"@types/plotly.js" "*"
206206
"@types/react" "*"
@@ -3257,10 +3257,10 @@ please-upgrade-node@^3.1.1:
32573257
dependencies:
32583258
semver-compare "^1.0.0"
32593259

3260-
plotly.js-dist@^1.57.1:
3261-
version "1.58.5"
3262-
resolved "https://registry.yarnpkg.com/plotly.js-dist/-/plotly.js-dist-1.58.5.tgz#526d84459231f9debe98429d7b20fa08e541ad42"
3263-
integrity sha512-gy4cm5gYeem1eoXeryrSfftDm/CacQUE+W6xPRGiC5PnB/WHDPaex+HVeAGdKEek57ok1j2IkDw3lnXoB0Bfiw==
3260+
plotly.js-dist@^2.29.1:
3261+
version "2.29.1"
3262+
resolved "https://registry.yarnpkg.com/plotly.js-dist/-/plotly.js-dist-2.29.1.tgz#8e67dcc3050e732f44cb8a23e063a4e5bcbfe892"
3263+
integrity sha512-jEdUhk9brzzleuJP1vTxk1ECfm896bld78elG6YRPdywyUYAAO0rd+JUNv56hZu4uqUftvKU6xfjSwjm0R3LUw==
32643264

32653265
posix-character-classes@^0.1.0:
32663266
version "0.1.1"
@@ -3412,7 +3412,7 @@ react-is@^17.0.2:
34123412
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
34133413
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
34143414

3415-
react-plotly.js@^2.4.0:
3415+
react-plotly.js@^2.6.0:
34163416
version "2.6.0"
34173417
resolved "https://registry.yarnpkg.com/react-plotly.js/-/react-plotly.js-2.6.0.tgz#ad6b68ee64f1b5cfa142ee92c59687f9c2c09209"
34183418
integrity sha512-g93xcyhAVCSt9kV1svqG1clAEdL6k3U+jjuSzfTV7owaSU9Go6Ph8bl25J+jKfKvIGAEYpe4qj++WHJuc9IaeA==

0 commit comments

Comments
 (0)