Skip to content

fix(deps): update dependency isomorphic-dompurify to v2.36.0 #30632

fix(deps): update dependency isomorphic-dompurify to v2.36.0

fix(deps): update dependency isomorphic-dompurify to v2.36.0 #30632

Triggered via pull request April 1, 2026 21:53
Status Failure
Total duration 1m 1s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
build (20.x)
Process completed with exit code 1.
src/markdown.test.ts > markdownToHtml > should convert youtu.be url to the embed url: src/markdown.test.ts#L44
AssertionError: expected '<p><iframe class="youtube aspect-vide…' to deeply equal '<p><iframe allow="accelerometer; auto…' - Expected + Received - <p><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" frameborder="0" src="https://www.youtube.com/embed/6RAtoigjsoY" class="youtube aspect-video mx-auto w-full rounded"></iframe></p> + <p><iframe class="youtube aspect-video mx-auto w-full rounded" src="https://www.youtube.com/embed/6RAtoigjsoY" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"></iframe></p> ❯ src/markdown.test.ts:44:15
src/markdown.test.ts > markdownToHtml > should convert youtube url to the embed url: src/markdown.test.ts#L34
AssertionError: expected '<p><iframe class="youtube aspect-vide…' to deeply equal '<p><iframe allow="accelerometer; auto…' - Expected + Received - <p><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" frameborder="0" src="https://www.youtube.com/embed/6RAtoigjsoY" class="youtube aspect-video mx-auto w-full rounded"></iframe></p> + <p><iframe class="youtube aspect-video mx-auto w-full rounded" src="https://www.youtube.com/embed/6RAtoigjsoY" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"></iframe></p> ❯ src/markdown.test.ts:34:15
src/markdown.test.ts > markdownToHtml > should accept img, and src/width/height attributes: src/markdown.test.ts#L26
AssertionError: expected '<h1>Hello</h1>\n<img src="https://exa…' to deeply equal '<h1>Hello</h1>\n<img height="50" widt…' - Expected + Received <h1>Hello</h1> - <img height="50" width="50" src="https://example.com"> + <img src="https://example.com" width="50" height="50"> ❯ src/markdown.test.ts:26:15
src/markdown.test.ts > markdownToHtml > should accept iframe, and frameborder/onmousewheel/allow attributes: src/markdown.test.ts#L16
AssertionError: expected '<h1>Hello</h1>\n<iframe src="https://…' to deeply equal '<h1>Hello</h1>\n<iframe allow="autopl…' - Expected + Received <h1>Hello</h1> - <iframe allow="autoplay" onmousewheel="" frameborder="" src="https://example.com"></iframe> + <iframe src="https://example.com" frameborder="" onmousewheel="" allow="autoplay"></iframe> ❯ src/markdown.test.ts:16:15
build (20.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (20.x): src/events.ts#L128
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
build (20.x): src/events.ts#L127
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
build (20.x): src/events.ts#L118
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
build (20.x): src/events.ts#L117
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
build (20.x): src/events.ts#L108
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
build (20.x): src/events.ts#L94
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "ReadonlyShallow")
build (20.x): src/events.ts#L58
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "ReadonlyShallow")
build (20.x): src/encode.ts#L6
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
build (20.x): src/authenticate.ts#L51
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "ReadonlyShallow")
build (20.x): .preview/src/env.d.ts#L1
Do not use a triple slash reference for ../.astro/types.d.ts, use `import` style instead