Socket
Socket
Sign inDemoInstall

intl-messageformat

Package Overview
Dependencies
Maintainers
12
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intl-messageformat - npm Package Compare versions

Comparing version 9.11.4 to 9.12.0

2

intl-messageformat.esm.js

@@ -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

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