2112 Commits
Author SHA1 Message Date
Cure53andGitHub e77339c89b Merge pull request #1062 from cure53/main
Getting 3.x branch ready for 3.2.4 release
3.2.4
2025-01-30 08:23:45 +01:00
Mario Heiderich e93c386151 chore: Preparing 3.2.4 release 2025-01-30 08:17:43 +01:00
Mario Heiderich 8f7c36a3f9 fix: Changed the template literal regex to avoid a config-dependent bypass 2025-01-29 12:02:35 +01:00
Cure53andGitHub aa23c4ee58 Merge pull request #1060 from yehuya/initializeTestImprovements
tests: DOMPurify custom window test improvement
2025-01-22 14:12:26 +01:00
yehuyaandyehuya ed4f47010b tests: DOMPurify custom window tests improvements 2025-01-22 14:01:41 +02:00
Cure53andGitHub 58e6ddc507 Merge pull request #1059 from yehuya/fixMissingWindowElement
fix: handle undefined Element in DOMPurify initialization
2025-01-22 12:28:21 +01:00
yehuyaandyehuya ffb4bcd242 Fix tests 2025-01-22 13:16:33 +02:00
yehuyaandyehuya 06076a8644 fix: handle undefined Element in DOMPurify initialization 2025-01-21 19:46:46 +02:00
Cure53andGitHub 8413123955 Update LICENSE 2025-01-01 13:44:38 +01:00
Cure53andGitHub 134d882f1e Update README.md 2024-12-30 15:09:58 +01:00
Cure53andGitHub 8dd9447095 Merge pull request #1054 from davecardwell/main
feat: allow specifying a hook with `removeHook()`
2024-12-28 17:51:53 +01:00
Dave Cardwell 16f271ebc2 feat: allow specifying a hook with removeHook() 2024-12-27 21:39:46 +00:00
Cure53andGitHub 36335c4d27 Merge pull request #1053 from Aetherinox/main
chore(package.json): add `purify.js` and `purify.min.js` to exports as targetable modules
2024-12-25 11:21:53 +01:00
Aetherinox 8f3c837791 chore(package.json): add purify.js and purify.min.js to exports
can now directly import both minified and uncompressed library scripts
2024-12-25 01:20:21 -07:00
Cure53andGitHub e5db90f66a Merge pull request #1049 from cure53/dependabot/github_actions/GabrielBB/xvfb-action-1.7
build(deps): bump GabrielBB/xvfb-action from 1.6 to 1.7
2024-12-16 14:58:50 +01:00
dependabot[bot]andGitHub d077850e15 build(deps): bump GabrielBB/xvfb-action from 1.6 to 1.7
Bumps [GabrielBB/xvfb-action](https://github.com/gabrielbb/xvfb-action) from 1.6 to 1.7.
- [Release notes](https://github.com/gabrielbb/xvfb-action/releases)
- [Commits](https://github.com/gabrielbb/xvfb-action/compare/v1.6...v1.7)

---
updated-dependencies:
- dependency-name: GabrielBB/xvfb-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2024-12-09 22:34:07 +00:00
Cure53andGitHub 6344da7995 Merge pull request #1047 from cure53/main
chore: Preparing 3.2.3 release
2024-12-09 10:16:42 +01:00
Cure53andGitHub f756c51edb Merge pull request #1045 from cure53/main
Getting 3.x branch ready for 3.2.3 release
2024-12-09 10:07:11 +01:00
Mario Heiderich f0bb960a53 chore: Preparing 3.2.3 release 3.2.3 2024-12-09 09:32:09 +01:00
Mario Heiderich b1938cba9a fix: Added clobbering check for sanitizeAttribute to prevent an error 2024-12-07 14:41:36 +01:00
Mario Heiderich ac6e2fe825 fix: Fixed a config-dependent bypass caused by skipped attribute checks, thanks @parrot409 2024-12-06 12:45:21 +01:00
Mario Heiderich 477e4e55c6 fix: Fixed a config-dependent bypass relating to data-attributes, thanks @Slonser 2024-12-06 11:12:28 +01:00
Cure53andGitHub 03550873f0 Merge pull request #1041 from CoryHrycko/patch-1
Removed redundant comment
2024-12-04 15:01:18 +01:00
CoryHryckoandGitHub 0f05fb547d Update tags.ts
Removed redundant comment
2024-12-04 08:48:56 -05:00
Cure53andGitHub f234e70a08 Update README.md 2024-12-04 13:24:31 +01:00
Cure53andGitHub ed17aff188 Update README.md 2024-11-29 12:04:17 +01:00
Cure53andGitHub 41b75c36b1 Merge pull request #1038 from cure53/main
Getting 3.x branch ready for 3.2.2 release
3.2.2
2024-11-29 11:40:23 +01:00
Cure53andGitHub a3ca832c0c Merge pull request #1037 from svdb99/main
Fix #1033
2024-11-29 11:30:44 +01:00
stefaan.vandenbussch e22c52cbfa Fix #1033 2024-11-29 11:20:27 +01:00
svdb99andGitHub f3c28a24cb Merge branch 'cure53:main' into main 2024-11-29 10:53:59 +01:00
stefaan.vandenbussch 050b7124b5 Fix #1033 2024-11-29 10:52:51 +01:00
Mario Heiderich 9e62017793 chore: Preparing 3.2.2 release 2024-11-29 10:31:53 +01:00
Mario Heiderich b39c1d3166 fix: Fixed a possible config-specific bypass via "is" attributes, thanks @Yaniv-git 2024-11-29 10:23:54 +01:00
stefaan.vandenbussch 9b31ec9d3b Fix #1033 2024-11-26 19:45:28 +01:00
Cure53andGitHub bb21973f77 Merge pull request #1036 from reduckted/feature/trusted-types
Add triple-slash types reference to trusted-types.
2024-11-26 16:30:35 +01:00
reduckted 242946f78b Add triple-slash types reference to trusted-types. 2024-11-26 20:27:37 +10:00
Cure53andGitHub e9f9d2b203 Merge pull request #1031 from reduckted/feature/hook-parameter-types
Changed the type of the "node" in hooks to be as specific as possible
2024-11-22 13:35:24 +01:00
reduckted b63c550a3b Merge branch 'main' into feature/hook-parameter-types 2024-11-20 21:21:33 +10:00
reduckted 47674186ad Changed the type of the "node" in hooks to be as specific as possible. 2024-11-20 20:32:07 +10:00
Cure53andGitHub 5221741866 Merge pull request #1030 from cure53/main
Getting 3.x branch ready for 3.2.1 release
3.2.1
2024-11-20 08:34:47 +01:00
Mario Heiderich f553d8f7e9 chore: Preparing 3.2.1 release 2024-11-20 08:31:04 +01:00
Cure53andGitHub 181484e5e9 Merge pull request #1028 from MiniDigger/optional-dompurify-argument-type
fix: mark createDOMPurify param as optional
2024-11-19 08:14:18 +01:00
MiniDigger | Martin b082a203ab fix: mark createDOMPurify param as optional 2024-11-17 22:34:10 +01:00
Cure53andGitHub a6b0daa064 Merge pull request #1025 from asamuzaK/opt
Move @types/trusted-types to optionalDependencies
2024-11-14 12:55:24 +01:00
asamuzaK (Kazz) 01bfc8fe92 Move @types/trusted-types to optionalDependencies
Follow-up #1018
2024-11-14 20:49:37 +09:00
Cure53andGitHub aa6837529d Merge pull request #1021 from asamuzaK/type
Export DOMPurify interface
2024-11-14 11:48:35 +01:00
Cure53andGitHub a9839b46e8 Merge pull request #1022 from ghiscoding/main
fix: ignore export assign cannot be used in module TS error, fixes #1018
2024-11-14 11:47:55 +01:00
Cure53andGitHub 9cc906f7d5 Merge pull request #1024 from reduckted/fix/minify
Ensured that purify.min.js is actually minified.
2024-11-14 11:45:35 +01:00
Cure53andGitHub d3b6aee3aa Merge pull request #1023 from reduckted/fix/export-order
Moved the "import" exports to be first
2024-11-14 11:44:49 +01:00
reduckted 3172184b25 Ensured that purify.min.js is actually minified. 2024-11-14 20:34:17 +10:00