diff --git a/package.json b/package.json index 0381cc9..2be52fa 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "tailwindcss": "^3.4.1", "unplugin-vue-components": "^0.25.2", "vite": "^4.5.1", - "vite-plugin-pwa": "^0.16.7" + "vite-plugin-pwa": "^0.18.2" }, "description": "熔岩番剧库的前端 V2,完全重写,高性能的单页面应用。", "main": "src/main.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 681c738..a69470c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -92,8 +92,8 @@ devDependencies: specifier: ^4.5.1 version: 4.5.1 vite-plugin-pwa: - specifier: ^0.16.7 - version: 0.16.7(vite@4.5.1)(workbox-build@7.0.0)(workbox-window@7.0.0) + specifier: ^0.18.2 + version: 0.18.2(vite@4.5.1)(workbox-build@7.0.0)(workbox-window@7.0.0) packages: @@ -4096,11 +4096,11 @@ packages: vue: 3.4.10 dev: true - /vite-plugin-pwa@0.16.7(vite@4.5.1)(workbox-build@7.0.0)(workbox-window@7.0.0): - resolution: {integrity: sha512-4WMA5unuKlHs+koNoykeuCfTcqEGbiTRr8sVYUQMhc6tWxZpSRnv9Ojk4LKmqVhoPGHfBVCdGaMo8t9Qidkc1Q==} + /vite-plugin-pwa@0.18.2(vite@4.5.1)(workbox-build@7.0.0)(workbox-window@7.0.0): + resolution: {integrity: sha512-LVFHHLcRLkP7y5xwAqMmtWQhSw34V2+vk59c18fumejiQPUBar+Au1AnOcVr96hlEWLHXI6BM31QOHq+Rey4EA==} engines: {node: '>=16.0.0'} peerDependencies: - vite: ^3.1.0 || ^4.0.0 || ^5.0.0-0 + vite: ^3.1.0 || ^4.0.0 || ^5.0.0 workbox-build: ^7.0.0 workbox-window: ^7.0.0 dependencies: @@ -4371,6 +4371,7 @@ packages: /workbox-google-analytics@7.0.0: resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==} + deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained dependencies: workbox-background-sync: 7.0.0 workbox-core: 7.0.0