Skip to content

Commit

Permalink
[add] Declarative Shadow DOM support
Browse files Browse the repository at this point in the history
[fix] JSX children normalization
[migrate] replace JSDOM with HappyDOM for Jest
[optimize] update Upstream packages
  • Loading branch information
TechQuery committed Jul 12, 2024
1 parent da500c5 commit b2cc69b
Show file tree
Hide file tree
Showing 6 changed files with 504 additions and 743 deletions.
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dom-renderer",
"version": "2.1.7",
"version": "2.2.0",
"license": "LGPL-3.0-or-later",
"author": "shiy2008@gmail.com",
"description": "A light-weight DOM Renderer supports Web components standard & TypeScript language",
Expand Down Expand Up @@ -28,18 +28,19 @@
"web-utility": "^4.4.0"
},
"devDependencies": {
"@happy-dom/jest-environment": "^14.12.3",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.34",
"@types/node": "^18.19.39",
"declarative-shadow-dom-polyfill": "^0.3.2",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.5",
"lint-staged": "^15.2.7",
"open-cli": "^8.0.0",
"prettier": "^3.3.1",
"ts-jest": "^29.1.4",
"typedoc": "^0.25.13",
"typedoc-plugin-mdn-links": "^3.1.29",
"typescript": "~5.4.5"
"prettier": "^3.3.2",
"ts-jest": "^29.2.2",
"typedoc": "^0.26.4",
"typedoc-plugin-mdn-links": "^3.2.3",
"typescript": "~5.5.3"
},
"prettier": {
"singleQuote": true,
Expand All @@ -52,7 +53,7 @@
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom"
"testEnvironment": "@happy-dom/jest-environment"
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"scripts": {
Expand Down
Loading

0 comments on commit b2cc69b

Please sign in to comment.