intl-messageformat
Advanced tools
Comparing version 9.11.4 to 9.12.0
@@ -1452,3 +1452,3 @@ var __defProp = Object.defineProperty; | ||
if (isTimeElement(el)) { | ||
const style = typeof el.style === "string" ? formats.time[el.style] : isDateTimeSkeleton(el.style) ? el.style.parsedOptions : void 0; | ||
const style = typeof el.style === "string" ? formats.time[el.style] : isDateTimeSkeleton(el.style) ? el.style.parsedOptions : formats.time.medium; | ||
result.push({ | ||
@@ -1455,0 +1455,0 @@ type: PART_TYPE.literal, |
@@ -104,3 +104,3 @@ import { isArgumentElement, isDateElement, isDateTimeSkeleton, isLiteralElement, isNumberElement, isNumberSkeleton, isPluralElement, isPoundElement, isSelectElement, isTimeElement, isTagElement, } from '@formatjs/icu-messageformat-parser'; | ||
? el.style.parsedOptions | ||
: undefined; | ||
: formats.time.medium; | ||
result.push({ | ||
@@ -107,0 +107,0 @@ type: PART_TYPE.literal, |
{ | ||
"name": "intl-messageformat", | ||
"version": "9.11.4", | ||
"version": "9.12.0", | ||
"description": "Formats ICU Message strings with number, date, plural, and select placeholders to create localized messages.", | ||
@@ -34,5 +34,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@formatjs/ecma402-abstract": "1.11.3", | ||
"@formatjs/ecma402-abstract": "1.11.4", | ||
"@formatjs/fast-memoize": "1.2.1", | ||
"@formatjs/icu-messageformat-parser": "2.0.18", | ||
"@formatjs/icu-messageformat-parser": "2.0.19", | ||
"tslib": "^2.1.0" | ||
@@ -39,0 +39,0 @@ }, |
@@ -108,3 +108,3 @@ "use strict"; | ||
? el.style.parsedOptions | ||
: undefined; | ||
: formats.time.medium; | ||
result.push({ | ||
@@ -111,0 +111,0 @@ type: PART_TYPE.literal, |
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
191976
+ Added@formatjs/ecma402-abstract@1.11.4(transitive)
+ Added@formatjs/icu-messageformat-parser@2.0.19(transitive)
+ Added@formatjs/icu-skeleton-parser@1.3.6(transitive)
+ Added@formatjs/intl-localematcher@0.2.25(transitive)
- Removed@formatjs/ecma402-abstract@1.11.3(transitive)
- Removed@formatjs/icu-messageformat-parser@2.0.18(transitive)
- Removed@formatjs/icu-skeleton-parser@1.3.5(transitive)
- Removed@formatjs/intl-localematcher@0.2.24(transitive)