fix(deps): update dependency isomorphic-dompurify to v2.36.0 #30545
Annotations
5 errors and 10 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):
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
|