Skip to content

Commit 8a2d30d

Browse files
authored
chore(devDeps): upgrade deps (#1144)
* chore(devDeps): upgrade deps * fix: use no break space
1 parent 9a115dc commit 8a2d30d

File tree

5 files changed

+2806
-6897
lines changed

5 files changed

+2806
-6897
lines changed

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,40 +17,40 @@
1717
"@babel/preset-env": "7.20.2",
1818
"@babel/preset-react": "7.18.6",
1919
"@babel/preset-typescript": "7.18.6",
20-
"@commitlint/cli": "17.3.0",
21-
"@commitlint/config-conventional": "17.3.0",
20+
"@commitlint/cli": "17.4.0",
21+
"@commitlint/config-conventional": "17.4.0",
2222
"@rollup/plugin-babel": "6.0.3",
2323
"@rollup/plugin-node-resolve": "15.0.1",
2424
"@scaleway/eslint-config-react": "workspace:*",
2525
"@scaleway/tsconfig": "workspace:*",
2626
"@testing-library/jest-dom": "5.16.5",
2727
"@testing-library/react": "13.4.0",
2828
"@tsd/typescript": "4.9.4",
29-
"@types/jest": "29.2.4",
29+
"@types/jest": "29.2.5",
3030
"@types/node": "18.11.18",
3131
"@types/prop-types": "15.7.5",
3232
"@types/react": "18.0.26",
3333
"@types/react-dom": "18.0.10",
3434
"builtin-modules": "3.3.0",
3535
"cross-env": "7.0.3",
36-
"eslint": "8.30.0",
37-
"husky": "8.0.2",
36+
"eslint": "8.31.0",
37+
"husky": "8.0.3",
3838
"jest": "29.3.1",
3939
"jest-environment-jsdom": "29.3.1",
4040
"jest-junit": "15.0.0",
41-
"jest-localstorage-mock": "2.4.25",
41+
"jest-localstorage-mock": "2.4.26",
4242
"jest-runner-tsd": "4.0.0",
43-
"lerna": "6.3.0",
43+
"lerna": "6.4.0",
4444
"lint-staged": "13.1.0",
4545
"mockdate": "3.0.5",
4646
"prettier": "2.8.1",
4747
"react": "18.2.0",
4848
"react-dom": "18.2.0",
4949
"read-pkg": "7.1.0",
50-
"rollup": "3.8.1",
50+
"rollup": "3.9.1",
5151
"rollup-plugin-dts": "5.1.0",
5252
"rollup-plugin-preserve-shebangs": "0.2.0",
53-
"rollup-plugin-visualizer": "5.8.3",
53+
"rollup-plugin-visualizer": "5.9.0",
5454
"tsd-lite": "0.6.0",
5555
"typescript": "4.9.4",
5656
"wait-for-expect": "3.0.2"

packages/eslint-config-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"eslint": ">= 8.5"
3535
},
3636
"devDependencies": {
37-
"eslint": "8.30.0",
37+
"eslint": "8.31.0",
3838
"typescript": "4.9.4"
3939
}
4040
}

packages/use-i18n/src/__tests__/__snapshots__/formatDate.ts.snap

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ exports[`formatDate should work with custom format and locale de 2`] = `"Donners
1212

1313
exports[`formatDate should work with custom format and locale de 3`] = `"Donnerstag, 13. F 20 n. Chr., 15:28:00 Koordinierte Weltzeit"`;
1414

15-
exports[`formatDate should work with custom format and locale en 1`] = `"Thursday, F 13, 20 AD, 04:28:00 PM Coordinated Universal Time"`;
15+
exports[`formatDate should work with custom format and locale en 1`] = `"Thursday, F 13, 20 AD, 04:28:00PM Coordinated Universal Time"`;
1616

17-
exports[`formatDate should work with custom format and locale en 2`] = `"Thursday, F 13, 20 AD, 03:28:00 PM Coordinated Universal Time"`;
17+
exports[`formatDate should work with custom format and locale en 2`] = `"Thursday, F 13, 20 AD, 03:28:00PM Coordinated Universal Time"`;
1818

19-
exports[`formatDate should work with custom format and locale en 3`] = `"Thursday, F 13, 20 AD, 03:28:00 PM Coordinated Universal Time"`;
19+
exports[`formatDate should work with custom format and locale en 3`] = `"Thursday, F 13, 20 AD, 03:28:00PM Coordinated Universal Time"`;
2020

2121
exports[`formatDate should work with custom format and locale es 1`] = `"jueves, 13 F 20 d. C., 16:28:00 (tiempo universal coordinado)"`;
2222

@@ -38,37 +38,37 @@ exports[`formatDate should work with custom format and locale ro 3`] = `"joi, 13
3838

3939
exports[`formatDate should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "de" 1`] = `"13. Februar 2020 um 15:28"`;
4040

41-
exports[`formatDate should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"February 13, 2020 at 3:28 PM"`;
41+
exports[`formatDate should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"February 13, 2020 at 3:28PM"`;
4242

4343
exports[`formatDate should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "es" 1`] = `"13 de febrero de 2020, 15:28"`;
4444

4545
exports[`formatDate should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "fr" 1`] = `"13 février 2020 à 15:28"`;
4646

47-
exports[`formatDate should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "ro" 1`] = `"13 februarie 2020, 15:28"`;
47+
exports[`formatDate should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "ro" 1`] = `"13 februarie 2020 la 15:28"`;
4848

4949
exports[`formatDate should work with format "hour", for date = "1581607680000" and locale "de" 1`] = `"13. Februar 2020 um 15:28"`;
5050

51-
exports[`formatDate should work with format "hour", for date = "1581607680000" and locale "en" 1`] = `"February 13, 2020 at 3:28 PM"`;
51+
exports[`formatDate should work with format "hour", for date = "1581607680000" and locale "en" 1`] = `"February 13, 2020 at 3:28PM"`;
5252

5353
exports[`formatDate should work with format "hour", for date = "1581607680000" and locale "es" 1`] = `"13 de febrero de 2020, 15:28"`;
5454

5555
exports[`formatDate should work with format "hour", for date = "1581607680000" and locale "fr" 1`] = `"13 février 2020 à 15:28"`;
5656

57-
exports[`formatDate should work with format "hour", for date = "1581607680000" and locale "ro" 1`] = `"13 februarie 2020, 15:28"`;
57+
exports[`formatDate should work with format "hour", for date = "1581607680000" and locale "ro" 1`] = `"13 februarie 2020 la 15:28"`;
5858

5959
exports[`formatDate should work with format "hour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "de" 1`] = `"13. Februar 2020 um 16:28"`;
6060

61-
exports[`formatDate should work with format "hour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "en" 1`] = `"February 13, 2020 at 4:28 PM"`;
61+
exports[`formatDate should work with format "hour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "en" 1`] = `"February 13, 2020 at 4:28PM"`;
6262

6363
exports[`formatDate should work with format "hour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "es" 1`] = `"13 de febrero de 2020, 16:28"`;
6464

6565
exports[`formatDate should work with format "hour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "fr" 1`] = `"13 février 2020 à 16:28"`;
6666

67-
exports[`formatDate should work with format "hour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "ro" 1`] = `"13 februarie 2020, 16:28"`;
67+
exports[`formatDate should work with format "hour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "ro" 1`] = `"13 februarie 2020 la 16:28"`;
6868

6969
exports[`formatDate should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "de" 1`] = `"15:28"`;
7070

71-
exports[`formatDate should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"3:28 PM"`;
71+
exports[`formatDate should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"3:28PM"`;
7272

7373
exports[`formatDate should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "es" 1`] = `"15:28"`;
7474

@@ -78,7 +78,7 @@ exports[`formatDate should work with format "hourOnly", for date = "2020-02-13T1
7878

7979
exports[`formatDate should work with format "hourOnly", for date = "1581607680000" and locale "de" 1`] = `"15:28"`;
8080

81-
exports[`formatDate should work with format "hourOnly", for date = "1581607680000" and locale "en" 1`] = `"3:28 PM"`;
81+
exports[`formatDate should work with format "hourOnly", for date = "1581607680000" and locale "en" 1`] = `"3:28PM"`;
8282

8383
exports[`formatDate should work with format "hourOnly", for date = "1581607680000" and locale "es" 1`] = `"15:28"`;
8484

@@ -88,7 +88,7 @@ exports[`formatDate should work with format "hourOnly", for date = "158160768000
8888

8989
exports[`formatDate should work with format "hourOnly", for date = "new Date(2020, 1, 13, 16, 28)" and locale "de" 1`] = `"16:28"`;
9090

91-
exports[`formatDate should work with format "hourOnly", for date = "new Date(2020, 1, 13, 16, 28)" and locale "en" 1`] = `"4:28 PM"`;
91+
exports[`formatDate should work with format "hourOnly", for date = "new Date(2020, 1, 13, 16, 28)" and locale "en" 1`] = `"4:28PM"`;
9292

9393
exports[`formatDate should work with format "hourOnly", for date = "new Date(2020, 1, 13, 16, 28)" and locale "es" 1`] = `"16:28"`;
9494

@@ -158,7 +158,7 @@ exports[`formatDate should work with format "numeric", for date = "new Date(2020
158158

159159
exports[`formatDate should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "de" 1`] = `"2020-02-13 15:28"`;
160160

161-
exports[`formatDate should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"2020-02-13 3:28 PM"`;
161+
exports[`formatDate should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"2020-02-13 3:28PM"`;
162162

163163
exports[`formatDate should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "es" 1`] = `"2020-02-13 15:28"`;
164164

@@ -168,7 +168,7 @@ exports[`formatDate should work with format "numericHour", for date = "2020-02-1
168168

169169
exports[`formatDate should work with format "numericHour", for date = "1581607680000" and locale "de" 1`] = `"2020-02-13 15:28"`;
170170

171-
exports[`formatDate should work with format "numericHour", for date = "1581607680000" and locale "en" 1`] = `"2020-02-13 3:28 PM"`;
171+
exports[`formatDate should work with format "numericHour", for date = "1581607680000" and locale "en" 1`] = `"2020-02-13 3:28PM"`;
172172

173173
exports[`formatDate should work with format "numericHour", for date = "1581607680000" and locale "es" 1`] = `"2020-02-13 15:28"`;
174174

@@ -178,7 +178,7 @@ exports[`formatDate should work with format "numericHour", for date = "158160768
178178

179179
exports[`formatDate should work with format "numericHour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "de" 1`] = `"2020-02-13 16:28"`;
180180

181-
exports[`formatDate should work with format "numericHour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "en" 1`] = `"2020-02-13 4:28 PM"`;
181+
exports[`formatDate should work with format "numericHour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "en" 1`] = `"2020-02-13 4:28PM"`;
182182

183183
exports[`formatDate should work with format "numericHour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "es" 1`] = `"2020-02-13 16:28"`;
184184

packages/use-i18n/src/__tests__/usei18n.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ describe('i18n hook', () => {
590590

591591
expect(
592592
result.current.formatDate(new Date(2020, 1, 13, 16, 28), 'numericHour'),
593-
).toEqual('2020-02-13 4:28 PM')
593+
).toEqual('2020-02-13 4:28PM')
594594
act(() => {
595595
result.current.switchLocale('fr')
596596
})

0 commit comments

Comments
 (0)