You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
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
Previous
1
8
Next

3.0.3

Diff

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)
kaisermann
published 2.2.2 •

Changelog

Source

2.2.2 (2020-01-14)

Bug Fixes

  • 🐛 lookup message not caching correctly (bb8c68f)
  • 🐛 mjs causing an elusive bug in webpack module resolution (b2dc782), closes #36
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc