next-intlayer 5.0.3 → 5.0.5

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +15 -15
package/README.md CHANGED
@@ -159,7 +159,7 @@ Intlayer provides a lot of features to help you internationalize your Next.js ap
159
159
 
160
160
  - **Internationalization of server components**: Intlayer allows you to internationalize your server components in the same way as your client components. This means that you can use the same content declarations for both client and server components.
161
161
  - **Middleware for Locale Detection**: Intlayer provides middleware to detect the user's preferred locale. This middleware is used to detect the user's preferred locale and redirect them to the appropriate URL as specified in the [configuration](https://intlayer.org/doc/concept/configuration).
162
- - **Internationalization of metadata**: Intlayer provides a way to internationalize your metadata, such as the title of your page, using the `generateMetadata` function provided by Next.js. You can use the `getTranslationContent` function to translate your metadata.
162
+ - **Internationalization of metadata**: Intlayer provides a way to internationalize your metadata, such as the title of your page, using the `generateMetadata` function provided by Next.js. You can use the `getTranslation` function to translate your metadata.
163
163
  - **Internationalization of sitemap.xml and robots.txt**: Intlayer allows you to internationalize your sitemap.xml and robots.txt files. You can use the `getMultilingualUrls` function to generate multilingual URLs for your sitemap.
164
164
  - **Internationalization of URLs**: Intlayer allows you to internationalize your URLs by using the `getMultilingualUrls` function. This function generates multilingual URLs for your sitemap.
165
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-intlayer",
3
- "version": "5.0.3",
3
+ "version": "5.0.5",
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": [
@@ -67,12 +67,12 @@
67
67
  ],
68
68
  "dependencies": {
69
69
  "node-loader": "^2.1.0",
70
- "@intlayer/chokidar": "5.0.3",
71
- "@intlayer/config": "5.0.3",
72
- "@intlayer/dictionaries-entry": "5.0.3",
73
- "@intlayer/core": "5.0.3",
74
- "@intlayer/webpack": "5.0.3",
75
- "react-intlayer": "5.0.3"
70
+ "@intlayer/chokidar": "5.0.5",
71
+ "@intlayer/config": "5.0.5",
72
+ "@intlayer/core": "5.0.5",
73
+ "@intlayer/dictionaries-entry": "5.0.5",
74
+ "react-intlayer": "5.0.5",
75
+ "@intlayer/webpack": "5.0.5"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@types/node": "^22.10.6",
@@ -85,21 +85,21 @@
85
85
  "tsc-alias": "^1.8.10",
86
86
  "tsup": "^8.3.5",
87
87
  "typescript": "^5.7.3",
88
- "@utils/eslint-config": "1.0.4",
89
88
  "@utils/ts-config": "1.0.4",
89
+ "@utils/eslint-config": "1.0.4",
90
90
  "@utils/ts-config-types": "1.0.4",
91
91
  "@utils/tsup-config": "1.0.4",
92
- "intlayer": "5.0.3"
92
+ "intlayer": "5.0.5"
93
93
  },
94
94
  "peerDependencies": {
95
95
  "next": ">=14.0.0",
96
96
  "react": ">=16.0.0",
97
- "@intlayer/config": "5.0.3",
98
- "@intlayer/core": "5.0.3",
99
- "@intlayer/dictionaries-entry": "5.0.3",
100
- "@intlayer/webpack": "5.0.3",
101
- "intlayer": "5.0.3",
102
- "react-intlayer": "^5.0.3"
97
+ "@intlayer/core": "5.0.5",
98
+ "@intlayer/webpack": "5.0.5",
99
+ "intlayer": "5.0.5",
100
+ "@intlayer/config": "5.0.5",
101
+ "react-intlayer": "^5.0.5",
102
+ "@intlayer/dictionaries-entry": "5.0.5"
103
103
  },
104
104
  "engines": {
105
105
  "node": ">=14.18"