Skip to content

[Snyk] Security upgrade supertokens-node from 14.1.3 to 21.0.0 #536

[Snyk] Security upgrade supertokens-node from 14.1.3 to 21.0.0

[Snyk] Security upgrade supertokens-node from 14.1.3 to 21.0.0 #536

Triggered via pull request November 7, 2024 05:42
Status Failure
Total duration 30s
Artifacts

auth-api.yaml

on: pull_request
build-and-push-docker-image
0s
build-and-push-docker-image
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint
Property 'getUserById' does not exist on type 'typeof import("/home/runner/work/meet/meet/services/auth-api/node_modules/supertokens-node/lib/build/recipe/emailpassword/index")'.
lint
Namespace '"/home/runner/work/meet/meet/services/auth-api/node_modules/supertokens-node/lib/build/recipe/emailpassword/index"' has no exported member 'User'.
lint
Property 'getUserByEmail' does not exist on type 'typeof import("/home/runner/work/meet/meet/services/auth-api/node_modules/supertokens-node/lib/build/recipe/emailpassword/index")'.
lint
Namespace '"/home/runner/work/meet/meet/services/auth-api/node_modules/supertokens-node/lib/build/recipe/emailpassword/index"' has no exported member 'User'.
lint
Property 'getUserById' does not exist on type 'typeof import("/home/runner/work/meet/meet/services/auth-api/node_modules/supertokens-node/lib/build/recipe/emailpassword/index")'.
lint
Property 'getUserByEmail' does not exist on type 'typeof import("/home/runner/work/meet/meet/services/auth-api/node_modules/supertokens-node/lib/build/recipe/emailpassword/index")'.
lint
Argument of type '{ userId: string; email: string; }' is not assignable to parameter of type '{ recipeUserId: RecipeUserId; email?: string; password?: string; userContext?: Record<string, any>; applyPasswordPolicy?: boolean; tenantIdForPasswordPolicy?: string; }'.
lint
Process completed with exit code 2.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/