From 22fd8dbb4fb402942b76039553af95efbd660c92 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Mon, 13 Jan 2020 09:33:58 +0100 Subject: [PATCH] Update to sonar-ui-common 0.0.50 --- server/sonar-docs/package.json | 2 +- server/sonar-docs/yarn.lock | 8 +- server/sonar-web/package.json | 2 +- .../__snapshots__/CodeSnippet-test.tsx.snap | 120 ++++++++++++++++++ server/sonar-web/yarn.lock | 8 +- 5 files changed, 130 insertions(+), 10 deletions(-) diff --git a/server/sonar-docs/package.json b/server/sonar-docs/package.json index 22faa13c231..6e75cd385c5 100644 --- a/server/sonar-docs/package.json +++ b/server/sonar-docs/package.json @@ -21,7 +21,7 @@ "react-dom": "16.8.6", "react-helmet": "5.2.0", "react-typography": "0.16.19", - "sonar-ui-common": "0.0.44", + "sonar-ui-common": "0.0.50", "typography": "0.16.19" }, "devDependencies": { diff --git a/server/sonar-docs/yarn.lock b/server/sonar-docs/yarn.lock index 3b39d9a4aac..e2eb5d8cdaa 100644 --- a/server/sonar-docs/yarn.lock +++ b/server/sonar-docs/yarn.lock @@ -11158,10 +11158,10 @@ sockjs@0.3.19: faye-websocket "^0.10.0" uuid "^3.0.1" -sonar-ui-common@0.0.44: - version "0.0.44" - resolved "https://repox.jfrog.io/repox/api/npm/npm/sonar-ui-common/-/sonar-ui-common-0.0.44.tgz#03b1e640c591416ed20b0227a3db89d43eeb8214" - integrity sha1-A7HmQMWRQW7SCwIno9uJ1D7rghQ= +sonar-ui-common@0.0.50: + version "0.0.50" + resolved "https://repox.jfrog.io/repox/api/npm/npm/sonar-ui-common/-/sonar-ui-common-0.0.50.tgz#46705448d9f550c53fe4df95fecff9514e205ccb" + integrity sha1-RnBUSNn1UMU/5N+V/s/5UU4gXMs= dependencies: "@types/react-select" "1.2.6" classnames "2.2.6" diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index e287662a99e..eb88f425ddf 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -38,7 +38,7 @@ "regenerator-runtime": "0.13.2", "remark-custom-blocks": "2.3.0", "remark-slug": "5.1.0", - "sonar-ui-common": "0.0.44", + "sonar-ui-common": "0.0.50", "unist-util-visit": "1.4.0", "valid-url": "1.0.9", "whatwg-fetch": "2.0.4" diff --git a/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/CodeSnippet-test.tsx.snap b/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/CodeSnippet-test.tsx.snap index 1b16baeff81..63ebfc7d136 100644 --- a/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/CodeSnippet-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/CodeSnippet-test.tsx.snap @@ -43,6 +43,46 @@ bar" onMouseLeave={[Function]} type="button" > + + + + + + + + + + + copy @@ -118,6 +158,46 @@ exports[`renders correctly with array snippet 1`] = ` onMouseLeave={[Function]} type="button" > + + + + + + + + + + + copy @@ -173,6 +253,46 @@ exports[`renders correctly with array snippet 2`] = ` onMouseLeave={[Function]} type="button" > + + + + + + + + + + + copy diff --git a/server/sonar-web/yarn.lock b/server/sonar-web/yarn.lock index ba8f6d6059b..608d2a5b1a0 100644 --- a/server/sonar-web/yarn.lock +++ b/server/sonar-web/yarn.lock @@ -9462,10 +9462,10 @@ sockjs@0.3.19: faye-websocket "^0.10.0" uuid "^3.0.1" -sonar-ui-common@0.0.44: - version "0.0.44" - resolved "https://repox.jfrog.io/repox/api/npm/npm/sonar-ui-common/-/sonar-ui-common-0.0.44.tgz#03b1e640c591416ed20b0227a3db89d43eeb8214" - integrity sha1-A7HmQMWRQW7SCwIno9uJ1D7rghQ= +sonar-ui-common@0.0.50: + version "0.0.50" + resolved "https://repox.jfrog.io/repox/api/npm/npm/sonar-ui-common/-/sonar-ui-common-0.0.50.tgz#46705448d9f550c53fe4df95fecff9514e205ccb" + integrity sha1-RnBUSNn1UMU/5N+V/s/5UU4gXMs= dependencies: "@types/react-select" "1.2.6" classnames "2.2.6" -- 2.39.5