diff --git a/packages/react-keystrokes/package.json b/packages/react-keystrokes/package.json index 4cd8a4c..0270649 100644 --- a/packages/react-keystrokes/package.json +++ b/packages/react-keystrokes/package.json @@ -60,7 +60,7 @@ "eslint": "^8.46.0", "eslint-config-prettier": "^8.10.0", "eslint-plugin-prettier": "^5.0.0", - "happy-dom": "^10.6.3", + "happy-dom": "^20.0.0", "prettier": "^3.0.1", "react": ">=17", "react-dom": "^18.2.0", diff --git a/packages/vue-keystrokes/package.json b/packages/vue-keystrokes/package.json index 14b794a..7be35b5 100644 --- a/packages/vue-keystrokes/package.json +++ b/packages/vue-keystrokes/package.json @@ -60,7 +60,7 @@ "eslint": "^8.46.0", "eslint-config-prettier": "^8.10.0", "eslint-plugin-prettier": "^5.0.0", - "happy-dom": "^10.6.3", + "happy-dom": "^20.0.0", "prettier": "^3.0.1", "typescript": "^5.1.6", "vite": "^4.5.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3ec95d6..bc4be2a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,7 +42,7 @@ importers: version: 4.5.5(@types/node@20.4.6) vitest: specifier: ^0.34.1 - version: 0.34.1(happy-dom@10.6.3) + version: 0.34.1(happy-dom@20.0.0) packages/react-keystrokes: devDependencies: @@ -77,8 +77,8 @@ importers: specifier: ^5.0.0 version: 5.0.0(eslint-config-prettier@8.10.0(eslint@8.46.0))(eslint@8.46.0)(prettier@3.0.1) happy-dom: - specifier: ^10.6.3 - version: 10.6.3 + specifier: ^20.0.0 + version: 20.0.0 prettier: specifier: ^3.0.1 version: 3.0.1 @@ -102,7 +102,7 @@ importers: version: 4.5.5(@types/node@20.4.6) vitest: specifier: ^0.34.1 - version: 0.34.1(happy-dom@10.6.3) + version: 0.34.1(happy-dom@20.0.0) packages/vue-keystrokes: devDependencies: @@ -137,8 +137,8 @@ importers: specifier: ^5.0.0 version: 5.0.0(eslint-config-prettier@8.10.0(eslint@8.46.0))(eslint@8.46.0)(prettier@3.0.1) happy-dom: - specifier: ^10.6.3 - version: 10.6.3 + specifier: ^20.0.0 + version: 20.0.0 prettier: specifier: ^3.0.1 version: 3.0.1 @@ -150,7 +150,7 @@ importers: version: 4.5.5(@types/node@20.4.6) vitest: specifier: ^0.34.1 - version: 0.34.1(happy-dom@10.6.3) + version: 0.34.1(happy-dom@20.0.0) vue: specifier: ^3.3.4 version: 3.3.4 @@ -451,6 +451,9 @@ packages: '@types/sinonjs__fake-timers@8.1.2': resolution: {integrity: sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA==} + '@types/whatwg-mimetype@3.0.2': + resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==} + '@typescript-eslint/eslint-plugin@6.2.1': resolution: {integrity: sha512-iZVM/ALid9kO0+I81pnp1xmYiFyqibAHzrqX4q5YvvVEyJqY+e6rfTXSCsc2jUxGNqJqTfFSSij/NFkZBiBzLw==} engines: {node: ^16.0.0 || >=18.0.0} @@ -683,9 +686,6 @@ packages: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} - css.escape@1.5.1: - resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} - csstype@3.1.2: resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} @@ -738,10 +738,6 @@ packages: engines: {node: '>=14'} hasBin: true - entities@4.5.0: - resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} - engines: {node: '>=0.12'} - esbuild@0.18.17: resolution: {integrity: sha512-1GJtYnUxsJreHYA0Y+iQz2UEykonY66HNWOb0yXYZi9/kNrORUEHVg87eQsCtqh59PEJ5YVZJO98JHznMJSWjg==} engines: {node: '>=12'} @@ -782,6 +778,7 @@ packages: eslint@8.46.0: resolution: {integrity: sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: @@ -899,8 +896,9 @@ packages: graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - happy-dom@10.6.3: - resolution: {integrity: sha512-se+f89YhkhoaZ52WrsfLWIS77FwzdbHi2lbPyyrIEnSeoTU4kAdvDIdezfs+IN23ZBDL7PkqAwscNWqkIp4Gyw==} + happy-dom@20.0.0: + resolution: {integrity: sha512-GkWnwIFxVGCf2raNrxImLo397RdGhLapj5cT3R2PT7FwL62Ze1DROhzmYW7+J3p9105DYMVenEejEbnq5wA37w==} + engines: {node: '>=20.0.0'} has-flag@4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} @@ -918,10 +916,6 @@ packages: resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==} engines: {node: '>=14.18.0'} - iconv-lite@0.6.3: - resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} - engines: {node: '>=0.10.0'} - ignore@5.2.4: resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} @@ -1268,9 +1262,6 @@ packages: run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - safer-buffer@2.1.2: - resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - scheduler@0.23.0: resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} @@ -1487,14 +1478,6 @@ packages: vue@3.3.4: resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==} - webidl-conversions@7.0.0: - resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} - engines: {node: '>=12'} - - whatwg-encoding@2.0.0: - resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} - engines: {node: '>=12'} - whatwg-mimetype@3.0.0: resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} engines: {node: '>=12'} @@ -1747,6 +1730,8 @@ snapshots: '@types/sinonjs__fake-timers@8.1.2': {} + '@types/whatwg-mimetype@3.0.2': {} + '@typescript-eslint/eslint-plugin@6.2.1(@typescript-eslint/parser@6.2.1(eslint@8.46.0)(typescript@5.1.6))(eslint@8.46.0)(typescript@5.1.6)': dependencies: '@eslint-community/regexpp': 4.6.2 @@ -2034,8 +2019,6 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - css.escape@1.5.1: {} - csstype@3.1.2: {} debug@4.3.4: @@ -2081,8 +2064,6 @@ snapshots: minimatch: 9.0.1 semver: 7.5.4 - entities@4.5.0: {} - esbuild@0.18.17: optionalDependencies: '@esbuild/android-arm': 0.18.17 @@ -2307,13 +2288,10 @@ snapshots: graphemer@1.4.0: {} - happy-dom@10.6.3: + happy-dom@20.0.0: dependencies: - css.escape: 1.5.1 - entities: 4.5.0 - iconv-lite: 0.6.3 - webidl-conversions: 7.0.0 - whatwg-encoding: 2.0.0 + '@types/node': 20.4.6 + '@types/whatwg-mimetype': 3.0.2 whatwg-mimetype: 3.0.0 has-flag@4.0.0: {} @@ -2326,10 +2304,6 @@ snapshots: human-signals@4.3.1: {} - iconv-lite@0.6.3: - dependencies: - safer-buffer: 2.1.2 - ignore@5.2.4: {} import-fresh@3.3.0: @@ -2631,8 +2605,6 @@ snapshots: dependencies: queue-microtask: 1.2.3 - safer-buffer@2.1.2: {} - scheduler@0.23.0: dependencies: loose-envify: 1.4.0 @@ -2771,7 +2743,7 @@ snapshots: '@types/node': 20.4.6 fsevents: 2.3.2 - vitest@0.34.1(happy-dom@10.6.3): + vitest@0.34.1(happy-dom@20.0.0): dependencies: '@types/chai': 4.3.5 '@types/chai-subset': 1.3.3 @@ -2798,7 +2770,7 @@ snapshots: vite-node: 0.34.1(@types/node@20.4.6) why-is-node-running: 2.2.2 optionalDependencies: - happy-dom: 10.6.3 + happy-dom: 20.0.0 transitivePeerDependencies: - less - lightningcss @@ -2818,12 +2790,6 @@ snapshots: '@vue/server-renderer': 3.3.4(vue@3.3.4) '@vue/shared': 3.3.4 - webidl-conversions@7.0.0: {} - - whatwg-encoding@2.0.0: - dependencies: - iconv-lite: 0.6.3 - whatwg-mimetype@3.0.0: {} which@2.0.2: