Skip to content

Commit 4e91612

Browse files
committed
Merge remote-tracking branch 'origin/master' into bugfix/532-series-on-point-module
2 parents 7f79759 + cabc30a commit 4e91612

File tree

3 files changed

+23
-22
lines changed

3 files changed

+23
-22
lines changed

lib/sanitize.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ import DOMPurify from 'dompurify';
3131
export function sanitize(input) {
3232
const window = new JSDOM('').window;
3333
const purify = DOMPurify(window);
34-
return purify.sanitize(input, { ADD_TAGS: ['foreignObject'] });
34+
/// return purify.sanitize(input, { ADD_TAGS: ['foreignObject'] });
35+
return purify.sanitize(input);
3536
}
3637

3738
export default sanitize;

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,25 @@
4646
"eslint-plugin-prettier": "^5.1.3",
4747
"husky": "^9.0.11",
4848
"jest": "^29.7.0",
49-
"lint-staged": "^15.2.4",
50-
"nodemon": "^3.1.0",
51-
"prettier": "^3.2.5",
49+
"lint-staged": "^15.2.7",
50+
"nodemon": "^3.1.4",
51+
"prettier": "^3.3.2",
5252
"rollup": "^4.18.0"
5353
},
5454
"dependencies": {
5555
"colors": "1.4.0",
5656
"cors": "^2.8.5",
57-
"dompurify": "^3.1.4",
57+
"dompurify": "^3.1.5",
5858
"dotenv": "^16.4.5",
5959
"express": "^4.19.2",
60-
"express-rate-limit": "^7.2.0",
61-
"https-proxy-agent": "^7.0.4",
62-
"jsdom": "^24.0.0",
60+
"express-rate-limit": "^7.3.1",
61+
"https-proxy-agent": "^7.0.5",
62+
"jsdom": "^24.1.0",
6363
"multer": "^1.4.5-lts.1",
6464
"prompts": "^2.4.2",
65-
"puppeteer": "^22.9.0",
65+
"puppeteer": "^22.12.1",
6666
"tarn": "^3.0.2",
67-
"uuid": "^9.0.1",
67+
"uuid": "^10.0.0",
6868
"zod": "^3.23.8"
6969
},
7070
"lint-staged": {

0 commit comments

Comments
 (0)