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

@markuplint/i18n

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/i18n - npm Package Compare versions

Comparing version 3.10.0 to 3.12.0

4

lib/translator.d.ts

@@ -6,2 +6,4 @@ import type { LocaleSet, Primitive, Translator } from './types';

*/
export declare function taggedTemplateTranslator(localeSet?: LocaleSet): (strings: Readonly<TemplateStringsArray>, ...keys: readonly Primitive[]) => string;
export declare function taggedTemplateTranslator(
localeSet?: LocaleSet,
): (strings: Readonly<TemplateStringsArray>, ...keys: readonly Primitive[]) => string;
export type Translator = (messageTmpl: string | readonly string[], ...keywords: readonly Primitive[]) => string;
export type LocaleSet = {
readonly locale: string;
readonly listFormat?: ListFormat;
readonly keywords?: LocalesKeywords;
readonly sentences?: LocalesKeywords;
readonly locale: string;
readonly listFormat?: ListFormat;
readonly keywords?: LocalesKeywords;
readonly sentences?: LocalesKeywords;
};
export type ListFormat = {
readonly quoteStart: string;
readonly quoteEnd: string;
readonly separator: string;
readonly quoteStart: string;
readonly quoteEnd: string;
readonly separator: string;
};
export type Primitive = string | number | boolean;
export type LocalesKeywords = {
readonly [messageId: string]: string;
readonly [messageId: string]: string;
};
{
"name": "@markuplint/i18n",
"version": "3.10.0",
"version": "3.12.0",
"description": "HTML parser for markuplint",

@@ -21,3 +21,3 @@ "repository": "git@github.com:markuplint/markuplint.git",

},
"gitHead": "ef31aef8f2fff319d0f692feead332ec5fc5c7cf"
"gitHead": "b37b749d7ac0f9e6cbd022ee7031bc020c6677d3"
}
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