Open dependabot[bot] opened 10 months ago
this change causes the following failure in the api
Docker image:
> smeqa-art@5.0.1 dev
> nodemon --watch 'src/**/*.ts' --exec node --inspect=0.0.0.0:9229 -r ts-node/register src/server.ts
[nodemon] 2.0.13
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src/**/*.ts
[nodemon] watching extensions: js,ts,json
[nodemon] starting `node --inspect=0.0.0.0:9229 -r ts-node/register src/server.ts`
[nodemon] app crashed - waiting for file changes before starting...
Debugger listening on ws://0.0.0.0:9229/14c9d379-8fad-454f-ad6d-2409485bb6bd
For help, see: https://nodejs.org/en/docs/inspector
/opt/node_app/app/node_modules/ts-node/src/index.ts:692
return new TSError(diagnosticText, diagnosticCodes);
^
TSError: ⨯ Unable to compile TypeScript:
src/database/index.ts(87,5): error TS2322: Type 'T | null' is not assignable to type 'T'.
'T' could be instantiated with an arbitrary type which could be unrelated to 'T | null'.
at createTSError (/opt/node_app/app/node_modules/ts-node/src/index.ts:692:12)
at reportTSError (/opt/node_app/app/node_modules/ts-node/src/index.ts:696:19)
at getOutput (/opt/node_app/app/node_modules/ts-node/src/index.ts:883:36)
at Object.compile (/opt/node_app/app/node_modules/ts-node/src/index.ts:1185:30)
at Module.m._compile (/opt/node_app/app/node_modules/ts-node/src/index.ts:1309:30)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Object.require.extensions.<computed> [as .ts] (/opt/node_app/app/node_modules/ts-node/src/index.ts:1313:12)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19) {
diagnosticText: "src/database/index.ts(87,5): error TS2322: Type 'T | null' is not assignable to type 'T'.\n" +
" 'T' could be instantiated with an arbitrary type which could be unrelated to 'T | null'.\n",
diagnosticCodes: [ 2322 ]
}
Bumps sequelize from 6.6.5 to 6.29.0.
Release notes
Sourced from sequelize's releases.
... (truncated)
Commits
d3f5b5a
feat: throw an error if attribute includes parentheses (fixes CVE-2023-22578)...53bd9b7
meta: fix null test getWhereConditions (#15705)13f2e89
fix: accept undefined in where (#15703)d9e0728
fix: throw if where receives an invalid value (#15699)48d6193
fix: update moment-timezone version (#15685)fd4afa6
feat(types): use retry-as-promised types for retry options to match documenta...1247c01
feat: add support for bigints (backport of #14485) (#15413)94beace
feat(postgres): add support for lock_timeout #15345 (#15355)7885000
fix(oracle): remove hardcoded maxRows value (#15323)bc39fd6
fix: fix parameters not being replaced when after $$ strings (#15307)Maintainer changes
This version was pushed to npm by sdepold, a new releaser for sequelize since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show