chore(deps): update workbox monorepo to v7 (major) (#3556)

Reviewed-on: vikunja/frontend#3556
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
This commit is contained in:
renovate 2023-06-02 11:03:36 +00:00 committed by konrad
parent f4a7943680
commit aa591ee2ed
3 changed files with 173 additions and 10 deletions

View File

@ -84,7 +84,7 @@
"vue-flatpickr-component": "11.0.3",
"vue-i18n": "9.2.2",
"vue-router": "4.2.2",
"workbox-precaching": "6.6.1",
"workbox-precaching": "7.0.0",
"zhyswan-vuedraggable": "4.1.3"
},
"devDependencies": {
@ -140,7 +140,7 @@
"vitest": "0.31.2",
"vue-tsc": "1.6.5",
"wait-on": "7.0.1",
"workbox-cli": "6.6.1"
"workbox-cli": "7.0.0"
},
"pnpm": {
"patchedDependencies": {

177
pnpm-lock.yaml generated
View File

@ -128,8 +128,8 @@ dependencies:
specifier: 4.2.2
version: 4.2.2(vue@3.2.47)
workbox-precaching:
specifier: 6.6.1
version: 6.6.1
specifier: 7.0.0
version: 7.0.0
zhyswan-vuedraggable:
specifier: 4.1.3
version: 4.1.3(vue@3.2.47)
@ -292,8 +292,8 @@ devDependencies:
specifier: 7.0.1
version: 7.0.1(debug@4.3.4)
workbox-cli:
specifier: 6.6.1
version: 6.6.1(acorn@7.4.1)
specifier: 7.0.0
version: 7.0.0(acorn@7.4.1)
packages:
@ -9381,20 +9381,36 @@ packages:
/workbox-background-sync@6.6.1:
resolution: {integrity: sha512-trJd3ovpWCvzu4sW0E8rV3FUyIcC0W8G+AZ+VcqzzA890AsWZlUGOTSxIMmIHVusUw/FDq1HFWfy/kC/WTRqSg==}
deprecated: this package has been deprecated
dependencies:
idb: 7.0.2
workbox-core: 6.6.1
dev: true
/workbox-background-sync@7.0.0:
resolution: {integrity: sha512-S+m1+84gjdueM+jIKZ+I0Lx0BDHkk5Nu6a3kTVxP4fdj3gKouRNmhO8H290ybnJTOPfBDtTMXSQA/QLTvr7PeA==}
dependencies:
idb: 7.0.2
workbox-core: 7.0.0
dev: true
/workbox-broadcast-update@6.6.1:
resolution: {integrity: sha512-fBhffRdaANdeQ1V8s692R9l/gzvjjRtydBOvR6WCSB0BNE2BacA29Z4r9/RHd9KaXCPl6JTdI9q0bR25YKP8TQ==}
deprecated: this package has been deprecated
dependencies:
workbox-core: 6.6.1
dev: true
/workbox-broadcast-update@7.0.0:
resolution: {integrity: sha512-oUuh4jzZrLySOo0tC0WoKiSg90bVAcnE98uW7F8GFiSOXnhogfNDGZelPJa+6KpGBO5+Qelv04Hqx2UD+BJqNQ==}
dependencies:
workbox-core: 7.0.0
dev: true
/workbox-build@6.6.1(acorn@7.4.1):
resolution: {integrity: sha512-INPgDx6aRycAugUixbKgiEQBWD0MPZqU5r0jyr24CehvNuLPSXp/wGOpdRJmts656lNiXwqV7dC2nzyrzWEDnw==}
engines: {node: '>=16.0.0'}
deprecated: this package has been deprecated
dependencies:
'@apideck/better-ajv-errors': 0.3.3(ajv@8.12.0)
'@babel/core': 7.22.1
@ -9439,14 +9455,68 @@ packages:
- supports-color
dev: true
/workbox-build@7.0.0(acorn@7.4.1):
resolution: {integrity: sha512-CttE7WCYW9sZC+nUYhQg3WzzGPr4IHmrPnjKiu3AMXsiNQKx+l4hHl63WTrnicLmKEKHScWDH8xsGBdrYgtBzg==}
engines: {node: '>=16.0.0'}
dependencies:
'@apideck/better-ajv-errors': 0.3.3(ajv@8.12.0)
'@babel/core': 7.22.1
'@babel/preset-env': 7.22.4(@babel/core@7.22.1)
'@babel/runtime': 7.21.5
'@rollup/plugin-babel': 5.3.0(@babel/core@7.22.1)(rollup@2.79.1)
'@rollup/plugin-node-resolve': 11.2.1(rollup@2.79.1)
'@rollup/plugin-replace': 2.4.2(rollup@2.79.1)
'@surma/rollup-plugin-off-main-thread': 2.2.3
ajv: 8.12.0
common-tags: 1.8.2
fast-json-stable-stringify: 2.1.0
fs-extra: 9.1.0
glob: 7.2.0
lodash: 4.17.21
pretty-bytes: 5.6.0
rollup: 2.79.1
rollup-plugin-terser: 7.0.2(acorn@7.4.1)(rollup@2.79.1)
source-map: 0.8.0-beta.0
stringify-object: 3.3.0
strip-comments: 2.0.1
tempy: 0.6.0
upath: 1.2.0
workbox-background-sync: 7.0.0
workbox-broadcast-update: 7.0.0
workbox-cacheable-response: 7.0.0
workbox-core: 7.0.0
workbox-expiration: 7.0.0
workbox-google-analytics: 7.0.0
workbox-navigation-preload: 7.0.0
workbox-precaching: 7.0.0
workbox-range-requests: 7.0.0
workbox-recipes: 7.0.0
workbox-routing: 7.0.0
workbox-strategies: 7.0.0
workbox-streams: 7.0.0
workbox-sw: 7.0.0
workbox-window: 7.0.0
transitivePeerDependencies:
- '@types/babel__core'
- acorn
- supports-color
dev: true
/workbox-cacheable-response@6.6.1:
resolution: {integrity: sha512-85LY4veT2CnTCDxaVG7ft3NKaFbH6i4urZXgLiU4AiwvKqS2ChL6/eILiGRYXfZ6gAwDnh5RkuDbr/GMS4KSag==}
deprecated: workbox-background-sync@6.6.1
dependencies:
workbox-core: 6.6.1
dev: true
/workbox-cli@6.6.1(acorn@7.4.1):
resolution: {integrity: sha512-dMueg/kDwNwK8DeGAvvrvhACoqoXlcO2fezBh5Zs74nnfYZkLcKX1P0BQigJkm00OuYZVptaiuXOlosPVolWrQ==}
/workbox-cacheable-response@7.0.0:
resolution: {integrity: sha512-0lrtyGHn/LH8kKAJVOQfSu3/80WDc9Ma8ng0p2i/5HuUndGttH+mGMSvOskjOdFImLs2XZIimErp7tSOPmu/6g==}
dependencies:
workbox-core: 7.0.0
dev: true
/workbox-cli@7.0.0(acorn@7.4.1):
resolution: {integrity: sha512-sPqIMh7h8s4vXR2cXZGLUrRbXTVIeTtL4d/sZqwx8NIpRwlk0gay8Xqa4XtKKesN5PDA7cyLTIFsnopXrH/DbA==}
engines: {node: '>=16.0.0'}
hasBin: true
dependencies:
@ -9462,7 +9532,7 @@ packages:
stringify-object: 3.3.0
upath: 1.2.0
update-notifier: 4.1.3
workbox-build: 6.6.1(acorn@7.4.1)
workbox-build: 7.0.0(acorn@7.4.1)
transitivePeerDependencies:
- '@types/babel__core'
- acorn
@ -9471,16 +9541,30 @@ packages:
/workbox-core@6.6.1:
resolution: {integrity: sha512-ZrGBXjjaJLqzVothoE12qTbVnOAjFrHDXpZe7coCb6q65qI/59rDLwuFMO4PcZ7jcbxY+0+NhUVztzR/CbjEFw==}
deprecated: this package has been deprecated
dev: true
/workbox-core@7.0.0:
resolution: {integrity: sha512-81JkAAZtfVP8darBpfRTovHg8DGAVrKFgHpOArZbdFd78VqHr5Iw65f2guwjE2NlCFbPFDoez3D3/6ZvhI/rwQ==}
/workbox-expiration@6.6.1:
resolution: {integrity: sha512-qFiNeeINndiOxaCrd2DeL1Xh1RFug3JonzjxUHc5WkvkD2u5abY3gZL1xSUNt3vZKsFFGGORItSjVTVnWAZO4A==}
deprecated: this package has been deprecated
dependencies:
idb: 7.0.2
workbox-core: 6.6.1
dev: true
/workbox-expiration@7.0.0:
resolution: {integrity: sha512-MLK+fogW+pC3IWU9SFE+FRStvDVutwJMR5if1g7oBJx3qwmO69BNoJQVaMXq41R0gg3MzxVfwOGKx3i9P6sOLQ==}
dependencies:
idb: 7.0.2
workbox-core: 7.0.0
dev: true
/workbox-google-analytics@6.6.1:
resolution: {integrity: sha512-1TjSvbFSLmkpqLcBsF7FuGqqeDsf+uAXO/pjiINQKg3b1GN0nBngnxLcXDYo1n/XxK4N7RaRrpRlkwjY/3ocuA==}
deprecated: this package has been deprecated
dependencies:
workbox-background-sync: 6.6.1
workbox-core: 6.6.1
@ -9488,27 +9572,60 @@ packages:
workbox-strategies: 6.6.1
dev: true
/workbox-google-analytics@7.0.0:
resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==}
dependencies:
workbox-background-sync: 7.0.0
workbox-core: 7.0.0
workbox-routing: 7.0.0
workbox-strategies: 7.0.0
dev: true
/workbox-navigation-preload@6.6.1:
resolution: {integrity: sha512-DQCZowCecO+wRoIxJI2V6bXWK6/53ff+hEXLGlQL4Rp9ZaPDLrgV/32nxwWIP7QpWDkVEtllTAK5h6cnhxNxDA==}
deprecated: this package has been deprecated
dependencies:
workbox-core: 6.6.1
dev: true
/workbox-navigation-preload@7.0.0:
resolution: {integrity: sha512-juWCSrxo/fiMz3RsvDspeSLGmbgC0U9tKqcUPZBCf35s64wlaLXyn2KdHHXVQrb2cqF7I0Hc9siQalainmnXJA==}
dependencies:
workbox-core: 7.0.0
dev: true
/workbox-precaching@6.6.1:
resolution: {integrity: sha512-K4znSJ7IKxCnCYEdhNkMr7X1kNh8cz+mFgx9v5jFdz1MfI84pq8C2zG+oAoeE5kFrUf7YkT5x4uLWBNg0DVZ5A==}
deprecated: this package has been deprecated
dependencies:
workbox-core: 6.6.1
workbox-routing: 6.6.1
workbox-strategies: 6.6.1
dev: true
/workbox-precaching@7.0.0:
resolution: {integrity: sha512-EC0vol623LJqTJo1mkhD9DZmMP604vHqni3EohhQVwhJlTgyKyOkMrZNy5/QHfOby+39xqC01gv4LjOm4HSfnA==}
dependencies:
workbox-core: 7.0.0
workbox-routing: 7.0.0
workbox-strategies: 7.0.0
/workbox-range-requests@6.6.1:
resolution: {integrity: sha512-4BDzk28govqzg2ZpX0IFkthdRmCKgAKreontYRC5YsAPB2jDtPNxqx3WtTXgHw1NZalXpcH/E4LqUa9+2xbv1g==}
deprecated: this package has been deprecated
dependencies:
workbox-core: 6.6.1
dev: true
/workbox-range-requests@7.0.0:
resolution: {integrity: sha512-SxAzoVl9j/zRU9OT5+IQs7pbJBOUOlriB8Gn9YMvi38BNZRbM+RvkujHMo8FOe9IWrqqwYgDFBfv6sk76I1yaQ==}
dependencies:
workbox-core: 7.0.0
dev: true
/workbox-recipes@6.6.1:
resolution: {integrity: sha512-/oy8vCSzromXokDA+X+VgpeZJvtuf8SkQ8KL0xmRivMgJZrjwM3c2tpKTJn6PZA6TsbxGs3Sc7KwMoZVamcV2g==}
deprecated: this package has been deprecated
dependencies:
workbox-cacheable-response: 6.6.1
workbox-core: 6.6.1
@ -9518,34 +9635,80 @@ packages:
workbox-strategies: 6.6.1
dev: true
/workbox-recipes@7.0.0:
resolution: {integrity: sha512-DntcK9wuG3rYQOONWC0PejxYYIDHyWWZB/ueTbOUDQgefaeIj1kJ7pdP3LZV2lfrj8XXXBWt+JDRSw1lLLOnww==}
dependencies:
workbox-cacheable-response: 7.0.0
workbox-core: 7.0.0
workbox-expiration: 7.0.0
workbox-precaching: 7.0.0
workbox-routing: 7.0.0
workbox-strategies: 7.0.0
dev: true
/workbox-routing@6.6.1:
resolution: {integrity: sha512-j4ohlQvfpVdoR8vDYxTY9rA9VvxTHogkIDwGdJ+rb2VRZQ5vt1CWwUUZBeD/WGFAni12jD1HlMXvJ8JS7aBWTg==}
deprecated: this package has been deprecated
dependencies:
workbox-core: 6.6.1
dev: true
/workbox-routing@7.0.0:
resolution: {integrity: sha512-8YxLr3xvqidnbVeGyRGkaV4YdlKkn5qZ1LfEePW3dq+ydE73hUUJJuLmGEykW3fMX8x8mNdL0XrWgotcuZjIvA==}
dependencies:
workbox-core: 7.0.0
/workbox-strategies@6.6.1:
resolution: {integrity: sha512-WQLXkRnsk4L81fVPkkgon1rZNxnpdO5LsO+ws7tYBC6QQQFJVI6v98klrJEjFtZwzw/mB/HT5yVp7CcX0O+mrw==}
deprecated: this package has been deprecated
dependencies:
workbox-core: 6.6.1
dev: true
/workbox-strategies@7.0.0:
resolution: {integrity: sha512-dg3qJU7tR/Gcd/XXOOo7x9QoCI9nk74JopaJaYAQ+ugLi57gPsXycVdBnYbayVj34m6Y8ppPwIuecrzkpBVwbA==}
dependencies:
workbox-core: 7.0.0
/workbox-streams@6.6.1:
resolution: {integrity: sha512-maKG65FUq9e4BLotSKWSTzeF0sgctQdYyTMq529piEN24Dlu9b6WhrAfRpHdCncRS89Zi2QVpW5V33NX8PgH3Q==}
deprecated: this package has been deprecated
dependencies:
workbox-core: 6.6.1
workbox-routing: 6.6.1
dev: true
/workbox-streams@7.0.0:
resolution: {integrity: sha512-moVsh+5to//l6IERWceYKGiftc+prNnqOp2sgALJJFbnNVpTXzKISlTIsrWY+ogMqt+x1oMazIdHj25kBSq/HQ==}
dependencies:
workbox-core: 7.0.0
workbox-routing: 7.0.0
dev: true
/workbox-sw@6.6.1:
resolution: {integrity: sha512-R7whwjvU2abHH/lR6kQTTXLHDFU2izht9kJOvBRYK65FbwutT4VvnUAJIgHvfWZ/fokrOPhfoWYoPCMpSgUKHQ==}
deprecated: this package has been deprecated
dev: true
/workbox-sw@7.0.0:
resolution: {integrity: sha512-SWfEouQfjRiZ7GNABzHUKUyj8pCoe+RwjfOIajcx6J5mtgKkN+t8UToHnpaJL5UVVOf5YhJh+OHhbVNIHe+LVA==}
dev: true
/workbox-window@6.6.1:
resolution: {integrity: sha512-wil4nwOY58nTdCvif/KEZjQ2NP8uk3gGeRNy2jPBbzypU4BT4D9L8xiwbmDBpZlSgJd2xsT9FvSNU0gsxV51JQ==}
deprecated: this package has been deprecated
dependencies:
'@types/trusted-types': 2.0.2
workbox-core: 6.6.1
dev: true
/workbox-window@7.0.0:
resolution: {integrity: sha512-j7P/bsAWE/a7sxqTzXo3P2ALb1reTfZdvVp6OJ/uLr/C2kZAMvjeWGm8V4htQhor7DOvYg0sSbFN2+flT5U0qA==}
dependencies:
'@types/trusted-types': 2.0.2
workbox-core: 7.0.0
dev: true
/wrap-ansi@6.2.0:
resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==}
engines: {node: '>=8'}

View File

@ -6,7 +6,7 @@ import {getFullBaseUrl} from './helpers/getFullBaseUrl'
declare let self: ServiceWorkerGlobalScope
const fullBaseUrl = getFullBaseUrl()
const workboxVersion = 'v6.6.1'
const workboxVersion = 'v7.0.0'
importScripts(`${fullBaseUrl}workbox-${workboxVersion}/workbox-sw.js`)
workbox.setConfig({