Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-intl

Package Overview
Dependencies
Maintainers
8
Versions
341
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-intl - npm Package Compare versions

Comparing version 5.20.9 to 5.20.10

6

index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc