From ca6c008fdead32235ec29185bf3922c7cd4408be Mon Sep 17 00:00:00 2001 From: Yu-huan Kuo Date: Sat, 19 Oct 2024 00:09:45 +0800 Subject: [PATCH] fix: imprecise age count --- package.json | 1 + pages/index.vue | 6 ++---- yarn.lock | 5 +++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 12422d8..05189d5 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "h3": "^1.7.1", "highlight.js": "^11.8.0", "js-base64": "^3.7.5", + "longevity-js": "^0.0.1", "markdown-it": "^13.0.1", "markdown-it-anchor": "^8.6.7", "markdown-it-emoji": "^2.0.2", diff --git a/pages/index.vue b/pages/index.vue index 7d077cf..62162be 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -76,6 +76,7 @@ diff --git a/yarn.lock b/yarn.lock index 88f94c8..912a94d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5593,6 +5593,11 @@ longest@^2.0.1: resolved "https://registry.yarnpkg.com/longest/-/longest-2.0.1.tgz#781e183296aa94f6d4d916dc335d0d17aefa23f8" integrity sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q== +longevity-js@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/longevity-js/-/longevity-js-0.0.1.tgz#263faf5a4a0d78da847e93b292bfc7569f2f02ad" + integrity sha512-XqEQapQsEXy5nXce7/aYVBvys6dzLBeRpeeTMLB14kaJVj1I1zO+y6UVP2rE8hcK1AJ3/9qLd2fKxS5iXsp11A== + lru-cache@^10.0.1, lru-cache@^10.2.0, "lru-cache@^9.1.1 || ^10.0.0": version "10.2.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3"