mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
bump deps
This commit is contained in:
parent
26ef6a345b
commit
ab65ddee62
3 changed files with 1073 additions and 847 deletions
1824
next-ui/package-lock.json
generated
1824
next-ui/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -29,69 +29,69 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@formatjs/intl-localematcher": "^0.6.1",
|
||||
"@pinia/colada": "^0.17.1",
|
||||
"@pinia/colada-plugin-auto-refetch": "^0.2.0",
|
||||
"@vueuse/core": "^13.6.0",
|
||||
"core-js": "^3.45.0",
|
||||
"marked": "^16.1.2",
|
||||
"@pinia/colada": "^0.17.5",
|
||||
"@pinia/colada-plugin-auto-refetch": "^0.2.2",
|
||||
"@vueuse/core": "^13.9.0",
|
||||
"core-js": "^3.45.1",
|
||||
"marked": "^16.3.0",
|
||||
"openapi-fetch": "^0.14.0",
|
||||
"pinia": "^3.0.3",
|
||||
"pinia-plugin-persistedstate": "^4.4.1",
|
||||
"vue": "^3.5.18",
|
||||
"pinia-plugin-persistedstate": "^4.5.0",
|
||||
"vue": "^3.5.21",
|
||||
"vue-intl": "^6.5.25",
|
||||
"vuetify": "^3.9.4"
|
||||
"vuetify": "^3.10.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@chromatic-com/storybook": "^4.1.0",
|
||||
"@eslint/js": "^9.32.0",
|
||||
"@chromatic-com/storybook": "^4.1.1",
|
||||
"@eslint/js": "^9.36.0",
|
||||
"@formatjs/cli": "^6.7.2",
|
||||
"@iconify-json/mdi": "^1.2.3",
|
||||
"@pinia/colada-devtools": "^0.1.5",
|
||||
"@storybook/addon-a11y": "^9.1.1",
|
||||
"@storybook/addon-docs": "^9.1.1",
|
||||
"@storybook/addon-themes": "^9.1.1",
|
||||
"@storybook/addon-vitest": "^9.1.1",
|
||||
"@storybook/vue3-vite": "^9.1.1",
|
||||
"@pinia/colada-devtools": "^0.1.6",
|
||||
"@storybook/addon-a11y": "^9.1.7",
|
||||
"@storybook/addon-docs": "^9.1.7",
|
||||
"@storybook/addon-themes": "^9.1.7",
|
||||
"@storybook/addon-vitest": "^9.1.7",
|
||||
"@storybook/vue3-vite": "^9.1.7",
|
||||
"@testing-library/vue": "^8.1.0",
|
||||
"@tsconfig/node22": "^22.0.2",
|
||||
"@types/node": "^24.2.0",
|
||||
"@unocss/preset-icons": "^66.4.1",
|
||||
"@types/node": "^24.5.2",
|
||||
"@unocss/preset-icons": "^66.5.1",
|
||||
"@vitejs/plugin-vue": "^6.0.1",
|
||||
"@vitest/browser": "^3.2.4",
|
||||
"@vitest/coverage-v8": "^3.2.4",
|
||||
"@vue/eslint-config-prettier": "^10.2.0",
|
||||
"@vue/eslint-config-typescript": "^14.6.0",
|
||||
"@vue/tsconfig": "^0.7.0",
|
||||
"chromatic": "^13.1.3",
|
||||
"eslint": "^9.32.0",
|
||||
"@vue/tsconfig": "^0.8.1",
|
||||
"chromatic": "^13.2.0",
|
||||
"eslint": "^9.36.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-formatjs": "^5.4.0",
|
||||
"eslint-plugin-storybook": "^9.1.1",
|
||||
"eslint-plugin-storybook": "^9.1.7",
|
||||
"eslint-plugin-vue": "^10.4.0",
|
||||
"happy-dom": "^18.0.1",
|
||||
"msw": "^2.10.4",
|
||||
"msw": "^2.11.3",
|
||||
"msw-storybook-addon": "^2.0.5",
|
||||
"npm-run-all2": "^8.0.4",
|
||||
"openapi-msw": "^1.2.0",
|
||||
"openapi-typescript": "^7.8.0",
|
||||
"playwright": "^1.54.2",
|
||||
"openapi-msw": "^2.0.0",
|
||||
"openapi-typescript": "^7.9.1",
|
||||
"playwright": "^1.55.0",
|
||||
"prettier": "^3.6.2",
|
||||
"sass": "^1.90.0",
|
||||
"sass-embedded": "^1.90.0",
|
||||
"storybook": "^9.1.1",
|
||||
"sass": "^1.93.0",
|
||||
"sass-embedded": "^1.93.0",
|
||||
"storybook": "^9.1.7",
|
||||
"typescript": "^5.9.2",
|
||||
"unocss": "^66.4.1",
|
||||
"unplugin-auto-import": "^20.0.0",
|
||||
"unocss": "^66.5.1",
|
||||
"unplugin-auto-import": "^20.1.0",
|
||||
"unplugin-fonts": "^1.4.0",
|
||||
"unplugin-vue-components": "^29.0.0",
|
||||
"unplugin-vue-components": "^29.1.0",
|
||||
"unplugin-vue-router": "^0.15.0",
|
||||
"vite": "^7.0.6",
|
||||
"vite": "^7.1.6",
|
||||
"vite-plugin-dir2json": "^1.3.0",
|
||||
"vite-plugin-vue-layouts-next": "^1.0.0",
|
||||
"vite-plugin-vuetify": "^2.1.2",
|
||||
"vitest": "^3.2.4",
|
||||
"vue-router": "^4.4.0",
|
||||
"vue-tsc": "^3.0.5"
|
||||
"vue-tsc": "^3.0.7"
|
||||
},
|
||||
"msw": {
|
||||
"workerDirectory": [
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
* - Please do NOT modify this file.
|
||||
*/
|
||||
|
||||
const PACKAGE_VERSION = '2.10.4'
|
||||
const INTEGRITY_CHECKSUM = 'f5825c521429caf22a4dd13b66e243af'
|
||||
const PACKAGE_VERSION = '2.11.3'
|
||||
const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82'
|
||||
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
||||
const activeClientIds = new Set()
|
||||
|
||||
|
|
@ -71,11 +71,6 @@ addEventListener('message', async function (event) {
|
|||
break
|
||||
}
|
||||
|
||||
case 'MOCK_DEACTIVATE': {
|
||||
activeClientIds.delete(clientId)
|
||||
break
|
||||
}
|
||||
|
||||
case 'CLIENT_CLOSED': {
|
||||
activeClientIds.delete(clientId)
|
||||
|
||||
|
|
@ -94,6 +89,8 @@ addEventListener('message', async function (event) {
|
|||
})
|
||||
|
||||
addEventListener('fetch', function (event) {
|
||||
const requestInterceptedAt = Date.now()
|
||||
|
||||
// Bypass navigation requests.
|
||||
if (event.request.mode === 'navigate') {
|
||||
return
|
||||
|
|
@ -110,23 +107,29 @@ addEventListener('fetch', function (event) {
|
|||
|
||||
// Bypass all requests when there are no active clients.
|
||||
// Prevents the self-unregistered worked from handling requests
|
||||
// after it's been deleted (still remains active until the next reload).
|
||||
// after it's been terminated (still remains active until the next reload).
|
||||
if (activeClientIds.size === 0) {
|
||||
return
|
||||
}
|
||||
|
||||
const requestId = crypto.randomUUID()
|
||||
event.respondWith(handleRequest(event, requestId))
|
||||
event.respondWith(handleRequest(event, requestId, requestInterceptedAt))
|
||||
})
|
||||
|
||||
/**
|
||||
* @param {FetchEvent} event
|
||||
* @param {string} requestId
|
||||
* @param {number} requestInterceptedAt
|
||||
*/
|
||||
async function handleRequest(event, requestId) {
|
||||
async function handleRequest(event, requestId, requestInterceptedAt) {
|
||||
const client = await resolveMainClient(event)
|
||||
const requestCloneForEvents = event.request.clone()
|
||||
const response = await getResponse(event, client, requestId)
|
||||
const response = await getResponse(
|
||||
event,
|
||||
client,
|
||||
requestId,
|
||||
requestInterceptedAt,
|
||||
)
|
||||
|
||||
// Send back the response clone for the "response:*" life-cycle events.
|
||||
// Ensure MSW is active and ready to handle the message, otherwise
|
||||
|
|
@ -204,7 +207,7 @@ async function resolveMainClient(event) {
|
|||
* @param {string} requestId
|
||||
* @returns {Promise<Response>}
|
||||
*/
|
||||
async function getResponse(event, client, requestId) {
|
||||
async function getResponse(event, client, requestId, requestInterceptedAt) {
|
||||
// Clone the request because it might've been already used
|
||||
// (i.e. its body has been read and sent to the client).
|
||||
const requestClone = event.request.clone()
|
||||
|
|
@ -255,6 +258,7 @@ async function getResponse(event, client, requestId) {
|
|||
type: 'REQUEST',
|
||||
payload: {
|
||||
id: requestId,
|
||||
interceptedAt: requestInterceptedAt,
|
||||
...serializedRequest,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue