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

svelte-i18n

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-i18n - npm Package Versions

1
8

3.0.4

Diff

Changelog

Source

3.0.4 (2020-05-31)

Bug Fixes

  • 🐛 also wait for loaders added while loading (e560514)
kaisermann
published 3.0.3 •

Changelog

Source

3.0.3 (2020-03-29)

Bug Fixes

  • 🐛 prevent server from breaking on locale.set (07ef1da), closes #55
kaisermann
published 3.0.2 •

Changelog

Source

3.0.2 (2020-03-06)

Bug Fixes

  • 🐛 ignore loadingDelay for the initialLocale (9d82a98), closes #53 #53
kaisermann
published 3.0.1 •

Changelog

Source

3.0.1 (2020-02-03)

Features

  • 🎸 add runtime typings (7bf47d8), closes #43
  • 🎸 make date,time and number formatters tree-shakeable (6526245)
  • 🎸 make getClientLocale tree-shakeable (31b556b)

BREAKING CHANGES

  • It's now needed to explicitly import the getClientLocale method to use its heuristics when setting the initial locale. This makes the method and its helpers to be tree-shakeable.
import { init, getClientLocale } from 'svelte-i18n'

init({
  initialLocale: getClientLocale({ ... })
})
  • Changes completely the API. Now, to format a number, date or time, the developer must explicitly import the formatter store:

import { time, date, number } from 'svelte-i18n'

kaisermann
published 3.0.0 •

Changelog

Source

3.0.0 (2020-02-03)

Features

  • 🎸 add runtime typings (90bf171), closes #43
  • 🎸 make date,time and number formatters tree-shakeable (fb82a40)
  • 🎸 make getClientLocale tree-shakeable (4881acb)

BREAKING CHANGES

  • It's now needed to explicitly import the getClientLocale method to use its heuristics when setting the initial locale. This makes the method and its helpers to be tree-shakeable.
import { init, getClientLocale } from 'svelte-i18n'

init({
  initialLocale: getClientLocale({ ... })
})
  • Changes completely the API. Now, to format a number, date or time, the developer must explicitly import the formatter store:

import { time, date, number } from 'svelte-i18n'

kaisermann
published 3.0.0-alpha.1 •

kaisermann
published 2.3.1 •

Changelog

Source

2.3.1 (2020-01-29)

Bug Fixes

  • 🐛 types from v3 branch leaking to master branch :shrug: (88f7762)
  • memoizing of formatters when no locale is given. (#47) (27871f9)
kaisermann
published 2.3.0 •

Changelog

Source

2.3.0 (2020-01-23)

Features

kaisermann
published 2.2.4 •

Changelog

Source

2.2.4 (2020-01-21)

kaisermann
published 2.2.3 •

Changelog

Source

2.2.3 (2020-01-15)

Refactor

  • 💡 remove deepmerge and dlv dependencies (270aefa)
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