Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

디펜던시 정리 #249

Merged
merged 1 commit into from
Oct 3, 2023
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
5 changes: 5 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
packageExtensions:
"argon2@^0.31.1":
dependencies:
node-gyp: "^9.4.0"

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
Expand Down
28 changes: 10 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"fmt": "dprint fmt",
"fmt:check": "dprint check",
"start": "yarn rebuild-cache && node dist/src/index.js",
"test": "yarn lint && yarn fmt:check && yarn build && nyc ava --color --verbose",
"test": "yarn lint && yarn fmt:check && yarn build && ava --color --verbose",
"rebuild-cache": "node dist/bootstrap/rebuild_group_cache.js"
},
"repository": {
Expand All @@ -25,7 +25,7 @@
"@phc/format": "^1.0.0",
"argon2": "^0.31.1",
"bunyan": "^1.8.15",
"ioredis": "^4.28.5",
"ioredis": "^5.3.2",
"jose": "^4.14.6",
"koa": "^2.14.2",
"koa-bodyparser": "^4.4.1",
Expand All @@ -41,32 +41,24 @@
},
"devDependencies": {
"@types/bunyan": "^1.8.9",
"@types/ioredis": "^4.28.10",
"@types/koa": "^2.13.9",
"@types/koa-bodyparser": "^4.3.10",
"@types/koa-mount": "^4.0.3",
"@types/koa-router": "^7.4.5",
"@types/koa__cors": "^4.0.1",
"@types/lodash": "^4.14.198",
"@types/node": "^20.6.2",
"@types/nodemailer": "^6.4.10",
"@types/node": "^20.7.1",
"@types/nodemailer": "^6.4.11",
"@types/oidc-provider": "^8.4.0",
"@types/pg": "^8.10.2",
"@types/supertest": "^2.0.12",
"@types/pg": "^8.10.3",
"@types/supertest": "^2.0.13",
"@types/uuid": "^9.0.4",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"ava": "^5.3.1",
"dprint": "^0.41.0",
"eslint": "^8.49.0",
"nyc": "^15.1.0",
"eslint": "^8.50.0",
"supertest": "^6.3.3",
"typescript": "^5.2.2"
},
"packageManager": "[email protected]",
"dependenciesMeta": {
"[email protected]": {
"unplugged": true
}
}
"packageManager": "[email protected]"
}
3 changes: 1 addition & 2 deletions src/oidc/redis.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// npm i ioredis@^4.0.0
import Redis from 'ioredis';
// @ts-expect-error: https://github.com/microsoft/TypeScript/issues/49721
import type { Adapter, AdapterPayload } from 'oidc-provider';
Expand Down Expand Up @@ -31,7 +30,7 @@ function uidKeyFor(uid: string) {
}

class RedisAdapter implements Adapter {
client: Redis.Redis;
client: Redis;

constructor(public name: string, redisURL: string) {
this.client = new Redis(redisURL, { keyPrefix: 'oidc:' });
Expand Down
Loading