#!/usr/bin/env bash
# Run from either clean checkout; identical dependency trigger on each side.
# Environment used: Linux x86_64, Node 26.13.1, pnpm 12.14.0.
set -eu
python3 - <<'PY'
from pathlib import Path
p = Path('apps/web/package.json')
s = p.read_text()
assert '"fast-xml-parser": "5.7.3"' in s
p.write_text(s.replace('"fast-xml-parser": "5.7.3"', '"fast-xml-parser": "5.12.1"'))
PY
vp i
vp run --filter @t3tools/web build
python3 - <<'PY'
import json
entries = json.load(open('apps/web/dist/third-party-licenses.json'))['entries']
for e in entries:
    if e['name'] == '@nodable/entities' and e['version'] == '3.1.0':
        print(json.dumps(e, indent=2))
PY
