Skip to content

Commit 1fae4b8

Browse files
committed
chore: reduce high severity yarn audit findings
1 parent 6468df7 commit 1fae4b8

3 files changed

Lines changed: 569 additions & 583 deletions

File tree

package.json

Lines changed: 43 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
"dependencies": {
3636
"@aws-sdk/client-s3": "^3.968.0",
3737
"@aws-sdk/s3-request-presigner": "^3.968.0",
38-
"@google-cloud/storage": "^7.1.0",
38+
"@google-cloud/storage": "^7.19.0",
3939
"@grpc/grpc-js": "^1.9.3",
40-
"@grpc/proto-loader": "^0.7.9",
40+
"@grpc/proto-loader": "^0.8.1",
4141
"@opentelemetry/api": "^1.6.0",
4242
"@opentelemetry/core": "^1.17.0",
4343
"@opentelemetry/exporter-trace-otlp-http": "^0.43.0",
@@ -55,26 +55,26 @@
5555
"@ory/client": "^1.2.6",
5656
"@sendgrid/mail": "^8.1.5",
5757
"@t3-oss/env-core": "^0.6.1",
58-
"ajv": "^8.12.0",
58+
"ajv": "^8.18.0",
5959
"api": "^6.1.1",
6060
"apollo-server-core": "^3.12.1",
6161
"apollo-server-errors": "^3.3.1",
6262
"apollo-server-express": "^3.12.1",
63-
"axios": "^1.5.0",
63+
"axios": "^1.16.0",
6464
"basic-auth": "^2.0.1",
6565
"bip32": "^4.0.0",
6666
"bitcoin-cli-ts": "^24.0.3",
6767
"bitcoinjs-lib": "^6.1.4",
68-
"body-parser": "^1.20.1",
68+
"body-parser": "^1.20.3",
6969
"bolt11": "^1.4.1",
70-
"cookie": "^0.5.0",
70+
"cookie": "^0.7.0",
7171
"cookie-parser": "^1.4.6",
7272
"cors": "^2.8.5",
7373
"csv-writer": "^1.6.0",
7474
"dataloader": "^2.2.2",
7575
"dedent": "^1.5.1",
7676
"dotenv": "^16.3.1",
77-
"express": "^4.18.2",
77+
"express": "^4.21.2",
7878
"express-jwt": "^8.4.1",
7979
"firebase-admin": "^11.9.0",
8080
"form-data": "^4.0.2",
@@ -95,8 +95,8 @@
9595
"ioredis": "^5.3.2",
9696
"ioredis-cache": "^2.0.0",
9797
"ipaddr.js": "^2.1.0",
98-
"js-yaml": "^4.1.0",
99-
"jsonwebtoken": "^9.0.2",
98+
"js-yaml": "^4.1.1",
99+
"jsonwebtoken": "^9.0.3",
100100
"jwks-rsa": "^3.0.1",
101101
"knex": "^2.5.1",
102102
"libphonenumber-js": "^1.10.44",
@@ -109,8 +109,8 @@
109109
"lodash.mergewith": "^4.6.2",
110110
"lodash.sortby": "^4.7.0",
111111
"lodash.sumby": "^4.6.0",
112-
"medici": "^6.2.0",
113-
"mongoose": "^7.8.4",
112+
"medici": "^7.2.0",
113+
"mongoose": "^7.8.9",
114114
"node-cache": "^5.1.2",
115115
"nostr-tools": "^2.17.0",
116116
"pg": "^8.11.3",
@@ -124,7 +124,7 @@
124124
"svix": "^1.12.0",
125125
"twilio": "^4.17.0",
126126
"uuid-by-string": "^4.0.0",
127-
"ws": "^8.14.1",
127+
"ws": "^8.17.1",
128128
"yargs": "^17.7.2",
129129
"zod": "^3.22.2"
130130
},
@@ -203,10 +203,39 @@
203203
"zen-observable-ts": "^1.1.0"
204204
},
205205
"resolutions": {
206-
"protobufjs": "7.2.5",
206+
"protobufjs": "7.5.5",
207207
"http-cache-semantics": "4.1.1",
208208
"import-in-the-middle": "1.4.2",
209-
"**/**/mongoose": "~7.5.1"
209+
"**/protobufjs": "7.5.5",
210+
"**/fast-xml-parser": "5.7.3",
211+
"**/jws": "4.0.1",
212+
"**/node-forge": "1.4.0",
213+
"**/path-to-regexp": "0.1.13",
214+
"**/qs": "6.15.1",
215+
"**/tar": "7.5.11",
216+
"**/picomatch": "2.3.2",
217+
"**/follow-redirects": "1.16.0",
218+
"**/js-yaml": "4.1.1",
219+
"**/mongoose": "7.8.9",
220+
"**/axios": "1.16.0",
221+
"**/body-parser": "1.20.3",
222+
"**/ws": "8.20.0",
223+
"**/handlebars": "4.7.9",
224+
"**/immutable": "5.1.5",
225+
"**/fast-uri": "3.1.2",
226+
"**/glob": "10.5.0",
227+
"**/flatted": "3.4.2",
228+
"**/jsonpath": "1.3.0",
229+
"**/sjcl": "1.0.9",
230+
"**/undici": "6.24.0",
231+
"**/lodash": "4.18.1",
232+
"**/lodash-es": "4.18.1",
233+
"**/@babel/plugin-transform-modules-systemjs": "7.29.4",
234+
"**/underscore": "1.13.8",
235+
"**/@typescript-eslint/typescript-estree/minimatch": "9.0.9",
236+
"**/editorconfig/minimatch": "9.0.9",
237+
"**/grunt/minimatch": "3.1.4",
238+
"**/globule/minimatch": "3.1.4"
210239
},
211240
"private": true
212241
}

src/services/kratos/tests-but-not-prod.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IdentityState } from "@ory/client"
1+
import { IdentityStateEnum } from "@ory/client"
22

33
import { baseLogger } from "@services/logger"
44

@@ -19,7 +19,7 @@ export const activateUser = async (kratosUserId: UserId): Promise<void | KratosE
1919
id: kratosUserId,
2020
updateIdentityBody: {
2121
...identity,
22-
state: IdentityState.Active,
22+
state: IdentityStateEnum.Active,
2323
},
2424
})
2525
} catch (err) {
@@ -44,7 +44,7 @@ export const deactivateUser = async (
4444
id: kratosUserId,
4545
updateIdentityBody: {
4646
...identity,
47-
state: IdentityState.Inactive,
47+
state: IdentityStateEnum.Inactive,
4848
},
4949
})
5050

0 commit comments

Comments
 (0)