From 8da4121e535fd3600fa9aebdc91897023339fb57 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 7 Aug 2023 16:10:25 +0000 Subject: [PATCH 1/2] fix: upgrade react-dropzone from 11.5.3 to 11.7.1 Snyk has created this PR to upgrade react-dropzone from 11.5.3 to 11.7.1. See this package in npm: See this project in Snyk: https://app.snyk.io/org/eui/project/782ac3a8-8bb4-4658-baa9-190d6cb035f1?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr --- package.json | 2 +- yarn.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) mode change 100755 => 100644 yarn.lock diff --git a/package.json b/package.json index b77ef3213e5..0cb1ec42ca8 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "mdast-util-to-hast": "^10.0.0", "numeral": "^2.0.6", "prop-types": "^15.6.0", - "react-dropzone": "^11.5.3", + "react-dropzone": "^11.7.1", "react-element-to-jsx-string": "^14.3.4", "react-focus-on": "^3.9.1", "react-input-autosize": "^3.0.0", diff --git a/yarn.lock b/yarn.lock old mode 100755 new mode 100644 index 09d9c6290ce..c7c69caa5d3 --- a/yarn.lock +++ b/yarn.lock @@ -6240,7 +6240,7 @@ atob@^2.1.1, atob@^2.1.2: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -attr-accept@^2.2.1: +attr-accept@^2.2.2: version "2.2.2" resolved "https://registry.yarnpkg.com/attr-accept/-/attr-accept-2.2.2.tgz#646613809660110749e92f2c10833b70968d929b" integrity sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg== @@ -10495,10 +10495,10 @@ file-name@^0.1.0: resolved "https://registry.yarnpkg.com/file-name/-/file-name-0.1.0.tgz#12b122f120f9c34dbc176c1ab81a548aced6def7" integrity sha1-ErEi8SD5w028F2wauBpUis7W3vc= -file-selector@^0.2.2: - version "0.2.4" - resolved "https://registry.yarnpkg.com/file-selector/-/file-selector-0.2.4.tgz#7b98286f9dbb9925f420130ea5ed0a69238d4d80" - integrity sha512-ZDsQNbrv6qRi1YTDOEWzf5J2KjZ9KMI1Q2SGeTkCJmNNW25Jg4TW4UMcmoqcg4WrAyKRcpBXdbWRxkfrOzVRbA== +file-selector@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/file-selector/-/file-selector-0.4.0.tgz#59ec4f27aa5baf0841e9c6385c8386bef4d18b17" + integrity sha512-iACCiXeMYOvZqlF1kTiYINzgepRBymz1wwjiuup9u9nayhb6g4fSwiyJ/6adli+EPwrWtpgQAh2PoS7HukEGEg== dependencies: tslib "^2.0.3" @@ -17741,14 +17741,14 @@ react-dom@^18.2.0: loose-envify "^1.1.0" scheduler "^0.23.0" -react-dropzone@^11.5.3: - version "11.5.3" - resolved "https://registry.yarnpkg.com/react-dropzone/-/react-dropzone-11.5.3.tgz#757d4980fcae839896a894e41d3e72df04981f86" - integrity sha512-68+T6sWW5L89qJnn3SD1aRazhuRBhTT9JOI1W8vI5YWsfegM4C7tlGbPH1AgEbmZY5s8E8L0QhX0e3VdAa0KWA== +react-dropzone@^11.7.1: + version "11.7.1" + resolved "https://registry.yarnpkg.com/react-dropzone/-/react-dropzone-11.7.1.tgz#3851bb75b26af0bf1b17ce1449fd980e643b9356" + integrity sha512-zxCMwhfPy1olUEbw3FLNPLhAm/HnaYH5aELIEglRbqabizKAdHs0h+WuyOpmA+v1JXn0++fpQDdNfUagWt5hJQ== dependencies: - attr-accept "^2.2.1" - file-selector "^0.2.2" - prop-types "^15.7.2" + attr-accept "^2.2.2" + file-selector "^0.4.0" + prop-types "^15.8.1" react-element-to-jsx-string@^14.3.4: version "14.3.4" From 7aaa0b49f3a4aae8e7e6d9f2b408e4062dd75139 Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Fri, 11 Aug 2023 09:24:17 -0700 Subject: [PATCH 2/2] Update `EuiMarkdownEditor` snapshots --- .../__snapshots__/markdown_editor.test.tsx.snap | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/markdown_editor/__snapshots__/markdown_editor.test.tsx.snap b/src/components/markdown_editor/__snapshots__/markdown_editor.test.tsx.snap index 60fa04d419c..08847cabaf5 100644 --- a/src/components/markdown_editor/__snapshots__/markdown_editor.test.tsx.snap +++ b/src/components/markdown_editor/__snapshots__/markdown_editor.test.tsx.snap @@ -180,6 +180,7 @@ exports[`EuiMarkdownEditor custom plugins are excluded and popover is rendered 1 >