From 512059eae5e0d2bcb4c5fc4a01d8e9b23553b254 Mon Sep 17 00:00:00 2001 From: Philippe Perrin Date: Fri, 14 Jan 2022 11:10:57 +0100 Subject: [PATCH] Clean up frontend modules dependencies --- server/sonar-web/package.json | 5 +- server/sonar-web/yarn.lock | 206 ++++++++++++++++++++++++++++++++-- 2 files changed, 197 insertions(+), 14 deletions(-) diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index bfc9cc6ce30..79bf345de5b 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -5,7 +5,7 @@ "repository": "SonarSource/sonarqube", "license": "LGPL-3.0", "dependencies": { - "@emotion/react": "^11.7.0", + "@emotion/react": "11.7.0", "@emotion/styled": "11.6.0", "classnames": "2.2.6", "clipboard": "2.0.6", @@ -54,12 +54,13 @@ "devDependencies": { "@babel/core": "7.8.7", "@babel/plugin-proposal-object-rest-spread": "7.8.3", + "@babel/plugin-transform-modules-commonjs": "7.8.3", "@babel/plugin-transform-react-constant-elements": "7.8.3", "@babel/plugin-transform-react-jsx-self": "7.8.3", "@babel/plugin-transform-react-jsx-source": "7.8.3", "@babel/preset-env": "7.9.0", "@babel/preset-react": "7.8.3", - "@emotion/jest": "^11.6.0", + "@emotion/jest": "11.6.0", "@types/classnames": "2.2.10", "@types/clipboard": "2.0.1", "@types/d3-array": "1.2.4", diff --git a/server/sonar-web/yarn.lock b/server/sonar-web/yarn.lock index 4528e5ac8df..d7d3484b86f 100644 --- a/server/sonar-web/yarn.lock +++ b/server/sonar-web/yarn.lock @@ -32,6 +32,15 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/code-frame@npm:7.16.7" + dependencies: + "@babel/highlight": ^7.16.7 + checksum: db2f7faa31bc2c9cf63197b481b30ea57147a5fc1a6fab60e5d6c02cdfbf6de8e17b5121f99917b3dabb5eeb572da078312e70697415940383efc140d4e0808b + languageName: node + linkType: hard + "@babel/code-frame@npm:^7.8.3": version: 7.8.3 resolution: "@babel/code-frame@npm:7.8.3" @@ -120,6 +129,17 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.16.8": + version: 7.16.8 + resolution: "@babel/generator@npm:7.16.8" + dependencies: + "@babel/types": ^7.16.8 + jsesc: ^2.5.1 + source-map: ^0.5.0 + checksum: 83af38b34735605c9d5f774c87a46c2cffaf666b28e9eeba883b2d7076412257e5c2264c26d9740ce44da6955fdaf857659391db02c012714a2a6dc19e403105 + languageName: node + linkType: hard + "@babel/generator@npm:^7.5.0": version: 7.5.0 resolution: "@babel/generator@npm:7.5.0" @@ -246,6 +266,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-environment-visitor@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-environment-visitor@npm:7.16.7" + dependencies: + "@babel/types": ^7.16.7 + checksum: c03a10105d9ebd1fe632a77356b2e6e2f3c44edba9a93b0dc3591b6a66bd7a2e323dd9502f9ce96fc6401234abff1907aa877b6674f7826b61c953f7c8204bbe + languageName: node + linkType: hard + "@babel/helper-explode-assignable-expression@npm:^7.8.3": version: 7.8.3 resolution: "@babel/helper-explode-assignable-expression@npm:7.8.3" @@ -278,6 +307,17 @@ __metadata: languageName: node linkType: hard +"@babel/helper-function-name@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-function-name@npm:7.16.7" + dependencies: + "@babel/helper-get-function-arity": ^7.16.7 + "@babel/template": ^7.16.7 + "@babel/types": ^7.16.7 + checksum: fc77cbe7b10cfa2a262d7a37dca575c037f20419dfe0c5d9317f589599ca24beb5f5c1057748011159149eaec47fe32338c6c6412376fcded68200df470161e1 + languageName: node + linkType: hard + "@babel/helper-function-name@npm:^7.8.3": version: 7.8.3 resolution: "@babel/helper-function-name@npm:7.8.3" @@ -307,6 +347,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-get-function-arity@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-get-function-arity@npm:7.16.7" + dependencies: + "@babel/types": ^7.16.7 + checksum: 25d969fb207ff2ad5f57a90d118f6c42d56a0171022e200aaa919ba7dc95ae7f92ec71cdea6c63ef3629a0dc962ab4c78e09ca2b437185ab44539193f796e0c3 + languageName: node + linkType: hard + "@babel/helper-get-function-arity@npm:^7.8.3": version: 7.8.3 resolution: "@babel/helper-get-function-arity@npm:7.8.3" @@ -325,6 +374,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-hoist-variables@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-hoist-variables@npm:7.16.7" + dependencies: + "@babel/types": ^7.16.7 + checksum: 6ae1641f4a751cd9045346e3f61c3d9ec1312fd779ab6d6fecfe2a96e59a481ad5d7e40d2a840894c13b3fd6114345b157f9e3062fc5f1580f284636e722de60 + languageName: node + linkType: hard + "@babel/helper-hoist-variables@npm:^7.8.3": version: 7.8.3 resolution: "@babel/helper-hoist-variables@npm:7.8.3" @@ -379,6 +437,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-imports@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-module-imports@npm:7.16.7" + dependencies: + "@babel/types": ^7.16.7 + checksum: ddd2c4a600a2e9a4fee192ab92bf35a627c5461dbab4af31b903d9ba4d6b6e59e0ff3499fde4e2e9a0eebe24906f00b636f8b4d9bd72ff24d50e6618215c3212 + languageName: node + linkType: hard + "@babel/helper-module-imports@npm:^7.8.3": version: 7.8.3 resolution: "@babel/helper-module-imports@npm:7.8.3" @@ -403,6 +470,22 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-transforms@npm:^7.8.3": + version: 7.16.7 + resolution: "@babel/helper-module-transforms@npm:7.16.7" + dependencies: + "@babel/helper-environment-visitor": ^7.16.7 + "@babel/helper-module-imports": ^7.16.7 + "@babel/helper-simple-access": ^7.16.7 + "@babel/helper-split-export-declaration": ^7.16.7 + "@babel/helper-validator-identifier": ^7.16.7 + "@babel/template": ^7.16.7 + "@babel/traverse": ^7.16.7 + "@babel/types": ^7.16.7 + checksum: 6e930ce776c979f299cdbeaf80187f4ab086d75287b96ecc1c6896d392fcb561065f0d6219fc06fa79b4ceb4bbdc1a9847da8099aba9b077d0a9e583500fb673 + languageName: node + linkType: hard + "@babel/helper-optimise-call-expression@npm:^7.10.1": version: 7.10.1 resolution: "@babel/helper-optimise-call-expression@npm:7.10.1" @@ -514,6 +597,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-simple-access@npm:^7.16.7, @babel/helper-simple-access@npm:^7.8.3": + version: 7.16.7 + resolution: "@babel/helper-simple-access@npm:7.16.7" + dependencies: + "@babel/types": ^7.16.7 + checksum: 8d22c46c5ec2ead0686c4d5a3d1d12b5190c59be676bfe0d9d89df62b437b51d1a3df2ccfb8a77dded2e585176ebf12986accb6d45a18cff229eef3b10344f4b + languageName: node + linkType: hard + "@babel/helper-split-export-declaration@npm:^7.10.1": version: 7.10.1 resolution: "@babel/helper-split-export-declaration@npm:7.10.1" @@ -523,6 +615,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-split-export-declaration@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-split-export-declaration@npm:7.16.7" + dependencies: + "@babel/types": ^7.16.7 + checksum: e10aaf135465c55114627951b79115f24bc7af72ecbb58d541d66daf1edaee5dde7cae3ec8c3639afaf74526c03ae3ce723444e3b5b3dc77140c456cd84bcaa1 + languageName: node + linkType: hard + "@babel/helper-split-export-declaration@npm:^7.4.4": version: 7.4.4 resolution: "@babel/helper-split-export-declaration@npm:7.4.4" @@ -562,6 +663,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-identifier@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-validator-identifier@npm:7.16.7" + checksum: dbb3db9d184343152520a209b5684f5e0ed416109cde82b428ca9c759c29b10c7450657785a8b5c5256aa74acc6da491c1f0cf6b784939f7931ef82982051b69 + languageName: node + linkType: hard + "@babel/helper-wrap-function@npm:^7.8.3": version: 7.8.3 resolution: "@babel/helper-wrap-function@npm:7.8.3" @@ -629,6 +737,17 @@ __metadata: languageName: node linkType: hard +"@babel/highlight@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/highlight@npm:7.16.7" + dependencies: + "@babel/helper-validator-identifier": ^7.16.7 + chalk: ^2.0.0 + js-tokens: ^4.0.0 + checksum: f7e04e7e03b83c2cca984f4d3e180c9b018784f45d03367e94daf983861229ddc47264045f3b58dfeb0007f9c67bc2a76c4de1693bad90e5394876ef55ece5bb + languageName: node + linkType: hard + "@babel/highlight@npm:^7.8.3": version: 7.8.3 resolution: "@babel/highlight@npm:7.8.3" @@ -667,6 +786,15 @@ __metadata: languageName: node linkType: hard +"@babel/parser@npm:^7.16.7, @babel/parser@npm:^7.16.8": + version: 7.16.8 + resolution: "@babel/parser@npm:7.16.8" + bin: + parser: ./bin/babel-parser.js + checksum: f6bc2eb1f298fcb81db34c2d343fd05d8c59dbc5419a88c1cb4d298c7a3863e4d54f5a4f38a40e1aa979e4ce355816348730b471c1d787d424ed52b270fc7be0 + languageName: node + linkType: hard + "@babel/parser@npm:^7.7.5, @babel/parser@npm:^7.8.6, @babel/parser@npm:^7.8.7": version: 7.8.8 resolution: "@babel/parser@npm:7.8.8" @@ -1189,6 +1317,20 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-commonjs@npm:7.8.3": + version: 7.8.3 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.8.3" + dependencies: + "@babel/helper-module-transforms": ^7.8.3 + "@babel/helper-plugin-utils": ^7.8.3 + "@babel/helper-simple-access": ^7.8.3 + babel-plugin-dynamic-import-node: ^2.3.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: dd069e07d1a5c76ddbdfbfb92ff9fc878102ca0b3a56d7d6b51bf5cc3be1fbb5b529e26f71f6ca5328949959d32fc783172b5639534e2c283fd5fa0c94349a28 + languageName: node + linkType: hard + "@babel/plugin-transform-modules-commonjs@npm:^7.9.0": version: 7.10.1 resolution: "@babel/plugin-transform-modules-commonjs@npm:7.10.1" @@ -1636,6 +1778,17 @@ __metadata: languageName: node linkType: hard +"@babel/template@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/template@npm:7.16.7" + dependencies: + "@babel/code-frame": ^7.16.7 + "@babel/parser": ^7.16.7 + "@babel/types": ^7.16.7 + checksum: 10cd112e89276e00f8b11b55a51c8b2f1262c318283a980f4d6cdb0286dc05734b9aaeeb9f3ad3311900b09bc913e02343fcaa9d4a4f413964aaab04eb84ac4a + languageName: node + linkType: hard + "@babel/template@npm:^7.3.3": version: 7.14.5 resolution: "@babel/template@npm:7.14.5" @@ -1692,6 +1845,24 @@ __metadata: languageName: node linkType: hard +"@babel/traverse@npm:^7.16.7": + version: 7.16.8 + resolution: "@babel/traverse@npm:7.16.8" + dependencies: + "@babel/code-frame": ^7.16.7 + "@babel/generator": ^7.16.8 + "@babel/helper-environment-visitor": ^7.16.7 + "@babel/helper-function-name": ^7.16.7 + "@babel/helper-hoist-variables": ^7.16.7 + "@babel/helper-split-export-declaration": ^7.16.7 + "@babel/parser": ^7.16.8 + "@babel/types": ^7.16.8 + debug: ^4.1.0 + globals: ^11.1.0 + checksum: 303bc328289c73bd57dc8b90e83dfa9f4dae8e7039c95350994db67b2850a7966645c2c9f3292d0621f2051bb3d34439dc294b258dc1ad0e9d7eab04ac6bcb44 + languageName: node + linkType: hard + "@babel/traverse@npm:^7.7.4, @babel/traverse@npm:^7.8.3, @babel/traverse@npm:^7.8.4, @babel/traverse@npm:^7.8.6": version: 7.8.6 resolution: "@babel/traverse@npm:7.8.6" @@ -1751,6 +1922,16 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.16.7, @babel/types@npm:^7.16.8": + version: 7.16.8 + resolution: "@babel/types@npm:7.16.8" + dependencies: + "@babel/helper-validator-identifier": ^7.16.7 + to-fast-properties: ^2.0.0 + checksum: 4f6a187b2924df70e21d6e6c0822f91b1b936fe060bc92bb477b93bd8a712c88fe41a73f85c0ec53b033353374fe33e773b04ffc340ad36afd8f647dd05c4ee1 + languageName: node + linkType: hard + "@babel/types@npm:^7.8.3, @babel/types@npm:^7.8.6, @babel/types@npm:^7.8.7": version: 7.8.7 resolution: "@babel/types@npm:7.8.7" @@ -1842,7 +2023,7 @@ __metadata: languageName: node linkType: hard -"@emotion/jest@npm:^11.6.0": +"@emotion/jest@npm:11.6.0": version: 11.6.0 resolution: "@emotion/jest@npm:11.6.0" dependencies: @@ -1870,9 +2051,9 @@ __metadata: languageName: node linkType: hard -"@emotion/react@npm:^11.1.1": - version: 11.6.0 - resolution: "@emotion/react@npm:11.6.0" +"@emotion/react@npm:11.7.0": + version: 11.7.0 + resolution: "@emotion/react@npm:11.7.0" dependencies: "@babel/runtime": ^7.13.10 "@emotion/cache": ^11.6.0 @@ -1889,13 +2070,13 @@ __metadata: optional: true "@types/react": optional: true - checksum: 4fb2d108dc32716d1f162026ac5fdbd0662e3b435a34fb324629d72bb6bff61b18ac8975b51457c16ffa41543bade5d07558566ab76420b3926fbb9159441232 + checksum: 8b50d61caabe04ae413ae23b98c170da643754ec89f25eb001464095685686585d0f88988bc36432f231e6de6abdbee73308c42ba427de9eaaf5a54d7f2f6ae5 languageName: node linkType: hard -"@emotion/react@npm:^11.7.0": - version: 11.7.0 - resolution: "@emotion/react@npm:11.7.0" +"@emotion/react@npm:^11.1.1": + version: 11.6.0 + resolution: "@emotion/react@npm:11.6.0" dependencies: "@babel/runtime": ^7.13.10 "@emotion/cache": ^11.6.0 @@ -1912,7 +2093,7 @@ __metadata: optional: true "@types/react": optional: true - checksum: 8b50d61caabe04ae413ae23b98c170da643754ec89f25eb001464095685686585d0f88988bc36432f231e6de6abdbee73308c42ba427de9eaaf5a54d7f2f6ae5 + checksum: 4fb2d108dc32716d1f162026ac5fdbd0662e3b435a34fb324629d72bb6bff61b18ac8975b51457c16ffa41543bade5d07558566ab76420b3926fbb9159441232 languageName: node linkType: hard @@ -3044,13 +3225,14 @@ __metadata: dependencies: "@babel/core": 7.8.7 "@babel/plugin-proposal-object-rest-spread": 7.8.3 + "@babel/plugin-transform-modules-commonjs": 7.8.3 "@babel/plugin-transform-react-constant-elements": 7.8.3 "@babel/plugin-transform-react-jsx-self": 7.8.3 "@babel/plugin-transform-react-jsx-source": 7.8.3 "@babel/preset-env": 7.9.0 "@babel/preset-react": 7.8.3 - "@emotion/jest": ^11.6.0 - "@emotion/react": ^11.7.0 + "@emotion/jest": 11.6.0 + "@emotion/react": 11.7.0 "@emotion/styled": 11.6.0 "@types/classnames": 2.2.10 "@types/clipboard": 2.0.1 @@ -3781,7 +3963,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-dynamic-import-node@npm:^2.3.3": +"babel-plugin-dynamic-import-node@npm:^2.3.0, babel-plugin-dynamic-import-node@npm:^2.3.3": version: 2.3.3 resolution: "babel-plugin-dynamic-import-node@npm:2.3.3" dependencies: -- 2.39.5