Skip to content

[Snyk] Fix for 1 vulnerabilities #20

[Snyk] Fix for 1 vulnerabilities

[Snyk] Fix for 1 vulnerabilities #20

Triggered via pull request August 30, 2023 17:36
Status Failure
Total duration 38s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 3 warnings
build (14.x): src/api/attendance/attendance.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (14.x): src/api/attendance/attendance.model.ts#L7
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (14.x): src/api/user/user.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (14.x): src/api/user/user.model.ts#L11
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (14.x)
Process completed with exit code 2.
build (16.x): src/api/attendance/attendance.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (16.x): src/api/attendance/attendance.model.ts#L7
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (16.x): src/api/user/user.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (16.x): src/api/user/user.model.ts#L11
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (16.x)
Process completed with exit code 2.
build (12.x): src/api/attendance/attendance.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (12.x): src/api/attendance/attendance.model.ts#L7
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (12.x): src/api/user/user.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (12.x): src/api/user/user.model.ts#L11
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId>'.
build (12.x)
The operation was canceled.
build (14.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (12.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/