Socket
Socket
Sign inDemoInstall

react-intl

Package Overview
Dependencies
Maintainers
0
Versions
331
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 6.6.8 to 6.7.0

2

lib/src/components/useIntl.d.ts
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

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