Skip to content

Commit

Permalink
Bump connect-redis from 7.1.1 to 8.0.1 (#230)
Browse files Browse the repository at this point in the history
* Bump connect-redis from 7.1.1 to 8.0.1

Bumps [connect-redis](https://github.com/tj/connect-redis) from 7.1.1 to 8.0.1.
- [Release notes](https://github.com/tj/connect-redis/releases)
- [Commits](tj/connect-redis@v7.1.1...v8.0.1)

---
updated-dependencies:
- dependency-name: connect-redis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update imports

* Bump cache key

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcus Aspin <[email protected]>
  • Loading branch information
dependabot[bot] and marcus-bcl authored Dec 31, 2024
1 parent d1ee5c9 commit f14cf93
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
name: Update npm
command: 'sudo npm install -g npm@10'
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
key: dependency-cache-v2-{{ checksum "package-lock.json" }}
- run:
name: Install Dependencies
command: npm ci --no-audit
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
key: dependency-cache-v2-{{ checksum "package-lock.json" }}
paths:
- node_modules
- ~/.cache
Expand All @@ -61,7 +61,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
key: dependency-cache-v2-{{ checksum "package-lock.json" }}
- run:
name: unit tests
command: npm run test:ci
Expand All @@ -82,7 +82,7 @@ jobs:
name: Install missing OS dependency
command: sudo apt-get install libxss1
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
key: dependency-cache-v2-{{ checksum "package-lock.json" }}
- run:
name: Run the node app.
command: npm run start-feature
Expand Down
11 changes: 5 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"bunyan-format": "^0.2.1",
"compression": "^1.7.5",
"connect-flash": "^0.1.1",
"connect-redis": "^7.1.1",
"connect-redis": "^8.0.1",
"csurf": "^1.11.0",
"express": "^4.21.2",
"express-prom-bundle": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion server/middleware/setUpWebSession.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { v4 as uuidv4 } from 'uuid'
import session, { MemoryStore, Store } from 'express-session'
import RedisStore from 'connect-redis'
import { RedisStore } from 'connect-redis'
import express, { Router } from 'express'
import { createRedisClient } from '../data/redisClient'
import config from '../config'
Expand Down

0 comments on commit f14cf93

Please sign in to comment.