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

intl-messageformat-parser

Package Overview
Dependencies
Maintainers
6
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intl-messageformat-parser - npm Package Compare versions

Comparing version 5.3.1 to 5.3.2

40

intl-messageformat-parser.d.ts

@@ -1,2 +0,1 @@

import { NumberFormatOptions } from '@formatjs/intl-numberformat';

@@ -124,2 +123,41 @@ export declare type ArgumentElement = BaseElement<TYPE.argument>;

declare interface NumberFormatDigitOptions {
minimumIntegerDigits?: number;
minimumSignificantDigits?: number;
maximumSignificantDigits?: number;
minimumFractionDigits?: number;
maximumFractionDigits?: number;
}
declare type NumberFormatNotation = 'standard' | 'scientific' | 'engineering' | 'compact';
declare type NumberFormatOptions = Intl.NumberFormatOptions & NumberFormatDigitOptions & {
localeMatcher?: NumberFormatOptionsLocaleMatcher;
style?: NumberFormatOptionsStyle;
compactDisplay?: NumberFormatOptionsCompactDisplay;
currencyDisplay?: NumberFormatOptionsCurrencyDisplay;
currencySign?: NumberFormatOptionsCurrencySign;
notation?: NumberFormatOptionsNotation;
signDisplay?: NumberFormatOptionsSignDisplay;
unit?: string;
unitDisplay?: NumberFormatOptionsUnitDisplay;
numberingSystem?: string;
};
declare type NumberFormatOptionsCompactDisplay = 'short' | 'long';
declare type NumberFormatOptionsCurrencyDisplay = 'symbol' | 'code' | 'name' | 'narrowSymbol';
declare type NumberFormatOptionsCurrencySign = 'standard' | 'accounting';
declare type NumberFormatOptionsLocaleMatcher = 'lookup' | 'best fit';
declare type NumberFormatOptionsNotation = NumberFormatNotation;
declare type NumberFormatOptionsSignDisplay = 'auto' | 'always' | 'never' | 'exceptZero';
declare type NumberFormatOptionsStyle = 'decimal' | 'percent' | 'currency' | 'unit';
declare type NumberFormatOptionsUnitDisplay = 'long' | 'short' | 'narrow';
export declare interface NumberSkeleton {

@@ -126,0 +164,0 @@ type: SKELETON_TYPE.number;

4

package.json
{
"name": "intl-messageformat-parser",
"version": "5.3.1",
"version": "5.3.2",
"description": "Parses ICU Message strings into an AST via JavaScript.",

@@ -38,3 +38,3 @@ "main": "index.js",

"dependencies": {
"@formatjs/intl-numberformat": "^5.2.0"
"@formatjs/intl-numberformat": "^5.2.1"
},

@@ -41,0 +41,0 @@ "homepage": "https://github.com/formatjs/formatjs",

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