Skip to content

Commit b2cc69b

Browse files
committed
[add] Declarative Shadow DOM support
[fix] JSX children normalization [migrate] replace JSDOM with HappyDOM for Jest [optimize] update Upstream packages
1 parent da500c5 commit b2cc69b

File tree

6 files changed

+504
-743
lines changed

6 files changed

+504
-743
lines changed

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dom-renderer",
3-
"version": "2.1.7",
3+
"version": "2.2.0",
44
"license": "LGPL-3.0-or-later",
55
"author": "[email protected]",
66
"description": "A light-weight DOM Renderer supports Web components standard & TypeScript language",
@@ -28,18 +28,19 @@
2828
"web-utility": "^4.4.0"
2929
},
3030
"devDependencies": {
31+
"@happy-dom/jest-environment": "^14.12.3",
3132
"@types/jest": "^29.5.12",
32-
"@types/node": "^18.19.34",
33+
"@types/node": "^18.19.39",
34+
"declarative-shadow-dom-polyfill": "^0.3.2",
3335
"husky": "^9.0.11",
3436
"jest": "^29.7.0",
35-
"jest-environment-jsdom": "^29.7.0",
36-
"lint-staged": "^15.2.5",
37+
"lint-staged": "^15.2.7",
3738
"open-cli": "^8.0.0",
38-
"prettier": "^3.3.1",
39-
"ts-jest": "^29.1.4",
40-
"typedoc": "^0.25.13",
41-
"typedoc-plugin-mdn-links": "^3.1.29",
42-
"typescript": "~5.4.5"
39+
"prettier": "^3.3.2",
40+
"ts-jest": "^29.2.2",
41+
"typedoc": "^0.26.4",
42+
"typedoc-plugin-mdn-links": "^3.2.3",
43+
"typescript": "~5.5.3"
4344
},
4445
"prettier": {
4546
"singleQuote": true,
@@ -52,7 +53,7 @@
5253
},
5354
"jest": {
5455
"preset": "ts-jest",
55-
"testEnvironment": "jsdom"
56+
"testEnvironment": "@happy-dom/jest-environment"
5657
},
5758
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
5859
"scripts": {

0 commit comments

Comments
 (0)