Skip to content

Build your personal knowledge base with Trilium Notes

test(client): run DOMPurify specs under jsdom for browser fidelity

Elian Dorand68149d259ee
diff --git a/apps/client/package.json b/apps/client/package.json
index 3e3919833c..aa5f8a3a1b 100644
--- a/apps/client/package.json
+++ b/apps/client/package.json
@@ -89,6 +89,7 @@
"@types/mark.js": "8.11.12",
"@types/tabulator-tables": "6.3.4",
"happy-dom": "20.10.3",
+ "jsdom": "29.1.1",
"lightningcss": "1.32.0",
"stylelint": "17.13.0",
"vite-plugin-static-copy": "4.1.1"
diff --git a/apps/client/src/services/content_renderer_text.spec.ts b/apps/client/src/services/content_renderer_text.spec.ts
index eb27a4deba..67b9378a7c 100644
--- a/apps/client/src/services/content_renderer_text.spec.ts
+++ b/apps/client/src/services/content_renderer_text.spec.ts
@@ -1,3 +1,7 @@
+// @vitest-environment jsdom
+// DOMPurify relies on browser-faithful DOM traversal (NodeIterator); happy-dom
+// mishandles it and strips valid markup (surfaced by dompurify 3.4.8). Run the
+// sanitization-dependent specs under jsdom, which matches real-browser behavior.
import { trimIndentation } from "@triliumnext/commons";
import { beforeEach, describe, expect, it, vi } from "vitest";
diff --git a/apps/client/src/services/sanitize_content.spec.ts b/apps/client/src/services/sanitize_content.spec.ts
index 3573ba4ccc..7ec3d75414 100644
--- a/apps/client/src/services/sanitize_content.spec.ts
+++ b/apps/client/src/services/sanitize_content.spec.ts
@@ -1,3 +1,7 @@
+// @vitest-environment jsdom
+// DOMPurify relies on browser-faithful DOM traversal (NodeIterator); happy-dom
+// mishandles it and strips valid markup (surfaced by dompurify 3.4.8). Run the
+// sanitization-dependent specs under jsdom, which matches real-browser behavior.
import { describe, expect, it } from "vitest";
import { sanitizeNoteContentHtml } from "./sanitize_content";
diff --git a/apps/client/src/widgets/collections/presentation/model.spec.ts b/apps/client/src/widgets/collections/presentation/model.spec.ts
index 435557650a..c57e8bba9c 100644
--- a/apps/client/src/widgets/collections/presentation/model.spec.ts
+++ b/apps/client/src/widgets/collections/presentation/model.spec.ts
@@ -1,3 +1,7 @@
+// @vitest-environment jsdom
+// DOMPurify relies on browser-faithful DOM traversal (NodeIterator); happy-dom
+// mishandles it and strips valid markup (surfaced by dompurify 3.4.8). Run the
+// sanitization-dependent specs under jsdom, which matches real-browser behavior.
import { beforeAll, describe, expect, it } from "vitest";
import FNote from "../../../entities/fnote";
diff --git a/apps/client/src/widgets/highlights_list.spec.ts b/apps/client/src/widgets/highlights_list.spec.ts
index ad8a626c64..72fb6e67fb 100644
--- a/apps/client/src/widgets/highlights_list.spec.ts
+++ b/apps/client/src/widgets/highlights_list.spec.ts
@@ -1,3 +1,7 @@
+// @vitest-environment jsdom
+// DOMPurify relies on browser-faithful DOM traversal (NodeIterator); happy-dom
+// mishandles it and strips valid markup (surfaced by dompurify 3.4.8). Run the
+// sanitization-dependent specs under jsdom, which matches real-browser behavior.
import { describe, expect, it } from "vitest";
import HighlightsListWidget from "./highlights_list.js";
diff --git a/apps/client/src/widgets/type_widgets/MindMap.spec.ts b/apps/client/src/widgets/type_widgets/MindMap.spec.ts
index ff55cb2e25..8a0219459b 100644
--- a/apps/client/src/widgets/type_widgets/MindMap.spec.ts
+++ b/apps/client/src/widgets/type_widgets/MindMap.spec.ts
@@ -1,3 +1,7 @@
+// @vitest-environment jsdom
+// DOMPurify relies on browser-faithful DOM traversal (NodeIterator); happy-dom
+// mishandles it and strips valid markup (surfaced by dompurify 3.4.8). Run the
+// sanitization-dependent specs under jsdom, which matches real-browser behavior.
import { describe, expect, it, vi } from "vitest";
// The node-menu plugin touches the DOM at import time, which fails under happy-dom
diff --git a/apps/client/src/widgets/type_widgets/code/Markdown.spec.ts b/apps/client/src/widgets/type_widgets/code/Markdown.spec.ts
index a430cf6f79..e146e5944c 100644
--- a/apps/client/src/widgets/type_widgets/code/Markdown.spec.ts
+++ b/apps/client/src/widgets/type_widgets/code/Markdown.spec.ts
@@ -1,3 +1,7 @@
+// @vitest-environment jsdom
+// DOMPurify relies on browser-faithful DOM traversal (NodeIterator); happy-dom
+// mishandles it and strips valid markup (surfaced by dompurify 3.4.8). Run the
+// sanitization-dependent specs under jsdom, which matches real-browser behavior.
import { describe, expect, it } from "vitest";
import { buildTaskItemInsert, renderWithSourceLines } from "./Markdown.js";
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1b8dc142ce..0591248fe4 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -167,7 +167,7 @@ importers:
vitest:
specifier: 4.1.9
apps/build-docs:
dependencies:
@@ -407,6 +407,9 @@ importers:
happy-dom:
specifier: 20.10.3
version: 20.10.3
+ jsdom:
+ specifier: 29.1.1
+ version: 29.1.1(@noble/[email protected])
lightningcss:
specifier: 1.32.0
version: 1.32.0
@@ -434,7 +437,7 @@ importers:
version: 7.6.13
vitest:
specifier: 4.1.9
apps/desktop:
dependencies:
@@ -1075,7 +1078,7 @@ importers:
vitest:
specifier: 4.1.9
packages/ckeditor5:
dependencies:
@@ -1112,7 +1115,7 @@ importers:
vitest:
specifier: 4.1.9
webdriverio:
specifier: 9.28.0
version: 9.28.0
@@ -1154,7 +1157,7 @@ importers:
vitest:
specifier: 4.1.9
webdriverio:
specifier: 9.28.0
version: 9.28.0
@@ -1179,7 +1182,7 @@ importers:
vitest:
specifier: 4.1.9
packages/ckeditor5-footnotes:
devDependencies:
@@ -1218,7 +1221,7 @@ importers:
vitest:
specifier: 4.1.9
webdriverio:
specifier: 9.28.0
version: 9.28.0
@@ -1260,7 +1263,7 @@ importers:
vitest:
specifier: 4.1.9
webdriverio:
specifier: 9.28.0
version: 9.28.0
@@ -1309,7 +1312,7 @@ importers:
vitest:
specifier: 4.1.9
webdriverio:
specifier: 9.28.0
version: 9.28.0
@@ -1351,7 +1354,7 @@ importers:
vitest:
specifier: 4.1.9
webdriverio:
specifier: 9.28.0
version: 9.28.0
@@ -1648,7 +1651,7 @@ importers:
version: 20.10.3
vitest:
specifier: 4.1.9
packages/trilium-core:
dependencies:
@@ -1733,7 +1736,7 @@ importers:
version: 7.2.4
vitest:
specifier: 4.1.9
packages:
@@ -1811,6 +1814,21 @@ packages:
resolution: {integrity: sha512-CDZFMVWeE3HqcrzvacY2Y8257RS9c0f8+D+MWjbjmb5IWpOZPPeJSqWyxkVcFleCjA+x5aq6foc57cVaP+AMQg==}
+ '@asamuzakjp/[email protected]':
+ resolution: {integrity: sha512-KVw6qIiCTUQhByfTd78h2yD1/00waTmm9uy/R7Ck/ctUyAPj+AEDLkQIdJW0T8+qGgj3j5bpNKK7Q3G+LedJWg==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
+ '@asamuzakjp/[email protected]':
+ resolution: {integrity: sha512-67RZDnYRc8H/8MLDgQCDE//zoqVFwajkepHZgmXrbwybzXOEwOWGPYGmALYl9J2DOLfFPPs6kKCqmbzV895hTQ==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
+ '@asamuzakjp/[email protected]':
+ resolution: {integrity: sha512-wajfB8KqzMCN2KGNFdLkReeHncd0AslUSrvHVvvYWuU8ghncRJoA50kT3zP9MVL0+9g4/67H+cdvBskj9THPzg==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
+ '@asamuzakjp/[email protected]':
+ resolution: {integrity: sha512-n8GuYSrI9bF7FFZ/SjhwevlHc8xaVlb/7HmHelnc/PZXBD2ZR49NnN9sMMuDdEGPeeRQ5d0hqlSlEpgCX3Wl0Q==}
+
resolution: {integrity: sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==}
engines: {node: '>=6.9.0'}
@@ -1888,11 +1906,6 @@ packages:
resolution: {integrity: sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-b3ctpQwp+PROvU/cttc4OYl4MzfJUWy6FZg+PMXfzmt/+39iHVF0sDfqay8TQM3JA2EUOyKcFZt75jWriQijsA==}
- engines: {node: '>=6.0.0'}
- hasBin: true
-
resolution: {integrity: sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==}
engines: {node: '>=6.0.0'}
@@ -1961,6 +1974,10 @@ packages:
'@braintree/[email protected]':
resolution: {integrity: sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==}
+ '@bramus/[email protected]':
+ resolution: {integrity: sha512-ctxtJ/eA+t+6q2++vj5j7FYX3nRu311q1wfYH3xjlLOsczhlhxAg2FWNUXhpGvAw3BWo1xBcvOV6/YLc2r5FJw==}
+ hasBin: true
+
'@cacheable/[email protected]':
resolution: {integrity: sha512-HdMx6DoGywB30vacDbBsITbIX4pgFqj1zsrV58jZBUw3klzkNoXhj7qOqAgledhxG7YZI5rBSJg7Zp8/VG0DuA==}
@@ -2398,6 +2415,10 @@ packages:
resolution: {integrity: sha512-lWnZ34gtFpUDpFmEMdsL+5HJuh7hyj0DoaZhVTFnVtGX2Rf7qFyD+zgTs1vY9h2qhcpKymiakE6evvWzI6kwtA==}
engines: {node: '>=21.7.3', npm: '>=10.5.0'}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-LMGQLS9EuADloEFkcTBR3BwV/CGHV7zyDxVRtVDTwdI2Ca4it0CCVTT9wCkxSgokjE5Ho41hEPgb8OEUwoXr6Q==}
+ engines: {node: '>=20.19.0'}
+
'@csstools/[email protected]':
resolution: {integrity: sha512-DtdHlgXh5ZkA43cwBcAm+huzgJiwx3ZTWVjBs94kwz2xKqSimDA3lBgCjphYgwgVUMWatSM0pDd8TILB1yrVVg==}
engines: {node: '>=20.19.0'}
@@ -2405,6 +2426,13 @@ packages:
'@csstools/css-parser-algorithms': ^4.0.0
'@csstools/css-tokenizer': ^4.0.0
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-CmjJFQTFQx/U/xNJhSjCQ0ilpesPmNQ8+eOUeM/+kDOVW33qsIjeOXc27vrQDdWVkf83ZSWwtg7kXSUvKDJ8cQ==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ '@csstools/css-parser-algorithms': ^4.0.0
+ '@csstools/css-tokenizer': ^4.0.0
+
'@csstools/[email protected]':
resolution: {integrity: sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==}
engines: {node: '>=18'}
@@ -3198,6 +3226,15 @@ packages:
'@exercism/[email protected]':
resolution: {integrity: sha512-LiCFDhXCr3iIEGESHEsSCpCI7qNa2suHcrBWeOYSEtEwCXc+IQpEh5i4K8qPcOMJB9ckVOgLgbSNML8TyvPCVg==}
+ '@exodus/[email protected]':
+ resolution: {integrity: sha512-S6mL0yNB/Abt9Ei4tq8gDhcczc4S3+vQ4ra7vxnAf+YHC02srtqxKKZghx2Dq6p0e66THKwR6r8N6P95wEty7Q==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+ peerDependencies:
+ '@noble/hashes': ^1.8.0 || ^2.0.0
+ peerDependenciesMeta:
+ '@noble/hashes':
+ optional: true
+
'@exodus/[email protected]':
resolution: {integrity: sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==}
@@ -7145,6 +7182,9 @@ packages:
resolution: {integrity: sha512-PA0FW9ZpcHbojUCMu28z9Vg/fNkwTj5YhusSAjHHDfHDGLxJ6YUKrAN2vk1fP2MMOxVw4Oko16FMlRGVBGqLKg==}
+ resolution: {integrity: sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==}
+
resolution: {integrity: sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==}
engines: {node: '>=0.6'}
@@ -8027,6 +8067,10 @@ packages:
resolution: {integrity: sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==}
engines: {node: '>= 14'}
+ resolution: {integrity: sha512-23XHcCF+coGYevirZceTVD7NdJOqVn+49IHyxgszm+JIiHLoB2TkmPtsYkNWT1pvRSGkc35L6NHs0yHkN2SumA==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
resolution: {integrity: sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==}
engines: {node: '>= 0.4'}
@@ -8413,6 +8457,10 @@ packages:
resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==}
engines: {node: '>=0.12'}
+ resolution: {integrity: sha512-zwfzJecQ/Uej6tusMqwAqU/6KL2XaB2VZ2Jg54Je6ahNBGNH6Ek6g3jjNCF0fG9EWQKGZNddNjU5F1ZQn/sBnA==}
+ engines: {node: '>=20.19.0'}
+
resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==}
engines: {node: '>=6'}
@@ -9376,6 +9424,10 @@ packages:
resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==}
@@ -9987,6 +10039,15 @@ packages:
resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==}
engines: {node: '>=12.0.0'}
+ resolution: {integrity: sha512-ECi4Fi2f7BdJtUKTflYRTiaMxIB0O6zfR1fX0GXpUrf6flp8QIYn1UT20YQqdSOfk2dfkCwS8LAFoJDEppNK5Q==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24.0.0}
+ peerDependencies:
+ canvas: ^3.0.0
+ peerDependenciesMeta:
+ canvas:
+ optional: true
+
resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==}
hasBin: true
@@ -11380,6 +11441,9 @@ packages:
resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==}
+ resolution: {integrity: sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==}
+
resolution: {integrity: sha512-uNBJZzmb60l6p6VWLTmevizNAGnE0xoSf1n0B4q3ntegDNzcS68NRCcBDZTcyXHxt2XhBChsCuqj4M+nChvE/A==}
@@ -12261,6 +12325,10 @@ packages:
resolution: {integrity: sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
+ engines: {node: '>=v12.22.7'}
+
resolution: {integrity: sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==}
@@ -12812,6 +12880,9 @@ packages:
resolution: {integrity: sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g==}
hasBin: true
+ resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}
+
resolution: {integrity: sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==}
engines: {node: '>=10.0.0'}
@@ -12960,6 +13031,13 @@ packages:
resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==}
engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-27ep5H9PzdBrNd5OFM/j3WCU8F3kPwM9D0BOaOf7uYfxMJfyr0K5Tjj69Gri+sZlh2WXd5buIm47NuPF29CDiw==}
+
+ resolution: {integrity: sha512-A3BDQBeeukYPzB4QdQ1DtdlUmp4x2OCH8n5UVhEWbyANxNep8GavottKzd1xYKFJKjUgMyPT7EzOfnBO55s8Sg==}
+ hasBin: true
+
resolution: {integrity: sha512-RwM7MoPojPxsOBYnyd2hy0bxtIlVrihNs9pj5SUvY8Zz1sQcQG2tG1hSr8PDxfgEB8RNKDhqbIlroIarSNDNsQ==}
@@ -12994,9 +13072,17 @@ packages:
resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-LktZQb3IeoUWB9lqR5EWTHgW/VTITCXg4D21M+lvybRVdylLrRMnqaIONLVb5mav8vM19m44HIcGq4qASeu2Qw==}
+ engines: {node: '>=16'}
+
resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
+ resolution: {integrity: sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw==}
+ engines: {node: '>=20'}
+
resolution: {integrity: sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ==}
@@ -13623,6 +13709,10 @@ packages:
resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==}
+ resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-3e04qkoN3LxTMLakdqeWth8nih8usyg+sf1Bgdf9wwUkp05iuK1eSY/QpLvscT/+F/gA89+LpUmmgBtesbqI2Q==}
engines: {node: '>=10'}
@@ -13668,6 +13758,10 @@ packages:
resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
+ resolution: {integrity: sha512-BMhLD/Sw+GbJC21C/UgyaZX41nPt8bUTg+jWyDeg7e7YN4xOM05YPSIXceACnXVtqyEw/LMClUQMtMZ+PGGpqQ==}
+ engines: {node: '>=20'}
+
resolution: {integrity: sha512-eACpxRN02yaawnt+uUNIF7Qje6A9zArxBbcAJjK1PK3S9Ycg5jIuJ8pW4q8EMnwNZCEGltcjkRx1QzOxOkKD8A==}
engines: {node: '>=10.13.0'}
@@ -13706,6 +13800,14 @@ packages:
resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==}
+ engines: {node: '>=20'}
+
+ resolution: {integrity: sha512-1to4zXBxmXHV3IiSSEInrreIlu02vUOvrhxJJH5vcxYTBDAx51cqZiKdyTxlecdKNSjj8EcxGBxNf6Vg+945gw==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
@@ -13852,6 +13954,10 @@ packages:
resolution: {integrity: sha512-GCPAHLvrIH13+c0SuacwvRYj2SxJXQ4kaVTT5xgL3kPrz56XxkF21IGhjSE1+W0aw7gpBWRGXLCPnPby6lSpmQ==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-k8KO9hrMyNk6tUWqUfkTEZbezRRpONVOzUTnc97VnCvyj6Tf9lyUR9EDAIeiVLv56jsMcoXEwjW8Kv5yPY52lw==}
engines: {node: '>=16.0.0'}
@@ -14092,6 +14198,26 @@ snapshots:
'@arnog/[email protected]': {}
+ '@asamuzakjp/[email protected]':
+ dependencies:
+ '@asamuzakjp/generational-cache': 1.0.1
+ '@csstools/css-calc': 3.2.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.7(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
+ '@csstools/css-tokenizer': 4.0.0
+
+ '@asamuzakjp/[email protected]':
+ dependencies:
+ '@asamuzakjp/generational-cache': 1.0.1
+ '@asamuzakjp/nwsapi': 2.3.9
+ bidi-js: 1.0.3
+ css-tree: 3.2.1
+ is-potential-custom-element-name: 1.0.1
+
+ '@asamuzakjp/[email protected]': {}
+
+ '@asamuzakjp/[email protected]': {}
+
dependencies:
'@babel/helper-validator-identifier': 7.28.5
@@ -14108,15 +14234,15 @@ snapshots:
dependencies:
- '@babel/code-frame': 7.29.0
+ '@babel/code-frame': 7.29.7
'@babel/generator': 7.29.1
'@babel/helper-compilation-targets': 7.28.6
'@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
'@babel/helpers': 7.29.2
- '@babel/parser': 7.29.3
+ '@babel/parser': 7.29.7
'@babel/template': 7.28.6
'@babel/traverse': 7.29.0
- '@babel/types': 7.29.0
+ '@babel/types': 7.29.7
'@jridgewell/remapping': 2.3.5
convert-source-map: 2.0.0
debug: 4.4.3
@@ -14136,8 +14262,8 @@ snapshots:
dependencies:
- '@babel/parser': 7.29.3
- '@babel/types': 7.29.0
+ '@babel/parser': 7.29.7
+ '@babel/types': 7.29.7
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
jsesc: 3.1.0
@@ -14167,7 +14293,7 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@babel/helper-module-imports': 7.28.6
- '@babel/helper-validator-identifier': 7.28.5
+ '@babel/helper-validator-identifier': 7.29.7
'@babel/traverse': 7.29.0
transitivePeerDependencies:
- supports-color
@@ -14187,11 +14313,7 @@ snapshots:
dependencies:
'@babel/template': 7.28.6
- '@babel/types': 7.29.0
-
- '@babel/[email protected]':
- dependencies:
- '@babel/types': 7.29.0
+ '@babel/types': 7.29.7
dependencies:
@@ -14231,18 +14353,18 @@ snapshots:
dependencies:
- '@babel/code-frame': 7.29.0
- '@babel/parser': 7.29.3
- '@babel/types': 7.29.0
+ '@babel/code-frame': 7.29.7
+ '@babel/parser': 7.29.7
+ '@babel/types': 7.29.7
dependencies:
- '@babel/code-frame': 7.29.0
+ '@babel/code-frame': 7.29.7
'@babel/generator': 7.29.1
'@babel/helper-globals': 7.28.0
- '@babel/parser': 7.29.3
+ '@babel/parser': 7.29.7
'@babel/template': 7.28.6
- '@babel/types': 7.29.0
+ '@babel/types': 7.29.7
debug: 4.4.3
transitivePeerDependencies:
- supports-color
@@ -14267,6 +14389,10 @@ snapshots:
'@braintree/[email protected]': {}
+ '@bramus/[email protected]':
+ dependencies:
+ css-tree: 3.2.1
+
'@cacheable/[email protected]':
dependencies:
'@cacheable/utils': 2.4.1
@@ -15521,11 +15647,20 @@ snapshots:
complex-esm: 2.1.1-esm1
decimal.js: 10.6.0
+ '@csstools/[email protected]': {}
+
'@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
dependencies:
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
+ '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
+ dependencies:
+ '@csstools/color-helpers': 6.0.2
+ '@csstools/css-calc': 3.2.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
+ '@csstools/css-tokenizer': 4.0.0
+
'@csstools/[email protected](@csstools/[email protected])':
dependencies:
'@csstools/css-tokenizer': 3.0.4
@@ -16410,6 +16545,10 @@ snapshots:
'@exercism/[email protected]': {}
+ optionalDependencies:
+ '@noble/hashes': 2.2.0
+
'@exodus/[email protected]': {}
'@faker-js/[email protected]': {}
@@ -20758,7 +20897,7 @@ snapshots:
dependencies:
webdriverio: 9.28.0
transitivePeerDependencies:
- bufferutil
@@ -20770,7 +20909,7 @@ snapshots:
dependencies:
webdriverio: 9.28.0
transitivePeerDependencies:
- bufferutil
@@ -20787,7 +20926,7 @@ snapshots:
pngjs: 7.0.0
sirv: 3.0.2
tinyrainbow: 3.1.0
ws: 8.21.0
transitivePeerDependencies:
- bufferutil
@@ -20805,7 +20944,7 @@ snapshots:
pngjs: 7.0.0
sirv: 3.0.2
tinyrainbow: 3.1.0
ws: 8.21.0
transitivePeerDependencies:
- bufferutil
@@ -20825,7 +20964,7 @@ snapshots:
obug: 2.1.3
std-env: 4.1.0
tinyrainbow: 3.1.0
optionalDependencies:
@@ -20881,7 +21020,7 @@ snapshots:
sirv: 3.0.2
tinyglobby: 0.2.17
tinyrainbow: 3.1.0
'@vitest/[email protected]':
dependencies:
@@ -21528,6 +21667,10 @@ snapshots:
+ dependencies:
+ require-from-string: 2.0.2
+
@@ -22579,6 +22722,13 @@ snapshots:
+ dependencies:
+ whatwg-mimetype: 5.0.0
+ whatwg-url: 16.0.1(@noble/[email protected])
+ transitivePeerDependencies:
+ - '@noble/hashes'
+
dependencies:
call-bound: 1.0.4
@@ -23014,6 +23164,8 @@ snapshots:
+
@@ -24334,6 +24486,12 @@ snapshots:
dependencies:
whatwg-encoding: 2.0.0
+ dependencies:
+ '@exodus/bytes': 1.15.1(@noble/[email protected])
+ transitivePeerDependencies:
+ - '@noble/hashes'
+
@@ -24930,6 +25088,32 @@ snapshots:
+ dependencies:
+ '@asamuzakjp/css-color': 5.1.11
+ '@asamuzakjp/dom-selector': 7.1.1
+ '@bramus/specificity': 2.4.2
+ '@csstools/css-syntax-patches-for-csstree': 1.1.4([email protected])
+ '@exodus/bytes': 1.15.1(@noble/[email protected])
+ css-tree: 3.2.1
+ data-urls: 7.0.0(@noble/[email protected])
+ decimal.js: 10.6.0
+ html-encoding-sniffer: 6.0.0(@noble/[email protected])
+ is-potential-custom-element-name: 1.0.1
+ lru-cache: 11.4.0
+ parse5: 8.0.1
+ saxes: 6.0.0
+ symbol-tree: 3.2.4
+ tough-cookie: 6.0.1
+ undici: 7.25.0
+ w3c-xmlserializer: 5.0.0
+ webidl-conversions: 8.0.1
+ whatwg-mimetype: 5.0.0
+ whatwg-url: 16.0.1(@noble/[email protected])
+ xml-name-validator: 5.0.0
+ transitivePeerDependencies:
+ - '@noble/hashes'
+
@@ -26551,6 +26735,10 @@ snapshots:
dependencies:
entities: 6.0.1
+ dependencies:
+ entities: 8.0.0
+
dependencies:
leac: 0.7.0
@@ -27572,6 +27760,10 @@ snapshots:
dependencies:
xmlchars: 2.2.0
+ dependencies:
+ xmlchars: 2.2.0
+
dependencies:
loose-envify: 1.4.0
@@ -28276,6 +28468,8 @@ snapshots:
transitivePeerDependencies:
- encoding
+
dependencies:
ajv: 8.20.0
@@ -28435,6 +28629,12 @@ snapshots:
+
+ dependencies:
+ tldts-core: 7.4.3
+
dependencies:
tmp: 0.2.7
@@ -28466,8 +28666,16 @@ snapshots:
+ dependencies:
+ tldts: 7.4.3
+
+ dependencies:
+ punycode: 2.3.1
+
@@ -29011,7 +29219,7 @@ snapshots:
tsx: 4.21.0
yaml: 2.9.0
dependencies:
'@vitest/expect': 4.1.9
@@ -29040,10 +29248,11 @@ snapshots:
'@vitest/coverage-v8': 4.1.9(@vitest/[email protected])([email protected])
'@vitest/ui': 4.1.9([email protected])
happy-dom: 20.10.3
+ jsdom: 29.1.1(@noble/[email protected])
transitivePeerDependencies:
- msw
dependencies:
'@vitest/expect': 4.1.9
@@ -29072,6 +29281,7 @@ snapshots:
'@vitest/coverage-v8': 4.1.9(@vitest/[email protected])([email protected])
'@vitest/ui': 4.1.9([email protected])
happy-dom: 20.10.3
+ jsdom: 29.1.1(@noble/[email protected])
transitivePeerDependencies:
- msw
@@ -29096,6 +29306,10 @@ snapshots:
+ dependencies:
+ xml-name-validator: 5.0.0
+
dependencies:
chalk: 4.1.2
@@ -29209,6 +29423,8 @@ snapshots:
+
@@ -29267,6 +29483,16 @@ snapshots:
+
+ dependencies:
+ '@exodus/bytes': 1.15.1(@noble/[email protected])
+ tr46: 6.0.0
+ webidl-conversions: 8.0.1
+ transitivePeerDependencies:
+ - '@noble/hashes'
+
dependencies:
tr46: 0.0.3
@@ -29464,6 +29690,8 @@ snapshots:
+