398 lines
13 KiB
Diff
398 lines
13 KiB
Diff
|
From 3709d320189b10a12a3780d15e46afd777f06554 Mon Sep 17 00:00:00 2001
|
||
|
From: Andreas Gerstmayr <agerstmayr@redhat.com>
|
||
|
Date: Wed, 22 Jun 2022 17:36:47 +0200
|
||
|
Subject: [PATCH] remove unused frontend crypto
|
||
|
|
||
|
update `package.json` and then run `yarn install` to update the
|
||
|
`yarn.lock` lockfile
|
||
|
|
||
|
diff --git a/package.json b/package.json
|
||
|
index e26f95d855..91d71f1414 100644
|
||
|
--- a/package.json
|
||
|
+++ b/package.json
|
||
|
@@ -405,8 +405,10 @@
|
||
|
"whatwg-fetch": "3.6.2"
|
||
|
},
|
||
|
"resolutions": {
|
||
|
+ "crypto-browserify": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.3.tgz",
|
||
|
+ "selfsigned": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.3.tgz",
|
||
|
+ "http-signature": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.3.tgz",
|
||
|
"underscore": "1.13.4",
|
||
|
- "@mdx-js/loader/loader-utils": "^2.0.0",
|
||
|
"@types/slate": "0.47.9",
|
||
|
"@rushstack/node-core-library": "3.52.0",
|
||
|
"@rushstack/rig-package": "0.3.13",
|
||
|
diff --git a/yarn.lock b/yarn.lock
|
||
|
index f374e10e33..12c06ad883 100644
|
||
|
--- a/yarn.lock
|
||
|
+++ b/yarn.lock
|
||
|
@@ -4571,10 +4571,10 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"@braintree/sanitize-url@npm:6.0.0":
|
||
|
- version: 6.0.0
|
||
|
- resolution: "@braintree/sanitize-url@npm:6.0.0"
|
||
|
- checksum: 409ce7709dc1a0c67bc887d20af1becd4145d5c62cc5124b1c4c1f3ea2a8d69b0ee9f582d446469c6f5294b56442b99048cbbba6861dd5c834d4e019b95e1f40
|
||
|
+"@braintree/sanitize-url@npm:^6.0.0":
|
||
|
+ version: 6.0.2
|
||
|
+ resolution: "@braintree/sanitize-url@npm:6.0.2"
|
||
|
+ checksum: 6a9dfd4081cc96516eeb281d1a83d3b5f1ad3d2837adf968fcc2ba18889ee833554f9c641b4083c36d3360a932e4504ddf25b0b51e9933c3742622df82cf7c9a
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
@@ -5375,7 +5375,7 @@ __metadata:
|
||
|
version: 0.0.0-use.local
|
||
|
resolution: "@grafana/data@workspace:packages/grafana-data"
|
||
|
dependencies:
|
||
|
- "@braintree/sanitize-url": 6.0.0
|
||
|
+ "@braintree/sanitize-url": ^6.0.0
|
||
|
"@grafana/schema": 9.2.8
|
||
|
"@grafana/tsconfig": ^1.2.0-rc1
|
||
|
"@rollup/plugin-commonjs": 22.0.1
|
||
|
@@ -14511,22 +14511,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"asn1@npm:~0.2.3":
|
||
|
- version: 0.2.4
|
||
|
- resolution: "asn1@npm:0.2.4"
|
||
|
- dependencies:
|
||
|
- safer-buffer: ~2.1.0
|
||
|
- checksum: aa5d6f77b1e0597df53824c68cfe82d1d89ce41cb3520148611f025fbb3101b2d25dd6a40ad34e4fac10f6b19ed5e8628cd4b7d212261e80e83f02b39ee5663c
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
-"assert-plus@npm:1.0.0, assert-plus@npm:^1.0.0":
|
||
|
- version: 1.0.0
|
||
|
- resolution: "assert-plus@npm:1.0.0"
|
||
|
- checksum: 19b4340cb8f0e6a981c07225eacac0e9d52c2644c080198765d63398f0075f83bbc0c8e95474d54224e297555ad0d631c1dcd058adb1ddc2437b41a6b424ac64
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"assert@npm:2.0.0":
|
||
|
version: 2.0.0
|
||
|
resolution: "assert@npm:2.0.0"
|
||
|
@@ -15231,15 +15215,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"bcrypt-pbkdf@npm:^1.0.0":
|
||
|
- version: 1.0.2
|
||
|
- resolution: "bcrypt-pbkdf@npm:1.0.2"
|
||
|
- dependencies:
|
||
|
- tweetnacl: ^0.14.3
|
||
|
- checksum: 4edfc9fe7d07019609ccf797a2af28351736e9d012c8402a07120c4453a3b789a15f2ee1530dc49eee8f7eb9379331a8dd4b3766042b9e502f74a68e7f662291
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"before-after-hook@npm:^2.2.0":
|
||
|
version: 2.2.2
|
||
|
resolution: "before-after-hook@npm:2.2.2"
|
||
|
@@ -17053,13 +17028,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"core-util-is@npm:1.0.2":
|
||
|
- version: 1.0.2
|
||
|
- resolution: "core-util-is@npm:1.0.2"
|
||
|
- checksum: 7a4c925b497a2c91421e25bf76d6d8190f0b2359a9200dbeed136e63b2931d6294d3b1893eda378883ed363cd950f44a12a401384c609839ea616befb7927dab
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"core-util-is@npm:~1.0.0":
|
||
|
version: 1.0.3
|
||
|
resolution: "core-util-is@npm:1.0.3"
|
||
|
@@ -18097,15 +18065,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"dashdash@npm:^1.12.0":
|
||
|
- version: 1.14.1
|
||
|
- resolution: "dashdash@npm:1.14.1"
|
||
|
- dependencies:
|
||
|
- assert-plus: ^1.0.0
|
||
|
- checksum: 3634c249570f7f34e3d34f866c93f866c5b417f0dd616275decae08147dcdf8fccfaa5947380ccfb0473998ea3a8057c0b4cd90c875740ee685d0624b2983598
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"data-urls@npm:^2.0.0":
|
||
|
version: 2.0.0
|
||
|
resolution: "data-urls@npm:2.0.0"
|
||
|
@@ -18842,16 +18801,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"ecc-jsbn@npm:~0.1.1":
|
||
|
- version: 0.1.2
|
||
|
- resolution: "ecc-jsbn@npm:0.1.2"
|
||
|
- dependencies:
|
||
|
- jsbn: ~0.1.0
|
||
|
- safer-buffer: ^2.1.0
|
||
|
- checksum: 22fef4b6203e5f31d425f5b711eb389e4c6c2723402e389af394f8411b76a488fa414d309d866e2b577ce3e8462d344205545c88a8143cc21752a5172818888a
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"ee-first@npm:1.1.1":
|
||
|
version: 1.1.1
|
||
|
resolution: "ee-first@npm:1.1.1"
|
||
|
@@ -20489,20 +20438,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"extsprintf@npm:1.3.0":
|
||
|
- version: 1.3.0
|
||
|
- resolution: "extsprintf@npm:1.3.0"
|
||
|
- checksum: cee7a4a1e34cffeeec18559109de92c27517e5641991ec6bab849aa64e3081022903dd53084f2080d0d2530803aa5ee84f1e9de642c365452f9e67be8f958ce2
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
-"extsprintf@npm:^1.2.0":
|
||
|
- version: 1.4.0
|
||
|
- resolution: "extsprintf@npm:1.4.0"
|
||
|
- checksum: 184dc8a413eb4b1ff16bdce797340e7ded4d28511d56a1c9afa5a95bcff6ace154063823eaf0206dbbb0d14059d74f382a15c34b7c0636fa74a7e681295eb67e
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"fast-deep-equal@npm:^3.0.0, fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3":
|
||
|
version: 3.1.3
|
||
|
resolution: "fast-deep-equal@npm:3.1.3"
|
||
|
@@ -21462,15 +21397,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"getpass@npm:^0.1.1":
|
||
|
- version: 0.1.7
|
||
|
- resolution: "getpass@npm:0.1.7"
|
||
|
- dependencies:
|
||
|
- assert-plus: ^1.0.0
|
||
|
- checksum: ab18d55661db264e3eac6012c2d3daeafaab7a501c035ae0ccb193c3c23e9849c6e29b6ac762b9c2adae460266f925d55a3a2a3a3c8b94be2f222df94d70c046
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"git-raw-commits@npm:^2.0.8":
|
||
|
version: 2.0.11
|
||
|
resolution: "git-raw-commits@npm:2.0.11"
|
||
|
@@ -22832,25 +22758,10 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"http-signature@npm:~1.2.0":
|
||
|
- version: 1.2.0
|
||
|
- resolution: "http-signature@npm:1.2.0"
|
||
|
- dependencies:
|
||
|
- assert-plus: ^1.0.0
|
||
|
- jsprim: ^1.2.2
|
||
|
- sshpk: ^1.7.0
|
||
|
- checksum: 3324598712266a9683585bb84a75dec4fd550567d5e0dd4a0fff6ff3f74348793404d3eeac4918fa0902c810eeee1a86419e4a2e92a164132dfe6b26743fb47c
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
-"http-signature@npm:~1.3.6":
|
||
|
- version: 1.3.6
|
||
|
- resolution: "http-signature@npm:1.3.6"
|
||
|
- dependencies:
|
||
|
- assert-plus: ^1.0.0
|
||
|
- jsprim: ^2.0.2
|
||
|
- sshpk: ^1.14.1
|
||
|
- checksum: 10be2af4764e71fee0281392937050201ee576ac755c543f570d6d87134ce5e858663fe999a7adb3e4e368e1e356d0d7fec6b9542295b875726ff615188e7a0c
|
||
|
+"http-signature@https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.3.tgz":
|
||
|
+ version: 1.1.3
|
||
|
+ resolution: "http-signature@https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.3.tgz"
|
||
|
+ checksum: 78b64605540e2d25bede2d74ec9e7740ab9a466c9a562ae3a8ccc7e07e26e601a013859c94adf890679403cd337b9690f598d64bc4fbc1d2eaa2f27241ca08a1
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
@@ -25418,13 +25329,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"jsbn@npm:~0.1.0":
|
||
|
- version: 0.1.1
|
||
|
- resolution: "jsbn@npm:0.1.1"
|
||
|
- checksum: e5ff29c1b8d965017ef3f9c219dacd6e40ad355c664e277d31246c90545a02e6047018c16c60a00f36d561b3647215c41894f5d869ada6908a2e0ce4200c88f2
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"jsdoc-type-pratt-parser@npm:~2.2.5":
|
||
|
version: 2.2.5
|
||
|
resolution: "jsdoc-type-pratt-parser@npm:2.2.5"
|
||
|
@@ -25572,13 +25476,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"json-schema@npm:0.2.3, json-schema@npm:0.4.0":
|
||
|
- version: 0.4.0
|
||
|
- resolution: "json-schema@npm:0.4.0"
|
||
|
- checksum: 66389434c3469e698da0df2e7ac5a3281bcff75e797a5c127db7c5b56270e01ae13d9afa3c03344f76e32e81678337a8c912bdbb75101c62e487dc3778461d72
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"json-source-map@npm:0.6.1":
|
||
|
version: 0.6.1
|
||
|
resolution: "json-source-map@npm:0.6.1"
|
||
|
@@ -25709,30 +25606,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"jsprim@npm:^1.2.2":
|
||
|
- version: 1.4.1
|
||
|
- resolution: "jsprim@npm:1.4.1"
|
||
|
- dependencies:
|
||
|
- assert-plus: 1.0.0
|
||
|
- extsprintf: 1.3.0
|
||
|
- json-schema: 0.2.3
|
||
|
- verror: 1.10.0
|
||
|
- checksum: 6bcb20ec265ae18bb48e540a6da2c65f9c844f7522712d6dfcb01039527a49414816f4869000493363f1e1ea96cbad00e46188d5ecc78257a19f152467587373
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
-"jsprim@npm:^2.0.2":
|
||
|
- version: 2.0.2
|
||
|
- resolution: "jsprim@npm:2.0.2"
|
||
|
- dependencies:
|
||
|
- assert-plus: 1.0.0
|
||
|
- extsprintf: 1.3.0
|
||
|
- json-schema: 0.4.0
|
||
|
- verror: 1.10.0
|
||
|
- checksum: d175f6b1991e160cb0aa39bc857da780e035611986b5492f32395411879fdaf4e513d98677f08f7352dac93a16b66b8361c674b86a3fa406e2e7af6b26321838
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"jsurl@npm:^0.1.5":
|
||
|
version: 0.1.5
|
||
|
resolution: "jsurl@npm:0.1.5"
|
||
|
@@ -26192,6 +26065,17 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
+"loader-utils@npm:2.0.0":
|
||
|
+ version: 2.0.0
|
||
|
+ resolution: "loader-utils@npm:2.0.0"
|
||
|
+ dependencies:
|
||
|
+ big.js: ^5.2.2
|
||
|
+ emojis-list: ^3.0.0
|
||
|
+ json5: ^2.1.2
|
||
|
+ checksum: 6856423131b50b6f5f259da36f498cfd7fc3c3f8bb17777cf87fdd9159e797d4ba4288d9a96415fd8da62c2906960e88f74711dee72d03a9003bddcd0d364a51
|
||
|
+ languageName: node
|
||
|
+ linkType: hard
|
||
|
+
|
||
|
"loader-utils@npm:^2.0.0":
|
||
|
version: 2.0.3
|
||
|
resolution: "loader-utils@npm:2.0.3"
|
||
|
@@ -27755,13 +27639,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"node-forge@npm:^1":
|
||
|
- version: 1.3.1
|
||
|
- resolution: "node-forge@npm:1.3.1"
|
||
|
- checksum: 08fb072d3d670599c89a1704b3e9c649ff1b998256737f0e06fbd1a5bf41cae4457ccaee32d95052d80bbafd9ffe01284e078c8071f0267dc9744e51c5ed42a9
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"node-gettext@npm:^3.0.0":
|
||
|
version: 3.0.0
|
||
|
resolution: "node-gettext@npm:3.0.0"
|
||
|
@@ -33404,7 +33281,7 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0":
|
||
|
+"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0":
|
||
|
version: 2.1.2
|
||
|
resolution: "safer-buffer@npm:2.1.2"
|
||
|
checksum: cab8f25ae6f1434abee8d80023d7e72b598cf1327164ddab31003c51215526801e40b66c5e65d658a0af1e9d6478cadcb4c745f4bd6751f97d8644786c0978b0
|
||
|
@@ -33623,12 +33500,10 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"selfsigned@npm:^2.0.1":
|
||
|
- version: 2.0.1
|
||
|
- resolution: "selfsigned@npm:2.0.1"
|
||
|
- dependencies:
|
||
|
- node-forge: ^1
|
||
|
- checksum: 864e65c2f31ca877bce3ccdaa3bdef5e1e992b63b2a03641e00c24cd305bf2acce093431d1fed2e5ae9f526558db4be5e90baa2b3474c0428fcf7e25cc86ac93
|
||
|
+"selfsigned@https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.3.tgz":
|
||
|
+ version: 1.1.3
|
||
|
+ resolution: "selfsigned@https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.3.tgz"
|
||
|
+ checksum: 4988a0dbdf123fb808194a6198f5951e2df711de6fd967d72a8876baccaa23d5c260efb8f1dbfbc5bf1f852e81f897ad09267908977ab94862867ef971a3d48d
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
@@ -34591,27 +34466,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"sshpk@npm:^1.14.1, sshpk@npm:^1.7.0":
|
||
|
- version: 1.16.1
|
||
|
- resolution: "sshpk@npm:1.16.1"
|
||
|
- dependencies:
|
||
|
- asn1: ~0.2.3
|
||
|
- assert-plus: ^1.0.0
|
||
|
- bcrypt-pbkdf: ^1.0.0
|
||
|
- dashdash: ^1.12.0
|
||
|
- ecc-jsbn: ~0.1.1
|
||
|
- getpass: ^0.1.1
|
||
|
- jsbn: ~0.1.0
|
||
|
- safer-buffer: ^2.0.2
|
||
|
- tweetnacl: ~0.14.0
|
||
|
- bin:
|
||
|
- sshpk-conv: bin/sshpk-conv
|
||
|
- sshpk-sign: bin/sshpk-sign
|
||
|
- sshpk-verify: bin/sshpk-verify
|
||
|
- checksum: 5e76afd1cedc780256f688b7c09327a8a650902d18e284dfeac97489a735299b03c3e72c6e8d22af03dbbe4d6f123fdfd5f3c4ed6bedbec72b9529a55051b857
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"ssri@npm:^8.0.0, ssri@npm:^8.0.1":
|
||
|
version: 8.0.1
|
||
|
resolution: "ssri@npm:8.0.1"
|
||
|
@@ -36287,13 +36141,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: hard
|
||
|
|
||
|
-"tweetnacl@npm:^0.14.3, tweetnacl@npm:~0.14.0":
|
||
|
- version: 0.14.5
|
||
|
- resolution: "tweetnacl@npm:0.14.5"
|
||
|
- checksum: 6061daba1724f59473d99a7bb82e13f211cdf6e31315510ae9656fefd4779851cb927adad90f3b488c8ed77c106adc0421ea8055f6f976ff21b27c5c4e918487
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"type-check@npm:^0.4.0, type-check@npm:~0.4.0":
|
||
|
version: 0.4.0
|
||
|
resolution: "type-check@npm:0.4.0"
|
||
|
@@ -37042,17 +36889,6 @@ __metadata:
|
||
|
languageName: node
|
||
|
linkType: soft
|
||
|
|
||
|
-"verror@npm:1.10.0":
|
||
|
- version: 1.10.0
|
||
|
- resolution: "verror@npm:1.10.0"
|
||
|
- dependencies:
|
||
|
- assert-plus: ^1.0.0
|
||
|
- core-util-is: 1.0.2
|
||
|
- extsprintf: ^1.2.0
|
||
|
- checksum: c431df0bedf2088b227a4e051e0ff4ca54df2c114096b0c01e1cbaadb021c30a04d7dd5b41ab277bcd51246ca135bf931d4c4c796ecae7a4fef6d744ecef36ea
|
||
|
- languageName: node
|
||
|
- linkType: hard
|
||
|
-
|
||
|
"vfile-location@npm:^3.0.0, vfile-location@npm:^3.2.0":
|
||
|
version: 3.2.0
|
||
|
resolution: "vfile-location@npm:3.2.0"
|
||
|
|
||
|
diff --git a/packages/grafana-data/package.json b/packages/grafana-data/package.json
|
||
|
index e26f95d855..91d71f1414 100644
|
||
|
--- a/packages/grafana-data/package.json
|
||
|
+++ b/packages/grafana-data/package.json
|
||
|
@@ -33,7 +33,7 @@
|
||
|
"typecheck": "tsc --emitDeclarationOnly false --noEmit"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
- "@braintree/sanitize-url": "6.0.0",
|
||
|
+ "@braintree/sanitize-url": "^6.0.0",
|
||
|
"@grafana/schema": "9.2.8",
|
||
|
"@types/d3-interpolate": "^1.4.0",
|
||
|
"d3-interpolate": "1.4.0",
|
||
|
|