next-intl 3.12.0 → 3.12.1
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.
|
@@ -59,6 +59,6 @@ declare const ClientLinkWithRef: <Locales extends AllLocales>(props: Omit<Omit<O
|
|
|
59
59
|
}, "ref"> & React.RefAttributes<HTMLAnchorElement>, "locale"> & {
|
|
60
60
|
locale?: Locales[number] | undefined;
|
|
61
61
|
} & {
|
|
62
|
-
ref?: React.
|
|
62
|
+
ref?: React.LegacyRef<HTMLAnchorElement> | undefined;
|
|
63
63
|
}) => ReactElement;
|
|
64
64
|
export default ClientLinkWithRef;
|
|
@@ -42,7 +42,7 @@ export default function createLocalizedPathnamesNavigation<Locales extends AllLo
|
|
|
42
42
|
}, "ref"> & React.RefAttributes<HTMLAnchorElement>, "locale"> & {
|
|
43
43
|
locale?: string | undefined;
|
|
44
44
|
} & {
|
|
45
|
-
ref?: React.
|
|
45
|
+
ref?: React.LegacyRef<HTMLAnchorElement> | undefined;
|
|
46
46
|
}, "href" | "name"> & {
|
|
47
47
|
href: Pathname extends `${string}[[...${string}` ? Pathname | ({
|
|
48
48
|
pathname: Pathname;
|
|
@@ -40,9 +40,9 @@ export default function createSharedPathnamesNavigation<Locales extends AllLocal
|
|
|
40
40
|
}, "ref"> & React.RefAttributes<HTMLAnchorElement>, "locale"> & {
|
|
41
41
|
locale?: Locales[number] | undefined;
|
|
42
42
|
} & {
|
|
43
|
-
ref?: React.
|
|
43
|
+
ref?: React.LegacyRef<HTMLAnchorElement> | undefined;
|
|
44
44
|
}, "localePrefix"> & {
|
|
45
|
-
ref?: React.
|
|
45
|
+
ref?: React.LegacyRef<HTMLAnchorElement> | undefined;
|
|
46
46
|
}) => ReactElement;
|
|
47
47
|
redirect: (pathname: string, type?: import("next/navigation").RedirectType | undefined) => never;
|
|
48
48
|
permanentRedirect: (pathname: string, type?: import("next/navigation").RedirectType | undefined) => never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-intl",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.1",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"author": "Jan Amann <jan@amann.work>",
|
|
6
6
|
"funding": [
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"dependencies": {
|
|
83
83
|
"@formatjs/intl-localematcher": "^0.2.32",
|
|
84
84
|
"negotiator": "^0.6.3",
|
|
85
|
-
"use-intl": "^3.12.
|
|
85
|
+
"use-intl": "^3.12.1"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"next": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0",
|
|
@@ -95,16 +95,16 @@
|
|
|
95
95
|
"@testing-library/react": "^13.0.0",
|
|
96
96
|
"@types/negotiator": "^0.6.1",
|
|
97
97
|
"@types/node": "^20.1.2",
|
|
98
|
-
"@types/react": "18.
|
|
99
|
-
"@types/react-dom": "^18.
|
|
98
|
+
"@types/react": "^18.3.0",
|
|
99
|
+
"@types/react-dom": "^18.3.0",
|
|
100
100
|
"eslint": "^8.54.0",
|
|
101
101
|
"eslint-config-molindo": "^7.0.0",
|
|
102
102
|
"eslint-plugin-deprecation": "^1.4.1",
|
|
103
103
|
"next": "^14.2.1",
|
|
104
104
|
"path-to-regexp": "^6.2.1",
|
|
105
105
|
"publint": "^0.2.7",
|
|
106
|
-
"react": "^18.
|
|
107
|
-
"react-dom": "^18.
|
|
106
|
+
"react": "^18.3.0",
|
|
107
|
+
"react-dom": "^18.3.0",
|
|
108
108
|
"rollup": "^3.28.1",
|
|
109
109
|
"rollup-plugin-preserve-directives": "0.2.0",
|
|
110
110
|
"size-limit": "^8.2.6",
|
|
@@ -114,11 +114,11 @@
|
|
|
114
114
|
"size-limit": [
|
|
115
115
|
{
|
|
116
116
|
"path": "dist/production/index.react-client.js",
|
|
117
|
-
"limit": "
|
|
117
|
+
"limit": "15.735 KB"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"path": "dist/production/index.react-server.js",
|
|
121
|
-
"limit": "
|
|
121
|
+
"limit": "16.5 KB"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
"path": "dist/production/navigation.react-client.js",
|
|
@@ -134,12 +134,12 @@
|
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
"path": "dist/production/server.react-server.js",
|
|
137
|
-
"limit": "
|
|
137
|
+
"limit": "15.645 KB"
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"path": "dist/production/middleware.js",
|
|
141
141
|
"limit": "6.19 KB"
|
|
142
142
|
}
|
|
143
143
|
],
|
|
144
|
-
"gitHead": "
|
|
144
|
+
"gitHead": "35f327e201596aba228da2aefaeeef71e7fe3e44"
|
|
145
145
|
}
|