next-intl 4.10.1 → 4.11.0

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.
@@ -20,6 +20,10 @@ declare function getFormatterCachedImpl(config: Parameters<typeof createFormatte
20
20
  (start: Date | number, end: Date | number, options?: import("use-intl/core").DateTimeFormatOptions): string;
21
21
  (start: Date | number, end: Date | number, format?: string, options?: import("use-intl/core").DateTimeFormatOptions): string;
22
22
  };
23
+ displayName: {
24
+ (value: string, options: Intl.DisplayNamesOptions): string;
25
+ (value: string, format: string, options?: Intl.DisplayNamesOptions): string;
26
+ };
23
27
  };
24
28
  declare const getFormatterCached: typeof getFormatterCachedImpl;
25
29
  export default getFormatterCached;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-intl",
3
- "version": "4.10.1",
3
+ "version": "4.11.0",
4
4
  "sideEffects": false,
5
5
  "author": "Jan Amann <jan@amann.work>",
6
6
  "funding": [
@@ -127,11 +127,11 @@
127
127
  "@formatjs/intl-localematcher": "^0.8.1",
128
128
  "@parcel/watcher": "^2.4.1",
129
129
  "@swc/core": "^1.15.2",
130
- "icu-minify": "^4.10.1",
130
+ "icu-minify": "^4.11.0",
131
131
  "negotiator": "^1.0.0",
132
- "next-intl-swc-plugin-extractor": "^4.10.1",
132
+ "next-intl-swc-plugin-extractor": "^4.11.0",
133
133
  "po-parser": "^2.1.1",
134
- "use-intl": "^4.10.1"
134
+ "use-intl": "^4.11.0"
135
135
  },
136
136
  "peerDependencies": {
137
137
  "next": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
@@ -142,5 +142,5 @@
142
142
  "optional": true
143
143
  }
144
144
  },
145
- "gitHead": "11d9ce823f9901041eaeb620859607aadf49ef3f"
145
+ "gitHead": "e68a5910bdc301c58859fec56bb196b4b3510419"
146
146
  }