From fa53014aff5a353aa78b70e376e8f979309f35e6 Mon Sep 17 00:00:00 2001 From: Phan An Date: Tue, 15 Oct 2024 15:56:37 +0700 Subject: [PATCH] chore: remove obsolete deps --- package.json | 12 ++++------- yarn.lock | 58 ++++++++++------------------------------------------ 2 files changed, 15 insertions(+), 55 deletions(-) diff --git a/package.json b/package.json index 613f002b..531ff3aa 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,10 @@ "axios": "^0.21.1", "compare-versions": "^3.5.1", "dompurify": "^3.1.4", + "events": "^3.3.0", "fuse.js": "^7.0.0", "ismobilejs": "^0.4.0", + "js-md5": "^0.8.3", "local-storage": "^2.0.0", "lodash": "^4.17.19", "lucide-vue-next": "^0.452.0", @@ -31,12 +33,14 @@ "nprogress": "^0.2.0", "plyr": "1.5.x", "pusher-js": "^4.1.0", + "qrcode": "^1.5.4", "select": "^1.1.2", "sketch-js": "^1.1.3", "slugify": "^1.0.2", "three": "^0.146.0", "tiny-typed-emitter": "^2.1.0", "vue": "^3.3.4", + "vue-advanced-cropper": "^2.8.9", "youtube-player": "^3.0.4" }, "devDependencies": { @@ -59,31 +63,24 @@ "@vueuse/components": "^10.9.0", "@vueuse/core": "^10.9.0", "@vueuse/integrations": "^10.9.0", - "add": "^2.0.6", "autoprefixer": "^10.4.19", - "cross-env": "^7.0.3", "cypress": "^9.5.4", "eslint": "^9.11.1", "eslint-plugin-format": "^0.1.2", - "events": "^3.3.0", "factoria": "^4.0.0", "husky": "^9.1.5", "jest-serializer-vue": "^2.0.2", - "js-md5": "^0.8.3", "jsdom": "^19.0.0", - "kill-port": "^1.6.1", "laravel-vite-plugin": "^1.0.2", "lint-staged": "^10.3.0", "postcss": "^8.4.38", "postcss-mixins": "^10.0.0", "postcss-nested": "^6.0.1", - "qrcode": "^1", "tailwindcss": "^3.4.3", "typescript": "^4.8.4", "vite": "^5.1.8", "vitepress": "^1.0.0-rc.45", "vitest": "^0.24.0", - "vue-advanced-cropper": "^2.8.8", "yarn": "^1.22.22" }, "scripts": { @@ -94,7 +91,6 @@ "test:e2e": "kill-port 8080 && start-test dev http-get://localhost:8080/api/ping 'cypress open'", "test:e2e:ci": "kill-port 8080 && start-test 'php artisan serve --port=8080 --quiet' http-get://localhost:8080/api/ping 'cypress run --browser chromium'", "build": "vite build", - "build-demo": "cross-env VITE_KOEL_ENV=demo vite build", "dev": "node -e \"console.warn('Command \\\"yarn dev\\\" has been removed. Use \\\"composer dev\\\" instead.')\"", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", diff --git a/yarn.lock b/yarn.lock index 04114886..9176f0b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1527,11 +1527,6 @@ acorn@^8.12.0, acorn@^8.12.1, acorn@^8.5.0, acorn@^8.8.0, acorn@^8.9.0: resolved "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz" integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== -add@^2.0.6: - version "2.0.6" - resolved "https://registry.npmjs.org/add/-/add-2.0.6.tgz" - integrity sha512-j5QzrmsokwWWp6kUcJQySpbG+xfOBqqKnup3OIk1pz+kB/80SLorZ9V8zHFLO92Lcd+hbvq8bT+zOGoPkmBV0Q== - agent-base@6: version "6.0.2" resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz" @@ -2203,14 +2198,7 @@ cosmiconfig@^9.0.0: js-yaml "^4.1.0" parse-json "^5.2.0" -cross-env@^7.0.3: - version "7.0.3" - resolved "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz" - integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== - dependencies: - cross-spawn "^7.0.1" - -cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: +cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -2525,11 +2513,6 @@ emoji-regex@^9.2.2: resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz" integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== -encode-utf8@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/encode-utf8/-/encode-utf8-1.0.3.tgz" - integrity sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw== - end-of-stream@^1.1.0: version "1.4.4" resolved "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz" @@ -3147,7 +3130,7 @@ eventemitter2@^6.4.3: events@^3.3.0: version "3.3.0" - resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz" + resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== execa@4.1.0, execa@^4.1.0: @@ -3482,11 +3465,6 @@ get-stream@^8.0.1: resolved "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz" integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA== -get-them-args@1.3.2: - version "1.3.2" - resolved "https://registry.npmjs.org/get-them-args/-/get-them-args-1.3.2.tgz" - integrity sha512-LRn8Jlk+DwZE4GTlDbT3Hikd1wSHgLMme/+7ddlqKd7ldwR6LjJgTVWzBnR01wnYGe4KgrXjg287RaI22UHmAw== - get-tsconfig@^4.7.0, get-tsconfig@^4.7.3: version "4.8.1" resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.8.1.tgz#8995eb391ae6e1638d251118c7b56de7eb425471" @@ -4083,7 +4061,7 @@ js-beautify@^1.6.12: js-md5@^0.8.3: version "0.8.3" - resolved "https://registry.npmjs.org/js-md5/-/js-md5-0.8.3.tgz" + resolved "https://registry.yarnpkg.com/js-md5/-/js-md5-0.8.3.tgz#921bab7efa95bfc9d62b87ee08a57f8fe4305b69" integrity sha512-qR0HB5uP6wCuRMrWPTrkMaev7MJZwJuuw4fnwAzRgP4J4/F8RwtodOKpGp4XpqsLBFzzgqIO42efFAyz2Et6KQ== js-tokens@^4.0.0: @@ -4227,14 +4205,6 @@ keyv@^4.5.4: dependencies: json-buffer "3.0.1" -kill-port@^1.6.1: - version "1.6.1" - resolved "https://registry.npmjs.org/kill-port/-/kill-port-1.6.1.tgz" - integrity sha512-un0Y55cOM7JKGaLnGja28T38tDDop0AQ8N0KlAdyh+B1nmMoX8AnNmqPNZbS3mUMgiST51DCVqmbFT1gNJpVNw== - dependencies: - get-them-args "1.3.2" - shell-exec "1.0.2" - kind-of@^3.0.2: version "3.2.2" resolved "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz" @@ -5597,13 +5567,12 @@ pusher-js@^4.1.0: tweetnacl-util "^0.15.0" xmlhttprequest "^1.8.0" -qrcode@^1: - version "1.5.3" - resolved "https://registry.npmjs.org/qrcode/-/qrcode-1.5.3.tgz" - integrity sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg== +qrcode@^1.5.4: + version "1.5.4" + resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.4.tgz#5cb81d86eb57c675febb08cf007fff963405da88" + integrity sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg== dependencies: dijkstrajs "^1.0.1" - encode-utf8 "^1.0.3" pngjs "^5.0.0" yargs "^15.3.1" @@ -5893,11 +5862,6 @@ shebang-regex@^3.0.0: resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shell-exec@1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/shell-exec/-/shell-exec-1.0.2.tgz" - integrity sha512-jyVd+kU2X+mWKMmGhx4fpWbPsjvD53k9ivqetutVW/BQ+WIZoDoP4d8vUMGezV6saZsiNoW2f9GIhg9Dondohg== - shiki@1.2.0, shiki@^1.1.5: version "1.2.0" resolved "https://registry.npmjs.org/shiki/-/shiki-1.2.0.tgz" @@ -6623,10 +6587,10 @@ vitest@^0.24.0: tinyspy "^1.0.2" vite "^3.0.0" -vue-advanced-cropper@^2.8.8: - version "2.8.8" - resolved "https://registry.npmjs.org/vue-advanced-cropper/-/vue-advanced-cropper-2.8.8.tgz" - integrity sha512-yDM7Jb/gnxcs//JdbOogBUoHr1bhCQSto7/ohgETKAe4wvRpmqIkKSppMm1huVQr+GP1YoVlX/fkjKxvYzwwDQ== +vue-advanced-cropper@^2.8.9: + version "2.8.9" + resolved "https://registry.yarnpkg.com/vue-advanced-cropper/-/vue-advanced-cropper-2.8.9.tgz#119ec7ade91dcf80fb22940ecbbf265ad0ae1bc4" + integrity sha512-1jc5gO674kVGpJKekoaol6ZlwaF5VYDLSBwBOUpViW0IOrrRsyLw6XNszjEqgbavvqinlKNS6Kqlom3B5M72Tw== dependencies: classnames "^2.2.6" debounce "^1.2.0"