Skip to content

Commit 880e1d3

Browse files
authored
Update deps for CVEs in cryptiles, handlebars, immer, lodash, merge-deep (#477)
1 parent d2dbe22 commit 880e1d3

File tree

8 files changed

+4037
-4530
lines changed

8 files changed

+4037
-4530
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/node:8.11.4
5+
- image: circleci/node:14.18.2
66

77
working_directory: ~/repo
88

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@
103103
"underscore": "^1.8.3",
104104
"validator": "^9.1.1"
105105
},
106+
"resolutions": {
107+
"lodash": "4.17.21",
108+
"immer": "9.0.6",
109+
"merge-deep": "3.0.3"
110+
},
106111
"peerDependencies": {
107112
"@instacart/radium": "^0.26.1",
108113
"prop-types": "^15.0.0 || ^16.0.0",

src/components/Forms/__tests__/__snapshots__/DateField.spec.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`renders correctly 1`] = `
44
<StyleRoot>
5-
<ForwardRef>
5+
<Component>
66
<div
77
data-radium={true}
88
>
@@ -522,13 +522,13 @@ exports[`renders correctly 1`] = `
522522
</StyleSheet>
523523
</withRadiumContexts(StyleSheet)>
524524
</div>
525-
</ForwardRef>
525+
</Component>
526526
</StyleRoot>
527527
`;
528528

529529
exports[`renders correctly with focus state 1`] = `
530530
<StyleRoot>
531-
<ForwardRef>
531+
<Component>
532532
<div
533533
data-radium={true}
534534
>
@@ -1053,13 +1053,13 @@ exports[`renders correctly with focus state 1`] = `
10531053
</StyleSheet>
10541054
</withRadiumContexts(StyleSheet)>
10551055
</div>
1056-
</ForwardRef>
1056+
</Component>
10571057
</StyleRoot>
10581058
`;
10591059

10601060
exports[`uses a custom theme for all child components if one is provided 1`] = `
10611061
<StyleRoot>
1062-
<ForwardRef>
1062+
<Component>
10631063
<div
10641064
data-radium={true}
10651065
>
@@ -1623,6 +1623,6 @@ exports[`uses a custom theme for all child components if one is provided 1`] = `
16231623
</StyleSheet>
16241624
</withRadiumContexts(StyleSheet)>
16251625
</div>
1626-
</ForwardRef>
1626+
</Component>
16271627
</StyleRoot>
16281628
`;

src/components/Forms/__tests__/__snapshots__/MaskedTextField.spec.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`renders correctly 1`] = `
44
<StyleRoot>
5-
<ForwardRef>
5+
<Component>
66
<div
77
data-radium={true}
88
>
@@ -503,13 +503,13 @@ exports[`renders correctly 1`] = `
503503
</StyleSheet>
504504
</withRadiumContexts(StyleSheet)>
505505
</div>
506-
</ForwardRef>
506+
</Component>
507507
</StyleRoot>
508508
`;
509509

510510
exports[`renders correctly with focus state 1`] = `
511511
<StyleRoot>
512-
<ForwardRef>
512+
<Component>
513513
<div
514514
data-radium={true}
515515
>
@@ -1015,13 +1015,13 @@ exports[`renders correctly with focus state 1`] = `
10151015
</StyleSheet>
10161016
</withRadiumContexts(StyleSheet)>
10171017
</div>
1018-
</ForwardRef>
1018+
</Component>
10191019
</StyleRoot>
10201020
`;
10211021

10221022
exports[`uses a custom theme for all child components if one is provided 1`] = `
10231023
<StyleRoot>
1024-
<ForwardRef>
1024+
<Component>
10251025
<div
10261026
data-radium={true}
10271027
>
@@ -1552,6 +1552,6 @@ exports[`uses a custom theme for all child components if one is provided 1`] = `
15521552
</StyleSheet>
15531553
</withRadiumContexts(StyleSheet)>
15541554
</div>
1555-
</ForwardRef>
1555+
</Component>
15561556
</StyleRoot>
15571557
`;

src/components/Forms/__tests__/__snapshots__/PhoneNumberField.spec.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`renders correctly 1`] = `
44
<StyleRoot>
5-
<ForwardRef>
5+
<Component>
66
<div
77
data-radium={true}
88
>
@@ -540,13 +540,13 @@ exports[`renders correctly 1`] = `
540540
</StyleSheet>
541541
</withRadiumContexts(StyleSheet)>
542542
</div>
543-
</ForwardRef>
543+
</Component>
544544
</StyleRoot>
545545
`;
546546

547547
exports[`renders correctly with focus state 1`] = `
548548
<StyleRoot>
549-
<ForwardRef>
549+
<Component>
550550
<div
551551
data-radium={true}
552552
>
@@ -1089,13 +1089,13 @@ exports[`renders correctly with focus state 1`] = `
10891089
</StyleSheet>
10901090
</withRadiumContexts(StyleSheet)>
10911091
</div>
1092-
</ForwardRef>
1092+
</Component>
10931093
</StyleRoot>
10941094
`;
10951095

10961096
exports[`uses a custom theme for all child components if one is provided 1`] = `
10971097
<StyleRoot>
1098-
<ForwardRef>
1098+
<Component>
10991099
<div
11001100
data-radium={true}
11011101
>
@@ -1677,6 +1677,6 @@ exports[`uses a custom theme for all child components if one is provided 1`] = `
16771677
</StyleSheet>
16781678
</withRadiumContexts(StyleSheet)>
16791679
</div>
1680-
</ForwardRef>
1680+
</Component>
16811681
</StyleRoot>
16821682
`;

src/components/Menus/__tests__/__snapshots__/DropdownMenu.spec.js.snap

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`renders DropdownMenu in open state correctly 1`] = `
44
<StyleRoot>
5-
<ForwardRef>
5+
<Component>
66
<div
77
data-radium={true}
88
>
@@ -16,11 +16,11 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
1616
}
1717
}
1818
triggerElement={
19-
<withTheme(Component)
19+
<withTheme(Button)
2020
id="trigger"
2121
>
2222
Share
23-
</withTheme(Component)>
23+
</withTheme(Button)>
2424
}
2525
>
2626
<DropdownMenu
@@ -40,11 +40,11 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
4040
}
4141
}
4242
triggerElement={
43-
<withTheme(Component)
43+
<withTheme(Button)
4444
id="trigger"
4545
>
4646
Share
47-
</withTheme(Component)>
47+
</withTheme(Button)>
4848
}
4949
>
5050
<div
@@ -60,7 +60,7 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
6060
}
6161
}
6262
>
63-
<withTheme(Component)
63+
<withTheme(Button)
6464
aria-expanded={true}
6565
aria-haspopup={true}
6666
elementAttributes={
@@ -72,7 +72,7 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
7272
id="trigger"
7373
onMouseDown={[Function]}
7474
>
75-
<ForwardRef
75+
<Button
7676
aria-expanded={true}
7777
aria-haspopup={true}
7878
disabled={false}
@@ -146,8 +146,8 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
146146
>
147147
Share
148148
</button>
149-
</ForwardRef>
150-
</withTheme(Component)>
149+
</Button>
150+
</withTheme(Button)>
151151
</div>
152152
<div
153153
data-radium={true}
@@ -366,7 +366,7 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
366366
}
367367
}
368368
>
369-
<ForwardRef
369+
<Icon
370370
name="emailFilled"
371371
style={
372372
Array [
@@ -398,7 +398,7 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
398398
>
399399
400400
</i>
401-
</ForwardRef>
401+
</Icon>
402402
</div>
403403
</div>
404404
<div
@@ -509,7 +509,7 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
509509
}
510510
}
511511
>
512-
<ForwardRef
512+
<Icon
513513
name="facebookFilled"
514514
style={
515515
Array [
@@ -544,7 +544,7 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
544544
>
545545
546546
</i>
547-
</ForwardRef>
547+
</Icon>
548548
</div>
549549
</div>
550550
<div
@@ -655,7 +655,7 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
655655
}
656656
}
657657
>
658-
<ForwardRef
658+
<Icon
659659
name="twitterFilled"
660660
style={
661661
Array [
@@ -690,7 +690,7 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
690690
>
691691
692692
</i>
693-
</ForwardRef>
693+
</Icon>
694694
</div>
695695
</div>
696696
<div
@@ -750,7 +750,7 @@ exports[`renders DropdownMenu in open state correctly 1`] = `
750750
</StyleSheet>
751751
</withRadiumContexts(StyleSheet)>
752752
</div>
753-
</ForwardRef>
753+
</Component>
754754
</StyleRoot>
755755
`;
756756

src/components/Tooltip/__tests__/__snapshots__/Tooltip.spec.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ exports[`Tooltip expect overlay to appear correctly when shown 1`] = `
4646
style="position: absolute; z-index: 99999;"
4747
>
4848
<div
49-
style="opacity: 0;"
49+
style="opacity: 0; transition: all 400ms ease-in-out;"
5050
>
5151
<div
52-
style="position: absolute; display: block; height: 12px; width: 12px; background-color: rgb(255, 255, 255); border-left: 1px solid #BDBDBD; border-top: 1px solid #BDBDBD; left: -6px; top: -7px;"
52+
style="position: absolute; display: block; height: 12px; width: 12px; background-color: rgb(255, 255, 255); transform: rotate(-45deg); border-left: 1px solid #BDBDBD; border-top: 1px solid #BDBDBD; left: -6px; top: -7px;"
5353
/>
5454
<div
5555
style="text-align: center; border-radius: 4px; white-space: nowrap; font-weight: 600; font-size: 14px; padding: 9px 8px 9px 8px; background: rgb(255, 255, 255); color: rgb(117, 117, 117); border: 1px solid #bdbdbd;"

0 commit comments

Comments
 (0)