refactor(backend): use @types/oauth2orize-pkce (#11350)

* refactor(backend): use @types/oauth2orize-pkce

* Update package.json

* Update pnpm-lock.yaml

---------

Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
This commit is contained in:
mtgto 2023-07-22 21:37:37 +09:00 committed by GitHub
parent ff96896473
commit 381bc86a1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 5 deletions

View File

@ -190,6 +190,7 @@
"@types/nodemailer": "6.4.8",
"@types/oauth": "0.9.1",
"@types/oauth2orize": "1.11.0",
"@types/oauth2orize-pkce": "0.1.0",
"@types/pg": "8.10.2",
"@types/pug": "2.0.6",
"@types/punycode": "2.1.0",

View File

@ -1,5 +0,0 @@
declare module 'oauth2orize-pkce' {
export default {
extensions(): any;
};
}

View File

@ -553,6 +553,9 @@ importers:
'@types/oauth2orize':
specifier: 1.11.0
version: 1.11.0
'@types/oauth2orize-pkce':
specifier: 0.1.0
version: 0.1.0
'@types/pg':
specifier: 8.10.2
version: 8.10.2
@ -8282,6 +8285,12 @@ packages:
resolution: {integrity: sha512-WKG4gTr8przEZBiJ5r3s8ZIAoMXNbOgQ+j/d5O4X3x6kZJRLNvyUJuUK/KoG3+8BaOHPhp2m7WC6JKKeovDSzQ==}
dev: true
/@types/oauth2orize-pkce@0.1.0:
resolution: {integrity: sha512-k3FH+QtfjV/zAWFdJwzPOCISpYYXbGIwejtEbUWWGhUJ+gk/DyPesSKh3tblBkFBabN4RBRBRnYutWFwtVEZzw==}
dependencies:
'@types/oauth2orize': 1.11.0
dev: true
/@types/oauth2orize@1.11.0:
resolution: {integrity: sha512-jmnP/Ip36XBzs+nIn/I8wNBZkQcn/agmp8K9V81he+wOllLYMec8T8AqbRPJCFbnFwaL03bbR8gI3CknMCXohw==}
dependencies: