Skip to content

Commit ab3d1d5

Browse files
fix(deps): update dependency dompurify to v3.2.6 (#3191)
* fix(deps): update dependency dompurify to v3.2.6 * Remove stub type definitions --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Richard Dominick <34370238+RichDom2185@users.noreply.github.com>
1 parent ff8b620 commit ab3d1d5

File tree

3 files changed

+8
-19
lines changed

3 files changed

+8
-19
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@
126126
"@testing-library/jest-dom": "^6.0.0",
127127
"@testing-library/react": "^15.0.6",
128128
"@testing-library/user-event": "^14.4.3",
129-
"@types/dompurify": "^3.0.5",
130129
"@types/estree": "^1.0.5",
131130
"@types/gapi": "^0.0.47",
132131
"@types/gapi.auth2": "^0.0.61",

src/commons/__tests__/__snapshots__/Markdown.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ exports[`Markdown page renders correctly 1`] = `
66
dangerouslySetInnerHTML={
77
{
88
"__html": "<p>Welcome to the Source Academy playground!</p>
9-
<p>The book <a target="_blank" rel="noopener noreferrer" href="https://sourceacademy.org/sicpjs/"><em>Structure and Interpretation of Computer Programs, JavaScript Edition</em></a>
10-
uses JavaScript sublanguages that we call <a target="_blank" rel="noopener noreferrer" href="https://docs.sourceacademy.org/"><em>Source</em></a>. You have chosen the sublanguage <a target="_blank" rel="noopener noreferrer" href="https://docs.sourceacademy.org/source_1/"><em>Source §1</em></a>.</p>
11-
<p>In the editor on the left, you can use the <a target="_blank" rel="noopener noreferrer" href="https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts"><em>Ace keyboard shortcuts</em></a>
12-
and also the <a target="_blank" rel="noopener noreferrer" href="https://github.com/source-academy/frontend/wiki/Source-Academy-Keyboard-Shortcuts"><em>Source Academy keyboard shortcuts</em></a>.</p>",
9+
<p>The book <a href="https://sourceacademy.org/sicpjs/" rel="noopener noreferrer" target="_blank"><em>Structure and Interpretation of Computer Programs, JavaScript Edition</em></a>
10+
uses JavaScript sublanguages that we call <a href="https://docs.sourceacademy.org/" rel="noopener noreferrer" target="_blank"><em>Source</em></a>. You have chosen the sublanguage <a href="https://docs.sourceacademy.org/source_1/" rel="noopener noreferrer" target="_blank"><em>Source §1</em></a>.</p>
11+
<p>In the editor on the left, you can use the <a href="https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts" rel="noopener noreferrer" target="_blank"><em>Ace keyboard shortcuts</em></a>
12+
and also the <a href="https://github.com/source-academy/frontend/wiki/Source-Academy-Keyboard-Shortcuts" rel="noopener noreferrer" target="_blank"><em>Source Academy keyboard shortcuts</em></a>.</p>",
1313
}
1414
}
1515
/>

yarn.lock

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4073,15 +4073,6 @@ __metadata:
40734073
languageName: node
40744074
linkType: hard
40754075

4076-
"@types/dompurify@npm:^3.0.5":
4077-
version: 3.0.5
4078-
resolution: "@types/dompurify@npm:3.0.5"
4079-
dependencies:
4080-
"@types/trusted-types": "npm:*"
4081-
checksum: 10c0/a34dcc4498ca250815ccf9aecbe82df96ba5db247d0440cf266a876757d47c52519c240db3475e794d7deb0d6b1af23328e02879be368ad0e26b20c0f0865dba
4082-
languageName: node
4083-
linkType: hard
4084-
40854076
"@types/eslint@npm:^8.56.10":
40864077
version: 8.56.12
40874078
resolution: "@types/eslint@npm:8.56.12"
@@ -4447,7 +4438,7 @@ __metadata:
44474438
languageName: node
44484439
linkType: hard
44494440

4450-
"@types/trusted-types@npm:*, @types/trusted-types@npm:^2.0.2, @types/trusted-types@npm:^2.0.7":
4441+
"@types/trusted-types@npm:^2.0.2, @types/trusted-types@npm:^2.0.7":
44514442
version: 2.0.7
44524443
resolution: "@types/trusted-types@npm:2.0.7"
44534444
checksum: 10c0/4c4855f10de7c6c135e0d32ce462419d8abbbc33713b31d294596c0cc34ae1fa6112a2f9da729c8f7a20707782b0d69da3b1f8df6645b0366d08825ca1522e0c
@@ -6818,14 +6809,14 @@ __metadata:
68186809
linkType: hard
68196810

68206811
"dompurify@npm:^3.2.4":
6821-
version: 3.2.4
6822-
resolution: "dompurify@npm:3.2.4"
6812+
version: 3.2.6
6813+
resolution: "dompurify@npm:3.2.6"
68236814
dependencies:
68246815
"@types/trusted-types": "npm:^2.0.7"
68256816
dependenciesMeta:
68266817
"@types/trusted-types":
68276818
optional: true
6828-
checksum: 10c0/6be56810fb7ad2776155c8fc2967af5056783c030094362c7d0cf1ad13f2129cf922d8eefab528a34bdebfb98e2f44b306a983ab93aefb9d6f24c18a3d027a05
6819+
checksum: 10c0/c8f8e5b0879a0d93c84a2e5e78649a47d0c057ed0f7850ca3d573d2cca64b84fb1ff85bd4b20980ade69c4e5b80ae73011340f1c2ff375c7ef98bb8268e1d13a
68296820
languageName: node
68306821
linkType: hard
68316822

@@ -7844,7 +7835,6 @@ __metadata:
78447835
"@testing-library/react": "npm:^15.0.6"
78457836
"@testing-library/user-event": "npm:^14.4.3"
78467837
"@tremor/react": "npm:^1.8.2"
7847-
"@types/dompurify": "npm:^3.0.5"
78487838
"@types/estree": "npm:^1.0.5"
78497839
"@types/gapi": "npm:^0.0.47"
78507840
"@types/gapi.auth2": "npm:^0.0.61"

0 commit comments

Comments
 (0)