diff --git a/package.json b/package.json index f70f5d29..9813635b 100644 --- a/package.json +++ b/package.json @@ -188,6 +188,7 @@ "email-normalizer": "^1.0.0", "emojilib": "^4.0.2", "epubjs": "^0.3.93", + "es-toolkit": "^1.49.0", "esm-potrace-wasm": "^0.4.4", "ethers": "^6.16.0", "event-cron-parser": "^1.0.37", @@ -265,11 +266,6 @@ "leaflet": "^1.9.4", "libmime": "^5.3.8", "libphonenumber-js": "^1.12.33", - "lodash": "^4.18.1", - "lodash.defaultsdeep": "^4.6.1", - "lodash.flattendeep": "^4.4.0", - "lodash.last": "^3.0.0", - "lodash.mergewith": "^4.6.2", "long": "^5.3.2", "lorem-ipsum-japanese": "^1.0.1", "luhn-js": "^1.1.2", @@ -290,7 +286,6 @@ "mermaid": "^11.12.2", "mime-types": "^3.0.2", "mitex-wasm": "^0.2.5", - "moment": "^2.30.1", "monaco-editor": "^0.55.1", "morsee": "^1.0.10", "msgpackr": "^1.11.8", @@ -408,6 +403,7 @@ }, "devDependencies": { "@iconify-json/mdi": "^1.2.3", + "@iconify-json/tabler": "^1.2.35", "@intlify/unplugin-vue-i18n": "^11.2.4", "@playwright/test": "^1.59.1", "@tsconfig/node24": "^24.0.4", @@ -425,11 +421,6 @@ "@types/jsonpath": "^0.2.4", "@types/leaflet": "^1.9.21", "@types/libmime": "^5.0.3", - "@types/lodash": "^4.17.20", - "@types/lodash.defaultsdeep": "^4.6.9", - "@types/lodash.flattendeep": "^4.4.9", - "@types/lodash.last": "^3.0.9", - "@types/lodash.mergewith": "^4.6.9", "@types/luxon": "^3.4.2", "@types/markdown-it": "^13.0.9", "@types/memorystream": "^0.3.4", @@ -479,7 +470,6 @@ "vite": "^8.1.3", "vite-plugin-node-polyfills": "^0.28.0", "vite-plugin-pwa": "^1.3.0", - "vite-plugin-splash-screen": "^0.2.0", "vite-plugin-wasm": "^3.6.0", "vite-svg-loader": "^5.1.1", "vitest": "^4.1.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc37a4b3..94e5b9f4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -449,6 +449,9 @@ importers: epubjs: specifier: ^0.3.93 version: 0.3.93 + es-toolkit: + specifier: ^1.49.0 + version: 1.49.0 esm-potrace-wasm: specifier: ^0.4.4 version: 0.4.4(patch_hash=a60b9e91d34bbc890f0296bd36e7e761e00b4142552591150b6e65975bbab79e) @@ -680,21 +683,6 @@ importers: libphonenumber-js: specifier: ^1.12.33 version: 1.13.8 - lodash: - specifier: ^4.18.1 - version: 4.18.1 - lodash.defaultsdeep: - specifier: ^4.6.1 - version: 4.6.1 - lodash.flattendeep: - specifier: ^4.4.0 - version: 4.4.0 - lodash.last: - specifier: ^3.0.0 - version: 3.0.0 - lodash.mergewith: - specifier: ^4.6.2 - version: 4.6.2 long: specifier: ^5.3.2 version: 5.3.2 @@ -755,9 +743,6 @@ importers: mitex-wasm: specifier: ^0.2.5 version: 0.2.5 - moment: - specifier: ^2.30.1 - version: 2.30.1 monaco-editor: specifier: ^0.55.1 version: 0.55.1 @@ -1104,6 +1089,9 @@ importers: '@iconify-json/mdi': specifier: ^1.2.3 version: 1.2.3 + '@iconify-json/tabler': + specifier: ^1.2.35 + version: 1.2.35 '@intlify/unplugin-vue-i18n': specifier: ^11.2.4 version: 11.2.4(@vue/compiler-dom@3.5.39)(eslint@10.6.0(jiti@2.7.0))(rollup@4.62.2)(typescript@6.0.3)(vite@8.1.3(@types/node@24.13.2)(jiti@2.7.0)(less@4.6.7)(terser@5.48.0)(yaml@2.9.0))(vue-i18n@11.4.6(vue@3.5.39(typescript@6.0.3)))(vue@3.5.39(typescript@6.0.3)) @@ -1155,21 +1143,6 @@ importers: '@types/libmime': specifier: ^5.0.3 version: 5.3.0 - '@types/lodash': - specifier: ^4.17.20 - version: 4.17.24 - '@types/lodash.defaultsdeep': - specifier: ^4.6.9 - version: 4.6.9 - '@types/lodash.flattendeep': - specifier: ^4.4.9 - version: 4.4.9 - '@types/lodash.last': - specifier: ^3.0.9 - version: 3.0.9 - '@types/lodash.mergewith': - specifier: ^4.6.9 - version: 4.6.9 '@types/luxon': specifier: ^3.4.2 version: 3.7.2 @@ -1317,9 +1290,6 @@ importers: vite-plugin-pwa: specifier: ^1.3.0 version: 1.3.0(vite@8.1.3(@types/node@24.13.2)(jiti@2.7.0)(less@4.6.7)(terser@5.48.0)(yaml@2.9.0))(workbox-build@7.4.1)(workbox-window@7.4.1) - vite-plugin-splash-screen: - specifier: ^0.2.0 - version: 0.2.2 vite-plugin-wasm: specifier: ^3.6.0 version: 3.6.0(vite@8.1.3(@types/node@24.13.2)(jiti@2.7.0)(less@4.6.7)(terser@5.48.0)(yaml@2.9.0)) @@ -2422,6 +2392,9 @@ packages: '@iconify-json/mdi@1.2.3': resolution: {integrity: sha512-O3cLwbDOK7NNDf2ihaQOH5F9JglnulNDFV7WprU2dSoZu3h3cWH//h74uQAB87brHmvFVxIOkuBX2sZSzYhScg==} + '@iconify-json/tabler@1.2.35': + resolution: {integrity: sha512-/sJMqHvh5ZWrEERVfDCT5NjVDeKJdhosFtKjJofAVl+P/3AzLiryOQw7WvrfDF25Xa5N/eoOQ15Y1jnhYXxBoQ==} + '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} @@ -4569,18 +4542,6 @@ packages: '@types/lodash-es@4.17.12': resolution: {integrity: sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==} - '@types/lodash.defaultsdeep@4.6.9': - resolution: {integrity: sha512-pLtCFK0YkHfGtGLYLNMTbFB5/G5+RsmQCIbbHH8GOAXjv+gDkVilY98kILfe8JH2Kev0OCReYxp1AjxEjP8ixA==} - - '@types/lodash.flattendeep@4.4.9': - resolution: {integrity: sha512-Oacs/ZMuMvVWkhMqvj+Spad457Beln5pnkauif+6s65fE2cSL7J7NoMfwkxjuQsOsr4DUCDH/iDbmuZo81Nypw==} - - '@types/lodash.last@3.0.9': - resolution: {integrity: sha512-HMIEyk2LJWDumrHsuSh7ZokUs+xyXa0nZO/s3paaKjOvwrjBNoQHsM0UqcpmzEt7CJ29a16XNe3vr8buvHeMCg==} - - '@types/lodash.mergewith@4.6.9': - resolution: {integrity: sha512-fgkoCAOF47K7sxrQ7Mlud2TH023itugZs2bUg8h/KzT+BnZNrR2jAOmaokbLunHNnobXVWOezAeNn/lZqwxkcw==} - '@types/lodash@4.17.24': resolution: {integrity: sha512-gIW7lQLZbue7lRSWEFql49QJJWThrTFFeIMJdp3eH4tKoxm1OvEPg02rm4wCCSHS0cL3/Fizimb35b7k8atwsQ==} @@ -8341,12 +8302,6 @@ packages: lodash.debounce@4.0.8: resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} - lodash.defaultsdeep@4.6.1: - resolution: {integrity: sha512-3j8wdDzYuWO3lM3Reg03MuQR957t287Rpcxp1njpEa8oDrikb+FwGdW3n+FELh/A6qib6yPit0j/pv9G/yeAqA==} - - lodash.flattendeep@4.4.0: - resolution: {integrity: sha512-uHaJFihxmJcEX3kT4I23ABqKKalJ/zDrDg0lsFtc1h+3uw49SIJ5beyhx5ExVRti3AvKoOJngIj7xz3oylPdWQ==} - lodash.flowright@3.5.0: resolution: {integrity: sha512-YxTYuodkvyINbDInmFcGGvkQwoAuoGUYosqstRTr5eq63GQt7WQ2xFU0wG1UfdbKYPwevd3zWDd6ybEE2g6qvA==} @@ -8363,12 +8318,6 @@ packages: lodash.isplainobject@4.0.6: resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==} - lodash.last@3.0.0: - resolution: {integrity: sha512-14mq7rSkCxG4XMy9lF2FbIOqqgF0aH0NfPuQ3LPR3vIh0kHnUvIYP70dqa1Hf47zyXfQ8FzAg0MYOQeSuE1R7A==} - - lodash.mergewith@4.6.2: - resolution: {integrity: sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==} - lodash.sortby@4.7.0: resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} @@ -10933,9 +10882,6 @@ packages: '@vite-pwa/assets-generator': optional: true - vite-plugin-splash-screen@0.2.2: - resolution: {integrity: sha512-RNHMTldDbVCubB1Al2uqS5zpdHI+rDvm9/c3qRUdvHy59GlTNCLH6CRLdS9cHNBT//a09NO/XCoeFShasFn2UQ==} - vite-plugin-wasm@3.6.0: resolution: {integrity: sha512-mL/QPziiIA4RAA6DkaZZzOstdwbW5jO4Vz7Zenj0wieKWBlNvIvX5L5ljum9lcUX0ShNfBgCNLKTjNkRVVqcsw==} peerDependencies: @@ -12855,6 +12801,10 @@ snapshots: dependencies: '@iconify/types': 2.0.0 + '@iconify-json/tabler@1.2.35': + dependencies: + '@iconify/types': 2.0.0 + '@iconify/types@2.0.0': {} '@iconify/utils@3.1.3': @@ -14879,22 +14829,6 @@ snapshots: dependencies: '@types/lodash': 4.17.24 - '@types/lodash.defaultsdeep@4.6.9': - dependencies: - '@types/lodash': 4.17.24 - - '@types/lodash.flattendeep@4.4.9': - dependencies: - '@types/lodash': 4.17.24 - - '@types/lodash.last@3.0.9': - dependencies: - '@types/lodash': 4.17.24 - - '@types/lodash.mergewith@4.6.9': - dependencies: - '@types/lodash': 4.17.24 - '@types/lodash@4.17.24': {} '@types/luxon@3.7.2': {} @@ -19041,10 +18975,6 @@ snapshots: lodash.debounce@4.0.8: {} - lodash.defaultsdeep@4.6.1: {} - - lodash.flattendeep@4.4.0: {} - lodash.flowright@3.5.0: {} lodash.get@4.4.2: {} @@ -19055,10 +18985,6 @@ snapshots: lodash.isplainobject@4.0.6: {} - lodash.last@3.0.0: {} - - lodash.mergewith@4.6.2: {} - lodash.sortby@4.7.0: {} lodash@4.18.1: {} @@ -22069,8 +21995,6 @@ snapshots: transitivePeerDependencies: - supports-color - vite-plugin-splash-screen@0.2.2: {} - vite-plugin-wasm@3.6.0(vite@8.1.3(@types/node@24.13.2)(jiti@2.7.0)(less@4.6.7)(terser@5.48.0)(yaml@2.9.0)): dependencies: vite: 8.1.3(@types/node@24.13.2)(jiti@2.7.0)(less@4.6.7)(terser@5.48.0)(yaml@2.9.0) diff --git a/src/components/CodeBlockCopyable.vue b/src/components/CodeBlockCopyable.vue index e9400d42..7fbf8f01 100644 --- a/src/components/CodeBlockCopyable.vue +++ b/src/components/CodeBlockCopyable.vue @@ -1,5 +1,5 @@