diff --git a/package-lock.json b/package-lock.json index ae28a33..7b48a75 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,12 +10,12 @@ "license": "MIT", "dependencies": { "@humanwhocodes/env": "2.2.0", - "@supabase/supabase-js": "1.33.3", - "fastify": "3.28.0", - "fastify-auth": "1.1.0", - "fastify-cors": "6.0.3", - "fastify-jwt": "4.1.3", - "fastify-sensible": "3.1.2", + "@supabase/supabase-js": "1.35.3", + "fastify": "3.29.0", + "fastify-auth": "1.2.0", + "fastify-cors": "6.1.0", + "fastify-jwt": "4.2.0", + "fastify-sensible": "3.2.0", "fluent-json-schema": "3.1.0", "make-promises-safe": "5.1.0" }, @@ -834,6 +834,11 @@ "ajv": "^6.12.6" } }, + "node_modules/@fastify/error": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@fastify/error/-/error-2.0.0.tgz", + "integrity": "sha512-wI3fpfDT0t7p8E6dA2eTECzzOd+bZsZCJ2Hcv+Onn2b7ZwK3RwD27uW2QDaMtQhAfWQQP+WNK7nKf0twLsBf9w==" + }, "node_modules/@humanwhocodes/config-array": { "version": "0.9.5", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", @@ -2129,9 +2134,9 @@ } }, "node_modules/@supabase/gotrue-js": { - "version": "1.22.12", - "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.22.12.tgz", - "integrity": "sha512-/baPkNiumE2B+OLSpvZquDsTqnOTAsG/07GBq5rXU8/e0rSyjljAFf8gnawGPezjlDGTFr2fjRYs0BYMz4LD/A==", + "version": "1.22.15", + "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.22.15.tgz", + "integrity": "sha512-7/mwnd1hR/bpkCmbDvjnwPfWyRcE2B1ZnfxthqgVaZ5oJHS/CQibyuLBL8DA75fxmgY9nIfednDZSydSm6zK0w==", "dependencies": { "cross-fetch": "^3.0.6" } @@ -2145,9 +2150,9 @@ } }, "node_modules/@supabase/realtime-js": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-1.6.2.tgz", - "integrity": "sha512-0aK2WoCYvS2lO2BGQwPaxz91oq76lJ+/rSzAMUDFe8mZFj+v4ugifDMUHKpSxJWqW4u4OB9cs3zw11qWlQQCrw==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-1.7.2.tgz", + "integrity": "sha512-DMUaFIKj7KszGtWTTQbhMmUzZf7UnwYqySsmY+G8HgYxvY3ZaVa+DZD0I6ofgr4OLNr0po/ODM2a4lf5m5GNBg==", "dependencies": { "@types/phoenix": "^1.5.4", "websocket": "^1.0.34" @@ -2162,15 +2167,15 @@ } }, "node_modules/@supabase/supabase-js": { - "version": "1.33.3", - "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-1.33.3.tgz", - "integrity": "sha512-wQyCoP03bs21UvfVxRYrFTBmYSGMXjFAKlmP66MACqWUfYLKgJJ3/xVFfOLyyi7M8QTYw8XUK+z4yqQ5p1l88Q==", + "version": "1.35.3", + "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-1.35.3.tgz", + "integrity": "sha512-uwO8OVdMFsGZNZ1xQhFz22+PSW0EWYZ5xVq+jQeGz8nhabEu+Q9Uyep/bcNzOpyPJRzbGfxSPRzgAdAxfJgFhw==", "dependencies": { - "@supabase/functions-js": "^1.3.2", - "@supabase/gotrue-js": "^1.22.10", + "@supabase/functions-js": "^1.3.3", + "@supabase/gotrue-js": "^1.22.14", "@supabase/postgrest-js": "^0.37.2", - "@supabase/realtime-js": "^1.6.2", - "@supabase/storage-js": "^1.6.5" + "@supabase/realtime-js": "^1.7.2", + "@supabase/storage-js": "^1.7.0" } }, "node_modules/@szmarczak/http-timer": { @@ -5352,15 +5357,15 @@ } }, "node_modules/fastify": { - "version": "3.28.0", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.28.0.tgz", - "integrity": "sha512-LAQtGllpkRe8L6Tpf3zdbvXzXFOrgaWV3Tbvp3xMv9ngcr9zht9U2/mo5zq9qp9kplSiBJ0w43aVAMqv6PBMbw==", + "version": "3.29.0", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.29.0.tgz", + "integrity": "sha512-zXSiDTdHJCHcmDrSje1f1RfzTmUTjMtHnPhh6cdokgfHhloQ+gy0Du+KlEjwTbcNC3Djj4GAsBzl6KvfI9Ah2g==", "dependencies": { "@fastify/ajv-compiler": "^1.0.0", + "@fastify/error": "^2.0.0", "abstract-logging": "^2.0.0", "avvio": "^7.1.2", "fast-json-stringify": "^2.5.2", - "fastify-error": "^0.3.0", "find-my-way": "^4.5.0", "flatstr": "^1.0.12", "light-my-request": "^4.2.0", @@ -5374,6 +5379,16 @@ } }, "node_modules/fastify-auth": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fastify-auth/-/fastify-auth-1.2.0.tgz", + "integrity": "sha512-h/3pW5o8hwfpxL0b7JF2hObGDAiFi2QAvuoEGr0wJ1w3vr7yGn3V+wPWcLaz8pzlO0h0DsYIKSAoSbHBE0OXnA==", + "dependencies": { + "fastify-auth-deprecated": "npm:fastify-auth@1.1.0", + "process-warning": "^1.0.0" + } + }, + "node_modules/fastify-auth-deprecated": { + "name": "fastify-auth", "version": "1.1.0", "resolved": "https://registry.npmjs.org/fastify-auth/-/fastify-auth-1.1.0.tgz", "integrity": "sha512-8IajmAZB3QJ3wTP0q8Z3TG9DkxrIcAlS85TdPCBEfJi3mMKQd/sCYxtZ0dYv11v5hZaJ9z8XmNzhK3AH6/JpNw==", @@ -5383,6 +5398,16 @@ } }, "node_modules/fastify-cors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/fastify-cors/-/fastify-cors-6.1.0.tgz", + "integrity": "sha512-QBKz32IoY/iuT74CunRY1XOSpjSTIOh9E3FxulXIBhd0D2vdgG0kDvy0eG6HA/88sRfWHeba43LkGEXPz0Rh8g==", + "dependencies": { + "fastify-cors-deprecated": "npm:fastify-cors@6.0.3", + "process-warning": "^1.0.0" + } + }, + "node_modules/fastify-cors-deprecated": { + "name": "fastify-cors", "version": "6.0.3", "resolved": "https://registry.npmjs.org/fastify-cors/-/fastify-cors-6.0.3.tgz", "integrity": "sha512-fMbXubKKyBHHCfSBtsCi3+7VyVRdhJQmGes5gM+eGKkRErCdm0NaYO0ozd31BQBL1ycoTIjbqOZhJo4RTF/Vlg==", @@ -5391,12 +5416,17 @@ "vary": "^1.1.2" } }, - "node_modules/fastify-error": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/fastify-error/-/fastify-error-0.3.1.tgz", - "integrity": "sha512-oCfpcsDndgnDVgiI7bwFKAun2dO+4h84vBlkWsWnz/OUK9Reff5UFoFl241xTiLeHWX/vU9zkDVXqYUxjOwHcQ==" - }, "node_modules/fastify-jwt": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fastify-jwt/-/fastify-jwt-4.2.0.tgz", + "integrity": "sha512-wS0Wvg+5/7ZGaOJVFFIIWoMyc1Ashq9zUuVzq757R36fvXtsrEnEAaEIVFImAsDrAUIr9+PnrthMSGdVZgDk/g==", + "dependencies": { + "fastify-jwt-deprecated": "npm:fastify-jwt@4.1.3", + "process-warning": "^1.0.0" + } + }, + "node_modules/fastify-jwt-deprecated": { + "name": "fastify-jwt", "version": "4.1.3", "resolved": "https://registry.npmjs.org/fastify-jwt/-/fastify-jwt-4.1.3.tgz", "integrity": "sha512-SmcXjwgO6x8Kw4ybiZHOhk2Sp5MCvA/qWI3aXZPXrICWi1z6bQBSXJw8PiyiiGt84w/YcikpgntkWZiEP04EEg==", @@ -5417,6 +5447,16 @@ "integrity": "sha512-qKcDXmuZadJqdTm6vlCqioEbyewF60b/0LOFCcYN1B6BIZGlYJumWWOYs70SFYLDAH4YqdE1cxH/RKMG7rFxgA==" }, "node_modules/fastify-sensible": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fastify-sensible/-/fastify-sensible-3.2.0.tgz", + "integrity": "sha512-Y6hW5fRviGUXf5r5xEuqfnX5Zz1UEam1nGCkFH62r1wgVrfNjY5zNhfgKA23+zO6AcrSW6PQN5vXj9sJ2SBQ2w==", + "dependencies": { + "fastify-sensible-deprecated": "npm:fastify-sensible@3.1.2", + "process-warning": "^1.0.0" + } + }, + "node_modules/fastify-sensible-deprecated": { + "name": "fastify-sensible", "version": "3.1.2", "resolved": "https://registry.npmjs.org/fastify-sensible/-/fastify-sensible-3.1.2.tgz", "integrity": "sha512-fS8GeY6db3q38GzWOoZMggrw9yHOoXdHv1Pgnorvv18uDrmh1iL8gP9/cqdWzZRM1J3fYvcHsfV2t4BXQF2+sw==", @@ -5432,7 +5472,7 @@ "node": ">=10.0.0" } }, - "node_modules/fastify-sensible/node_modules/depd": { + "node_modules/fastify-sensible-deprecated/node_modules/depd": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", @@ -5440,7 +5480,7 @@ "node": ">= 0.6" } }, - "node_modules/fastify-sensible/node_modules/http-errors": { + "node_modules/fastify-sensible-deprecated/node_modules/http-errors": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", @@ -5455,7 +5495,7 @@ "node": ">= 0.6" } }, - "node_modules/fastify-sensible/node_modules/statuses": { + "node_modules/fastify-sensible-deprecated/node_modules/statuses": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", @@ -15242,6 +15282,11 @@ "ajv": "^6.12.6" } }, + "@fastify/error": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@fastify/error/-/error-2.0.0.tgz", + "integrity": "sha512-wI3fpfDT0t7p8E6dA2eTECzzOd+bZsZCJ2Hcv+Onn2b7ZwK3RwD27uW2QDaMtQhAfWQQP+WNK7nKf0twLsBf9w==" + }, "@humanwhocodes/config-array": { "version": "0.9.5", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", @@ -16262,9 +16307,9 @@ } }, "@supabase/gotrue-js": { - "version": "1.22.12", - "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.22.12.tgz", - "integrity": "sha512-/baPkNiumE2B+OLSpvZquDsTqnOTAsG/07GBq5rXU8/e0rSyjljAFf8gnawGPezjlDGTFr2fjRYs0BYMz4LD/A==", + "version": "1.22.15", + "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.22.15.tgz", + "integrity": "sha512-7/mwnd1hR/bpkCmbDvjnwPfWyRcE2B1ZnfxthqgVaZ5oJHS/CQibyuLBL8DA75fxmgY9nIfednDZSydSm6zK0w==", "requires": { "cross-fetch": "^3.0.6" } @@ -16278,9 +16323,9 @@ } }, "@supabase/realtime-js": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-1.6.2.tgz", - "integrity": "sha512-0aK2WoCYvS2lO2BGQwPaxz91oq76lJ+/rSzAMUDFe8mZFj+v4ugifDMUHKpSxJWqW4u4OB9cs3zw11qWlQQCrw==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-1.7.2.tgz", + "integrity": "sha512-DMUaFIKj7KszGtWTTQbhMmUzZf7UnwYqySsmY+G8HgYxvY3ZaVa+DZD0I6ofgr4OLNr0po/ODM2a4lf5m5GNBg==", "requires": { "@types/phoenix": "^1.5.4", "websocket": "^1.0.34" @@ -16295,15 +16340,15 @@ } }, "@supabase/supabase-js": { - "version": "1.33.3", - "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-1.33.3.tgz", - "integrity": "sha512-wQyCoP03bs21UvfVxRYrFTBmYSGMXjFAKlmP66MACqWUfYLKgJJ3/xVFfOLyyi7M8QTYw8XUK+z4yqQ5p1l88Q==", + "version": "1.35.3", + "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-1.35.3.tgz", + "integrity": "sha512-uwO8OVdMFsGZNZ1xQhFz22+PSW0EWYZ5xVq+jQeGz8nhabEu+Q9Uyep/bcNzOpyPJRzbGfxSPRzgAdAxfJgFhw==", "requires": { - "@supabase/functions-js": "^1.3.2", - "@supabase/gotrue-js": "^1.22.10", + "@supabase/functions-js": "^1.3.3", + "@supabase/gotrue-js": "^1.22.14", "@supabase/postgrest-js": "^0.37.2", - "@supabase/realtime-js": "^1.6.2", - "@supabase/storage-js": "^1.6.5" + "@supabase/realtime-js": "^1.7.2", + "@supabase/storage-js": "^1.7.0" } }, "@szmarczak/http-timer": { @@ -18623,15 +18668,15 @@ } }, "fastify": { - "version": "3.28.0", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.28.0.tgz", - "integrity": "sha512-LAQtGllpkRe8L6Tpf3zdbvXzXFOrgaWV3Tbvp3xMv9ngcr9zht9U2/mo5zq9qp9kplSiBJ0w43aVAMqv6PBMbw==", + "version": "3.29.0", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.29.0.tgz", + "integrity": "sha512-zXSiDTdHJCHcmDrSje1f1RfzTmUTjMtHnPhh6cdokgfHhloQ+gy0Du+KlEjwTbcNC3Djj4GAsBzl6KvfI9Ah2g==", "requires": { "@fastify/ajv-compiler": "^1.0.0", + "@fastify/error": "^2.0.0", "abstract-logging": "^2.0.0", "avvio": "^7.1.2", "fast-json-stringify": "^2.5.2", - "fastify-error": "^0.3.0", "find-my-way": "^4.5.0", "flatstr": "^1.0.12", "light-my-request": "^4.2.0", @@ -18645,7 +18690,16 @@ } }, "fastify-auth": { - "version": "1.1.0", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fastify-auth/-/fastify-auth-1.2.0.tgz", + "integrity": "sha512-h/3pW5o8hwfpxL0b7JF2hObGDAiFi2QAvuoEGr0wJ1w3vr7yGn3V+wPWcLaz8pzlO0h0DsYIKSAoSbHBE0OXnA==", + "requires": { + "fastify-auth-deprecated": "npm:fastify-auth@1.1.0", + "process-warning": "^1.0.0" + } + }, + "fastify-auth-deprecated": { + "version": "npm:fastify-auth@1.1.0", "resolved": "https://registry.npmjs.org/fastify-auth/-/fastify-auth-1.1.0.tgz", "integrity": "sha512-8IajmAZB3QJ3wTP0q8Z3TG9DkxrIcAlS85TdPCBEfJi3mMKQd/sCYxtZ0dYv11v5hZaJ9z8XmNzhK3AH6/JpNw==", "requires": { @@ -18654,7 +18708,16 @@ } }, "fastify-cors": { - "version": "6.0.3", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/fastify-cors/-/fastify-cors-6.1.0.tgz", + "integrity": "sha512-QBKz32IoY/iuT74CunRY1XOSpjSTIOh9E3FxulXIBhd0D2vdgG0kDvy0eG6HA/88sRfWHeba43LkGEXPz0Rh8g==", + "requires": { + "fastify-cors-deprecated": "npm:fastify-cors@6.0.3", + "process-warning": "^1.0.0" + } + }, + "fastify-cors-deprecated": { + "version": "npm:fastify-cors@6.0.3", "resolved": "https://registry.npmjs.org/fastify-cors/-/fastify-cors-6.0.3.tgz", "integrity": "sha512-fMbXubKKyBHHCfSBtsCi3+7VyVRdhJQmGes5gM+eGKkRErCdm0NaYO0ozd31BQBL1ycoTIjbqOZhJo4RTF/Vlg==", "requires": { @@ -18662,13 +18725,17 @@ "vary": "^1.1.2" } }, - "fastify-error": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/fastify-error/-/fastify-error-0.3.1.tgz", - "integrity": "sha512-oCfpcsDndgnDVgiI7bwFKAun2dO+4h84vBlkWsWnz/OUK9Reff5UFoFl241xTiLeHWX/vU9zkDVXqYUxjOwHcQ==" - }, "fastify-jwt": { - "version": "4.1.3", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fastify-jwt/-/fastify-jwt-4.2.0.tgz", + "integrity": "sha512-wS0Wvg+5/7ZGaOJVFFIIWoMyc1Ashq9zUuVzq757R36fvXtsrEnEAaEIVFImAsDrAUIr9+PnrthMSGdVZgDk/g==", + "requires": { + "fastify-jwt-deprecated": "npm:fastify-jwt@4.1.3", + "process-warning": "^1.0.0" + } + }, + "fastify-jwt-deprecated": { + "version": "npm:fastify-jwt@4.1.3", "resolved": "https://registry.npmjs.org/fastify-jwt/-/fastify-jwt-4.1.3.tgz", "integrity": "sha512-SmcXjwgO6x8Kw4ybiZHOhk2Sp5MCvA/qWI3aXZPXrICWi1z6bQBSXJw8PiyiiGt84w/YcikpgntkWZiEP04EEg==", "requires": { @@ -18685,7 +18752,16 @@ "integrity": "sha512-qKcDXmuZadJqdTm6vlCqioEbyewF60b/0LOFCcYN1B6BIZGlYJumWWOYs70SFYLDAH4YqdE1cxH/RKMG7rFxgA==" }, "fastify-sensible": { - "version": "3.1.2", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fastify-sensible/-/fastify-sensible-3.2.0.tgz", + "integrity": "sha512-Y6hW5fRviGUXf5r5xEuqfnX5Zz1UEam1nGCkFH62r1wgVrfNjY5zNhfgKA23+zO6AcrSW6PQN5vXj9sJ2SBQ2w==", + "requires": { + "fastify-sensible-deprecated": "npm:fastify-sensible@3.1.2", + "process-warning": "^1.0.0" + } + }, + "fastify-sensible-deprecated": { + "version": "npm:fastify-sensible@3.1.2", "resolved": "https://registry.npmjs.org/fastify-sensible/-/fastify-sensible-3.1.2.tgz", "integrity": "sha512-fS8GeY6db3q38GzWOoZMggrw9yHOoXdHv1Pgnorvv18uDrmh1iL8gP9/cqdWzZRM1J3fYvcHsfV2t4BXQF2+sw==", "requires": { diff --git a/package.json b/package.json index 6806a2e..f92ae70 100644 --- a/package.json +++ b/package.json @@ -58,12 +58,12 @@ "homepage": "https://github.com/technologiestiftung/qtrees-backend#readme", "dependencies": { "@humanwhocodes/env": "2.2.0", - "@supabase/supabase-js": "1.33.3", - "fastify": "3.28.0", - "fastify-auth": "1.1.0", - "fastify-cors": "6.0.3", - "fastify-jwt": "4.1.3", - "fastify-sensible": "3.1.2", + "@supabase/supabase-js": "1.35.3", + "fastify": "3.29.0", + "fastify-auth": "1.2.0", + "fastify-cors": "6.1.0", + "fastify-jwt": "4.2.0", + "fastify-sensible": "3.2.0", "fluent-json-schema": "3.1.0", "make-promises-safe": "5.1.0" }