You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently upgraded our Node service to v21.6.0 and we start to see some deprecation warning:
[DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
With --trace-deprecation argument, we can see those warnings come from the lib:
(node:45354) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
at node:internal/util:431:17
at new Promise (<anonymous>)
at RedisStore.get (node:internal/util:416:12)
at CustomStore.get (/REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/express-openid-connect@2.17.1_express@4.18.2/node_modules/express-openid-connect/lib/appSession.js:203:19)
at /REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/express-openid-connect@2.17.1_express@4.18.2/node_modules/express-openid-connect/lib/appSession.js:325:46
at /REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/dd-trace@4.23.0/node_modules/dd-trace/packages/datadog-instrumentations/src/router.js:22:57
at /REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/dd-trace@4.23.0/node_modules/dd-trace/packages/datadog-shimmer/src/shimmer.js:26:21
at Layer.handle [as handle_request] (/REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/index.js:328:13)
at /REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/index.js:346:12)
at Function.process_params (/REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/dd-trace@4.23.0/node_modules/dd-trace/packages/datadog-instrumentations/src/express.js:70:23)
at next (/REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/index.js:280:10)
at Function.handle (/REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/index.js:175:3)
at router (/REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/index.js:47:12)
at /REDACTED/REDACTED/REDACTED/REDACTED/apps/api-server/dist/main.js:587:14
Checklist
Description
Hello 👋
We recently upgraded our Node service to v21.6.0 and we start to see some deprecation warning:
With
--trace-deprecation
argument, we can see those warnings come from the lib:This comes from this code
express-openid-connect/lib/appSession.js
Line 190 in 8ade668
Reproduction
Tested in the express-opend-id-connect sample app:
Additional context
No response
express-openid-connect version
2.17.1
Express version
4.18.2
Node.js version
21.6.0
The text was updated successfully, but these errors were encountered: