• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SAP / ui5-project / 37767772514
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: v4
DEFAULT BRANCH: main
Ran 08 Oct 2026 11:07AM UTC
Jobs 1
Files 49
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Oct 2026 11:05AM UTC coverage: 92.641% (-3.1%) from 95.719%
37767772514

push

github

web-flow
[FIX] Build crashing when the consumer has more than 1 resolved versions of `ajv` package (#887)

JIRA: CPOUI5FOUNDATION-1374

`@ui5/project` registers the `ajv-errors` plugin on its `Ajv` instance,
but `ajv-errors` imports its **own** copy of `ajv` at load time instead
of using the instance it's given. When a consumer's tree has two `ajv`
copies, the two bind to different module instances, AJV's
`instanceof`-based codegen breaks, and `ui5 build` crashes
(`SyntaxError: Unexpected token ':'` — see
[ajv-validator/ajv-errors#157](https://github.com/ajv-validator/ajv-errors/issues/157)).
We can't fix this from the consumer side since `@ui5/project` is itself
a dependency.

Vendoring `ajv-errors` **inside** `@ui5/project` makes its
`require("ajv")` resolve to the **same `ajv`** that `validator.js` uses
— one module instance, so the mismatch can't happen regardless of the
consumer's dependency tree. Follows the existing `serve-index` fork
precedent; temporary until upstream lets consumers inject `ajv`.

1466 of 1613 branches covered (90.89%)

Branch coverage included in aggregate %.

43 of 152 new or added lines in 2 files covered. (28.29%)

2877 of 3075 relevant lines covered (93.56%)

136.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
109
24.63
lib/validation/ajvErrors/ajvErrors.cjs
Jobs
ID Job ID Ran Files Coverage
1 37767772514.1 08 Oct 2026 11:07AM UTC 49
92.64
GitHub Action Run
Source Files on build 37767772514
  • Tree
  • List 49
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37767772514
  • f8c79098 on github
  • Prev Build on v4 (#37426801306)
  • Next Build on v4 (#37784383586)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc