@formatjs/intl
Advanced tools
Comparing version 2.3.4 to 2.4.0
@@ -96,3 +96,3 @@ import { __assign } from "tslib"; | ||
try { | ||
return getFormatter(config, 'date', getDateTimeFormat, options).formatToParts(date); | ||
return getFormatter(config, 'date', getDateTimeFormat, options).formatToParts(date); // TODO: remove this when https://github.com/microsoft/TypeScript/pull/50402 is merged | ||
} | ||
@@ -112,3 +112,3 @@ catch (e) { | ||
try { | ||
return getFormatter(config, 'time', getDateTimeFormat, options).formatToParts(date); | ||
return getFormatter(config, 'time', getDateTimeFormat, options).formatToParts(date); // TODO: remove this when https://github.com/microsoft/TypeScript/pull/50402 is merged | ||
} | ||
@@ -115,0 +115,0 @@ catch (e) { |
{ | ||
"name": "@formatjs/intl", | ||
"version": "2.3.4", | ||
"version": "2.4.0", | ||
"description": "Internationalize JS apps. This library provides an API to format dates, numbers, and strings, including pluralization and handling translations.", | ||
@@ -32,16 +32,16 @@ "keywords": [ | ||
"dependencies": { | ||
"@formatjs/ecma402-abstract": "1.11.10", | ||
"@formatjs/ecma402-abstract": "1.12.0", | ||
"@formatjs/fast-memoize": "1.2.6", | ||
"@formatjs/icu-messageformat-parser": "2.1.6", | ||
"@formatjs/intl-displaynames": "6.1.1", | ||
"@formatjs/intl-listformat": "7.1.1", | ||
"intl-messageformat": "10.1.3", | ||
"@formatjs/icu-messageformat-parser": "2.1.7", | ||
"@formatjs/intl-displaynames": "6.1.2", | ||
"@formatjs/intl-listformat": "7.1.2", | ||
"intl-messageformat": "10.1.4", | ||
"tslib": "2.4.0" | ||
}, | ||
"devDependencies": { | ||
"@formatjs/intl-datetimeformat": "6.1.1", | ||
"@formatjs/intl-numberformat": "8.1.2" | ||
"@formatjs/intl-datetimeformat": "6.2.0", | ||
"@formatjs/intl-numberformat": "8.1.3" | ||
}, | ||
"peerDependencies": { | ||
"typescript": "^4.5" | ||
"typescript": "^4.7" | ||
}, | ||
@@ -48,0 +48,0 @@ "peerDependenciesMeta": { |
@@ -103,3 +103,3 @@ "use strict"; | ||
try { | ||
return getFormatter(config, 'date', getDateTimeFormat, options).formatToParts(date); | ||
return getFormatter(config, 'date', getDateTimeFormat, options).formatToParts(date); // TODO: remove this when https://github.com/microsoft/TypeScript/pull/50402 is merged | ||
} | ||
@@ -120,3 +120,3 @@ catch (e) { | ||
try { | ||
return getFormatter(config, 'time', getDateTimeFormat, options).formatToParts(date); | ||
return getFormatter(config, 'time', getDateTimeFormat, options).formatToParts(date); // TODO: remove this when https://github.com/microsoft/TypeScript/pull/50402 is merged | ||
} | ||
@@ -123,0 +123,0 @@ catch (e) { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
139934
0
+ Added@formatjs/ecma402-abstract@1.12.0(transitive)
+ Added@formatjs/icu-messageformat-parser@2.1.7(transitive)
+ Added@formatjs/icu-skeleton-parser@1.3.13(transitive)
+ Added@formatjs/intl-displaynames@6.1.2(transitive)
+ Added@formatjs/intl-listformat@7.1.2(transitive)
+ Added@formatjs/intl-localematcher@0.2.31(transitive)
+ Addedintl-messageformat@10.1.4(transitive)
- Removed@formatjs/ecma402-abstract@1.11.10(transitive)
- Removed@formatjs/icu-messageformat-parser@2.1.6(transitive)
- Removed@formatjs/icu-skeleton-parser@1.3.12(transitive)
- Removed@formatjs/intl-displaynames@6.1.1(transitive)
- Removed@formatjs/intl-listformat@7.1.1(transitive)
- Removed@formatjs/intl-localematcher@0.2.30(transitive)
- Removedintl-messageformat@10.1.3(transitive)
Updatedintl-messageformat@10.1.4