react-i18next 15.5.0 → 15.5.1

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ### 15.5.1
2
+
3
+ add typescript as optional peer dependency [1843](https://github.com/i18next/react-i18next/pull/1843)
4
+
1
5
  ### 15.5.0
2
6
 
3
7
  feat: use const type parameters for useTranslation() [1842](https://github.com/i18next/react-i18next/pull/1842)
@@ -1 +1 @@
1
- {"type":"module","version":"15.5.0"}
1
+ {"type":"module","version":"15.5.1"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-i18next",
3
- "version": "15.5.0",
3
+ "version": "15.5.1",
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",
@@ -69,7 +69,8 @@
69
69
  },
70
70
  "peerDependencies": {
71
71
  "i18next": ">= 23.2.3",
72
- "react": ">= 16.8.0"
72
+ "react": ">= 16.8.0",
73
+ "typescript": "^5"
73
74
  },
74
75
  "peerDependenciesMeta": {
75
76
  "react-dom": {
@@ -77,6 +78,9 @@
77
78
  },
78
79
  "react-native": {
79
80
  "optional": true
81
+ },
82
+ "typescript": {
83
+ "optional": true
80
84
  }
81
85
  },
82
86
  "devDependencies": {