From d8851a3387a68350d200787e408882cb66a7d753 Mon Sep 17 00:00:00 2001 From: Christian Kaisermann Date: Thu, 6 Jun 2019 18:03:48 -0300 Subject: [PATCH] Remove old unused dependency --- example/package-lock.json | 18 ++++++------------ example/package.json | 2 +- src/utils.js | 2 -- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/example/package-lock.json b/example/package-lock.json index 3bc5bf9..8852423 100644 --- a/example/package-lock.json +++ b/example/package-lock.json @@ -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" diff --git a/example/package.json b/example/package.json index c571f82..3d794a5 100644 --- a/example/package.json +++ b/example/package.json @@ -20,6 +20,6 @@ "svelte": "^3.0.0" }, "dependencies": { - "svelte-i18n": "^1.0.2-beta" + "svelte-i18n": "^1.0.2" } } diff --git a/src/utils.js b/src/utils.js index e2a3daf..ddea881 100644 --- a/src/utils.js +++ b/src/utils.js @@ -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()