next-intl 3.17.5 → 3.17.6

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.
@@ -12,7 +12,8 @@ function useLocale() {
12
12
  const params = navigation.useParams();
13
13
  let locale;
14
14
  try {
15
- // eslint-disable-next-line react-hooks/rules-of-hooks -- False positive
15
+ // eslint-disable-next-line react-compiler/react-compiler
16
+ // eslint-disable-next-line react-hooks/rules-of-hooks, react-compiler/react-compiler -- False positive
16
17
  locale = _useLocale.useLocale();
17
18
  } catch (error) {
18
19
  if (typeof (params === null || params === void 0 ? void 0 : params[constants.LOCALE_SEGMENT_NAME]) === 'string') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-intl",
3
- "version": "3.17.5",
3
+ "version": "3.17.6",
4
4
  "sideEffects": false,
5
5
  "author": "Jan Amann <jan@amann.work>",
6
6
  "funding": [
@@ -87,11 +87,11 @@
87
87
  "dependencies": {
88
88
  "@formatjs/intl-localematcher": "^0.5.4",
89
89
  "negotiator": "^0.6.3",
90
- "use-intl": "^3.17.5"
90
+ "use-intl": "^3.17.6"
91
91
  },
92
92
  "peerDependencies": {
93
93
  "next": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0",
94
94
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
95
95
  },
96
- "gitHead": "ffa3b52e93c3282dd8e0dce6e1bb8c41eab8a499"
96
+ "gitHead": "9d9d53c9e55f80ce5c6f5cb9bb5f1be04e4d302c"
97
97
  }