Skip to content

Commit 9bbb74e

Browse files
committed
Fix dashboard.tsx
1 parent 0c07c83 commit 9bbb74e

File tree

3 files changed

+151
-20
lines changed

3 files changed

+151
-20
lines changed

mystbin/frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"dependencies": {
1313
"@material-ui/core": "^4.11.0",
1414
"@material-ui/icons": "^4.9.1",
15+
"@material-ui/x-grid": "^4.0.0-alpha.37",
1516
"@monaco-editor/react": "^3.7.0",
1617
"@types/crypto-js": "^4.0.1",
1718
"boostrap": "^2.0.0",

mystbin/frontend/pages/dashboard.tsx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import BeenhereIcon from "@material-ui/icons/Beenhere";
1212
import AddBoxIcon from "@material-ui/icons/AddBox";
1313
import {
1414
XGrid,
15-
RowsProp,
16-
ColDef,
15+
GridRowsProp,
16+
GridColDef,
1717
LicenseInfo,
18-
CellParams,
19-
RowParams,
18+
GridCellParams,
19+
GridRowParams,
2020
} from "@material-ui/x-grid";
2121
import { Collapse } from "@material-ui/core";
2222
import PeopleIcon from "@material-ui/icons/People";
@@ -59,7 +59,7 @@ export default function Dashboard(props) {
5959
const adminTotalUsers = users["user_count"];
6060
const adminTotalPastes = analytics["total_pastes"];
6161

62-
const standardPasteColumns: ColDef[] = [
62+
const standardPasteColumns: GridColDef[] = [
6363
{ field: "id", headerName: "ID", width: 250 },
6464
{ field: "file_count", headerName: "Files", width: 100 },
6565
{
@@ -75,9 +75,9 @@ export default function Dashboard(props) {
7575
field: "delete",
7676
headerName: "Delete",
7777
width: 125,
78-
renderCell: (params: CellParams) => (
78+
renderCell: (params: GridCellParams) => (
7979
<h5>
80-
<Badge className={styles.tableRowDelete} variant={"danger"}>
80+
<Badge className={styles.tableRowDelete}>
8181
Delete Paste
8282
</Badge>
8383
</h5>
@@ -91,7 +91,7 @@ export default function Dashboard(props) {
9191
subscribertext = "Not Subscribed :(";
9292
}
9393

94-
const realPasteColumns: ColDef[] = [
94+
const realPasteColumns: GridColDef[] = [
9595
{ field: "id", headerName: "ID", width: 250 },
9696
{ field: "author_id", headerName: "Author ID", width: 240 },
9797
{
@@ -108,16 +108,16 @@ export default function Dashboard(props) {
108108
field: "delete",
109109
headerName: "Delete",
110110
width: 125,
111-
renderCell: (params: CellParams) => (
111+
renderCell: (params: GridCellParams) => (
112112
<h5>
113-
<Badge className={styles.tableRowDelete} variant={"danger"}>
113+
<Badge className={styles.tableRowDelete}>
114114
Delete Paste
115115
</Badge>
116116
</h5>
117117
),
118118
},
119119
];
120-
const userColumns: ColDef[] = [
120+
const userColumns: GridColDef[] = [
121121
{ field: "id", headerName: "ID" },
122122
{ field: "admin", headerName: "Is Admin" },
123123
{ field: "theme", headerName: "Theme" },
@@ -129,23 +129,23 @@ export default function Dashboard(props) {
129129
field: "ban",
130130
headerName: "Ban",
131131
width: 125,
132-
renderCell: (params: CellParams) => (
132+
renderCell: (params: GridCellParams) => (
133133
<h5>
134-
<Badge className={styles.tableRowDelete} variant={"danger"}>
134+
<Badge className={styles.tableRowDelete}>
135135
Ban User
136136
</Badge>
137137
</h5>
138138
),
139139
},
140140
];
141-
const bookmarkColumns: ColDef[] = [
141+
const bookmarkColumns: GridColDef[] = [
142142
{ field: "id", headerName: "ID" },
143143
{ field: "created_at", headerName: "Created At" },
144144
{ field: "expires", headerName: "Expires" },
145145
{ field: "views", headerName: "Views" },
146146
];
147147

148-
const standardPasteRows: RowsProp = [
148+
const standardPasteRows: GridRowsProp = [
149149
{
150150
id: "ThreeRandomWords",
151151
file_count: 3,
@@ -511,7 +511,7 @@ export default function Dashboard(props) {
511511
(p) =>
512512
!!p.id
513513
.toLowerCase()
514-
.includes(param.filterModel.items[0].value)
514+
.includes(param.items[0].value)
515515
);
516516
setAdminUsersRows(newRows);
517517
setPageLoading(false);
@@ -522,7 +522,7 @@ export default function Dashboard(props) {
522522

523523
fetch(
524524
`${config["site"]["backend_site"]}/admin/users?page=${
525-
param.page + 1
525+
param + 1
526526
}`,
527527
{
528528
method: "GET",
@@ -568,7 +568,7 @@ export default function Dashboard(props) {
568568
(p) =>
569569
!!p.id
570570
.toLowerCase()
571-
.includes(param.filterModel.items[0].value)
571+
.includes(param.items[0].value)
572572
);
573573
setAdminPasteRows(newRows);
574574
setPageLoading(false);
@@ -578,7 +578,7 @@ export default function Dashboard(props) {
578578
setPageLoading(true);
579579

580580
fetch(
581-
`${config["site"]["backend_site"]}/admin/pastes?count=100&page=${param.page}`,
581+
`${config["site"]["backend_site"]}/admin/pastes?count=100&page=${param}`,
582582
{
583583
method: "GET",
584584
headers: { Authorization: `Bearer ${token}` },

mystbin/frontend/yarn.lock

Lines changed: 131 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@
10761076
dependencies:
10771077
regenerator-runtime "^0.13.4"
10781078

1079-
"@babel/runtime@^7.17.2", "@babel/runtime@^7.18.3", "@babel/runtime@^7.6.2":
1079+
"@babel/runtime@^7.14.8", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.3", "@babel/runtime@^7.6.2":
10801080
version "7.18.9"
10811081
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.9.tgz#b4fcfce55db3d2e5e080d2490f608a3b9f407f4a"
10821082
integrity sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==
@@ -1341,6 +1341,37 @@
13411341
prop-types "^15.7.2"
13421342
react-is "^16.8.0 || ^17.0.0"
13431343

1344+
"@material-ui/utils@^5.0.0-alpha.14":
1345+
version "5.0.0-beta.5"
1346+
resolved "https://registry.yarnpkg.com/@material-ui/utils/-/utils-5.0.0-beta.5.tgz#de492037e1f1f0910fda32e6f11b66dfcde2a1c2"
1347+
integrity sha512-wtJ3ovXWZdTAz5eLBqvMpYH/IBJb3qMQbGCyL1i00+sf7AUlAuv4QLx+QtX/siA6L7IpxUQVfqpoCpQH1eYRpQ==
1348+
dependencies:
1349+
"@babel/runtime" "^7.14.8"
1350+
"@types/prop-types" "^15.7.4"
1351+
"@types/react-is" "^16.7.1 || ^17.0.0"
1352+
prop-types "^15.7.2"
1353+
react-is "^17.0.2"
1354+
1355+
"@material-ui/x-grid@^4.0.0-alpha.37":
1356+
version "4.0.0-alpha.37"
1357+
resolved "https://registry.yarnpkg.com/@material-ui/x-grid/-/x-grid-4.0.0-alpha.37.tgz#6514048d66a9d4b49322ad1f1b03bfa3af05df2f"
1358+
integrity sha512-X8Vg2l7tOpNdA1lOnPK+U/tTF0QWsftL2cm4L8C4LOmG7pdHCdlPnC8Vdb5D1Tpf57RQdec6dZYtJE8JYcoq/g==
1359+
dependencies:
1360+
"@material-ui/utils" "^5.0.0-alpha.14"
1361+
"@material-ui/x-license" "4.0.0-alpha.37"
1362+
clsx "^1.0.4"
1363+
prop-types "^15.7.2"
1364+
reselect "^4.0.0"
1365+
1366+
"@material-ui/[email protected]":
1367+
version "4.0.0-alpha.37"
1368+
resolved "https://registry.yarnpkg.com/@material-ui/x-license/-/x-license-4.0.0-alpha.37.tgz#49ecd287fbd963bfd141f9a61a7911f4f89f4522"
1369+
integrity sha512-MA4kTjnzxnGCw3qmbSzFsApDeAFgR7/HOp1O/TIz5kp7OUiPcl4CX3QiXBxQ9rtDJZe8r42GeMYz4xrb7gLG1g==
1370+
dependencies:
1371+
"@material-ui/utils" "^5.0.0-alpha.14"
1372+
esm "^3.2.25"
1373+
yargs "^17.0.1"
1374+
13441375
"@monaco-editor/loader@^0.1.2":
13451376
version "0.1.3"
13461377
resolved "https://registry.yarnpkg.com/@monaco-editor/loader/-/loader-0.1.3.tgz#f8830ef2a5b826bc3452afa8ddb8b83b00ff54e9"
@@ -1448,6 +1479,18 @@
14481479
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7"
14491480
integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==
14501481

1482+
"@types/prop-types@^15.7.4":
1483+
version "15.7.5"
1484+
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf"
1485+
integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==
1486+
1487+
"@types/react-is@^16.7.1 || ^17.0.0":
1488+
version "17.0.3"
1489+
resolved "https://registry.yarnpkg.com/@types/react-is/-/react-is-17.0.3.tgz#2d855ba575f2fc8d17ef9861f084acc4b90a137a"
1490+
integrity sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==
1491+
dependencies:
1492+
"@types/react" "*"
1493+
14511494
"@types/react-transition-group@^4.2.0":
14521495
version "4.4.0"
14531496
resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.0.tgz#882839db465df1320e4753e6e9f70ca7e9b4d46d"
@@ -1756,6 +1799,11 @@ ansi-regex@^5.0.0:
17561799
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"
17571800
integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==
17581801

1802+
ansi-regex@^5.0.1:
1803+
version "5.0.1"
1804+
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
1805+
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
1806+
17591807
ansi-styles@^3.2.1:
17601808
version "3.2.1"
17611809
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
@@ -2378,6 +2426,15 @@ clean-stack@^2.0.0:
23782426
resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b"
23792427
integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==
23802428

2429+
cliui@^7.0.2:
2430+
version "7.0.4"
2431+
resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f"
2432+
integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==
2433+
dependencies:
2434+
string-width "^4.2.0"
2435+
strip-ansi "^6.0.0"
2436+
wrap-ansi "^7.0.0"
2437+
23812438
clsx@^1.0.4, clsx@^1.1.0:
23822439
version "1.1.1"
23832440
resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.1.1.tgz#98b3134f9abbdf23b2663491ace13c5c03a73188"
@@ -3173,6 +3230,11 @@ eslint@^7.13.0:
31733230
text-table "^0.2.0"
31743231
v8-compile-cache "^2.0.3"
31753232

3233+
esm@^3.2.25:
3234+
version "3.2.25"
3235+
resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10"
3236+
integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==
3237+
31763238
espree@^7.3.0, espree@^7.3.1:
31773239
version "7.3.1"
31783240
resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6"
@@ -3552,6 +3614,11 @@ gauge@~2.7.3:
35523614
strip-ansi "^3.0.1"
35533615
wide-align "^1.1.0"
35543616

3617+
get-caller-file@^2.0.5:
3618+
version "2.0.5"
3619+
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
3620+
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
3621+
35553622
get-intrinsic@^1.0.2:
35563623
version "1.1.1"
35573624
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6"
@@ -5382,6 +5449,11 @@ [email protected], react-is@^16.13.1, react-is@^16.3.2, react-is@^16.7.0, react-i
53825449
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.1.tgz#5b3531bd76a645a4c9fb6e693ed36419e3301339"
53835450
integrity sha512-NAnt2iGDXohE5LI7uBnLnqvLQMtzhkiAOLXTmv+qnF9Ky7xAPcX8Up/xWIhxvLVGJvuLiNc4xQLtuqDRzb4fSA==
53845451

5452+
react-is@^17.0.2:
5453+
version "17.0.2"
5454+
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
5455+
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
5456+
53855457
react-lifecycles-compat@^3.0.4:
53865458
version "3.0.4"
53875459
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"
@@ -5598,6 +5670,11 @@ repeat-string@^1.6.1:
55985670
resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
55995671
integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc=
56005672

5673+
require-directory@^2.1.1:
5674+
version "2.1.1"
5675+
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
5676+
integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==
5677+
56015678
require-from-string@^2.0.2:
56025679
version "2.0.2"
56035680
resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909"
@@ -5608,6 +5685,11 @@ requires-port@^1.0.0:
56085685
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
56095686
integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
56105687

5688+
reselect@^4.0.0:
5689+
version "4.1.6"
5690+
resolved "https://registry.yarnpkg.com/reselect/-/reselect-4.1.6.tgz#19ca2d3d0b35373a74dc1c98692cdaffb6602656"
5691+
integrity sha512-ZovIuXqto7elwnxyXbBtCPo9YFEr3uJqj2rRbcOOog1bmu2Ag85M4hixSwFWyaBMKXNgvPaJ9OSu9SkBPIeJHQ==
5692+
56115693
resolve-from@^4.0.0:
56125694
version "4.0.0"
56135695
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
@@ -6096,6 +6178,15 @@ string-width@^1.0.1:
60966178
is-fullwidth-code-point "^2.0.0"
60976179
strip-ansi "^4.0.0"
60986180

6181+
string-width@^4.1.0, string-width@^4.2.3:
6182+
version "4.2.3"
6183+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
6184+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
6185+
dependencies:
6186+
emoji-regex "^8.0.0"
6187+
is-fullwidth-code-point "^3.0.0"
6188+
strip-ansi "^6.0.1"
6189+
60996190
string-width@^4.2.0:
61006191
version "4.2.0"
61016192
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5"
@@ -6140,6 +6231,13 @@ strip-ansi@^4.0.0:
61406231
dependencies:
61416232
ansi-regex "^3.0.0"
61426233

6234+
strip-ansi@^6.0.1:
6235+
version "6.0.1"
6236+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
6237+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
6238+
dependencies:
6239+
ansi-regex "^5.0.1"
6240+
61436241
strip-json-comments@^3.1.0, strip-json-comments@^3.1.1:
61446242
version "3.1.1"
61456243
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
@@ -6724,6 +6822,15 @@ worker-farm@^1.7.0:
67246822
dependencies:
67256823
errno "~0.1.7"
67266824

6825+
wrap-ansi@^7.0.0:
6826+
version "7.0.0"
6827+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
6828+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
6829+
dependencies:
6830+
ansi-styles "^4.0.0"
6831+
string-width "^4.1.0"
6832+
strip-ansi "^6.0.0"
6833+
67276834
wrappy@1:
67286835
version "1.0.2"
67296836
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
@@ -6739,6 +6846,11 @@ y18n@^4.0.0:
67396846
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.1.tgz#8db2b83c31c5d75099bb890b23f3094891e247d4"
67406847
integrity sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==
67416848

6849+
y18n@^5.0.5:
6850+
version "5.0.8"
6851+
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
6852+
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==
6853+
67426854
yallist@^3.0.2:
67436855
version "3.1.1"
67446856
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
@@ -6748,3 +6860,21 @@ yallist@^4.0.0:
67486860
version "4.0.0"
67496861
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
67506862
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
6863+
6864+
yargs-parser@^21.0.0:
6865+
version "21.1.1"
6866+
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35"
6867+
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==
6868+
6869+
yargs@^17.0.1:
6870+
version "17.5.1"
6871+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.5.1.tgz#e109900cab6fcb7fd44b1d8249166feb0b36e58e"
6872+
integrity sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==
6873+
dependencies:
6874+
cliui "^7.0.2"
6875+
escalade "^3.1.1"
6876+
get-caller-file "^2.0.5"
6877+
require-directory "^2.1.1"
6878+
string-width "^4.2.3"
6879+
y18n "^5.0.5"
6880+
yargs-parser "^21.0.0"

0 commit comments

Comments
 (0)