react-intl
Advanced tools
Comparing version 5.20.11 to 5.20.12
@@ -37,2 +37,3 @@ "use strict"; | ||
exports.FormattedTime = createFormattedComponent_1.createFormattedComponent('formatTime'); | ||
// @ts-ignore issue w/ TS Intl types | ||
exports.FormattedNumber = createFormattedComponent_1.createFormattedComponent('formatNumber'); | ||
@@ -39,0 +40,0 @@ exports.FormattedList = createFormattedComponent_1.createFormattedComponent('formatList'); |
@@ -15,2 +15,3 @@ import { createFormattedComponent, createFormattedDateTimePartsComponent, } from './src/components/createFormattedComponent'; | ||
export var FormattedTime = createFormattedComponent('formatTime'); | ||
// @ts-ignore issue w/ TS Intl types | ||
export var FormattedNumber = createFormattedComponent('formatNumber'); | ||
@@ -17,0 +18,0 @@ export var FormattedList = createFormattedComponent('formatList'); |
@@ -58,3 +58,3 @@ import { __assign, __rest } from "tslib"; | ||
if (unit === void 0) { unit = 'second'; } | ||
return INCREMENTABLE_UNITS.includes(unit); | ||
return INCREMENTABLE_UNITS.indexOf(unit) > -1; | ||
} | ||
@@ -61,0 +61,0 @@ var SimpleFormattedRelativeTime = function (props) { |
{ | ||
"name": "react-intl", | ||
"version": "5.20.11", | ||
"version": "5.20.12", | ||
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.", | ||
@@ -131,11 +131,11 @@ "keywords": [ | ||
"dependencies": { | ||
"@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", | ||
"@formatjs/ecma402-abstract": "1.9.9", | ||
"@formatjs/icu-messageformat-parser": "2.0.12", | ||
"@formatjs/intl": "1.14.2", | ||
"@formatjs/intl-displaynames": "5.2.4", | ||
"@formatjs/intl-listformat": "6.3.4", | ||
"@types/hoist-non-react-statics": "^3.3.1", | ||
"@types/react": "16 || 17", | ||
"hoist-non-react-statics": "^3.3.2", | ||
"intl-messageformat": "9.9.1", | ||
"intl-messageformat": "9.9.2", | ||
"tslib": "^2.1.0" | ||
@@ -145,3 +145,3 @@ }, | ||
"react": "^16.3.0 || 17", | ||
"typescript": "^4.2" | ||
"typescript": "^4.3" | ||
}, | ||
@@ -148,0 +148,0 @@ "peerDependenciesMeta": { |
@@ -60,3 +60,3 @@ "use strict"; | ||
if (unit === void 0) { unit = 'second'; } | ||
return INCREMENTABLE_UNITS.includes(unit); | ||
return INCREMENTABLE_UNITS.indexOf(unit) > -1; | ||
} | ||
@@ -63,0 +63,0 @@ var SimpleFormattedRelativeTime = function (props) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
246439
4994
1
+ Added@formatjs/ecma402-abstract@1.9.9(transitive)
+ Added@formatjs/icu-messageformat-parser@2.0.12(transitive)
+ Added@formatjs/icu-skeleton-parser@1.2.13(transitive)
+ Added@formatjs/intl@1.14.2(transitive)
+ Added@formatjs/intl-displaynames@5.2.4(transitive)
+ Added@formatjs/intl-listformat@6.3.4(transitive)
+ Added@formatjs/intl-localematcher@0.2.21(transitive)
+ Addedintl-messageformat@9.9.2(transitive)
- Removed@formatjs/ecma402-abstract@1.9.8(transitive)
- Removed@formatjs/icu-messageformat-parser@2.0.11(transitive)
- Removed@formatjs/icu-skeleton-parser@1.2.12(transitive)
- Removed@formatjs/intl@1.14.1(transitive)
- Removed@formatjs/intl-displaynames@5.2.3(transitive)
- Removed@formatjs/intl-listformat@6.3.3(transitive)
- Removed@formatjs/intl-localematcher@0.2.20(transitive)
- Removed@types/node@16.18.119(transitive)
- Removedintl-messageformat@9.9.1(transitive)
Updated@formatjs/intl@1.14.2
Updatedintl-messageformat@9.9.2