Skip to content

Commit

Permalink
fix: fix dompurify deps
Browse files Browse the repository at this point in the history
  • Loading branch information
radyakaze committed Oct 3, 2024
1 parent d64efd5 commit 57bd487
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const dirtyHtml = `
</script>
```

This will sanitize the `unsafe_html` variable, ensuring it is safe to render in the DOM.
This will sanitize the `dirtyHtml` variable, ensuring it is safe to render in the DOM.

## Profiles

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,20 @@
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
},
"dependencies": {
"@nuxt/kit": "^3.13.2"
"@nuxt/kit": "^3.13.2",
"dompurify": "^3.1.7"
},
"devDependencies": {
"@nuxt/devtools": "^1.5.0",
"@nuxt/eslint-config": "^0.5.7",
"@nuxt/module-builder": "^0.8.4",
"@nuxt/schema": "^3.13.2",
"@nuxt/test-utils": "^3.14.2",
"@types/dompurify": "^3.0.5",
"@types/dompurify": "^3",
"@types/jsdom": "^21.1.7",
"@types/node": "latest",
"@vitest/ui": "2.1.2",
"changelogen": "^0.5.7",
"dompurify": "^3.1.7",
"eslint": "^9.11.0",
"jsdom": "^25.0.1",
"nuxt": "^3.13.0",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1848,7 +1848,7 @@ __metadata:
"@nuxt/module-builder": "npm:^0.8.4"
"@nuxt/schema": "npm:^3.13.2"
"@nuxt/test-utils": "npm:^3.14.2"
"@types/dompurify": "npm:^3.0.5"
"@types/dompurify": "npm:^3"
"@types/jsdom": "npm:^21.1.7"
"@types/node": "npm:latest"
"@vitest/ui": "npm:2.1.2"
Expand Down Expand Up @@ -2140,7 +2140,7 @@ __metadata:
languageName: node
linkType: hard

"@types/dompurify@npm:^3.0.5":
"@types/dompurify@npm:^3":
version: 3.0.5
resolution: "@types/dompurify@npm:3.0.5"
dependencies:
Expand Down

0 comments on commit 57bd487

Please sign in to comment.