Skip to content

Commit 72c1484

Browse files
chore: upgrade React to 19.1.2 (security patch) (#63)
1 parent 7490aa2 commit 72c1484

File tree

12 files changed

+291
-293
lines changed

12 files changed

+291
-293
lines changed

package-lock.json

Lines changed: 227 additions & 229 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"class-variance-authority": "^0.7.1",
4242
"clsx": "^2.1.1",
4343
"lucide-react": "^0.525.0",
44-
"react": "^19.1.0",
45-
"react-dom": "^19.1.0",
44+
"react": "19.1.2",
45+
"react-dom": "19.1.2",
4646
"react-hook-form": "^7.60.0",
4747
"tailwind-merge": "^3.3.1"
4848
},

react-js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"clsx": "^2.1.1",
2828
"friendly-challenge": "^0.9.19",
2929
"lucide-react": "^0.525.0",
30-
"react": "^19.1.0",
31-
"react-dom": "^19.1.0",
30+
"react": "19.1.2",
31+
"react-dom": "19.1.2",
3232
"react-google-recaptcha": "^3.1.0",
3333
"react-google-recaptcha-enterprise": "^1.0.3",
3434
"react-hook-form": "^7.60.0",

react-js/src/components/Captcha/providers/__tests__/__snapshots__/SimpleCaptchaWidget.test.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ exports[`SimpleCaptchaWidget matches snapshot (default) 1`] = `
2828
>
2929
<label
3030
class="pointer-events-none absolute top-1/2 left-4 z-[10] -translate-y-1/2 text-sm transition-all duration-150 ease-in-out origin-left text-muted-foreground"
31-
for="_r_k_-form-item"
32-
id="base-ui-_r_n_"
31+
for="«rk»-form-item"
32+
id="base-ui-«rn»"
3333
>
3434
Enter CAPTCHA
3535
</label>
3636
<div
3737
class="relative flex-1"
3838
>
3939
<input
40-
aria-labelledby="base-ui-_r_n_"
40+
aria-labelledby="base-ui-«rn»"
4141
autocomplete="off"
4242
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
43-
id="_r_k_-form-item"
43+
id="«rk»-form-item"
4444
name="captcha"
4545
type="text"
4646
/>
@@ -82,19 +82,19 @@ exports[`SimpleCaptchaWidget matches snapshot (with error) 1`] = `
8282
>
8383
<label
8484
class="pointer-events-none absolute top-1/2 left-4 z-[10] -translate-y-1/2 text-sm transition-all duration-150 ease-in-out origin-left text-destructive-foreground"
85-
for="_r_p_-form-item"
86-
id="base-ui-_r_s_"
85+
for="«rp»-form-item"
86+
id="base-ui-«rs»"
8787
>
8888
Enter CAPTCHA
8989
</label>
9090
<div
9191
class="relative flex-1"
9292
>
9393
<input
94-
aria-labelledby="base-ui-_r_s_"
94+
aria-labelledby="base-ui-«rs»"
9595
autocomplete="off"
9696
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
97-
id="_r_p_-form-item"
97+
id="«rp»-form-item"
9898
name="captcha"
9999
type="text"
100100
/>

react-js/src/components/__tests__/__snapshots__/Captcha.test.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ exports[`Captcha Component matches snapshot when imageUrl is provided 1`] = `
2929
>
3030
<label
3131
class="pointer-events-none absolute top-1/2 left-4 z-[10] -translate-y-1/2 text-sm transition-all duration-150 ease-in-out origin-left text-muted-foreground"
32-
for="_r_0_-form-item"
33-
id="base-ui-_r_3_"
32+
for="«r0»-form-item"
33+
id="base-ui-«r3»"
3434
>
3535
Enter CAPTCHA
3636
</label>
3737
<div
3838
class="relative flex-1"
3939
>
4040
<input
41-
aria-labelledby="base-ui-_r_3_"
41+
aria-labelledby="base-ui-«r3»"
4242
autocomplete="off"
4343
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
44-
id="_r_0_-form-item"
44+
id="«r0»-form-item"
4545
name="captcha"
4646
type="text"
4747
/>
@@ -81,19 +81,19 @@ exports[`Captcha Component matches snapshot with custom className 1`] = `
8181
>
8282
<label
8383
class="pointer-events-none absolute top-1/2 left-4 z-[10] -translate-y-1/2 text-sm transition-all duration-150 ease-in-out origin-left text-muted-foreground"
84-
for="_r_5_-form-item"
85-
id="base-ui-_r_8_"
84+
for="«r5»-form-item"
85+
id="base-ui-«r8»"
8686
>
8787
Enter CAPTCHA
8888
</label>
8989
<div
9090
class="relative flex-1"
9191
>
9292
<input
93-
aria-labelledby="base-ui-_r_8_"
93+
aria-labelledby="base-ui-«r8»"
9494
autocomplete="off"
9595
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
96-
id="_r_5_-form-item"
96+
id="«r5»-form-item"
9797
name="captcha"
9898
type="text"
9999
/>

react-js/src/components/form/__tests__/__snapshots__/ULThemeFloatingLabelField.test.tsx.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ exports[`ULThemeFloatingLabelField Component matches snapshot with email identif
1717
<label
1818
class="pointer-events-none absolute left-4 text-sm transition-all duration-150 ease-in-out origin-left scale-80 -translate-y-[1.18rem] top-2 z-10 bg-input px-1 text-primary"
1919
data-focused=""
20-
for="_r_0_-form-item"
21-
id="base-ui-_r_3_"
20+
for="«r0»-form-item"
21+
id="base-ui-«r3»"
2222
>
2323
Email
2424
</label>
2525
<div
2626
class="relative flex-1"
2727
>
2828
<input
29-
aria-labelledby="base-ui-_r_3_"
29+
aria-labelledby="base-ui-«r3»"
3030
autocomplete="email"
3131
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
3232
data-focused=""
33-
id="_r_0_-form-item"
33+
id="«r0»-form-item"
3434
name="identifier"
3535
type="email"
3636
value=""
@@ -58,18 +58,18 @@ exports[`ULThemeFloatingLabelField Component matches snapshot with error state 1
5858
>
5959
<label
6060
class="pointer-events-none absolute top-1/2 left-4 z-[10] -translate-y-1/2 text-sm transition-all duration-150 ease-in-out origin-left text-destructive-foreground"
61-
for="_r_5_-form-item"
62-
id="base-ui-_r_8_"
61+
for="«r5»-form-item"
62+
id="base-ui-«r8»"
6363
>
6464
Email
6565
</label>
6666
<div
6767
class="relative flex-1"
6868
>
6969
<input
70-
aria-labelledby="base-ui-_r_8_"
70+
aria-labelledby="base-ui-«r8»"
7171
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
72-
id="_r_5_-form-item"
72+
id="«r5»-form-item"
7373
name="identifier"
7474
type="email"
7575
value=""
@@ -97,19 +97,19 @@ exports[`ULThemeFloatingLabelField Component matches snapshot with phone number
9797
>
9898
<label
9999
class="pointer-events-none absolute top-1/2 left-4 z-[10] -translate-y-1/2 text-sm transition-all duration-150 ease-in-out origin-left text-muted-foreground"
100-
for="_r_a_-form-item"
101-
id="base-ui-_r_d_"
100+
for="«ra»-form-item"
101+
id="base-ui-«rd»"
102102
>
103103
Phone Number
104104
</label>
105105
<div
106106
class="relative flex-1"
107107
>
108108
<input
109-
aria-labelledby="base-ui-_r_d_"
109+
aria-labelledby="base-ui-«rd»"
110110
autocomplete="tel"
111111
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
112-
id="_r_a_-form-item"
112+
id="«ra»-form-item"
113113
name="identifier"
114114
type="tel"
115115
value=""

react-js/src/components/form/__tests__/__snapshots__/ULThemeFormMessage.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ exports[`ULThemeFormMessage Component matches snapshot with form validation erro
9797
<p
9898
class="text-destructive text-sm theme-universal:text-error"
9999
data-slot="form-message"
100-
id="_r_2_-form-item-message"
100+
id="«r2»-form-item-message"
101101
>
102102
This field is required
103103
</p>

react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"clsx": "^2.1.1",
2828
"friendly-challenge": "^0.9.19",
2929
"lucide-react": "^0.525.0",
30-
"react": "^19.1.0",
31-
"react-dom": "^19.1.0",
30+
"react": "19.1.2",
31+
"react-dom": "19.1.2",
3232
"react-google-recaptcha": "^3.1.0",
3333
"react-google-recaptcha-enterprise": "^1.0.3",
3434
"react-hook-form": "^7.60.0",

react/src/components/Captcha/providers/__tests__/__snapshots__/SimpleCaptchaWidget.test.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ exports[`SimpleCaptchaWidget matches snapshot (default) 1`] = `
2828
>
2929
<label
3030
class="pointer-events-none absolute top-1/2 left-4 z-[10] -translate-y-1/2 text-sm transition-all duration-150 ease-in-out origin-left text-muted-foreground"
31-
for="_r_k_-form-item"
32-
id="base-ui-_r_n_"
31+
for="«rk»-form-item"
32+
id="base-ui-«rn»"
3333
>
3434
Enter CAPTCHA
3535
</label>
3636
<div
3737
class="relative flex-1"
3838
>
3939
<input
40-
aria-labelledby="base-ui-_r_n_"
40+
aria-labelledby="base-ui-«rn»"
4141
autocomplete="off"
4242
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
43-
id="_r_k_-form-item"
43+
id="«rk»-form-item"
4444
name="captcha"
4545
type="text"
4646
/>
@@ -82,19 +82,19 @@ exports[`SimpleCaptchaWidget matches snapshot (with error) 1`] = `
8282
>
8383
<label
8484
class="pointer-events-none absolute top-1/2 left-4 z-[10] -translate-y-1/2 text-sm transition-all duration-150 ease-in-out origin-left text-destructive-foreground"
85-
for="_r_p_-form-item"
86-
id="base-ui-_r_s_"
85+
for="«rp»-form-item"
86+
id="base-ui-«rs»"
8787
>
8888
Enter CAPTCHA
8989
</label>
9090
<div
9191
class="relative flex-1"
9292
>
9393
<input
94-
aria-labelledby="base-ui-_r_s_"
94+
aria-labelledby="base-ui-«rs»"
9595
autocomplete="off"
9696
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
97-
id="_r_p_-form-item"
97+
id="«rp»-form-item"
9898
name="captcha"
9999
type="text"
100100
/>

react/src/components/__tests__/__snapshots__/Captcha.test.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ exports[`Captcha Component matches snapshot when imageUrl is provided 1`] = `
2929
>
3030
<label
3131
class="pointer-events-none absolute top-1/2 left-4 z-[10] -translate-y-1/2 text-sm transition-all duration-150 ease-in-out origin-left text-muted-foreground"
32-
for="_r_0_-form-item"
33-
id="base-ui-_r_3_"
32+
for="«r0»-form-item"
33+
id="base-ui-«r3»"
3434
>
3535
Enter CAPTCHA
3636
</label>
3737
<div
3838
class="relative flex-1"
3939
>
4040
<input
41-
aria-labelledby="base-ui-_r_3_"
41+
aria-labelledby="base-ui-«r3»"
4242
autocomplete="off"
4343
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
44-
id="_r_0_-form-item"
44+
id="«r0»-form-item"
4545
name="captcha"
4646
type="text"
4747
/>
@@ -81,19 +81,19 @@ exports[`Captcha Component matches snapshot with custom className 1`] = `
8181
>
8282
<label
8383
class="pointer-events-none absolute top-1/2 left-4 z-[10] -translate-y-1/2 text-sm transition-all duration-150 ease-in-out origin-left text-muted-foreground"
84-
for="_r_5_-form-item"
85-
id="base-ui-_r_8_"
84+
for="«r5»-form-item"
85+
id="base-ui-«r8»"
8686
>
8787
Enter CAPTCHA
8888
</label>
8989
<div
9090
class="relative flex-1"
9191
>
9292
<input
93-
aria-labelledby="base-ui-_r_8_"
93+
aria-labelledby="base-ui-«r8»"
9494
autocomplete="off"
9595
class="h-14 w-full flex-1 rounded-2xl bg-transparent px-3 py-4 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium autofill:bg-transparent autofill:[-webkit-text-fill-color:inherit] autofill:[transition:background-color_9999s_ease-in-out_0s] pl-3 pr-3"
96-
id="_r_5_-form-item"
96+
id="«r5»-form-item"
9797
name="captcha"
9898
type="text"
9999
/>

0 commit comments

Comments
 (0)