diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2022-04-08 11:00:53 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-04-08 20:02:59 +0000 |
commit | c9810983c07b79142080c158531971106470e4de (patch) | |
tree | 91fa43f8e23a7344e1216dd2726e2b0b8835062f | |
parent | 69af32ddf68cdbabd59ded6eea92903a1c6a7027 (diff) | |
download | sonarqube-c9810983c07b79142080c158531971106470e4de.tar.gz sonarqube-c9810983c07b79142080c158531971106470e4de.zip |
[NO-JIRA] Bump node dependencies minor versions
-rw-r--r-- | server/sonar-web/package.json | 6 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/BoxedTabs-test.tsx.snap | 1177 | ||||
-rw-r--r-- | server/sonar-web/yarn.lock | 67 |
3 files changed, 1210 insertions, 40 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index 1c879b51a9b..d13e2f3abfa 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -5,8 +5,8 @@ "repository": "SonarSource/sonarqube", "license": "LGPL-3.0", "dependencies": { - "@emotion/react": "11.7.1", - "@emotion/styled": "11.6.0", + "@emotion/react": "11.8.2", + "@emotion/styled": "11.8.1", "classnames": "2.3.1", "clipboard": "2.0.10", "core-js": "3.21.1", @@ -50,7 +50,7 @@ "whatwg-fetch": "3.6.2" }, "devDependencies": { - "@emotion/jest": "11.7.1", + "@emotion/jest": "11.8.0", "@swc/core": "1.2.163", "@swc/jest": "0.2.20", "@testing-library/dom": "8.13.0", diff --git a/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/BoxedTabs-test.tsx.snap b/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/BoxedTabs-test.tsx.snap index d0209f9ec9d..b4af211917e 100644 --- a/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/BoxedTabs-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/BoxedTabs-test.tsx.snap @@ -101,7 +101,163 @@ exports[`should render correctly 1`] = ` <Styled(div) className="boxed-tabs" > - <Noop /> + <Insertion + cache={ + Object { + "insert": [Function], + "inserted": Object { + "1kg7pv0": true, + "60rv5s": true, + "ko9asm": true, + "o2j9ze": true, + "v2seq5": true, + }, + "key": "css", + "nonce": undefined, + "registered": Object {}, + "sheet": StyleSheet { + "_alreadyInsertedOrderInsensitiveRule": true, + "_insertTag": [Function], + "before": null, + "container": <head> + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + </head>, + "ctr": 8, + "insertionPoint": undefined, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "prepend": undefined, + "tags": Array [ + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + ], + }, + } + } + isStringTag={true} + serialized={ + Object { + "map": undefined, + "name": "o2j9ze", + "next": undefined, + "styles": " + display: flex; + flex-direction: row; +", + "toString": [Function], + } + } + /> <div className="boxed-tabs emotion-6" > @@ -111,7 +267,179 @@ exports[`should render correctly 1`] = ` onClick={[Function]} type="button" > - <Noop /> + <Insertion + cache={ + Object { + "insert": [Function], + "inserted": Object { + "1kg7pv0": true, + "60rv5s": true, + "ko9asm": true, + "o2j9ze": true, + "v2seq5": true, + }, + "key": "css", + "nonce": undefined, + "registered": Object {}, + "sheet": StyleSheet { + "_alreadyInsertedOrderInsensitiveRule": true, + "_insertTag": [Function], + "before": null, + "container": <head> + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + </head>, + "ctr": 8, + "insertionPoint": undefined, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "prepend": undefined, + "tags": Array [ + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + ], + }, + } + } + isStringTag={true} + serialized={ + Object { + "map": undefined, + "name": "60rv5s", + "next": undefined, + "styles": " + position: relative; + background-color: white; + border-top: 1px solid #e6e6e6; + border-left: 1px solid #e6e6e6; + border-right: none; + border-bottom: none; + margin-bottom: -1px; + min-width: 128px; + min-height: 56px; + + outline: 0; + padding: calc(2 * 8px); + + + + &:last-child { + border-right: 1px solid #e6e6e6; + } +", + "toString": [Function], + } + } + /> <button className="emotion-1" onClick={[Function]} @@ -120,7 +448,168 @@ exports[`should render correctly 1`] = ` <Styled(div) active={true} > - <Noop /> + <Insertion + cache={ + Object { + "insert": [Function], + "inserted": Object { + "1kg7pv0": true, + "60rv5s": true, + "ko9asm": true, + "o2j9ze": true, + "v2seq5": true, + }, + "key": "css", + "nonce": undefined, + "registered": Object {}, + "sheet": StyleSheet { + "_alreadyInsertedOrderInsensitiveRule": true, + "_insertTag": [Function], + "before": null, + "container": <head> + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + </head>, + "ctr": 8, + "insertionPoint": undefined, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "prepend": undefined, + "tags": Array [ + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + ], + }, + } + } + isStringTag={true} + serialized={ + Object { + "map": undefined, + "name": "ko9asm", + "next": undefined, + "styles": " + display: block; + background-color: #4b9fd5; + height: 3px; + width: 100%; + position: absolute; + left: 0; + top: -1px; +", + "toString": [Function], + } + } + /> <div className="emotion-0" /> @@ -134,7 +623,183 @@ exports[`should render correctly 1`] = ` onClick={[Function]} type="button" > - <Noop /> + <Insertion + cache={ + Object { + "insert": [Function], + "inserted": Object { + "1kg7pv0": true, + "60rv5s": true, + "ko9asm": true, + "o2j9ze": true, + "v2seq5": true, + }, + "key": "css", + "nonce": undefined, + "registered": Object {}, + "sheet": StyleSheet { + "_alreadyInsertedOrderInsensitiveRule": true, + "_insertTag": [Function], + "before": null, + "container": <head> + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + </head>, + "ctr": 8, + "insertionPoint": undefined, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "prepend": undefined, + "tags": Array [ + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + ], + }, + } + } + isStringTag={true} + serialized={ + Object { + "map": undefined, + "name": "1kg7pv0", + "next": undefined, + "styles": " + position: relative; + background-color: #f3f3f3; + border-top: 1px solid #e6e6e6; + border-left: 1px solid #e6e6e6; + border-right: none; + border-bottom: none; + margin-bottom: -1px; + min-width: 128px; + min-height: 56px; + cursor: pointer; + outline: 0; + padding: calc(2 * 8px); + + + &:hover { + background-color: #f8f8f8; + } + + + &:last-child { + border-right: 1px solid #e6e6e6; + } +", + "toString": [Function], + } + } + /> <button className="emotion-3" onClick={[Function]} @@ -143,7 +808,168 @@ exports[`should render correctly 1`] = ` <Styled(div) active={false} > - <Noop /> + <Insertion + cache={ + Object { + "insert": [Function], + "inserted": Object { + "1kg7pv0": true, + "60rv5s": true, + "ko9asm": true, + "o2j9ze": true, + "v2seq5": true, + }, + "key": "css", + "nonce": undefined, + "registered": Object {}, + "sheet": StyleSheet { + "_alreadyInsertedOrderInsensitiveRule": true, + "_insertTag": [Function], + "before": null, + "container": <head> + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + </head>, + "ctr": 8, + "insertionPoint": undefined, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "prepend": undefined, + "tags": Array [ + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + ], + }, + } + } + isStringTag={true} + serialized={ + Object { + "map": undefined, + "name": "v2seq5", + "next": undefined, + "styles": " + display: none; + background-color: #4b9fd5; + height: 3px; + width: 100%; + position: absolute; + left: 0; + top: -1px; +", + "toString": [Function], + } + } + /> <div className="emotion-2" /> @@ -157,7 +983,183 @@ exports[`should render correctly 1`] = ` onClick={[Function]} type="button" > - <Noop /> + <Insertion + cache={ + Object { + "insert": [Function], + "inserted": Object { + "1kg7pv0": true, + "60rv5s": true, + "ko9asm": true, + "o2j9ze": true, + "v2seq5": true, + }, + "key": "css", + "nonce": undefined, + "registered": Object {}, + "sheet": StyleSheet { + "_alreadyInsertedOrderInsensitiveRule": true, + "_insertTag": [Function], + "before": null, + "container": <head> + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + </head>, + "ctr": 8, + "insertionPoint": undefined, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "prepend": undefined, + "tags": Array [ + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + ], + }, + } + } + isStringTag={true} + serialized={ + Object { + "map": undefined, + "name": "1kg7pv0", + "next": undefined, + "styles": " + position: relative; + background-color: #f3f3f3; + border-top: 1px solid #e6e6e6; + border-left: 1px solid #e6e6e6; + border-right: none; + border-bottom: none; + margin-bottom: -1px; + min-width: 128px; + min-height: 56px; + cursor: pointer; + outline: 0; + padding: calc(2 * 8px); + + + &:hover { + background-color: #f8f8f8; + } + + + &:last-child { + border-right: 1px solid #e6e6e6; + } +", + "toString": [Function], + } + } + /> <button className="emotion-3" onClick={[Function]} @@ -166,7 +1168,168 @@ exports[`should render correctly 1`] = ` <Styled(div) active={false} > - <Noop /> + <Insertion + cache={ + Object { + "insert": [Function], + "inserted": Object { + "1kg7pv0": true, + "60rv5s": true, + "ko9asm": true, + "o2j9ze": true, + "v2seq5": true, + }, + "key": "css", + "nonce": undefined, + "registered": Object {}, + "sheet": StyleSheet { + "_alreadyInsertedOrderInsensitiveRule": true, + "_insertTag": [Function], + "before": null, + "container": <head> + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style> + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style> + </head>, + "ctr": 8, + "insertionPoint": undefined, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "prepend": undefined, + "tags": Array [ + <style + data-emotion="css" + data-s="" + > + + .emotion-6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1{position:relative;background-color:white;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-1:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-0{display:block;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3{position:relative;background-color:#f3f3f3;border-top:1px solid #e6e6e6;border-left:1px solid #e6e6e6;border-right:none;border-bottom:none;margin-bottom:-1px;min-width:128px;min-height:56px;cursor:pointer;outline:0;padding:calc(2 * 8px);} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:hover{background-color:#f8f8f8;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-3:last-child{border-right:1px solid #e6e6e6;} + </style>, + <style + data-emotion="css" + data-s="" + > + + .emotion-2{display:none;background-color:#4b9fd5;height:3px;width:100%;position:absolute;left:0;top:-1px;} + </style>, + ], + }, + } + } + isStringTag={true} + serialized={ + Object { + "map": undefined, + "name": "v2seq5", + "next": undefined, + "styles": " + display: none; + background-color: #4b9fd5; + height: 3px; + width: 100%; + position: absolute; + left: 0; + top: -1px; +", + "toString": [Function], + } + } + /> <div className="emotion-2" /> diff --git a/server/sonar-web/yarn.lock b/server/sonar-web/yarn.lock index 4da401163ad..233c8e4388a 100644 --- a/server/sonar-web/yarn.lock +++ b/server/sonar-web/yarn.lock @@ -773,9 +773,9 @@ __metadata: languageName: node linkType: hard -"@emotion/babel-plugin@npm:^11.3.0": - version: 11.3.0 - resolution: "@emotion/babel-plugin@npm:11.3.0" +"@emotion/babel-plugin@npm:^11.7.1": + version: 11.7.2 + resolution: "@emotion/babel-plugin@npm:11.7.2" dependencies: "@babel/helper-module-imports": ^7.12.13 "@babel/plugin-syntax-jsx": ^7.12.13 @@ -788,10 +788,10 @@ __metadata: escape-string-regexp: ^4.0.0 find-root: ^1.1.0 source-map: ^0.5.7 - stylis: ^4.0.3 + stylis: 4.0.13 peerDependencies: "@babel/core": ^7.0.0 - checksum: 8ff91de4a26c32f8342b28b96630527d347879b6669a9bf6f78945ef6588af34be800e0feca0434e8900f082350c351a4b6941e48127aad916a581821620c919 + checksum: eb9607356663c3e158b91ae7b8fde7335c74e6302d1671da1ca0b34142f762e1354bac8cb0bdf5baedf1278912eeea01e103b8f5c59ee107746d1b03f56aa664 languageName: node linkType: hard @@ -838,18 +838,18 @@ __metadata: languageName: node linkType: hard -"@emotion/is-prop-valid@npm:^1.1.1": - version: 1.1.1 - resolution: "@emotion/is-prop-valid@npm:1.1.1" +"@emotion/is-prop-valid@npm:^1.1.2": + version: 1.1.2 + resolution: "@emotion/is-prop-valid@npm:1.1.2" dependencies: "@emotion/memoize": ^0.7.4 - checksum: 5816696dae6ac79537a31fe95256e0c1f55651507204676dd9903542b102f727c16a68924e6634a89b0972f0d15b0803bb9d4e14bd0fb8a49da8a2e3956e6639 + checksum: 58b1f2d429a589f8f5bc2c33a8732cbb7bbcb17131a103511ef9a94ac754d7eeb53d627f947da480cd977f9d419fd92e244991680292f3287204159652745707 languageName: node linkType: hard -"@emotion/jest@npm:11.7.1": - version: 11.7.1 - resolution: "@emotion/jest@npm:11.7.1" +"@emotion/jest@npm:11.8.0": + version: 11.8.0 + resolution: "@emotion/jest@npm:11.8.0" dependencies: "@babel/runtime": ^7.13.10 "@emotion/css-prettifier": ^1.0.1 @@ -864,7 +864,7 @@ __metadata: optional: true enzyme-to-json: optional: true - checksum: 27137da08156e0157402f86392bb924dcf6a366cfd7e94b9d8a5903bdbfe0e86a9c8832d6d933b8d2bda9933f469121cad7c4110f0a19085eb4b23bc2f407406 + checksum: 00a6b31eab5a457bb02ff25a5930860566926c8afd10f6c06c2e3e74502ef0577df46902aa45762632316a4cca6b96df9cb1dd9d0be6aad0276b3990f3ba9384 languageName: node linkType: hard @@ -875,15 +875,15 @@ __metadata: languageName: node linkType: hard -"@emotion/react@npm:11.7.1": - version: 11.7.1 - resolution: "@emotion/react@npm:11.7.1" +"@emotion/react@npm:11.8.2": + version: 11.8.2 + resolution: "@emotion/react@npm:11.8.2" dependencies: "@babel/runtime": ^7.13.10 + "@emotion/babel-plugin": ^11.7.1 "@emotion/cache": ^11.7.1 "@emotion/serialize": ^1.0.2 - "@emotion/sheet": ^1.1.0 - "@emotion/utils": ^1.0.0 + "@emotion/utils": ^1.1.0 "@emotion/weak-memoize": ^0.2.5 hoist-non-react-statics: ^3.3.1 peerDependencies: @@ -894,7 +894,7 @@ __metadata: optional: true "@types/react": optional: true - checksum: 3392aa71f9c68c16022947959f7f842174e6b075b3baf58e185462411cd9b5a87557109a9225b1abaa2d7200a08b7cb9d7f21aa035f0d36b2c89e19b2a124e02 + checksum: a8733f8375f9798953019872137326f39e5171b3286535fe34a695d63067a2c0f0f154beb6d117361206ef04a584fa4adef0ecc450654b6af4695b1d893d2496 languageName: node linkType: hard @@ -941,15 +941,15 @@ __metadata: languageName: node linkType: hard -"@emotion/styled@npm:11.6.0": - version: 11.6.0 - resolution: "@emotion/styled@npm:11.6.0" +"@emotion/styled@npm:11.8.1": + version: 11.8.1 + resolution: "@emotion/styled@npm:11.8.1" dependencies: "@babel/runtime": ^7.13.10 - "@emotion/babel-plugin": ^11.3.0 - "@emotion/is-prop-valid": ^1.1.1 + "@emotion/babel-plugin": ^11.7.1 + "@emotion/is-prop-valid": ^1.1.2 "@emotion/serialize": ^1.0.2 - "@emotion/utils": ^1.0.0 + "@emotion/utils": ^1.1.0 peerDependencies: "@babel/core": ^7.0.0 "@emotion/react": ^11.0.0-rc.0 @@ -959,7 +959,7 @@ __metadata: optional: true "@types/react": optional: true - checksum: 612bbf114a4ca49e5b3ec4554bea1cd5aad9eeb2371babc3e6b79eab5020bd0300b9904108b621837fe715e221ba09dd131dc29918c1fd966e082d8e74fca833 + checksum: 67150fa788785c34e285b90acecc91fe7a63babceaefbeffd053bed0fa31f72a05bfeeb9d15620766e543e007b9ccac2e836812eec2e791f962ec4e52731ae4c languageName: node linkType: hard @@ -977,6 +977,13 @@ __metadata: languageName: node linkType: hard +"@emotion/utils@npm:^1.1.0": + version: 1.1.0 + resolution: "@emotion/utils@npm:1.1.0" + checksum: d3b681ca3a23b07033ac6c6937e71010a5549ac8ccec325eb6c91a7e48d9a73db83fa5dadc58be981bb125d7c00fedca868ea4362b1da9e02866615f96be4df1 + languageName: node + linkType: hard + "@emotion/weak-memoize@npm:^0.2.5": version: 0.2.5 resolution: "@emotion/weak-memoize@npm:0.2.5" @@ -2341,9 +2348,9 @@ __metadata: version: 0.0.0-use.local resolution: "SonarQube@workspace:." dependencies: - "@emotion/jest": 11.7.1 - "@emotion/react": 11.7.1 - "@emotion/styled": 11.6.0 + "@emotion/jest": 11.8.0 + "@emotion/react": 11.8.2 + "@emotion/styled": 11.8.1 "@swc/core": 1.2.163 "@swc/jest": 0.2.20 "@testing-library/dom": 8.13.0 @@ -10412,7 +10419,7 @@ resolve@^1.3.2: languageName: node linkType: hard -"stylis@npm:^4.0.10, stylis@npm:^4.0.3": +"stylis@npm:^4.0.10": version: 4.0.10 resolution: "stylis@npm:4.0.10" checksum: 0fecaf5c234ec3ffcb0afc21478742a815a21cb964365259789be9c1692e72e13d8c081c1150fd76ed2146633a3251cdecd6e0c120b158f44bd74c38f81cafb3 |