Skip to content

Bump mongoose from 6.0.7 to 6.11.3 #666

Bump mongoose from 6.0.7 to 6.11.3

Bump mongoose from 6.0.7 to 6.11.3 #666

Triggered via pull request August 7, 2023 17:12
Status Failure
Total duration 1m 28s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 13 warnings
build: src/mongo/User.ts#L1
Parameter 'user' implicitly has an 'any' type.
build: src/resolvers/deck/createDeck.ts#L1
Type '{ [x: string]: any; [x: number]: any; [x: symbol]: any; }[]' is not assignable to type 'BlockInput[]'.
build: src/utils/createSchema.ts#L1
Type '(user: UserDocument | undefined) => boolean | Promise<boolean>' is not assignable to type 'TMethods["canRead"] & ((user: UserDocument | undefined) => Promise<boolean>)'.
build: src/utils/createSchema.ts#L1
Argument of type '{ [F in keyof (TMethods & SchemaMethods)]: (TMethods & SchemaMethods)[F]; } & AnyObject' is not assignable to parameter of type 'T'.
build: src/utils/createSchema.ts#L1
Type '(user: UserDocument | undefined) => boolean | Promise<boolean>' is not assignable to type 'TMethods["canWrite"] & ((user: UserDocument | undefined) => Promise<boolean>)'.
build: src/utils/createSchema.ts#L1
Argument of type '{ [F in keyof (TMethods & SchemaMethods)]: (TMethods & SchemaMethods)[F]; } & AnyObject' is not assignable to parameter of type 'T'.
build
Process completed with exit code 2.
lint
Process completed with exit code 2.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: i18next-http-middleware.d.ts#L40
Unexpected any. Specify a different type
lint: i18next-http-middleware.d.ts#L73
Unexpected any. Specify a different type
lint: i18next-http-middleware.d.ts#L98
Unexpected any. Specify a different type
lint: i18next-http-middleware.d.ts#L115
Unexpected any. Specify a different type
lint: src/config.ts#L54
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint: src/loaders/normalizeResults.ts#L21
Unexpected any. Specify a different type
lint: src/modules/mail/transporter.ts#L30
Unexpected console statement
lint: src/resolvers/contentState/utils.ts#L76
Unexpected any. Specify a different type
lint: src/resolvers/contentState/utils.ts#L85
Unexpected any. Specify a different type
lint: src/resolvers/contentState/utils.ts#L96
Unexpected any. Specify a different type