react-intl
Advanced tools
Comparing version 5.20.9 to 5.20.10
@@ -5,3 +5,3 @@ import * as React from 'react'; | ||
import { DisplayNamesOptions } from '@formatjs/intl-displaynames'; | ||
import { DateTimeFormatOptions, NumberFormatOptions } from '@formatjs/ecma402-abstract'; | ||
import { NumberFormatOptions } from '@formatjs/ecma402-abstract'; | ||
export { IntlConfig, ResolvedIntlConfig, IntlShape } from './src/types'; | ||
@@ -14,6 +14,6 @@ export { createIntlCache, MessageDescriptor, IntlCache, Formatters, IntlFormatters, FormatDisplayNameOptions, FormatListOptions, FormatPluralOptions, FormatRelativeTimeOptions, FormatNumberOptions, FormatDateOptions, CustomFormatConfig, CustomFormats, UnsupportedFormatterError, InvalidConfigError, MissingDataError, MessageFormatError, MissingTranslationError, IntlErrorCode as ReactIntlErrorCode, IntlError as ReactIntlError, } from '@formatjs/intl'; | ||
export { default as IntlProvider, createIntl } from './src/components/provider'; | ||
export declare const FormattedDate: React.FC<DateTimeFormatOptions & CustomFormatConfig & { | ||
export declare const FormattedDate: React.FC<Intl.DateTimeFormatOptions & CustomFormatConfig & { | ||
value: string | number | Date | undefined; | ||
}>; | ||
export declare const FormattedTime: React.FC<DateTimeFormatOptions & CustomFormatConfig & { | ||
export declare const FormattedTime: React.FC<Intl.DateTimeFormatOptions & CustomFormatConfig & { | ||
value: string | number | Date | undefined; | ||
@@ -20,0 +20,0 @@ }>; |
@@ -5,3 +5,3 @@ import * as React from 'react'; | ||
import { DisplayNamesOptions } from '@formatjs/intl-displaynames'; | ||
import { DateTimeFormatOptions, NumberFormatOptions } from '@formatjs/ecma402-abstract'; | ||
import { NumberFormatOptions } from '@formatjs/ecma402-abstract'; | ||
export { IntlConfig, ResolvedIntlConfig, IntlShape } from './src/types'; | ||
@@ -14,6 +14,6 @@ export { createIntlCache, MessageDescriptor, IntlCache, Formatters, IntlFormatters, FormatDisplayNameOptions, FormatListOptions, FormatPluralOptions, FormatRelativeTimeOptions, FormatNumberOptions, FormatDateOptions, CustomFormatConfig, CustomFormats, UnsupportedFormatterError, InvalidConfigError, MissingDataError, MessageFormatError, MissingTranslationError, IntlErrorCode as ReactIntlErrorCode, IntlError as ReactIntlError, } from '@formatjs/intl'; | ||
export { default as IntlProvider, createIntl } from './src/components/provider'; | ||
export declare const FormattedDate: React.FC<DateTimeFormatOptions & CustomFormatConfig & { | ||
export declare const FormattedDate: React.FC<Intl.DateTimeFormatOptions & CustomFormatConfig & { | ||
value: string | number | Date | undefined; | ||
}>; | ||
export declare const FormattedTime: React.FC<DateTimeFormatOptions & CustomFormatConfig & { | ||
export declare const FormattedTime: React.FC<Intl.DateTimeFormatOptions & CustomFormatConfig & { | ||
value: string | number | Date | undefined; | ||
@@ -20,0 +20,0 @@ }>; |
{ | ||
"name": "react-intl", | ||
"version": "5.20.9", | ||
"version": "5.20.10", | ||
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.", | ||
@@ -131,9 +131,11 @@ "keywords": [ | ||
"dependencies": { | ||
"@formatjs/intl": "1.14.0", | ||
"@formatjs/intl-displaynames": "5.2.2", | ||
"@formatjs/intl-listformat": "6.3.2", | ||
"@formatjs/ecma402-abstract": "1.9.8", | ||
"@formatjs/icu-messageformat-parser": "2.0.11", | ||
"@formatjs/intl": "1.14.1", | ||
"@formatjs/intl-displaynames": "5.2.3", | ||
"@formatjs/intl-listformat": "6.3.3", | ||
"@types/hoist-non-react-statics": "^3.3.1", | ||
"@types/react": "17", | ||
"hoist-non-react-statics": "^3.3.2", | ||
"intl-messageformat": "9.9.0", | ||
"intl-messageformat": "9.9.1", | ||
"tslib": "^2.1.0" | ||
@@ -140,0 +142,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
246042
12
+ Added@formatjs/ecma402-abstract@1.9.8(transitive)
+ Added@formatjs/icu-messageformat-parser@2.0.11(transitive)
+ Added@formatjs/icu-skeleton-parser@1.2.12(transitive)
+ Added@formatjs/intl@1.14.1(transitive)
+ Added@formatjs/intl-displaynames@5.2.3(transitive)
+ Added@formatjs/intl-listformat@6.3.3(transitive)
+ Addedintl-messageformat@9.9.1(transitive)
- Removed@formatjs/ecma402-abstract@1.9.7(transitive)
- Removed@formatjs/icu-messageformat-parser@2.0.10(transitive)
- Removed@formatjs/icu-skeleton-parser@1.2.11(transitive)
- Removed@formatjs/intl@1.14.0(transitive)
- Removed@formatjs/intl-displaynames@5.2.2(transitive)
- Removed@formatjs/intl-listformat@6.3.2(transitive)
- Removedintl-messageformat@9.9.0(transitive)
Updated@formatjs/intl@1.14.1
Updatedintl-messageformat@9.9.1