Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@formatjs/intl

Package Overview
Dependencies
Maintainers
3
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/intl - npm Package Compare versions

Comparing version 2.3.4 to 2.4.0

4

lib/src/dateTime.js

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

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