@intlayer/next-i18next 9.4.2 → 9.4.4

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.
@@ -11,7 +11,6 @@ import { appWithTranslation as appWithTranslation$1 } from "next-i18next/pages";
11
11
  * export default appWithTranslation(MyApp);
12
12
  * ```
13
13
  */
14
- declare const appWithTranslation: typeof appWithTranslation$1;
14
+ export declare const appWithTranslation: typeof appWithTranslation$1;
15
15
  //#endregion
16
- export { appWithTranslation };
17
16
  //# sourceMappingURL=appWithTranslation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appWithTranslation.d.ts","names":[],"sources":["../../src/appWithTranslation.tsx"],"mappings":";;;;;;;;;;;;;cAgBa,2BAA2B"}
1
+ {"version":3,"file":"appWithTranslation.d.ts","names":[],"sources":["../../src/appWithTranslation.tsx"],"mappings":";;;;;;;;;;;;;qBAgBa,2BAA2B"}
@@ -3,7 +3,7 @@ import { serverSideTranslations } from "./serverSideTranslations.js";
3
3
  import { i18n as i18n$1 } from "@intlayer/i18next";
4
4
  import { I18nContext, I18nextProvider, Trans, Translation, initReactI18next, useDictionary, useDictionaryDynamic, useTranslation, withTranslation } from "@intlayer/react-i18next";
5
5
  //#region src/index.d.ts
6
- declare const i18n: i18n$1;
6
+ export declare const i18n: i18n$1;
7
7
  //#endregion
8
- export { I18nContext, I18nextProvider, Trans, Translation, appWithTranslation, i18n, initReactI18next, serverSideTranslations, useDictionary, useDictionaryDynamic, useTranslation, withTranslation };
8
+ export { I18nContext, I18nextProvider, Trans, Translation, appWithTranslation, initReactI18next, serverSideTranslations, useDictionary, useDictionaryDynamic, useTranslation, withTranslation };
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;cAEa,MAA6B"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;qBAEa,MAA6B"}
@@ -5,7 +5,7 @@ import { NextConfig } from "next";
5
5
  * and configures resolve aliases so `next-i18next` imports are served by
6
6
  * `@intlayer/next-i18next`.
7
7
  */
8
- declare const createNextI18nPlugin: (_i18nPath?: string) => (nextConfig?: NextConfig) => Promise<NextConfig>;
8
+ export declare const createNextI18nPlugin: (_i18nPath?: string) => (nextConfig?: NextConfig) => Promise<NextConfig>;
9
9
  /**
10
10
  * A pre-instantiated Next.js plugin for next-i18next compat.
11
11
  * Wraps a NextConfig directly without requiring the factory call pattern.
@@ -16,7 +16,7 @@ declare const createNextI18nPlugin: (_i18nPath?: string) => (nextConfig?: NextCo
16
16
  * export default withI18next(nextConfig);
17
17
  * ```
18
18
  */
19
- declare const withI18next: (nextConfig?: NextConfig) => Promise<NextConfig>;
19
+ export declare const withI18next: (nextConfig?: NextConfig) => Promise<NextConfig>;
20
20
  //#endregion
21
- export { createNextI18nPlugin, createNextI18nPlugin as default, withI18next };
21
+ export { createNextI18nPlugin as default };
22
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/plugin/index.ts"],"mappings":";;;;;;;cAwIa,uBAAoB,wBAAsB,aAC3B,eAAkB,QAAQ;;;;;;;;;;;cA2GzC,cAAW,aA3GI,eAAkB,QAAQ"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/plugin/index.ts"],"mappings":";;;;;;;qBAwIa,uBAAoB,wBAAsB,aAC3B,eAAkB,QAAQ;;;;;;;;;;;qBA2GzC,cAAW,aA3GI,eAAkB,QAAQ"}
@@ -25,9 +25,8 @@
25
25
  * });
26
26
  * ```
27
27
  */
28
- declare const serverSideTranslations: (locale: string, namespacesRequired?: string[], configOverride?: Record<string, unknown>) => Promise<{
28
+ export declare const serverSideTranslations: (locale: string, namespacesRequired?: string[], configOverride?: Record<string, unknown>) => Promise<{
29
29
  _nextI18Next: Record<string, unknown>;
30
30
  }>;
31
31
  //#endregion
32
- export { serverSideTranslations };
33
32
  //# sourceMappingURL=serverSideTranslations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverSideTranslations.d.ts","names":[],"sources":["../../src/serverSideTranslations.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;cA8Ba,yBAAsB,gBACnB,+BACe,iBACZ,4BAChB;EAAU,cAAc"}
1
+ {"version":3,"file":"serverSideTranslations.d.ts","names":[],"sources":["../../src/serverSideTranslations.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;qBA8Ba,yBAAsB,gBACnB,+BACe,iBACZ,4BAChB;EAAU,cAAc"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/next-i18next",
3
- "version": "9.4.2",
3
+ "version": "9.4.4",
4
4
  "private": false,
5
5
  "description": "next-i18next API adapter for intlayer — serverSideTranslations, appWithTranslation, useTranslation backed by next-intlayer",
6
6
  "keywords": [
@@ -79,14 +79,14 @@
79
79
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
80
80
  },
81
81
  "dependencies": {
82
- "@intlayer/config": "9.4.2",
83
- "@intlayer/core": "9.4.2",
84
- "@intlayer/engine": "9.4.2",
85
- "@intlayer/i18next": "9.4.2",
86
- "@intlayer/react-i18next": "9.4.2",
87
- "@intlayer/types": "9.4.2",
88
- "next-intlayer": "9.4.2",
89
- "react-intlayer": "9.4.2"
82
+ "@intlayer/config": "9.4.4",
83
+ "@intlayer/core": "9.4.4",
84
+ "@intlayer/engine": "9.4.4",
85
+ "@intlayer/i18next": "9.4.4",
86
+ "@intlayer/react-i18next": "9.4.4",
87
+ "@intlayer/types": "9.4.4",
88
+ "next-intlayer": "9.4.4",
89
+ "react-intlayer": "9.4.4"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@types/node": "26.4.1",
@@ -94,13 +94,13 @@
94
94
  "@utils/ts-config": "1.0.4",
95
95
  "@utils/ts-config-types": "1.0.4",
96
96
  "@utils/tsdown-config": "1.0.4",
97
- "i18next": "26.3.6",
97
+ "i18next": "26.4.2",
98
98
  "next-i18next": "16.0.8",
99
99
  "react-i18next": "17.0.10",
100
100
  "rimraf": "6.1.3",
101
- "tsdown": "0.22.14",
101
+ "tsdown": "0.23.0",
102
102
  "typescript": "7.0.2",
103
- "vitest": "4.1.11"
103
+ "vitest": "5.0.0"
104
104
  },
105
105
  "peerDependencies": {
106
106
  "i18next": ">=20.0.0",