Skip to content

Commit

Permalink
Merge pull request #2195 from alphagov/remove-old-session-file-store-…
Browse files Browse the repository at this point in the history
…dependency

Remove old session file store dependency
  • Loading branch information
BenSurgisonGDS authored May 30, 2023
2 parents b330664 + 831683b commit c461ca5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 187 deletions.
3 changes: 1 addition & 2 deletions lib/utils/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ describe('sessionFileStoreQuietLogFn', () => {
it('hides messages about deleting expired sessions', () => {
jest.spyOn(global.console, 'log').mockImplementation()

const session = require('express-session')
const SessionFileStore = require('session-file-store')(session)
const SessionFileStore = require('../session-file-store')
const { sessionFileStoreQuietLogFn } = require('./index')

jest.useFakeTimers({ doNotFake: ['performance'] })
Expand Down
194 changes: 10 additions & 184 deletions npm-shrinkwrap.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
"portscanner": "^2.2.0",
"require-dir": "^1.2.0",
"sass": "^1.57.1",
"session-file-store": "^1.5.0",
"sync-request": "^6.1.0",
"universal-analytics": "^0.5.3",
"uuid": "^9.0.0"
Expand Down

0 comments on commit c461ca5

Please sign in to comment.