react-intl
Advanced tools
Comparing version 6.6.8 to 6.7.0
import { IntlShape } from '../types'; | ||
export default function useIntl(): IntlShape; | ||
export default function useIntl(this: void): IntlShape; |
import * as React from 'react'; | ||
import { invariantIntlContext } from '../utils'; | ||
import { Context } from './injectIntl'; | ||
import { invariantIntlContext } from '../utils'; | ||
export default function useIntl() { | ||
@@ -5,0 +5,0 @@ var intl = React.useContext(Context); |
{ | ||
"name": "react-intl", | ||
"version": "6.6.8", | ||
"version": "6.7.0", | ||
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.", | ||
@@ -136,6 +136,6 @@ "keywords": [ | ||
"@formatjs/ecma402-abstract": "2.0.0", | ||
"@formatjs/intl-listformat": "7.5.7", | ||
"@formatjs/intl": "2.10.4", | ||
"@formatjs/intl": "2.10.5", | ||
"@formatjs/intl-displaynames": "6.6.8", | ||
"@formatjs/icu-messageformat-parser": "2.7.8", | ||
"@formatjs/intl-listformat": "7.5.7", | ||
"intl-messageformat": "10.5.14" | ||
@@ -142,0 +142,0 @@ }, |
import { IntlShape } from '../types'; | ||
export default function useIntl(): IntlShape; | ||
export default function useIntl(this: void): IntlShape; |
@@ -5,4 +5,4 @@ "use strict"; | ||
var React = tslib_1.__importStar(require("react")); | ||
var utils_1 = require("../utils"); | ||
var injectIntl_1 = require("./injectIntl"); | ||
var utils_1 = require("../utils"); | ||
function useIntl() { | ||
@@ -9,0 +9,0 @@ var intl = React.useContext(injectIntl_1.Context); |
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
241714
6367
+ Added@formatjs/intl@2.10.5(transitive)
- Removed@formatjs/intl@2.10.4(transitive)
Updated@formatjs/intl@2.10.5