Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
Update all dependencies to their latest versions.
  • Loading branch information
connorjayr committed Mar 16, 2024
1 parent ab4dd9b commit 8506cb4
Show file tree
Hide file tree
Showing 14 changed files with 3,217 additions and 11,822 deletions.
14,925 changes: 3,158 additions & 11,767 deletions package-lock.json

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,54 +33,54 @@
},
"homepage": "https:/Bram-Hub/Willow#readme",
"devDependencies": {
"@types/body-parser": "^1.19.0",
"@types/connect-pg-simple": "^4.2.4",
"@types/csurf": "^1.11.2",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.4",
"@types/http-errors": "^1.8.1",
"@types/jest": "^27.0.3",
"@types/morgan": "^1.9.2",
"@types/node": "^14.17.21",
"@types/nodemailer": "^6.4.4",
"@types/passport": "^1.0.7",
"@types/passport-local": "^1.0.34",
"@types/pg": "^8.6.1",
"@types/pug": "^2.0.4",
"@types/tmp": "^0.2.2",
"gts": "^3.1.0",
"jest": "^27.4.5",
"json-schema-to-typescript": "^10.1.5",
"nodemon": "^2.0.13",
"ts-jest": "^27.1.2",
"ts-loader": "^8.0.17",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.11.0",
"typescript": "^4.5.4",
"webpack-cli": "^4.9.0"
"@types/body-parser": "^1.19.5",
"@types/connect-pg-simple": "^7.0.3",
"@types/csurf": "^1.11.5",
"@types/express": "^4.17.21",
"@types/express-session": "^1.18.0",
"@types/http-errors": "^2.0.4",
"@types/jest": "^29.5.12",
"@types/morgan": "^1.9.9",
"@types/node": "^20.11.28",
"@types/nodemailer": "^6.4.14",
"@types/passport": "^1.0.16",
"@types/passport-local": "^1.0.38",
"@types/pg": "^8.11.2",
"@types/pug": "^2.0.10",
"@types/tmp": "^0.2.6",
"gts": "^5.2.0",
"jest": "^29.7.0",
"json-schema-to-typescript": "^13.1.2",
"nodemon": "^3.1.0",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.4.2",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"ajv": "^8.6.3",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"connect-pg-simple": "^7.0.0",
"connect-pg-simple": "^9.0.1",
"csurf": "^1.11.0",
"dotenv": "^8.2.0",
"express": "^5.0.0-alpha.8",
"express-session": "^1.17.2",
"hotkeys-js": "^3.8.3",
"http-errors": "^1.8.0",
"dotenv": "^16.4.5",
"express": "^4.18.3",
"express-session": "^1.18.0",
"hotkeys-js": "^3.13.7",
"http-errors": "^2.0.0",
"morgan": "^1.10.0",
"nodemailer": "^6.7.2",
"passport": "^0.5.0",
"nodemailer": "^6.9.12",
"passport": "^0.7.0",
"passport-local": "^1.0.0",
"pg": "^8.7.1",
"pug": "^3.0.0",
"tmp": "^0.2.1",
"vue": "^3.2.20",
"vuex": "^4.0.0",
"webpack": "^5.58.1",
"winston": "^3.3.3",
"xlsx": "^0.17.4",
"yaml": "^1.10.0"
"tmp": "^0.2.3",
"vue": "^3.4.21",
"vuex": "^4.1.0",
"webpack": "^5.90.3",
"winston": "^3.12.0",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
"yaml": "^2.4.1"
}
}
10 changes: 7 additions & 3 deletions src/server/routes/auth/logout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ import * as express from 'express';

export const router = express.Router();

router.get('/', (req, res) => {
req.logOut();
res.redirect('/');
router.get('/', (req, res, next) => {
req.logOut((err) => {
if (err) {
return next(err);
}
res.redirect('/');
});
});
2 changes: 1 addition & 1 deletion src/types/routes/auth/register/post-request.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down
2 changes: 1 addition & 1 deletion src/types/routes/auth/reset/get-request.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down
2 changes: 1 addition & 1 deletion src/types/routes/auth/reset/post-request.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down
2 changes: 1 addition & 1 deletion src/types/routes/courses/course/roster/post-request.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down
2 changes: 1 addition & 1 deletion src/types/routes/courses/post-request.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down
2 changes: 1 addition & 1 deletion src/types/routes/create/post-request.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down
2 changes: 1 addition & 1 deletion src/types/routes/index/assignment.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down
2 changes: 1 addition & 1 deletion src/types/routes/index/assignments-by-course.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down
2 changes: 1 addition & 1 deletion src/types/routes/index/get-request.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down
2 changes: 1 addition & 1 deletion src/types/routes/submit/post-request.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
Expand Down

0 comments on commit 8506cb4

Please sign in to comment.