Skip to content

[Snyk] Fix for 1 vulnerabilities #22

[Snyk] Fix for 1 vulnerabilities

[Snyk] Fix for 1 vulnerabilities #22

Triggered via pull request February 11, 2024 19:57
Status Failure
Total duration 23s
Artifacts

main.yml

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

Annotations

18 errors and 6 warnings
build (16.x): node_modules/@types/mongodb/index.d.ts#L57
'"bson"' has no exported member named 'ObjectID'. Did you mean 'ObjectId'?
build (16.x): src/api/attendance/attendance.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, Attendance>'.
build (16.x): src/api/attendance/attendance.model.ts#L7
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, Attendance>'.
build (16.x): src/api/user/user.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, User>'.
build (16.x): src/api/user/user.model.ts#L11
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, User>'.
build (16.x)
Process completed with exit code 2.
build (14.x): node_modules/@types/mongodb/index.d.ts#L57
'"bson"' has no exported member named 'ObjectID'. Did you mean 'ObjectId'?
build (14.x): src/api/attendance/attendance.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, Attendance>'.
build (14.x): src/api/attendance/attendance.model.ts#L7
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, Attendance>'.
build (14.x): src/api/user/user.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, User>'.
build (14.x): src/api/user/user.model.ts#L11
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, User>'.
build (14.x)
Process completed with exit code 2.
build (12.x): node_modules/@types/mongodb/index.d.ts#L57
'"bson"' has no exported member named 'ObjectID'. Did you mean 'ObjectId'?
build (12.x): src/api/attendance/attendance.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, Attendance>'.
build (12.x): src/api/attendance/attendance.model.ts#L7
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, Attendance>'.
build (12.x): src/api/user/user.model.ts#L6
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, User>'.
build (12.x): src/api/user/user.model.ts#L11
Type '{ type: typeof ObjectId; required: true; }' is not assignable to type 'ObjectId | SchemaDefinitionProperty<ObjectId, User>'.
build (12.x)
Process completed with exit code 2.
build (16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 (14.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 (12.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/