react-intl
Advanced tools
Comparing version 6.4.2 to 6.4.3
@@ -47,2 +47,1 @@ import * as React from 'react'; | ||
export type { PrimitiveType } from 'intl-messageformat'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -47,2 +47,1 @@ import * as React from 'react'; | ||
export type { PrimitiveType } from 'intl-messageformat'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -29,2 +29,1 @@ import * as React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=createFormattedComponent.d.ts.map |
@@ -11,2 +11,1 @@ import * as React from 'react'; | ||
export default FormattedDateTimeRange; | ||
//# sourceMappingURL=dateTimeRange.d.ts.map |
@@ -5,2 +5,6 @@ import * as React from 'react'; | ||
interface Window { | ||
/** | ||
* Set this to `true` prior to mounting to bypass using a globally-exposed context. | ||
*/ | ||
__REACT_INTL_BYPASS_GLOBAL_CONTEXT__: boolean | undefined; | ||
__REACT_INTL_CONTEXT__: React.Context<IntlShape> | undefined; | ||
@@ -37,2 +41,1 @@ } | ||
}; | ||
//# sourceMappingURL=injectIntl.d.ts.map |
@@ -10,3 +10,3 @@ import { __assign } from "tslib"; | ||
// might exist | ||
var IntlContext = typeof window !== 'undefined' | ||
var IntlContext = typeof window !== 'undefined' && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ | ||
? window.__REACT_INTL_CONTEXT__ || | ||
@@ -13,0 +13,0 @@ (window.__REACT_INTL_CONTEXT__ = React.createContext(null)) |
@@ -10,4 +10,3 @@ import * as React from 'react'; | ||
} | ||
declare const MemoizedFormattedMessage: React.NamedExoticComponent<Props<Record<string, string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal | Date | FormatXMLElementFn<React.ReactNode, React.ReactNode> | null | undefined>>>; | ||
declare const MemoizedFormattedMessage: React.NamedExoticComponent<Props<Record<string, string | number | boolean | Date | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal | FormatXMLElementFn<React.ReactNode, React.ReactNode> | null | undefined>>>; | ||
export default MemoizedFormattedMessage; | ||
//# sourceMappingURL=message.d.ts.map |
@@ -15,2 +15,1 @@ import * as React from 'react'; | ||
export default FormattedPlural; | ||
//# sourceMappingURL=plural.d.ts.map |
@@ -35,2 +35,1 @@ import * as React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=provider.d.ts.map |
@@ -12,2 +12,1 @@ import * as React from 'react'; | ||
export default FormattedRelativeTime; | ||
//# sourceMappingURL=relative.d.ts.map |
import { IntlShape } from '../types'; | ||
export default function useIntl(): IntlShape; | ||
//# sourceMappingURL=useIntl.d.ts.map |
@@ -12,2 +12,1 @@ import * as React from 'react'; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
@@ -14,2 +14,1 @@ import { ResolvedIntlConfig } from './types'; | ||
export declare function shallowEqual<T extends Record<string, unknown> = Record<string, unknown>>(objA?: T, objB?: T): boolean; | ||
//# sourceMappingURL=utils.d.ts.map |
{ | ||
"name": "react-intl", | ||
"version": "6.4.2", | ||
"version": "6.4.3", | ||
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.", | ||
@@ -131,16 +131,16 @@ "keywords": [ | ||
"dependencies": { | ||
"@formatjs/ecma402-abstract": "1.15.0", | ||
"@formatjs/icu-messageformat-parser": "2.4.0", | ||
"@formatjs/intl": "2.7.2", | ||
"@formatjs/intl-displaynames": "6.3.2", | ||
"@formatjs/intl-listformat": "7.2.2", | ||
"@formatjs/ecma402-abstract": "1.16.0", | ||
"@formatjs/icu-messageformat-parser": "2.5.0", | ||
"@formatjs/intl": "2.8.0", | ||
"@formatjs/intl-displaynames": "6.4.0", | ||
"@formatjs/intl-listformat": "7.3.0", | ||
"@types/hoist-non-react-statics": "^3.3.1", | ||
"@types/react": "16 || 17 || 18", | ||
"hoist-non-react-statics": "^3.3.2", | ||
"intl-messageformat": "10.3.5", | ||
"intl-messageformat": "10.4.0", | ||
"tslib": "^2.4.0" | ||
}, | ||
"devDependencies": { | ||
"@formatjs/intl-numberformat": "8.5.0", | ||
"@formatjs/intl-relativetimeformat": "11.2.2" | ||
"@formatjs/intl-numberformat": "8.6.0", | ||
"@formatjs/intl-relativetimeformat": "11.2.3" | ||
}, | ||
@@ -147,0 +147,0 @@ "peerDependencies": { |
@@ -29,2 +29,1 @@ import * as React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=createFormattedComponent.d.ts.map |
@@ -11,2 +11,1 @@ import * as React from 'react'; | ||
export default FormattedDateTimeRange; | ||
//# sourceMappingURL=dateTimeRange.d.ts.map |
@@ -5,2 +5,6 @@ import * as React from 'react'; | ||
interface Window { | ||
/** | ||
* Set this to `true` prior to mounting to bypass using a globally-exposed context. | ||
*/ | ||
__REACT_INTL_BYPASS_GLOBAL_CONTEXT__: boolean | undefined; | ||
__REACT_INTL_CONTEXT__: React.Context<IntlShape> | undefined; | ||
@@ -37,2 +41,1 @@ } | ||
}; | ||
//# sourceMappingURL=injectIntl.d.ts.map |
@@ -13,3 +13,3 @@ "use strict"; | ||
// might exist | ||
var IntlContext = typeof window !== 'undefined' | ||
var IntlContext = typeof window !== 'undefined' && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ | ||
? window.__REACT_INTL_CONTEXT__ || | ||
@@ -16,0 +16,0 @@ (window.__REACT_INTL_CONTEXT__ = React.createContext(null)) |
@@ -10,4 +10,3 @@ import * as React from 'react'; | ||
} | ||
declare const MemoizedFormattedMessage: React.NamedExoticComponent<Props<Record<string, string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal | Date | FormatXMLElementFn<React.ReactNode, React.ReactNode> | null | undefined>>>; | ||
declare const MemoizedFormattedMessage: React.NamedExoticComponent<Props<Record<string, string | number | boolean | Date | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal | FormatXMLElementFn<React.ReactNode, React.ReactNode> | null | undefined>>>; | ||
export default MemoizedFormattedMessage; | ||
//# sourceMappingURL=message.d.ts.map |
@@ -15,2 +15,1 @@ import * as React from 'react'; | ||
export default FormattedPlural; | ||
//# sourceMappingURL=plural.d.ts.map |
@@ -35,2 +35,1 @@ import * as React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=provider.d.ts.map |
@@ -12,2 +12,1 @@ import * as React from 'react'; | ||
export default FormattedRelativeTime; | ||
//# sourceMappingURL=relative.d.ts.map |
import { IntlShape } from '../types'; | ||
export default function useIntl(): IntlShape; | ||
//# sourceMappingURL=useIntl.d.ts.map |
@@ -12,2 +12,1 @@ import * as React from 'react'; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
@@ -14,2 +14,1 @@ import { ResolvedIntlConfig } from './types'; | ||
export declare function shallowEqual<T extends Record<string, unknown> = Record<string, unknown>>(objA?: T, objB?: T): boolean; | ||
//# sourceMappingURL=utils.d.ts.map |
Sorry, the diff of this file is too big to display
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
6255
262035
+ Added@formatjs/ecma402-abstract@1.16.0(transitive)
+ Added@formatjs/fast-memoize@2.1.0(transitive)
+ Added@formatjs/icu-messageformat-parser@2.5.0(transitive)
+ Added@formatjs/icu-skeleton-parser@1.5.0(transitive)
+ Added@formatjs/intl@2.8.0(transitive)
+ Added@formatjs/intl-displaynames@6.4.0(transitive)
+ Added@formatjs/intl-listformat@7.3.0(transitive)
+ Added@formatjs/intl-localematcher@0.3.0(transitive)
+ Addedintl-messageformat@10.4.0(transitive)
- Removed@formatjs/ecma402-abstract@1.15.0(transitive)
- Removed@formatjs/fast-memoize@2.0.1(transitive)
- Removed@formatjs/icu-messageformat-parser@2.4.0(transitive)
- Removed@formatjs/icu-skeleton-parser@1.4.0(transitive)
- Removed@formatjs/intl@2.7.2(transitive)
- Removed@formatjs/intl-displaynames@6.3.2(transitive)
- Removed@formatjs/intl-listformat@7.2.2(transitive)
- Removed@formatjs/intl-localematcher@0.2.32(transitive)
- Removedintl-messageformat@10.3.5(transitive)
Updated@formatjs/intl@2.8.0
Updatedintl-messageformat@10.4.0