next-i18next 13.2.0 → 13.2.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.
@@ -1,3 +1,5 @@
1
1
  import { UserConfig, SSRConfig } from './types';
2
2
  import { Namespace } from 'i18next';
3
- export declare const serverSideTranslations: (initialLocale: Namespace[number], namespacesRequired?: Namespace[number][] | undefined, configOverride?: UserConfig | null, extraLocales?: string[] | false) => Promise<SSRConfig>;
3
+ type ArrayElementOrSelf<T> = T extends Array<infer U> ? U[] : T[];
4
+ export declare const serverSideTranslations: (initialLocale: string, namespacesRequired?: ArrayElementOrSelf<Namespace> | undefined, configOverride?: UserConfig | null, extraLocales?: string[] | false) => Promise<SSRConfig>;
5
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-i18next",
3
- "version": "13.2.0",
3
+ "version": "13.2.1",
4
4
  "repository": "git@github.com:i18next/next-i18next.git",
5
5
  "author": "i18next",
6
6
  "funding": [
@@ -112,7 +112,7 @@
112
112
  "eslint-plugin-typescript-sort-keys": "^2.1.0",
113
113
  "gh-release": "7.0.2",
114
114
  "husky": "^8.0.3",
115
- "i18next": "^22.4.9",
115
+ "i18next": "^22.4.10",
116
116
  "jest": "^29.4.2",
117
117
  "jest-environment-jsdom": "^29.4.2",
118
118
  "next": "^13.1.6",
@@ -120,7 +120,7 @@
120
120
  "prettier": "2.8.3",
121
121
  "react": "^18.2.0",
122
122
  "react-dom": "^18.2.0",
123
- "react-i18next": "^12.1.5",
123
+ "react-i18next": "^12.2.0",
124
124
  "rimraf": "^4.1.2",
125
125
  "size-limit": "^8.1.2",
126
126
  "start-server-and-test": "^1.15.3",
@@ -138,6 +138,6 @@
138
138
  "i18next": "^22.0.6",
139
139
  "next": ">= 12.0.0",
140
140
  "react": ">= 17.0.2",
141
- "react-i18next": "^12.1.5"
141
+ "react-i18next": "^12.2.0"
142
142
  }
143
143
  }