Skip to content

Commit

Permalink
chore: Fixed typings for "connect-session-knex"
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleT committed Jun 9, 2020
1 parent b4f52fe commit 30e1e96
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
20 changes: 10 additions & 10 deletions registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@types/express": "^4.17.6",
"@types/express-session": "^1.17.0",
"@types/hapi__joi": "^16.0.3",
"@types/lodash": "^4.14.150",
"@types/lodash": "^4.14.155",
"@types/mocha": "^7.0.1",
"@types/nock": "^11.1.0",
"@types/passport": "^1.0.3",
Expand All @@ -39,36 +39,36 @@
"@types/supertest": "2.0.8",
"chai": "4.2.0",
"cross-env": "6.0.3",
"mocha": "^7.0.1",
"mocha": "^7.2.0",
"nock": "^11.7.2",
"nodemon": "^1.19.4",
"nyc": "^15.0.0",
"nyc": "^15.1.0",
"supertest": "4.0.2",
"ts-node": "^8.4.1",
"ts-node": "^8.10.2",
"typescript": "3.7.5"
},
"dependencies": {
"@hapi/joi": "^16.1.7",
"@types/newrelic": "^6.2.0",
"@types/url-join": "^4.0.0",
"@types/uuid": "^3.4.7",
"@types/uuid": "^3.4.9",
"axios": "^0.19.0",
"bcrypt": "^4.0.1",
"body-parser": "^1.19.0",
"config": "^3.2.3",
"connect-session-knex": "^1.6.0",
"connect-session-knex": "^1.7.1",
"express": "^4.17.1",
"express-session": "^1.17.1",
"http-shutdown": "^1.2.1",
"knex": "^0.19.5",
"knex": "^0.21.1",
"lodash": "^4.17.15",
"newrelic": "^6.2.0",
"newrelic": "^6.9.0",
"passport": "^0.4.1",
"passport-http-bearer": "^1.0.1",
"passport-local": "^1.0.0",
"serve-static": "^1.14.1",
"source-map-support": "^0.5.17",
"sqlite3": "^4.1.0",
"source-map-support": "^0.5.19",
"sqlite3": "^4.2.0",
"url-join": "^4.0.1",
"uuid": "^3.4.0"
}
Expand Down
2 changes: 1 addition & 1 deletion registry/server/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default (app: Express, config: any): RequestHandler => {
resave: false,
saveUninitialized: false,
cookie: {httpOnly: true, secure: false},
store: new SessionKnex({ knex: db, createtable: false, tablename: 'sessions' }),
store: new SessionKnex({ knex: db, createTable: false, tablename: 'sessions' }),
}, config.session);

if (app.get('env') === 'production') {
Expand Down
5 changes: 0 additions & 5 deletions registry/typings/connect-session-knex/index.d.ts

This file was deleted.

0 comments on commit 30e1e96

Please sign in to comment.