Release v1.1.2

This commit is contained in:
Christian Kaisermann 2019-11-25 11:25:41 -03:00
parent d483244a9f
commit ceacbaf990
4 changed files with 5082 additions and 5 deletions

View File

@ -2,7 +2,7 @@
> Internationalization for Svelte. > Internationalization for Svelte.
[See Demo](https://svelte-i18n.netlify.com/) **Note:** the `v2` version was unpublished and will be released again in the following week after I rewrite all of its tests. For now, use the `v1.1.2`.
## Usage ## Usage

View File

@ -1,6 +1,6 @@
{ {
"name": "svelte-i18n", "name": "svelte-i18n",
"version": "1.1.2-beta", "version": "1.1.2",
"main": "dist/i18n.js", "main": "dist/i18n.js",
"module": "dist/i18n.mjs", "module": "dist/i18n.mjs",
"license": "MIT", "license": "MIT",
@ -50,7 +50,7 @@
"statements": 95 "statements": 95
} }
}, },
"collectCoverage": true "collectCoverage": false
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.7.2", "@babel/core": "^7.7.2",

View File

@ -198,9 +198,9 @@ describe('custom formats', () => {
}) })
expect(_.number(123123123, { format: 'usd' })).toContain('US$') expect(_.number(123123123, { format: 'usd' })).toContain('US$')
expect(_.number(123123123, { format: 'usd' })).toContain('123,123,123.00') expect(_.number(123123123, { format: 'usd' })).toContain('123.123.123,00')
expect(_.number(123123123, { format: 'brl' })).toContain('R$') expect(_.number(123123123, { format: 'brl' })).toContain('R$')
expect(_.number(123123123, { format: 'brl' })).toContain('123,123,123.00') expect(_.number(123123123, { format: 'brl' })).toContain('123.123.123,00')
}) })
}) })

5077
yarn.lock Normal file

File diff suppressed because it is too large Load Diff