FFFF chore(typescript): Update all dependencies and deal with unexpected breaking change by daffl · Pull Request #2126 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions packages/authentication-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"@feathersjs/socketio": "^4.5.10",
"@feathersjs/socketio-client": "^4.5.10",
"@types/debug": "^4.1.5",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"axios": "^0.21.0",
"mocha": "^8.2.1",
"shx": "^0.3.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/authentication-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/debug": "^4.1.5",
"@types/lodash": "^4.14.164",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"@types/lodash": "^4.14.165",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"mocha": "^8.2.1",
"shx": "^0.3.3",
"ts-node": "^9.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/authentication-oauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@
},
"devDependencies": {
"@types/debug": "^4.1.5",
"@types/express": "^4.17.8",
"@types/express-session": "^1.17.0",
"@types/lodash": "^4.14.164",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"@types/express": "^4.17.9",
"@types/express-session": "^1.17.2",
"@types/lodash": "^4.14.165",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"axios": "^0.21.0",
"mocha": "^8.2.1",
"shx": "^0.3.3",
Expand Down
13 changes: 11 additions & 2 deletions packages/authentication-oauth/src/express.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ import { OAuthStrategy } from './strategy';
const grant = grantExpress();
const debug = Debug('@feathersjs/authentication-oauth/express');

declare module 'express-session' {
interface SessionData {
redirect: string;
accessToken: string;
query: { [key: string]: any };
grant: { [key: string]: any };
}
}

export default (options: OauthSetupSettings) => {
return (feathersApp: Application) => {
const { authService, linkStrategy } = options;
Expand Down Expand Up @@ -43,9 +52,9 @@ export default (options: OauthSetupSettings) => {

if (feathers_token) {
debug(`Got feathers_token query parameter to link accounts`, feathers_token);
req.session.accessToken = feathers_token;
req.session.accessToken = feathers_token as string;
}
req.session.redirect = redirect;
req.session.redirect = redirect as string;
req.session.query = query;

res.redirect(`${path}/connect/${name}?${qs.stringify(query as any)}`);
Expand Down
6 changes: 3 additions & 3 deletions packages/authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
},
"devDependencies": {
"@types/debug": "^4.1.5",
"@types/lodash": "^4.14.164",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"@types/lodash": "^4.14.165",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"@types/uuid": "^8.3.0",
"feathers-memory": "^4.1.0",
"mocha": "^8.2.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@feathersjs/socketio": "^4.5.10",
"@feathersjs/socketio-client": "^4.5.10",
"@feathersjs/tests": "^4.5.10",
"babel-loader": "^8.1.0",
"babel-loader": "^8.2.1",
"body-parser": "^1.19.0",
"feathers-memory": "^4.1.0",
"jquery": "^3.5.1",
Expand All @@ -75,8 +75,8 @@
"superagent": "^6.1.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^5.4.0",
"webpack-merge": "^5.3.0",
"ws": "^7.3.1",
"webpack-merge": "^5.4.0",
"ws": "^7.4.0",
"xhr2": "^0.2.0"
},
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
Expand Down
4 changes: 2 additions & 2 deletions packages/commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"access": "public"
},
"devDependencies": {
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"mocha": "^8.2.1",
"shx": "^0.3.3",
"ts-node": "^9.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"devDependencies": {
"@types/config": "^0.0.36",
"@types/debug": "^4.1.5",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"mocha": "^8.2.1",
"shx": "^0.3.3",
"ts-node": "^9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"dependencies": {
"@feathersjs/commons": "^4.5.10",
"@feathersjs/errors": "^4.5.10",
"@types/express": "^4.17.8",
"@types/express": "^4.17.9",
"debug": "^4.2.0",
"express": "^4.17.1",
"lodash": "^4.17.20",
Expand Down
2 changes: 1 addition & 1 deletion packages/primus-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@feathersjs/tests": "^4.5.10",
"feathers-memory": "^4.1.0",
"mocha": "^8.2.1",
"ws": "^7.3.1"
"ws": "^7.4.0"
},
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
}
2 changes: 1 addition & 1 deletion packages/primus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"feathers-memory": "^4.1.0",
"lodash": "^4.17.20",
"mocha": "^8.2.1",
"ws": "^7.3.1"
"ws": "^7.4.0"
},
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
}
6 changes: 3 additions & 3 deletions packages/rest-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"qs": "^6.9.4"
},
"devDependencies": {
"@angular/common": "^10.2.2",
"@angular/core": "^10.2.2",
"@angular/common": "^11.0.0",
"@angular/core": "^11.0.0",
"@angular/http": "^7.2.16",
"@angular/platform-browser": "^10.2.2",
"@angular/platform-browser": "^11.0.0",
"@feathersjs/express": "^4.5.10",
"@feathersjs/feathers": "^4.5.10",
"@feathersjs/tests": "^4.5.10",
Expand Down
6 changes: 3 additions & 3 deletions packages/socketio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
"@feathersjs/express": "^4.5.10",
"@feathersjs/feathers": "^4.5.10",
"@feathersjs/tests": "^4.5.10",
"@types/mocha": "^8.0.3",
"@types/mongodb": "^3.5.32",
"@types/node": "^14.14.6",
"@types/mocha": "^8.0.4",
"@types/mongodb": "^3.5.33",
"@types/node": "^14.14.7",
"feathers-memory": "^4.1.0",
"lodash": "^4.17.20",
"mocha": "^8.2.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
"@feathersjs/feathers": "^4.5.10",
"@types/axios": "^0.14.0",
"@types/debug": "^4.1.5",
"@types/lodash": "^4.14.164",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"@types/lodash": "^4.14.165",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"mocha": "^8.2.1",
"shx": "^0.3.3",
"ts-node": "^9.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/transport-commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"devDependencies": {
"@feathersjs/feathers": "^4.5.10",
"@types/debug": "^4.1.5",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"mocha": "^8.2.1",
"shx": "^0.3.3",
"ts-node": "^9.0.0",
Expand Down
0