next-intlayer 9.5.1 → 9.5.3
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 +1 -1
- package/dist/esm/rsc/index.mjs +5 -5
- package/dist/esm/server/index.mjs +6 -6
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -328,4 +328,4 @@ Contribute on [GitHub](https://github.com/aymericzip/intlayer), [GitLab](https:/
|
|
|
328
328
|
|
|
329
329
|
If you like Intlayer, give us a ⭐ on GitHub. It helps others discover the project! [See why GitHub Stars matter](https://github.com/aymericzip/intlayer/blob/main/CONTRIBUTING.md#why-github-stars-matter-).
|
|
330
330
|
|
|
331
|
-
[](https://
|
|
331
|
+
[](https://star-history.com/#aymericzip/intlayer&Date)
|
package/dist/esm/rsc/index.mjs
CHANGED
|
@@ -3,15 +3,15 @@ import { usePathname } from "../client/usePathname.mjs";
|
|
|
3
3
|
import { useLocalePageRouter } from "../client/useLocalePageRouter.mjs";
|
|
4
4
|
import { useRewriteURL } from "../client/useRewriteURL.mjs";
|
|
5
5
|
import { generateStaticParams } from "../generateStaticParams.mjs";
|
|
6
|
-
import { IntlayerProvider } from "../server/IntlayerProvider.mjs";
|
|
7
6
|
import { t } from "../server/t.mjs";
|
|
8
|
-
import { useDictionary } from "../server/useDictionary.mjs";
|
|
9
|
-
import { useDictionaryAsync } from "../server/useDictionaryAsync.mjs";
|
|
10
|
-
import { useDictionaryDynamic } from "../server/useDictionaryDynamic.mjs";
|
|
11
7
|
import { useI18n } from "../server/useI18n.mjs";
|
|
12
|
-
import { useIntl } from "../server/useIntl.mjs";
|
|
13
8
|
import { useIntlayer } from "../server/useIntlayer.mjs";
|
|
9
|
+
import { useDictionaryAsync } from "../server/useDictionaryAsync.mjs";
|
|
14
10
|
import { useLocale } from "../server/useLocale.mjs";
|
|
11
|
+
import { IntlayerProvider } from "../server/IntlayerProvider.mjs";
|
|
12
|
+
import { useIntl } from "../server/useIntl.mjs";
|
|
13
|
+
import { useDictionaryDynamic } from "../server/useDictionaryDynamic.mjs";
|
|
14
|
+
import { useDictionary } from "../server/useDictionary.mjs";
|
|
15
15
|
import { IntlayerClientContext, getDictionary, getIntlayer, localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useLocaleCookie, useLocaleStorage } from "react-intlayer";
|
|
16
16
|
import { useLoadDynamic } from "react-intlayer/server";
|
|
17
17
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IntlayerProvider } from "./IntlayerProvider.mjs";
|
|
2
1
|
import { getLocale } from "./getLocale.mjs";
|
|
3
2
|
import { t } from "./t.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { useDictionaryAsync } from "./useDictionaryAsync.mjs";
|
|
6
|
-
import { useDictionaryDynamic } from "./useDictionaryDynamic.mjs";
|
|
3
|
+
import { withIntlayer, withIntlayerSync } from "./withIntlayer.mjs";
|
|
7
4
|
import { useI18n } from "./useI18n.mjs";
|
|
8
|
-
import { useIntl } from "./useIntl.mjs";
|
|
9
5
|
import { useIntlayer } from "./useIntlayer.mjs";
|
|
6
|
+
import { useDictionaryAsync } from "./useDictionaryAsync.mjs";
|
|
10
7
|
import { useLocale } from "./useLocale.mjs";
|
|
11
|
-
import {
|
|
8
|
+
import { IntlayerProvider } from "./IntlayerProvider.mjs";
|
|
9
|
+
import { useIntl } from "./useIntl.mjs";
|
|
10
|
+
import { useDictionaryDynamic } from "./useDictionaryDynamic.mjs";
|
|
12
11
|
import { IntlayerServerProvider } from "./IntlayerServerProvider.mjs";
|
|
12
|
+
import { useDictionary } from "./useDictionary.mjs";
|
|
13
13
|
import { getServerContext, locale, setLocale, setVariant, useLoadDynamic } from "react-intlayer/server";
|
|
14
14
|
|
|
15
15
|
export { IntlayerProvider, IntlayerServerProvider, getLocale, getServerContext, locale, setLocale, setVariant, t, useDictionary, useDictionaryAsync, useDictionaryDynamic, useI18n, useIntl, useIntlayer, useLoadDynamic, useLocale, withIntlayer, withIntlayerSync };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-intlayer",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.3",
|
|
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": [
|
|
@@ -146,17 +146,17 @@
|
|
|
146
146
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
147
147
|
},
|
|
148
148
|
"dependencies": {
|
|
149
|
-
"@intlayer/config": "9.5.
|
|
150
|
-
"@intlayer/core": "9.5.
|
|
151
|
-
"@intlayer/dictionaries-entry": "9.5.
|
|
152
|
-
"@intlayer/engine": "9.5.
|
|
153
|
-
"@intlayer/types": "9.5.
|
|
149
|
+
"@intlayer/config": "9.5.3",
|
|
150
|
+
"@intlayer/core": "9.5.3",
|
|
151
|
+
"@intlayer/dictionaries-entry": "9.5.3",
|
|
152
|
+
"@intlayer/engine": "9.5.3",
|
|
153
|
+
"@intlayer/types": "9.5.3",
|
|
154
154
|
"defu": "6.1.7",
|
|
155
155
|
"node-loader": "2.1.0",
|
|
156
|
-
"react-intlayer": "9.5.
|
|
156
|
+
"react-intlayer": "9.5.3"
|
|
157
157
|
},
|
|
158
158
|
"devDependencies": {
|
|
159
|
-
"@types/node": "
|
|
159
|
+
"@types/node": "^22",
|
|
160
160
|
"@types/react": ">=16.0.0",
|
|
161
161
|
"@types/react-dom": ">=16.0.0",
|
|
162
162
|
"@utils/ts-config": "1.0.4",
|