mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 18:10:43 +01:00
Remove old unused dependency
This commit is contained in:
parent
5e927260c1
commit
d8851a3387
18
example/package-lock.json
generated
18
example/package-lock.json
generated
@ -1475,11 +1475,6 @@
|
||||
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
|
||||
"dev": true
|
||||
},
|
||||
"intl-format-cache": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/intl-format-cache/-/intl-format-cache-2.1.0.tgz",
|
||||
"integrity": "sha1-BKNp/sv61tpgBbrh8UMzMy3PkxY="
|
||||
},
|
||||
"intl-messageformat": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-2.2.0.tgz",
|
||||
@ -1836,9 +1831,9 @@
|
||||
}
|
||||
},
|
||||
"micro-memoize": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/micro-memoize/-/micro-memoize-3.0.1.tgz",
|
||||
"integrity": "sha512-1ruDLuAVzgBcm2WVFC4YZnTKY8xjBgcjoCGR4K64NbRncDxkgempJyYSni06vB9+FDQzqcvuyCQr0yc+0S5ltw=="
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/micro-memoize/-/micro-memoize-3.0.2.tgz",
|
||||
"integrity": "sha512-XxZP0J6Koggwf1jfnYXuIAZVM7JouePEdgdL46MCo+9J/83KT1pSCsl2h65hHGViiP1N0qbVhtqmHM6El1RdEw=="
|
||||
},
|
||||
"micromatch": {
|
||||
"version": "3.1.10",
|
||||
@ -2714,12 +2709,11 @@
|
||||
"dev": true
|
||||
},
|
||||
"svelte-i18n": {
|
||||
"version": "1.0.2-beta",
|
||||
"resolved": "https://registry.npmjs.org/svelte-i18n/-/svelte-i18n-1.0.2-beta.tgz",
|
||||
"integrity": "sha512-+tCM0dmDcH++/evM0EZrvsvg6sey3Y7Oly4ty7TtCJAElIQe8KD9A30mKl7RpbXZcWYTEOd2DgkGeocryRmHoA==",
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/svelte-i18n/-/svelte-i18n-1.0.2.tgz",
|
||||
"integrity": "sha512-n20gvmB4KU+v9XC7aUIC5aBeCVi0Nriz73AXynr2pxIse+l3aDfPLlM1uWNVJwT4ybnXmGQ1CrhQM0W+F8IeWw==",
|
||||
"requires": {
|
||||
"deepmerge": "^3.2.0",
|
||||
"intl-format-cache": "^2.1.0",
|
||||
"intl-messageformat": "^2.2.0",
|
||||
"micro-memoize": "^3.0.1",
|
||||
"object-resolve-path": "^1.1.1"
|
||||
|
@ -20,6 +20,6 @@
|
||||
"svelte": "^3.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"svelte-i18n": "^1.0.2-beta"
|
||||
"svelte-i18n": "^1.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
export const capital = str => str.replace(/(^|\s)\S/, l => l.toUpperCase())
|
||||
export const title = str => str.replace(/(^|\s)\S/g, l => l.toUpperCase())
|
||||
export const upper = str => str.toLocaleUpperCase()
|
||||
|
Loading…
Reference in New Issue
Block a user