next-intl 2.19.2 → 2.19.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.
@@ -0,0 +1 @@
1
+ export { default } from '../Link';
@@ -0,0 +1 @@
1
+ export { default } from './Link';
@@ -0,0 +1 @@
1
+ export { default } from '../Link';
@@ -0,0 +1,6 @@
1
+ 'use client';
2
+ // Allows to import 'next-intl/link' as a Client Component in
3
+ // Server Components as a stopgap solution until full RSC
4
+ // support is available for `next-intl/link`.
5
+ export { default } from '../Link';
6
+ //# sourceMappingURL=Link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Link.js","sourceRoot":"","sources":["../../../../src/link/react-server/Link.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,6DAA6D;AAC7D,yDAAyD;AACzD,6CAA6C;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,SAAS,CAAC"}
@@ -0,0 +1 @@
1
+ export { default } from './Link';
@@ -0,0 +1,2 @@
1
+ export { default } from './Link';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/link/react-server/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-intl",
3
- "version": "2.19.2",
3
+ "version": "2.19.4",
4
4
  "sideEffects": false,
5
5
  "author": "Jan Amann <jan@amann.work>",
6
6
  "description": "A minimal, but complete solution for internationalization in Next.js apps.",
@@ -36,6 +36,7 @@
36
36
  },
37
37
  "./link": {
38
38
  "types": "./link.d.ts",
39
+ "react-server": "./dist/src/link/react-server/index.js",
39
40
  "default": "./dist/src/link/index.js"
40
41
  },
41
42
  "./middleware": {
@@ -67,7 +68,7 @@
67
68
  "dependencies": {
68
69
  "@formatjs/intl-localematcher": "^0.2.32",
69
70
  "negotiator": "^0.6.3",
70
- "use-intl": "^2.19.2"
71
+ "use-intl": "^2.19.4"
71
72
  },
72
73
  "peerDependencies": {
73
74
  "next": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0",
@@ -103,5 +104,5 @@
103
104
  "engines": {
104
105
  "node": ">=10"
105
106
  },
106
- "gitHead": "9038031fb733e7d0f7b2403d0de59581d972676a"
107
+ "gitHead": "54b585c34dffe52d05fe79d7b25aa6216fe0d326"
107
108
  }
@@ -0,0 +1,6 @@
1
+ 'use client';
2
+
3
+ // Allows to import 'next-intl/link' as a Client Component in
4
+ // Server Components as a stopgap solution until full RSC
5
+ // support is available for `next-intl/link`.
6
+ export {default} from '../Link';
@@ -0,0 +1 @@
1
+ export {default} from './Link';