Skip to content

Commit

Permalink
chore(deps): remove no longer necessary @types/dompurify
Browse files Browse the repository at this point in the history
- DOMPurify v3.2.0 and higher now includes types so we no longer need external types dep
  • Loading branch information
ghiscoding committed Nov 12, 2024
1 parent 715c91b commit a370551
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
"@slickgrid-universal/odata": "~5.10.1",
"@slickgrid-universal/rxjs-observable": "~5.10.1",
"@slickgrid-universal/text-export": "~5.10.1",
"@types/dompurify": "^3.0.5",
"@types/fnando__sparkline": "^0.3.7",
"@types/i18next-xhr-backend": "^1.4.2",
"@types/node": "^22.9.0",
Expand All @@ -123,7 +122,7 @@
"custom-event-polyfill": "^1.0.7",
"cypress": "^13.15.2",
"cypress-real-events": "^1.13.0",
"dompurify": "^3.1.7",
"dompurify": "^3.2.0",
"eslint": "^9.14.0",
"eslint-plugin-cypress": "^4.1.0",
"eslint-plugin-import": "^2.31.0",
Expand Down Expand Up @@ -158,4 +157,4 @@
"resolutions": {
"caniuse-lite": "1.0.30001679"
}
}
}
17 changes: 5 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1184,13 +1184,6 @@
dependencies:
"@babel/types" "^7.20.7"

"@types/dompurify@^3.0.5":
version "3.0.5"
resolved "https://registry.yarnpkg.com/@types/dompurify/-/dompurify-3.0.5.tgz#02069a2fcb89a163bacf1a788f73cb415dd75cb7"
integrity sha512-1Wg0g3BtQF7sSb27fJQAKck1HECM6zV1EB66j8JH9i3LCjYabJa0FSdiSgsD5K/RbrsR0SiraKacLB+T8ZVYAg==
dependencies:
"@types/trusted-types" "*"

"@types/[email protected]", "@types/estree@^1.0.0", "@types/estree@^1.0.6":
version "1.0.6"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50"
Expand Down Expand Up @@ -1290,7 +1283,7 @@
resolved "https://registry.yarnpkg.com/@types/text-encoding-utf-8/-/text-encoding-utf-8-1.0.5.tgz#eec7269e7fb70afd2a24ab3525cc2fc12ebfece0"
integrity sha512-TvFzTUXYoNECsORUpuuvKoU4/bsOBto2m8U38Cy8LOG9+BAgvMfwV9jV/vouocSYvgNzWrUfJeZ1rkGIrJgnvA==

"@types/trusted-types@*", "@types/trusted-types@^2.0.7":
"@types/trusted-types@^2.0.7":
version "2.0.7"
resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.7.tgz#baccb07a970b91707df3a3e8ba6896c57ead2d11"
integrity sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==
Expand Down Expand Up @@ -2590,10 +2583,10 @@ doctrine@^2.1.0:
dependencies:
esutils "^2.0.2"

dompurify@^3.1.7:
version "3.1.7"
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.1.7.tgz#711a8c96479fb6ced93453732c160c3c72418a6a"
integrity sha512-VaTstWtsneJY8xzy7DekmYWEOZcmzIe3Qb3zPd4STve1OBTa+e+WmS1ITQec1fZYXI3HCsOZZiSMpG6oxoWMWQ==
dompurify@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.2.0.tgz#53c414317c51503183696fcdef6dd3f916c607ed"
integrity sha512-AMdOzK44oFWqHEi0wpOqix/fUNY707OmoeFDnbi3Q5I8uOpy21ufUA5cDJPr0bosxrflOVD/H2DMSvuGKJGfmQ==

dot-case@^3.0.4:
version "3.0.4"
Expand Down

0 comments on commit a370551

Please sign in to comment.