From 28ecb4aa11a56726dcb59482ae56f8d3d68198b8 Mon Sep 17 00:00:00 2001 From: naskya Date: Sun, 29 Oct 2023 19:10:31 +0900 Subject: [PATCH] chore: remove unused dependencies --- package.json | 4 +- packages/backend/package.json | 4 - packages/client/package.json | 11 --- pnpm-lock.yaml | 135 +++------------------------------- 4 files changed, 12 insertions(+), 142 deletions(-) diff --git a/package.json b/package.json index a39c3735e..dbe54fb93 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "type": "git", "url": "https://code.naskya.net/naskya/firefish" }, - "packageManager": "pnpm@8.9.2", + "packageManager": "pnpm@8.10.0", "private": true, "scripts": { "rebuild": "pnpm run clean && pnpm run build", @@ -57,7 +57,7 @@ "gulp-replace": "1.1.4", "gulp-terser": "2.1.0", "install-peers": "^1.0.4", - "pnpm": "8.9.2", + "pnpm": "8.10.0", "typescript": "5.2.2" } } diff --git a/packages/backend/package.json b/packages/backend/package.json index c9157709c..06920aec3 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -41,8 +41,6 @@ "ajv": "8.12.0", "archiver": "6.0.0", "argon2": "^0.31.1", - "autolinker": "4.0.0", - "autwh": "0.1.0", "aws-sdk": "2.1413.0", "axios": "^1.4.0", "bcryptjs": "2.4.3", @@ -61,7 +59,6 @@ "escape-regexp": "0.0.1", "feed": "4.2.2", "file-type": "18.5.0", - "firefish-js": "workspace:*", "fluent-ffmpeg": "2.1.2", "got": "13.0.0", "gunzip-maybe": "^1.4.2", @@ -117,7 +114,6 @@ "rndstr": "1.0.0", "rss-parser": "3.13.0", "sanitize-html": "2.11.0", - "seedrandom": "^3.0.5", "semver": "7.5.4", "sharp": "0.32.5", "sonic-channel": "^1.3.1", diff --git a/packages/client/package.json b/packages/client/package.json index f6d457835..7a9b6d847 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -18,7 +18,6 @@ "@rollup/plugin-json": "6.0.0", "@rollup/pluginutils": "^5.0.4", "@syuilo/aiscript": "0.11.1", - "@types/escape-regexp": "0.0.1", "@types/glob": "8.1.0", "@types/gulp": "4.0.13", "@types/gulp-rename": "2.0.2", @@ -44,10 +43,8 @@ "chartjs-plugin-zoom": "2.0.1", "city-timezones": "^1.2.1", "cropperjs": "2.0.0-beta.4", - "cross-env": "7.0.3", "date-fns": "2.30.0", "emojilib": "^3.0.11", - "escape-regexp": "0.0.1", "eslint-config-prettier": "9.0.0", "eslint-plugin-file-progress": "^1.3.0", "eventemitter3": "5.0.1", @@ -65,15 +62,12 @@ "mfm-js": "0.23.3", "photoswipe": "5.3.9", "prettier": "3.0.3", - "prettier-plugin-vue": "1.1.6", "prismjs": "1.29.0", "punycode": "2.3.0", - "rndstr": "1.0.0", "rollup": "3.28.1", "s-age": "1.1.2", "sass": "1.66.1", "seedrandom": "3.0.5", - "strict-event-emitter-types": "2.0.0", "stringz": "2.1.0", "swiper": "10.2.0", "syuilo-password-strength": "0.0.1", @@ -82,18 +76,13 @@ "throttle-debounce": "5.0.0", "tinycolor2": "1.6.0", "tinyld": "^1.3.4", - "tsc-alias": "1.8.7", - "tsconfig-paths": "4.2.0", - "twemoji-parser": "14.0.0", "typescript": "5.2.2", "unicode-emoji-json": "^0.4.0", "uuid": "9.0.0", - "vanilla-tilt": "1.8.1", "vite": "4.4.9", "vite-plugin-compression": "^0.5.1", "vue": "3.3.4", "vue-draggable-plus": "^0.2.6", - "vue-isyourpasswordsafe": "^2.0.0", "vue-plyr": "^7.0.0", "vue-prism-editor": "2.0.0-alpha.2" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f5b2fa4eb..5a8292702 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,8 +82,8 @@ importers: specifier: ^1.0.4 version: 1.0.4 pnpm: - specifier: 8.9.2 - version: 8.9.2 + specifier: 8.10.0 + version: 8.10.0 typescript: specifier: 5.2.2 version: 5.2.2 @@ -141,12 +141,6 @@ importers: argon2: specifier: ^0.31.1 version: 0.31.1 - autolinker: - specifier: 4.0.0 - version: 4.0.0 - autwh: - specifier: 0.1.0 - version: 0.1.0 aws-sdk: specifier: 2.1413.0 version: 2.1413.0 @@ -201,9 +195,6 @@ importers: file-type: specifier: 18.5.0 version: 18.5.0 - firefish-js: - specifier: workspace:* - version: link:../firefish-js fluent-ffmpeg: specifier: 2.1.2 version: 2.1.2 @@ -369,9 +360,6 @@ importers: sanitize-html: specifier: 2.11.0 version: 2.11.0 - seedrandom: - specifier: ^3.0.5 - version: 3.0.5 semver: specifier: 7.5.4 version: 7.5.4 @@ -638,9 +626,6 @@ importers: '@syuilo/aiscript': specifier: 0.11.1 version: 0.11.1 - '@types/escape-regexp': - specifier: 0.0.1 - version: 0.0.1 '@types/glob': specifier: 8.1.0 version: 8.1.0 @@ -716,18 +701,12 @@ importers: cropperjs: specifier: 2.0.0-beta.4 version: 2.0.0-beta.4 - cross-env: - specifier: 7.0.3 - version: 7.0.3 date-fns: specifier: 2.30.0 version: 2.30.0 emojilib: specifier: ^3.0.11 version: 3.0.11 - escape-regexp: - specifier: 0.0.1 - version: 0.0.1 eslint-config-prettier: specifier: 9.0.0 version: 9.0.0(eslint@8.51.0) @@ -779,18 +758,12 @@ importers: prettier: specifier: 3.0.3 version: 3.0.3 - prettier-plugin-vue: - specifier: 1.1.6 - version: 1.1.6 prismjs: specifier: 1.29.0 version: 1.29.0 punycode: specifier: 2.3.0 version: 2.3.0 - rndstr: - specifier: 1.0.0 - version: 1.0.0 rollup: specifier: 3.28.1 version: 3.28.1 @@ -803,9 +776,6 @@ importers: seedrandom: specifier: 3.0.5 version: 3.0.5 - strict-event-emitter-types: - specifier: 2.0.0 - version: 2.0.0 stringz: specifier: 2.1.0 version: 2.1.0 @@ -830,15 +800,6 @@ importers: tinyld: specifier: ^1.3.4 version: 1.3.4 - tsc-alias: - specifier: 1.8.7 - version: 1.8.7 - tsconfig-paths: - specifier: 4.2.0 - version: 4.2.0 - twemoji-parser: - specifier: 14.0.0 - version: 14.0.0 typescript: specifier: 5.2.2 version: 5.2.2 @@ -848,9 +809,6 @@ importers: uuid: specifier: 9.0.0 version: 9.0.0 - vanilla-tilt: - specifier: 1.8.1 - version: 1.8.1 vite: specifier: 4.4.9 version: 4.4.9(@types/node@20.5.8)(sass@1.66.1) @@ -863,9 +821,6 @@ importers: vue-draggable-plus: specifier: ^0.2.6 version: 0.2.6(@types/sortablejs@1.15.4) - vue-isyourpasswordsafe: - specifier: ^2.0.0 - version: 2.0.0 vue-plyr: specifier: ^7.0.0 version: 7.0.0 @@ -5229,12 +5184,6 @@ packages: resolution: {integrity: sha512-OGYhWUO72V6DafbF8PM8rm3EPbfuyMZcJhtm5/n26IDwO18pohE4eNazLoCGhPiXOCD0gEGmrbU3849QvM8bbw==} engines: {node: '>=8.10', npm: '>=6.4.1'} - /autolinker@4.0.0: - resolution: {integrity: sha512-fl5Kh6BmEEZx+IWBfEirnRUU5+cOiV0OK7PEt0RBKvJMJ8GaRseIOeDU3FKf4j3CE5HVefcjHmhYPOcaVt0bZw==} - dependencies: - tslib: 2.6.2 - dev: false - /autoprefixer@6.7.7: resolution: {integrity: sha512-WKExI/eSGgGAkWAO+wMVdFObZV7hQen54UpD1kCCTN3tvlL3W1jL4+lPP/M7MwoP7Q4RHzKtO3JQ4HxYEcd+xQ==} dependencies: @@ -5250,12 +5199,6 @@ packages: resolution: {integrity: sha512-f86EjiUKE6Xvczc4ioP1JBlWG7FKrE13qe/DxBCpe8GCipCq2nFw73aO8QEBKHfSbYGDN5eB9jXWKen7tspDqQ==} dev: true - /autwh@0.1.0: - resolution: {integrity: sha512-IkGZ4kjVlZMkEmDiVtZpGG3lDGHPqsMBIh4IpQKN7idYOJ5EGedqKPO+ychNqh8zrJEEqYsN0NcBkcmoE2uFAw==} - dependencies: - oauth: 0.9.15 - dev: false - /ava@5.1.1: resolution: {integrity: sha512-od1CWgWVIKZSdEc1dhQWhbsd6KBs0EYjek7eqZNGPvy+NyC9Q1bXixcadlgOXwDG9aM0zLMQZwRXfe9gMb1LQQ==} engines: {node: '>=14.19 <15 || >=16.15 <17 || >=18'} @@ -5988,10 +5931,6 @@ packages: resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} dev: true - /charenc@0.0.2: - resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==} - dev: true - /chart.js@4.4.0: resolution: {integrity: sha512-vQEj6d+z0dcsKLlQvbKIMYFHd3t8W/7L2vfJIbYcfyPcRx92CsHqECpueN8qVGNlKyDcr5wBrYAYKnfu/9Q1hQ==} engines: {pnpm: '>=7'} @@ -6409,7 +6348,9 @@ packages: /commander@9.5.0: resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==} engines: {node: ^12.20.0 || >=14} + requiresBuild: true dev: true + optional: true /comment-parser@1.4.0: resolution: {integrity: sha512-QLyTNiZ2KDOibvFPlZ6ZngVsZ/0gYnE6uTXi5aoDg8ed3AkJAz4sEje3Y8a29hQ1s6A99MZXe47fLAXQ1rTqaw==} @@ -6799,10 +6740,6 @@ packages: shebang-command: 2.0.0 which: 2.0.2 - /crypt@0.0.2: - resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} - dev: true - /css-color-names@0.0.4: resolution: {integrity: sha512-zj5D7X1U2h2zsXOAM8EyUREBnnts6H+Jm+d1M2DbiQQcUtnqgQsMrdo8JW9R80YFUmIdBZeMu5wvYM7hcgWP/Q==} dev: true @@ -7651,6 +7588,7 @@ packages: /escape-regexp@0.0.1: resolution: {integrity: sha512-jVgdsYRa7RKxTT6MKNC3gdT+BF0Gfhpel19+HMRZJC2L0PufB0XOBuXBoXj29NKHwuktnAXd1Z1lyiH/8vOTpw==} + dev: false /escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} @@ -12456,11 +12394,6 @@ packages: engines: {node: '>= 0.10'} dev: true - /mylas@2.1.13: - resolution: {integrity: sha512-+MrqnJRtxdF+xngFfUUkIMQrUUL0KsxbADUkn23Z/4ibGg192Q+z+CQyiYwvWTsYjJygmMR8+w3ZDa98Zh6ESg==} - engines: {node: '>=12.0.0'} - dev: true - /mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} dependencies: @@ -12827,10 +12760,6 @@ packages: resolution: {integrity: sha512-1orQ9MT1vHFGQxhuy7E/0gECD3fd2fCC+PIX+/jgmU/gI3EpRocXtmtvxCO5x3WZ443FLTLFWNDjl5MPJf9u+Q==} dev: false - /oauth@0.9.15: - resolution: {integrity: sha512-a5ERWK1kh38ExDEfoO6qUHJb32rd7aYmPHuyCu3Fta/cnICvYmgd2uhuKXvPD+PXB+gCEYYEaQdIRAjCOwAKNA==} - dev: false - /object-assign-deep@0.4.0: resolution: {integrity: sha512-54Uvn3s+4A/cMWx9tlRez1qtc7pN7pbQ+Yi7mjLjcBpWLlP+XbSHiHbQW6CElDiV4OvuzqnMrBdkgxI1mT8V/Q==} engines: {node: '>=6'} @@ -13504,13 +13433,6 @@ packages: pathe: 1.1.1 dev: true - /plimit-lit@1.6.1: - resolution: {integrity: sha512-B7+VDyb8Tl6oMJT9oSO2CW8XC/T4UcJGrwOVoNGwOQsQYhlpfajmrMj5xeejqaASq3V/EqThyOeATEOMuSEXiA==} - engines: {node: '>=12'} - dependencies: - queue-lit: 1.5.2 - dev: true - /plugin-error@1.0.1: resolution: {integrity: sha512-L1zP0dk7vGweZME2i+EeakvUNqSrdiI3F91TwEoYiGrAfUXmVv6fJIq4g82PAXxNsWOp0J7ZqQy/3Szz0ajTxA==} engines: {node: '>= 0.10'} @@ -13559,8 +13481,8 @@ packages: engines: {node: '>=14.19.0'} dev: false - /pnpm@8.9.2: - resolution: {integrity: sha512-udNf6RsqWFTa3EMDSj57LmdfpLVuIOjgnvB4+lU8GPiu1EBR57Nui43UNfl+sMRMT/O0T8fG+n0h4frBe75mHg==} + /pnpm@8.10.0: + resolution: {integrity: sha512-nCy4Pyts9qJdjFgwC/mRl8fvO+hM8+dm8pBUtAuDtC+Kq6b8wxSp7PJ8APfOgKdXu0xgiADnrb4tKdxccFb1vg==} engines: {node: '>=16.14'} hasBin: true dev: true @@ -13886,12 +13808,6 @@ packages: fast-diff: 1.3.0 dev: true - /prettier-plugin-vue@1.1.6: - resolution: {integrity: sha512-trQ/oY+6hSsGe2zPIFThXMIM0TbxMEbk2VOrKjwHWuSz7OEo0rnumbz9a47OxVPCaAnGY9vZG8qDTiTmk9bq0A==} - dependencies: - prettier: 2.8.8 - dev: true - /prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} @@ -14192,11 +14108,6 @@ packages: deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. dev: false - /queue-lit@1.5.2: - resolution: {integrity: sha512-tLc36IOPeMAubu8BkW8YDBV+WyIgKlYU7zUNs0J5Vk9skSZ4JfGlPOqplP0aHdfv7HL0B2Pg6nwiq60Qc6M2Hw==} - engines: {node: '>=12'} - dev: true - /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true @@ -14229,6 +14140,7 @@ packages: /rangestr@0.0.1: resolution: {integrity: sha512-9CRCUX/w4+fNMzlYgA8GeJz7BZwBPwaGm3FhAm9Hi50k8wNy2CyiJQa8awygWJay87uVVCV0/FwbLcD6+/A9KQ==} + dev: false /rangetouch@2.0.1: resolution: {integrity: sha512-sln+pNSc8NGaHoLzwNBssFSf/rSYkqeBXzX1AtJlkJiUaVSJSbRAWJk+4omsXkN+EJalzkZhWQ3th1m0FpR5xA==} @@ -14721,6 +14633,7 @@ packages: dependencies: rangestr: 0.0.1 seedrandom: 2.4.2 + dev: false /rollup@3.28.1: resolution: {integrity: sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==} @@ -14841,6 +14754,7 @@ packages: /seedrandom@2.4.2: resolution: {integrity: sha512-uQ72txMoObtuJooiBLSVs5Yu2e9d/lHQz0boaqHjW8runXB9vR8nFtaZV54wYii613N0C8ZqTBLsfwDhAdpvqQ==} + dev: false /seedrandom@3.0.5: resolution: {integrity: sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==} @@ -14940,13 +14854,6 @@ packages: safe-buffer: 5.2.1 dev: false - /sha1@1.1.1: - resolution: {integrity: sha512-dZBS6OrMjtgVkopB1Gmo4RQCDKiZsqcpAQpkV/aaj+FCrCg8r4I4qMkDPQjBgLIxlmu9k4nUbWq6ohXahOneYA==} - dependencies: - charenc: 0.0.2 - crypt: 0.0.2 - dev: true - /sharp@0.32.5: resolution: {integrity: sha512-0dap3iysgDkNaPOaOL4X/0akdu0ma62GcdC2NBQ+93eqpePdDdr2/LM0sFdDSMmN7yS+odyZtPsb7tx/cYBKnQ==} engines: {node: '>=14.15.0'} @@ -16103,18 +16010,6 @@ packages: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - /tsc-alias@1.8.7: - resolution: {integrity: sha512-59Q/zUQa3miTf99mLbSqaW0hi1jt4WoG8Uhe5hSZJHQpSoFW9eEwvW7jlKMHXWvT+zrzy3SN9PE/YBhQ+WVydA==} - hasBin: true - dependencies: - chokidar: 3.5.3 - commander: 9.5.0 - globby: 11.1.0 - mylas: 2.1.13 - normalize-path: 3.0.0 - plimit-lit: 1.6.1 - dev: true - /tsconfig-paths@3.14.2: resolution: {integrity: sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==} dependencies: @@ -16674,10 +16569,6 @@ packages: engines: {node: '>= 0.10'} dev: true - /vanilla-tilt@1.8.1: - resolution: {integrity: sha512-hPB1XUsnh+SIeVSW2beb5RnuFxz4ZNgxjGD78o52F49gS4xaoLeEMh9qrQnJrnEn/vjjBI7IlxrrXmz4tGV0Kw==} - dev: true - /vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -16842,12 +16733,6 @@ packages: - supports-color dev: true - /vue-isyourpasswordsafe@2.0.0: - resolution: {integrity: sha512-j3ORj18R9AgFiP2UOM35KuZbSeJAUiwCSyeRBFN3CGFYTJSKsxqU9qGqOHOz6OhLAYKMTin8JOmqugAbF9O+Bg==} - dependencies: - sha1: 1.1.1 - dev: true - /vue-plyr@7.0.0: resolution: {integrity: sha512-NvbO/ZzV1IxlBQQbQlon5Sk8hKuGAj3k4k0XVdi7gM4oSqu8mZMhJ3WM3FfAtNfV790jbLnb8P3dHYqaBqIv6g==} dependencies: