Merge pull request #25145 from backstage/renovate/passport-oauth2-1.x-lockfile

fix(deps): update dependency @types/passport-oauth2 to v1.4.17
This commit is contained in:
Fredrik Adelöw
2024-06-12 12:00:34 +02:00
committed by GitHub
3 changed files with 10 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend-module-microsoft-provider': patch
---
Minor internal type updates
@@ -22,7 +22,7 @@ import { Strategy as MicrosoftStrategy } from 'passport-microsoft';
export class ExtendedMicrosoftStrategy extends MicrosoftStrategy {
userProfile(
accessToken: string,
done: (err?: Error | null, profile?: PassportProfile) => void,
done: (err?: unknown, profile?: PassportProfile) => void,
): void {
if (this.skipUserProfile(accessToken)) {
done(null, undefined);
@@ -31,7 +31,7 @@ export class ExtendedMicrosoftStrategy extends MicrosoftStrategy {
super.userProfile(
accessToken,
(err?: Error | null, profile?: PassportProfile) => {
(err?: unknown, profile?: PassportProfile) => {
if (!profile || profile.photos) {
done(err, profile);
return;
+3 -3
View File
@@ -18242,13 +18242,13 @@ __metadata:
linkType: hard
"@types/passport-oauth2@npm:*, @types/passport-oauth2@npm:^1.4.11, @types/passport-oauth2@npm:^1.4.15":
version: 1.4.16
resolution: "@types/passport-oauth2@npm:1.4.16"
version: 1.4.17
resolution: "@types/passport-oauth2@npm:1.4.17"
dependencies:
"@types/express": "*"
"@types/oauth": "*"
"@types/passport": "*"
checksum: a590d3fcdf93dbe4498c636de139dc22a723bbf12a7f248f432085a47ec1b76b2e1201336ee26cd65c400d7ce6fb30ae0b151f40067267942c8a5b3c708cc23d
checksum: 4c5d2d6f717bb0b3d049669e47ca27cb166cbbef2073dccd302b10e62936c9e392074acabe6cb593f7eeb37a6a3cf81b9d3a4f35a46018a6645ac37d0f1706cb
languageName: node
linkType: hard