Skip to content

Commit 1abff77

Browse files
authored
Merge pull request oasisprotocol#1900 from oasisprotocol/lw/reduce-node_modules
Update and deduplicate sub-dependencies using `npx yarn-deduplicate yarn.lock`
2 parents 1b92a77 + 27fb134 commit 1abff77

File tree

35 files changed

+552
-2321
lines changed

35 files changed

+552
-2321
lines changed

.changelog/1900.internal.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Update and deduplicate sub-dependencies using `npx yarn-deduplicate yarn.lock`
2+
3+
This reduces the size of node_modules and speeds up installing dependencies.

src/app/components/AddEscrowForm/__tests__/__snapshots__/index.test.tsx.snap

+6-3
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,12 @@ exports[`<AddEscrowForm /> should match snapshot 1`] = `
107107
box-shadow: none;
108108
}
109109
110-
.c8:focus:not(:focus-visible) > circle,.c8:focus:not(:focus-visible) > ellipse,
111-
.c8:focus:not(:focus-visible) > line,.c8:focus:not(:focus-visible) > path,
112-
.c8:focus:not(:focus-visible) > polygon,.c8:focus:not(:focus-visible) > polyline,
110+
.c8:focus:not(:focus-visible) > circle,
111+
.c8:focus:not(:focus-visible) > ellipse,
112+
.c8:focus:not(:focus-visible) > line,
113+
.c8:focus:not(:focus-visible) > path,
114+
.c8:focus:not(:focus-visible) > polygon,
115+
.c8:focus:not(:focus-visible) > polyline,
113116
.c8:focus:not(:focus-visible) > rect {
114117
outline: none;
115118
box-shadow: none;

src/app/components/AddressBox/__tests__/__snapshots__/index.test.tsx.snap

+30-15
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ exports[`<AddressBox /> should render address properly 1`] = `
2121
stroke-width: 0;
2222
}
2323
24-
.c3 *[stroke*='#'],.c3 *[STROKE*='#'] {
24+
.c3 *[stroke*='#'],
25+
.c3 *[STROKE*='#'] {
2526
stroke: inherit;
2627
fill: none;
2728
}
2829
2930
.c3 *[fill-rule],
3031
.c3 *[FILL-RULE],
31-
.c3 *[fill*='#'],.c3 *[FILL*='#'] {
32+
.c3 *[fill*='#'],
33+
.c3 *[FILL*='#'] {
3234
fill: inherit;
3335
stroke: none;
3436
}
@@ -151,9 +153,12 @@ exports[`<AddressBox /> should render address properly 1`] = `
151153
box-shadow: none;
152154
}
153155
154-
.c2:focus:not(:focus-visible) > circle,.c2:focus:not(:focus-visible) > ellipse,
155-
.c2:focus:not(:focus-visible) > line,.c2:focus:not(:focus-visible) > path,
156-
.c2:focus:not(:focus-visible) > polygon,.c2:focus:not(:focus-visible) > polyline,
156+
.c2:focus:not(:focus-visible) > circle,
157+
.c2:focus:not(:focus-visible) > ellipse,
158+
.c2:focus:not(:focus-visible) > line,
159+
.c2:focus:not(:focus-visible) > path,
160+
.c2:focus:not(:focus-visible) > polygon,
161+
.c2:focus:not(:focus-visible) > polyline,
157162
.c2:focus:not(:focus-visible) > rect {
158163
outline: none;
159164
box-shadow: none;
@@ -252,14 +257,16 @@ exports[`<EditableNameBox /> should render name properly 1`] = `
252257
stroke-width: 0;
253258
}
254259
255-
.c6 *[stroke*='#'],.c6 *[STROKE*='#'] {
260+
.c6 *[stroke*='#'],
261+
.c6 *[STROKE*='#'] {
256262
stroke: inherit;
257263
fill: none;
258264
}
259265
260266
.c6 *[fill-rule],
261267
.c6 *[FILL-RULE],
262-
.c6 *[fill*='#'],.c6 *[FILL*='#'] {
268+
.c6 *[fill*='#'],
269+
.c6 *[FILL*='#'] {
263270
fill: inherit;
264271
stroke: none;
265272
}
@@ -284,14 +291,16 @@ exports[`<EditableNameBox /> should render name properly 1`] = `
284291
stroke-width: 0;
285292
}
286293
287-
.c11 *[stroke*='#'],.c11 *[STROKE*='#'] {
294+
.c11 *[stroke*='#'],
295+
.c11 *[STROKE*='#'] {
288296
stroke: inherit;
289297
fill: none;
290298
}
291299
292300
.c11 *[fill-rule],
293301
.c11 *[FILL-RULE],
294-
.c11 *[fill*='#'],.c11 *[FILL*='#'] {
302+
.c11 *[fill*='#'],
303+
.c11 *[FILL*='#'] {
295304
fill: inherit;
296305
stroke: none;
297306
}
@@ -457,9 +466,12 @@ exports[`<EditableNameBox /> should render name properly 1`] = `
457466
box-shadow: none;
458467
}
459468
460-
.c5:focus:not(:focus-visible) > circle,.c5:focus:not(:focus-visible) > ellipse,
461-
.c5:focus:not(:focus-visible) > line,.c5:focus:not(:focus-visible) > path,
462-
.c5:focus:not(:focus-visible) > polygon,.c5:focus:not(:focus-visible) > polyline,
469+
.c5:focus:not(:focus-visible) > circle,
470+
.c5:focus:not(:focus-visible) > ellipse,
471+
.c5:focus:not(:focus-visible) > line,
472+
.c5:focus:not(:focus-visible) > path,
473+
.c5:focus:not(:focus-visible) > polygon,
474+
.c5:focus:not(:focus-visible) > polyline,
463475
.c5:focus:not(:focus-visible) > rect {
464476
outline: none;
465477
box-shadow: none;
@@ -523,9 +535,12 @@ exports[`<EditableNameBox /> should render name properly 1`] = `
523535
box-shadow: none;
524536
}
525537
526-
.c7:focus:not(:focus-visible) > circle,.c7:focus:not(:focus-visible) > ellipse,
527-
.c7:focus:not(:focus-visible) > line,.c7:focus:not(:focus-visible) > path,
528-
.c7:focus:not(:focus-visible) > polygon,.c7:focus:not(:focus-visible) > polyline,
538+
.c7:focus:not(:focus-visible) > circle,
539+
.c7:focus:not(:focus-visible) > ellipse,
540+
.c7:focus:not(:focus-visible) > line,
541+
.c7:focus:not(:focus-visible) > path,
542+
.c7:focus:not(:focus-visible) > polygon,
543+
.c7:focus:not(:focus-visible) > polyline,
529544
.c7:focus:not(:focus-visible) > rect {
530545
outline: none;
531546
box-shadow: none;

src/app/components/Footer/__tests__/__snapshots__/index.test.tsx.snap

+4-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ exports[`<Footer /> should render mobile version of footer 1`] = `
2121
stroke-width: 0;
2222
}
2323
24-
.c8 *[stroke*='#'],.c8 *[STROKE*='#'] {
24+
.c8 *[stroke*='#'],
25+
.c8 *[STROKE*='#'] {
2526
stroke: inherit;
2627
fill: none;
2728
}
2829
2930
.c8 *[fill-rule],
3031
.c8 *[FILL-RULE],
31-
.c8 *[fill*='#'],.c8 *[FILL*='#'] {
32+
.c8 *[fill*='#'],
33+
.c8 *[FILL*='#'] {
3234
fill: inherit;
3335
stroke: none;
3436
}

src/app/components/ReclaimEscrowForm/__tests__/__snapshots__/index.test.tsx.snap

+12-6
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,12 @@ exports[`<ReclaimEscrowForm /> should match snapshot 1`] = `
151151
box-shadow: none;
152152
}
153153
154-
.c10:focus:not(:focus-visible) > circle,.c10:focus:not(:focus-visible) > ellipse,
155-
.c10:focus:not(:focus-visible) > line,.c10:focus:not(:focus-visible) > path,
156-
.c10:focus:not(:focus-visible) > polygon,.c10:focus:not(:focus-visible) > polyline,
154+
.c10:focus:not(:focus-visible) > circle,
155+
.c10:focus:not(:focus-visible) > ellipse,
156+
.c10:focus:not(:focus-visible) > line,
157+
.c10:focus:not(:focus-visible) > path,
158+
.c10:focus:not(:focus-visible) > polygon,
159+
.c10:focus:not(:focus-visible) > polyline,
157160
.c10:focus:not(:focus-visible) > rect {
158161
outline: none;
159162
box-shadow: none;
@@ -224,9 +227,12 @@ exports[`<ReclaimEscrowForm /> should match snapshot 1`] = `
224227
box-shadow: none;
225228
}
226229
227-
.c12:focus:not(:focus-visible) > circle,.c12:focus:not(:focus-visible) > ellipse,
228-
.c12:focus:not(:focus-visible) > line,.c12:focus:not(:focus-visible) > path,
229-
.c12:focus:not(:focus-visible) > polygon,.c12:focus:not(:focus-visible) > polyline,
230+
.c12:focus:not(:focus-visible) > circle,
231+
.c12:focus:not(:focus-visible) > ellipse,
232+
.c12:focus:not(:focus-visible) > line,
233+
.c12:focus:not(:focus-visible) > path,
234+
.c12:focus:not(:focus-visible) > polygon,
235+
.c12:focus:not(:focus-visible) > polyline,
230236
.c12:focus:not(:focus-visible) > rect {
231237
outline: none;
232238
box-shadow: none;

src/app/components/Sidebar/__tests__/__snapshots__/index.test.tsx.snap

+20-10
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ exports[`<Navigation /> should match snapshot 1`] = `
2121
stroke-width: 0;
2222
}
2323
24-
.c7 *[stroke*='#'],.c7 *[STROKE*='#'] {
24+
.c7 *[stroke*='#'],
25+
.c7 *[STROKE*='#'] {
2526
stroke: inherit;
2627
fill: none;
2728
}
2829
2930
.c7 *[fill-rule],
3031
.c7 *[FILL-RULE],
31-
.c7 *[fill*='#'],.c7 *[FILL*='#'] {
32+
.c7 *[fill*='#'],
33+
.c7 *[FILL*='#'] {
3234
fill: inherit;
3335
stroke: none;
3436
}
@@ -259,9 +261,12 @@ exports[`<Navigation /> should match snapshot 1`] = `
259261
box-shadow: none;
260262
}
261263
262-
.c11:focus:not(:focus-visible) > circle,.c11:focus:not(:focus-visible) > ellipse,
263-
.c11:focus:not(:focus-visible) > line,.c11:focus:not(:focus-visible) > path,
264-
.c11:focus:not(:focus-visible) > polygon,.c11:focus:not(:focus-visible) > polyline,
264+
.c11:focus:not(:focus-visible) > circle,
265+
.c11:focus:not(:focus-visible) > ellipse,
266+
.c11:focus:not(:focus-visible) > line,
267+
.c11:focus:not(:focus-visible) > path,
268+
.c11:focus:not(:focus-visible) > polygon,
269+
.c11:focus:not(:focus-visible) > polyline,
265270
.c11:focus:not(:focus-visible) > rect {
266271
outline: none;
267272
box-shadow: none;
@@ -483,14 +488,16 @@ exports[`<Navigation /> with account opened should match snapshot 1`] = `
483488
stroke-width: 0;
484489
}
485490
486-
.c7 *[stroke*='#'],.c7 *[STROKE*='#'] {
491+
.c7 *[stroke*='#'],
492+
.c7 *[STROKE*='#'] {
487493
stroke: inherit;
488494
fill: none;
489495
}
490496
491497
.c7 *[fill-rule],
492498
.c7 *[FILL-RULE],
493-
.c7 *[fill*='#'],.c7 *[FILL*='#'] {
499+
.c7 *[fill*='#'],
500+
.c7 *[FILL*='#'] {
494501
fill: inherit;
495502
stroke: none;
496503
}
@@ -721,9 +728,12 @@ exports[`<Navigation /> with account opened should match snapshot 1`] = `
721728
box-shadow: none;
722729
}
723730
724-
.c12:focus:not(:focus-visible) > circle,.c12:focus:not(:focus-visible) > ellipse,
725-
.c12:focus:not(:focus-visible) > line,.c12:focus:not(:focus-visible) > path,
726-
.c12:focus:not(:focus-visible) > polygon,.c12:focus:not(:focus-visible) > polyline,
731+
.c12:focus:not(:focus-visible) > circle,
732+
.c12:focus:not(:focus-visible) > ellipse,
733+
.c12:focus:not(:focus-visible) > line,
734+
.c12:focus:not(:focus-visible) > path,
735+
.c12:focus:not(:focus-visible) > polygon,
736+
.c12:focus:not(:focus-visible) > polyline,
727737
.c12:focus:not(:focus-visible) > rect {
728738
outline: none;
729739
box-shadow: none;

src/app/components/ThemeSwitcher/__tests__/__snapshots__/index.test.tsx.snap

+14-7
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ exports[`<ThemeSelect /> should match snapshot 1`] = `
2121
stroke-width: 0;
2222
}
2323
24-
.c6 *[stroke*='#'],.c6 *[STROKE*='#'] {
24+
.c6 *[stroke*='#'],
25+
.c6 *[STROKE*='#'] {
2526
stroke: inherit;
2627
fill: none;
2728
}
2829
2930
.c6 *[fill-rule],
3031
.c6 *[FILL-RULE],
31-
.c6 *[fill*='#'],.c6 *[FILL*='#'] {
32+
.c6 *[fill*='#'],
33+
.c6 *[FILL*='#'] {
3234
fill: inherit;
3335
stroke: none;
3436
}
@@ -53,14 +55,16 @@ exports[`<ThemeSelect /> should match snapshot 1`] = `
5355
stroke-width: 0;
5456
}
5557
56-
.c15 *[stroke*='#'],.c15 *[STROKE*='#'] {
58+
.c15 *[stroke*='#'],
59+
.c15 *[STROKE*='#'] {
5760
stroke: inherit;
5861
fill: none;
5962
}
6063
6164
.c15 *[fill-rule],
6265
.c15 *[FILL-RULE],
63-
.c15 *[fill*='#'],.c15 *[FILL*='#'] {
66+
.c15 *[fill*='#'],
67+
.c15 *[FILL*='#'] {
6468
fill: inherit;
6569
stroke: none;
6670
}
@@ -219,9 +223,12 @@ exports[`<ThemeSelect /> should match snapshot 1`] = `
219223
box-shadow: none;
220224
}
221225
222-
.c7:focus:not(:focus-visible) > circle,.c7:focus:not(:focus-visible) > ellipse,
223-
.c7:focus:not(:focus-visible) > line,.c7:focus:not(:focus-visible) > path,
224-
.c7:focus:not(:focus-visible) > polygon,.c7:focus:not(:focus-visible) > polyline,
226+
.c7:focus:not(:focus-visible) > circle,
227+
.c7:focus:not(:focus-visible) > ellipse,
228+
.c7:focus:not(:focus-visible) > line,
229+
.c7:focus:not(:focus-visible) > path,
230+
.c7:focus:not(:focus-visible) > polygon,
231+
.c7:focus:not(:focus-visible) > polyline,
225232
.c7:focus:not(:focus-visible) > rect {
226233
outline: none;
227234
box-shadow: none;

src/app/components/Toolbar/Features/Account/__tests__/__snapshots__/Account.test.tsx.snap

+2-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ exports[`<Account /> should match snapshot 1`] = `
249249
cursor: pointer;
250250
}
251251
252-
.c3:hover input:not([disabled]) + div,.c3:hover input:not([disabled]) + span {
252+
.c3:hover input:not([disabled]) + div,
253+
.c3:hover input:not([disabled]) + span {
253254
border-color: #000000;
254255
}
255256

src/app/components/Toolbar/Features/AccountSelector/__tests__/__snapshots__/index.test.tsx.snap

+22-11
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ exports[`<AccountSelector /> should match snapshot 1`] = `
2121
stroke-width: 0;
2222
}
2323
24-
.c18 *[stroke*='#'],.c18 *[STROKE*='#'] {
24+
.c18 *[stroke*='#'],
25+
.c18 *[STROKE*='#'] {
2526
stroke: inherit;
2627
fill: none;
2728
}
2829
2930
.c18 *[fill-rule],
3031
.c18 *[FILL-RULE],
31-
.c18 *[fill*='#'],.c18 *[FILL*='#'] {
32+
.c18 *[fill*='#'],
33+
.c18 *[FILL*='#'] {
3234
fill: inherit;
3335
stroke: none;
3436
}
@@ -328,9 +330,12 @@ exports[`<AccountSelector /> should match snapshot 1`] = `
328330
box-shadow: none;
329331
}
330332
331-
.c9:focus:not(:focus-visible) > circle,.c9:focus:not(:focus-visible) > ellipse,
332-
.c9:focus:not(:focus-visible) > line,.c9:focus:not(:focus-visible) > path,
333-
.c9:focus:not(:focus-visible) > polygon,.c9:focus:not(:focus-visible) > polyline,
333+
.c9:focus:not(:focus-visible) > circle,
334+
.c9:focus:not(:focus-visible) > ellipse,
335+
.c9:focus:not(:focus-visible) > line,
336+
.c9:focus:not(:focus-visible) > path,
337+
.c9:focus:not(:focus-visible) > polygon,
338+
.c9:focus:not(:focus-visible) > polyline,
334339
.c9:focus:not(:focus-visible) > rect {
335340
outline: none;
336341
box-shadow: none;
@@ -395,9 +400,12 @@ exports[`<AccountSelector /> should match snapshot 1`] = `
395400
box-shadow: none;
396401
}
397402
398-
.c16:focus:not(:focus-visible) > circle,.c16:focus:not(:focus-visible) > ellipse,
399-
.c16:focus:not(:focus-visible) > line,.c16:focus:not(:focus-visible) > path,
400-
.c16:focus:not(:focus-visible) > polygon,.c16:focus:not(:focus-visible) > polyline,
403+
.c16:focus:not(:focus-visible) > circle,
404+
.c16:focus:not(:focus-visible) > ellipse,
405+
.c16:focus:not(:focus-visible) > line,
406+
.c16:focus:not(:focus-visible) > path,
407+
.c16:focus:not(:focus-visible) > polygon,
408+
.c16:focus:not(:focus-visible) > polyline,
401409
.c16:focus:not(:focus-visible) > rect {
402410
outline: none;
403411
box-shadow: none;
@@ -465,9 +473,12 @@ exports[`<AccountSelector /> should match snapshot 1`] = `
465473
box-shadow: none;
466474
}
467475
468-
.c21:focus:not(:focus-visible) > circle,.c21:focus:not(:focus-visible) > ellipse,
469-
.c21:focus:not(:focus-visible) > line,.c21:focus:not(:focus-visible) > path,
470-
.c21:focus:not(:focus-visible) > polygon,.c21:focus:not(:focus-visible) > polyline,
476+
.c21:focus:not(:focus-visible) > circle,
477+
.c21:focus:not(:focus-visible) > ellipse,
478+
.c21:focus:not(:focus-visible) > line,
479+
.c21:focus:not(:focus-visible) > path,
480+
.c21:focus:not(:focus-visible) > polygon,
481+
.c21:focus:not(:focus-visible) > polyline,
471482
.c21:focus:not(:focus-visible) > rect {
472483
outline: none;
473484
box-shadow: none;

0 commit comments

Comments
 (0)