next-intlayer 7.1.2 → 7.1.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.
package/README.md
CHANGED
|
@@ -247,9 +247,6 @@ You can also follow us on :
|
|
|
247
247
|
<a href="https://www.linkedin.com/company/intlayerorg" target="blank" rel='noopener noreferrer nofollow'><img align="center"
|
|
248
248
|
src="https://img.shields.io/badge/linkedin-%231DA1F2.svg?style=for-the-badge&logo=linkedin&logoColor=white"
|
|
249
249
|
alt="Intlayer LinkedIn" height="30"/></a>
|
|
250
|
-
<a href="https://www.facebook.com/intlayer" target="blank" rel='noopener noreferrer nofollow'><img align="center"
|
|
251
|
-
src="https://img.shields.io/badge/facebook-4267B2.svg?style=for-the-badge&logo=facebook&logoColor=white"
|
|
252
|
-
alt="Intlayer Facebook" height="30"/></a>
|
|
253
250
|
<a href="https://www.instagram.com/intlayer/" target="blank" rel='noopener noreferrer nofollow'><img align="center"
|
|
254
251
|
src="https://img.shields.io/badge/instagram-%23E4405F.svg?style=for-the-badge&logo=Instagram&logoColor=white"
|
|
255
252
|
alt="Intlayer Instagram" height="30"/></a>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types2 from "@intlayer/types";
|
|
2
2
|
import { LocalesValues } from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/client/useLocale.d.ts
|
|
@@ -9,9 +9,9 @@ declare const useLocale: ({
|
|
|
9
9
|
onChange
|
|
10
10
|
}?: UseLocaleProps) => {
|
|
11
11
|
pathWithoutLocale: string;
|
|
12
|
-
locale:
|
|
13
|
-
defaultLocale:
|
|
14
|
-
availableLocales:
|
|
12
|
+
locale: _intlayer_types2.DeclaredLocales;
|
|
13
|
+
defaultLocale: _intlayer_types2.DeclaredLocales;
|
|
14
|
+
availableLocales: _intlayer_types2.DeclaredLocales[];
|
|
15
15
|
setLocale: (locale: LocalesValues) => void;
|
|
16
16
|
};
|
|
17
17
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"sourcesContent":[],"mappings":";;;;KAQK,cAAA;4CACuC;;AADvC,cAkBQ,SAlBM,
|
|
1
|
+
{"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"sourcesContent":[],"mappings":";;;;KAQK,cAAA;4CACuC;;AADvC,cAkBQ,SAlBM,EAAA,CACyB;EAAA;AAAa,CAAA,CAAb,EAiBJ,cAjBiB,EAAA,GAAA;EAiB5C,iBAiCZ,EAAA,MAAA;EAjCyB,MAAA,EAAiC,gBAAA,CAAA,eAAjC;EAAc,aAAA,kCAAA;EAAmB,gBAAA,oCAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types0 from "@intlayer/types";
|
|
2
2
|
import { LocalesValues } from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/client/useLocalePageRouter.d.ts
|
|
5
5
|
declare const useLocalePageRouter: () => {
|
|
6
6
|
pathWithoutLocale: string;
|
|
7
|
-
locale:
|
|
8
|
-
defaultLocale:
|
|
9
|
-
availableLocales:
|
|
7
|
+
locale: _intlayer_types0.DeclaredLocales;
|
|
8
|
+
defaultLocale: _intlayer_types0.DeclaredLocales;
|
|
9
|
+
availableLocales: _intlayer_types0.DeclaredLocales[];
|
|
10
10
|
setLocale: (locale: LocalesValues) => void;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-intlayer",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Simplify internationalization i18n in Next.js with context providers, hooks, locale detection, and multilingual content integration.",
|
|
6
6
|
"keywords": [
|
|
@@ -117,16 +117,16 @@
|
|
|
117
117
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
118
118
|
},
|
|
119
119
|
"dependencies": {
|
|
120
|
-
"@intlayer/chokidar": "7.1.
|
|
121
|
-
"@intlayer/config": "7.1.
|
|
122
|
-
"@intlayer/core": "7.1.
|
|
123
|
-
"@intlayer/dictionaries-entry": "7.1.
|
|
124
|
-
"@intlayer/types": "7.1.
|
|
125
|
-
"@intlayer/webpack": "7.1.
|
|
120
|
+
"@intlayer/chokidar": "7.1.4",
|
|
121
|
+
"@intlayer/config": "7.1.4",
|
|
122
|
+
"@intlayer/core": "7.1.4",
|
|
123
|
+
"@intlayer/dictionaries-entry": "7.1.4",
|
|
124
|
+
"@intlayer/types": "7.1.4",
|
|
125
|
+
"@intlayer/webpack": "7.1.4",
|
|
126
126
|
"deepmerge": "4.3.1",
|
|
127
127
|
"fast-glob": "3.3.3",
|
|
128
128
|
"node-loader": "2.1.0",
|
|
129
|
-
"react-intlayer": "7.1.
|
|
129
|
+
"react-intlayer": "7.1.4"
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
132
|
"@types/node": "24.10.1",
|