Socket
Socket
Sign inDemoInstall

svelte-i18n

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-i18n - npm Package Compare versions

Comparing version 3.2.3 to 3.2.4

9

CHANGELOG.md

@@ -0,1 +1,10 @@

## [3.2.4](https://github.com/kaisermann/svelte-i18n/compare/v3.2.3...v3.2.4) (2020-11-07)
### Bug Fixes
* 🐛 possible interpolation value types ([0caaead](https://github.com/kaisermann/svelte-i18n/commit/0caaead4789a62daef4ea73361506a9f135b80e7))
## [3.2.3](https://github.com/kaisermann/svelte-i18n/compare/v3.2.2...v3.2.3) (2020-11-06)

@@ -2,0 +11,0 @@

2

package.json
{
"name": "svelte-i18n",
"version": "3.2.3",
"version": "3.2.4",
"main": "dist/runtime.cjs.js",

@@ -5,0 +5,0 @@ "module": "dist/runtime.esm.js",

@@ -50,1 +50,2 @@ [![npm version](https://badge.fury.io/js/svelte-i18n.svg)](https://badge.fury.io/js/svelte-i18n) ![](https://github.com/kaisermann/svelte-i18n/workflows/CI/badge.svg)

- [Sapper Template](https://github.com/kaisermann/sapper-template-i18n)
- [i18n VSCode extension (3rd party)](https://github.com/antfu/i18n-ally)

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

import { Formats } from 'intl-messageformat';
import type { FormatXMLElementFn, Formats } from 'intl-messageformat';
export interface LocaleDictionary {

@@ -8,2 +8,3 @@ [key: string]: LocaleDictionary | string | Array<string | LocaleDictionary>;

};
export declare type InterpolationValues = Record<string, string | number | boolean | Date | FormatXMLElementFn<unknown> | null | undefined> | undefined;
export interface MessageObject {

@@ -14,3 +15,3 @@ id?: string;

default?: string;
values?: Record<string, string | number | Date>;
values?: InterpolationValues;
}

@@ -17,0 +18,0 @@ export declare type MessageFormatter = (id: string | MessageObject, options?: MessageObject) => string | unknown;

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