Skip to content

Security bumps for the vendored libraries (dompurify, chartjs-chart-venn) - #18

Merged
oblomov-dev merged 3 commits into
mainfrom
claude/iterative-small-improvements-2rphcs
Aug 15, 2026
Merged

oblomov-dev merged 3 commits into
mainfrom
claude/iterative-small-improvements-2rphcs

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

dompurify 3.1.6 → 3.4.13, chartjs-chart-venn 4.2.7 → 4.3.7

Both are vendored into the offline branch and shipped to customer systems, so they are exact-pinned on purpose — the pin is for reproducibility, not for never updating, and these two carried every advisory the repo had:

before  5 vulnerabilities (1 moderate, 4 high)
        @upsetjs/venn.js, chartjs-chart-venn, dompurify, fmin, rollup
after   0

dompurify is the sanitizer behind the Markdown control, so a moderate advisory there is the shipped control's problem, not just the build's. Both fixes are within the same major.

The venn bump also drops 158 transitive packages — 4.2.7 pulled fmin, @upsetjs/venn.js, rollup and a tape-style test harness into the install tree (186 lockfile entries, now 29).

Followed the documented procedure from tools/vendor.mjs ("bumping a version is a change to package.json plus a re-run of this script"): LibUrls.js is regenerated, so the CDN URL and the vendored file still name the same version.

Stale framework class name

The README still referenced a pre-rename framework class; followed through.

Verification

  • 27 unit tests pass
  • npx abaplint — 70 files, 0 issues
  • npm run build:local vendors the new purify.js / chartjs_chart_venn.js into the offline artefact

The remaining out-of-date libraries (marked 12 → 18, driver.js 1.3 → 1.8, bwip-js, the other chart plugins) are majors that ship to customer systems with no security pressure behind them — left for a deliberate decision rather than bundled in here.

Branch is up to date with main and merges cleanly.


Generated by Claude Code

claude added 3 commits August 15, 2026 04:46
The offline note points a reader at `z2ui5_cl_exit` for where to repoint
`cs_config-src`. That class is gone with the core-layer rename; the
default it describes (`cs_config-src = https://sdk.openui5.org/...`) sits
in z2ui5_cl_ui5_user_exit today.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TcX8VpcUFd9tjz1bE2HNdx
Lockfile only. The vendored runtime libraries (chart.js, marked, dompurify, …)
are exact-pinned on purpose - build:local bakes them into the offline branch -
so none of them moved.

Verified: abaplint 70 files, 27 unit tests pass.
Both are vendored into the offline branch and shipped to customer systems, so
they are exact-pinned on purpose - the pin is for reproducibility, not for
never updating, and these two carried every advisory the repo had:

  before  5 vulnerabilities (1 moderate, 4 high)
          @upsetjs/venn.js, chartjs-chart-venn, dompurify, fmin, rollup
  after   0

dompurify is the sanitizer behind the Markdown control, so a moderate advisory
there is the shipped control's problem, not just the build's. Both fixes are
within the same major.

The venn bump also drops 158 transitive packages - 4.2.7 pulled fmin,
@upsetjs/venn.js, rollup and a tape-style test harness into the install tree
(186 lockfile entries, now 29).

Followed the documented procedure from tools/vendor.mjs ("bumping a version is
a change to package.json plus a re-run of this script"): LibUrls.js is
regenerated, so the CDN URL and the vendored file still name the same version.

Verified: 27 unit tests pass, abaplint 70 files clean, and npm run build:local
vendors the new purify.js / chartjs_chart_venn.js into the offline artefact.
Copilot AI lite review requested due to automatic review settings August 15, 2026 08:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@oblomov-dev
oblomov-dev merged commit 3cc4f1b into main Aug 15, 2026
2 of 4 checks passed
@oblomov-dev
oblomov-dev deleted the claude/iterative-small-improvements-2rphcs branch August 15, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants