react-i18next 13.5.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/es/package.json +1 -1
- package/index.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
### 14.0.0
|
|
2
|
+
|
|
3
|
+
- types: reportNamespaces is now optional, should fix [1693](https://github.com/i18next/react-i18next/issues/1693)
|
|
4
|
+
|
|
1
5
|
### 13.5.0
|
|
2
6
|
|
|
3
7
|
- self-closing components in translation strings should not attempt to replace the component's children [1695](https://github.com/i18next/react-i18next/issues/1695)
|
package/dist/es/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"
|
|
1
|
+
{"type":"module","version":"14.0.0"}
|
package/index.d.ts
CHANGED
|
@@ -35,10 +35,10 @@ export interface ReportNamespaces {
|
|
|
35
35
|
|
|
36
36
|
declare module 'i18next' {
|
|
37
37
|
// interface i18n {
|
|
38
|
-
// reportNamespaces
|
|
38
|
+
// reportNamespaces?: ReportNamespaces;
|
|
39
39
|
// }
|
|
40
40
|
interface CustomInstanceExtenstions {
|
|
41
|
-
reportNamespaces
|
|
41
|
+
reportNamespaces?: ReportNamespaces;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-i18next",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
|
|
5
5
|
"main": "dist/commonjs/index.js",
|
|
6
6
|
"types": "./index.d.mts",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"eslint-plugin-react": "^7.32.2",
|
|
107
107
|
"eslint-plugin-testing-library": "^5.11.0",
|
|
108
108
|
"husky": "^8.0.3",
|
|
109
|
-
"i18next": "^23.7.
|
|
109
|
+
"i18next": "^23.7.7",
|
|
110
110
|
"jest": "^24.8.0",
|
|
111
111
|
"jest-cli": "^24.8.4",
|
|
112
112
|
"lint-staged": "^8.1.3",
|