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 10.3.3 to 10.3.4

4

lib/src/core.d.ts

@@ -15,4 +15,4 @@ import { parse, MessageFormatElement, ParserOptions } from '@formatjs/icu-messageformat-parser';

constructor(message: string | MessageFormatElement[], locales?: string | string[], overrideFormats?: Partial<Formats>, opts?: Options);
format: <T = void>(values?: Record<string, PrimitiveType | T | FormatXMLElementFn<T, string | T | (string | T)[]>> | undefined) => string | T | (string | T)[];
formatToParts: <T>(values?: Record<string, PrimitiveType | T | FormatXMLElementFn<T, string | T | (string | T)[]>> | undefined) => MessageFormatPart<T>[];
format: <T = void>(values?: Record<string, PrimitiveType | T | FormatXMLElementFn<T>> | undefined) => string | T | (string | T)[];
formatToParts: <T>(values?: Record<string, PrimitiveType | T | FormatXMLElementFn<T>> | undefined) => MessageFormatPart<T>[];
resolvedOptions: () => {

@@ -19,0 +19,0 @@ locale: string;

@@ -85,3 +85,3 @@ /*

}
var IntlMessageFormat = /** @class */ (function () {
export var IntlMessageFormat = /** @class */ (function () {
function IntlMessageFormat(message, locales, overrideFormats, opts) {

@@ -239,2 +239,1 @@ if (locales === void 0) { locales = IntlMessageFormat.defaultLocale; }

}());
export { IntlMessageFormat };
{
"name": "intl-messageformat",
"version": "10.3.3",
"version": "10.3.4",
"description": "Formats ICU Message strings with number, date, plural, and select placeholders to create localized messages.",

@@ -36,3 +36,3 @@ "keywords": [

"@formatjs/fast-memoize": "2.0.1",
"@formatjs/icu-messageformat-parser": "2.3.0",
"@formatjs/icu-messageformat-parser": "2.3.1",
"tslib": "^2.4.0"

@@ -39,0 +39,0 @@ },

@@ -15,4 +15,4 @@ import { parse, MessageFormatElement, ParserOptions } from '@formatjs/icu-messageformat-parser';

constructor(message: string | MessageFormatElement[], locales?: string | string[], overrideFormats?: Partial<Formats>, opts?: Options);
format: <T = void>(values?: Record<string, PrimitiveType | T | FormatXMLElementFn<T, string | T | (string | T)[]>> | undefined) => string | T | (string | T)[];
formatToParts: <T>(values?: Record<string, PrimitiveType | T | FormatXMLElementFn<T, string | T | (string | T)[]>> | undefined) => MessageFormatPart<T>[];
format: <T = void>(values?: Record<string, PrimitiveType | T | FormatXMLElementFn<T>> | undefined) => string | T | (string | T)[];
formatToParts: <T>(values?: Record<string, PrimitiveType | T | FormatXMLElementFn<T>> | undefined) => MessageFormatPart<T>[];
resolvedOptions: () => {

@@ -19,0 +19,0 @@ locale: string;

@@ -88,3 +88,3 @@ "use strict";

}
var IntlMessageFormat = /** @class */ (function () {
var IntlMessageFormat = exports.IntlMessageFormat = /** @class */ (function () {
function IntlMessageFormat(message, locales, overrideFormats, opts) {

@@ -242,2 +242,1 @@ if (locales === void 0) { locales = IntlMessageFormat.defaultLocale; }

}());
exports.IntlMessageFormat = IntlMessageFormat;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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 not supported yet

Sorry, the diff of this file is not supported yet

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