Socket
Socket
Sign inDemoInstall

@formatjs/intl-listformat

Package Overview
Dependencies
Maintainers
3
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/intl-listformat - npm Package Compare versions

Comparing version 6.1.0 to 6.2.0

6

index.d.ts

@@ -53,6 +53,6 @@ import { ListPatternLocaleData, ListPatternFieldsData, LiteralPart } from '@formatjs/ecma402-abstract';

}
export declare type Part = LiteralPart | ElementPart;
export interface ElementPart {
export declare type Part<T = string> = LiteralPart | ElementPart | ElementPart<T>;
export interface ElementPart<T = string> {
type: 'element';
value: string;
value: T;
}

@@ -59,0 +59,0 @@ export default class ListFormat {

@@ -53,6 +53,6 @@ import { ListPatternLocaleData, ListPatternFieldsData, LiteralPart } from '@formatjs/ecma402-abstract';

}
export declare type Part = LiteralPart | ElementPart;
export interface ElementPart {
export declare type Part<T = string> = LiteralPart | ElementPart | ElementPart<T>;
export interface ElementPart<T = string> {
type: 'element';
value: string;
value: T;
}

@@ -59,0 +59,0 @@ export default class ListFormat {

{
"name": "@formatjs/intl-listformat",
"version": "6.1.0",
"version": "6.2.0",
"description": "Formats JS list in a i18n-safe way",

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

"dependencies": {
"@formatjs/ecma402-abstract": "1.8.0",
"@formatjs/ecma402-abstract": "1.9.0",
"tslib": "^2.1.0"

@@ -25,0 +25,0 @@ },

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