Skip to content
Snippets Groups Projects

ecs-winston-format 1.5.0 is pulled in even though caret range set

Closed Martin Jürgens requested to merge mjuergenscg/ocm-engine:fix-build-2 into v1

builds of proof, principal, connection manager fail because package.json

"@elastic/ecs-winston-format": "^1.3.1",

caret range does not seem to have an effect strangely:

#13 13.24 dependencies:
#13 13.24 + @elastic/ecs-winston-format 1.5.0
3.927 src/utils/logger.ts:24:11 - error TS2349: This expression is not callable.
3.927   Type 'typeof import("/app/node_modules/.pnpm/@elastic+ecs-winston-format@1.5.0/node_modules/@elastic/ecs-winston-format/index")' has no call signatures.
3.927 
3.927 24   format: ecsFormat({ convertReqRes: true }),
3.927              ~~~~~~~~~
3.927 
3.927 Found 1 error(s).
3.927 

as a workaround, fix version. maybe commit a lockfile for ci builds?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading