From 151f0875ad467e6b955cb949f57bc3e1eb7abb01 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 1 Jan 2023 18:14:35 +0800 Subject: [PATCH] Upgrade relative-time-elements They've renamed the package name --- package-lock.json | 22 +++++++++++----------- package.json | 2 +- src/compose.jsx | 2 +- src/main.jsx | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6abed8d9..aa298aa7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,8 @@ "name": "phanpy", "version": "0.1.0", "dependencies": { + "@github/relative-time-element": "~4.1.5", "@github/text-expander-element": "~2.3.0", - "@github/time-elements": "~4.0.0", "fast-blurhash": "~1.1.2", "history": "~5.3.0", "iconify-icon": "~1.0.2", @@ -2061,6 +2061,11 @@ "resolved": "https://registry.npmjs.org/@github/combobox-nav/-/combobox-nav-2.1.5.tgz", "integrity": "sha512-dmG1PuppNKHnBBEcfylWDwj9SSxd/E/qd8mC1G/klQC3s7ps5q6JZ034mwkkG0LKfI+Y+UgEua/ROD776N400w==" }, + "node_modules/@github/relative-time-element": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@github/relative-time-element/-/relative-time-element-4.1.5.tgz", + "integrity": "sha512-WAf1EQV5Sn6jGuAIQur/ztKlEV9R+VHDNwqEbeaOb6s9fiwM5z7+ujlWNZtgFkDp3lF0H8D/f0vdiPlfHz0ZTQ==" + }, "node_modules/@github/text-expander-element": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@github/text-expander-element/-/text-expander-element-2.3.0.tgz", @@ -2069,11 +2074,6 @@ "@github/combobox-nav": "^2.0.2" } }, - "node_modules/@github/time-elements": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@github/time-elements/-/time-elements-4.0.0.tgz", - "integrity": "sha512-oTPpERR/FylYCyUdVjufmF5MmlrIZ7gYzN59xe5mF3aQA+zn5IWiNj+5/D/6NgQWFNXoRB84DILnP/YlkETKhg==" - }, "node_modules/@iconify/types": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", @@ -7176,6 +7176,11 @@ "resolved": "https://registry.npmjs.org/@github/combobox-nav/-/combobox-nav-2.1.5.tgz", "integrity": "sha512-dmG1PuppNKHnBBEcfylWDwj9SSxd/E/qd8mC1G/klQC3s7ps5q6JZ034mwkkG0LKfI+Y+UgEua/ROD776N400w==" }, + "@github/relative-time-element": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@github/relative-time-element/-/relative-time-element-4.1.5.tgz", + "integrity": "sha512-WAf1EQV5Sn6jGuAIQur/ztKlEV9R+VHDNwqEbeaOb6s9fiwM5z7+ujlWNZtgFkDp3lF0H8D/f0vdiPlfHz0ZTQ==" + }, "@github/text-expander-element": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@github/text-expander-element/-/text-expander-element-2.3.0.tgz", @@ -7184,11 +7189,6 @@ "@github/combobox-nav": "^2.0.2" } }, - "@github/time-elements": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@github/time-elements/-/time-elements-4.0.0.tgz", - "integrity": "sha512-oTPpERR/FylYCyUdVjufmF5MmlrIZ7gYzN59xe5mF3aQA+zn5IWiNj+5/D/6NgQWFNXoRB84DILnP/YlkETKhg==" - }, "@iconify/types": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", diff --git a/package.json b/package.json index 3e9a9912..6d34ef1f 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "source-map-explorer": "npx source-map-explorer dist/assets/*.js" }, "dependencies": { + "@github/relative-time-element": "~4.1.5", "@github/text-expander-element": "~2.3.0", - "@github/time-elements": "~4.0.0", "fast-blurhash": "~1.1.2", "history": "~5.3.0", "iconify-icon": "~1.0.2", diff --git a/src/compose.jsx b/src/compose.jsx index a171ac73..c9dbe4ca 100644 --- a/src/compose.jsx +++ b/src/compose.jsx @@ -2,7 +2,7 @@ import './index.css'; import './app.css'; -import '@github/time-elements'; +import '@github/relative-time-element'; import { login } from 'masto'; import { render } from 'preact'; import { useEffect, useState } from 'preact/hooks'; diff --git a/src/main.jsx b/src/main.jsx index c285d6dd..74bdd119 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -1,6 +1,6 @@ import './index.css'; -import '@github/time-elements'; +import '@github/relative-time-element'; import { render } from 'preact'; import { App } from './app';