use-intl 4.1.0 → 4.3.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.
@@ -9,7 +9,7 @@ import { type Formatters, type IntlCache } from './formatters.js';
9
9
  import type { Prettify } from './types.js';
10
10
  type ICUArgsWithTags<MessageString extends string, TagsFn extends RichTagsFunction | MarkupTagsFunction = never> = ICUArgs<MessageString, {
11
11
  ICUArgument: string;
12
- ICUNumberArgument: number;
12
+ ICUNumberArgument: number | bigint;
13
13
  ICUDateArgument: Date;
14
14
  }> & ([TagsFn] extends [never] ? {} : ICUTags<MessageString, TagsFn>);
15
15
  type OnlyOptional<T> = Partial<T> extends T ? true : false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "use-intl",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "sideEffects": false,
5
5
  "author": "Jan Amann <jan@amann.work>",
6
6
  "description": "Internationalization (i18n) for React",
@@ -64,5 +64,5 @@
64
64
  "peerDependencies": {
65
65
  "react": "^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0 || ^19.0.0"
66
66
  },
67
- "gitHead": "9a70cef9f7d36cde5e8a69fd380f0747a050be56"
67
+ "gitHead": "56c7937e4a54d8265615ad28633f5294ea4fe4c5"
68
68
  }