Skip to content

fix: align fast-xml-parser Deno import with package.json (HOTFIX)#102

Merged
rolvraen merged 1 commit into
mainfrom
fix-fast-xml-parser-deno-import
May 22, 2026
Merged

fix: align fast-xml-parser Deno import with package.json (HOTFIX)#102
rolvraen merged 1 commit into
mainfrom
fix-fast-xml-parser-deno-import

Conversation

@rolvraen
Copy link
Copy Markdown
Contributor

⚠️ Production-breaking — please fast-track

PR #100 bumped `fast-xml-parser` to 5.8.0 in `ci-cd/package.json` (security fix), but Renovate cannot see the explicit `@5.0.9` pin inside `ci-cd/common/deps.ts` — Deno-style `npm:` imports in `.ts` files aren't covered by Renovate's npm manager.

Result on every consumer of `@v4`:

```
error: Could not find a matching package for 'npm:fast-xml-parser@5.0.9' in the node_modules directory.
at file:///.../ci-cd/common/deps.ts:16:39
##[error]Process completed with exit code 1.
```

Example failing run: dsb-norge/milo#237 (run 26276890209).

Fix

  • Update Deno import in `ci-cd/common/deps.ts`: `@5.0.9` → `@5.8.0`
  • Regenerate `ci-cd/deno.lock` (now consistent with package.json)

Verification

  • `deno task test` from `ci-cd/`: ✅ 55 passed | 0 failed (no API changes between 5.0.9 → 5.8.0 in the surface we use)

After merge

Cut `v4.11` and force-move `v4` to unblock all consumer repos.

Follow-up (separate)

Org-wide `dsb-norge/.github:renovate-config` should add a `customManagers` regex rule for `npm:@` in `.ts` files so this class of mismatch can't repeat.

🤖 Generated with Claude Code

#100 bumped fast-xml-parser to 5.8.0 in package.json (security fix) but
Renovate cannot see the explicit @5.0.9 pin inside common/deps.ts —
Deno-style npm: imports in .ts files aren't covered by Renovate's npm
manager. Result: deno install resolves 5.8.0 per package.json, then
the Deno script crashes because it imports a non-existent @5.0.9.

This is breaking production CI for every consumer of @v4.

Updates the Deno import to 5.8.0 and regenerates deno.lock (55 unit
tests still pass).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rolvraen rolvraen requested a review from baltom May 22, 2026 08:43
@rolvraen rolvraen merged commit ccb6706 into main May 22, 2026
3 checks passed
@rolvraen rolvraen deleted the fix-fast-xml-parser-deno-import branch May 22, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant