From 42644c7cad3825307ed88d2b6f08d79fb5bc68c6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 09:48:32 +0000 Subject: [PATCH 1/2] Update dependency connect-redis to v8 --- package-lock.json | 11 ++++++----- package.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7c03c0fdf..aa0617054 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "bunyan-format": "^0.2.1", "compression": "^1.7.4", "connect-flash": "^0.1.1", - "connect-redis": "^7.0.0", + "connect-redis": "^8.0.0", "csrf-sync": "^4.0.3", "djlint": "^1.36.4", "express": "^4.18.2", @@ -4565,11 +4565,12 @@ } }, "node_modules/connect-redis": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/connect-redis/-/connect-redis-7.1.1.tgz", - "integrity": "sha512-M+z7alnCJiuzKa8/1qAYdGUXHYfDnLolOGAUjOioB07pP39qxjG+X9ibsud7qUBc4jMV5Mcy3ugGv8eFcgamJQ==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/connect-redis/-/connect-redis-8.0.1.tgz", + "integrity": "sha512-7iOI214/r15ahvu0rqKCHhsgpMdOgyLwqlw/icSTnnAR75xFvMyfxAE+je4M87rZLjDlKzKcTc48XxQXYFsMgA==", + "license": "MIT", "engines": { - "node": ">=16" + "node": ">=18" }, "peerDependencies": { "express-session": ">=1" diff --git a/package.json b/package.json index 8d6b02f84..7ff53c298 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "bunyan-format": "^0.2.1", "compression": "^1.7.4", "connect-flash": "^0.1.1", - "connect-redis": "^7.0.0", + "connect-redis": "^8.0.0", "csrf-sync": "^4.0.3", "express": "^4.18.2", "express-prom-bundle": "^8.0.0", From 2e69164f792aae78c3c9c60a13fdf70ba937b8e3 Mon Sep 17 00:00:00 2001 From: John Robertson Date: Mon, 9 Dec 2024 09:57:20 +0000 Subject: [PATCH 2/2] Update import type of `RedisStore` --- server/middleware/setUpWebSession.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/middleware/setUpWebSession.ts b/server/middleware/setUpWebSession.ts index 5e7339163..8658239d8 100644 --- a/server/middleware/setUpWebSession.ts +++ b/server/middleware/setUpWebSession.ts @@ -1,4 +1,4 @@ -import RedisStore from 'connect-redis' +import { RedisStore } from 'connect-redis' import type { Router } from 'express' import express from 'express' import session from 'express-session'