From f2410b0d2a2c5627bb424369db6b0d605f912fa8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 21:45:50 +0000 Subject: [PATCH] chore(deps): update dependency happy-dom to v15 --- packages/nanoviews/package.json | 2 +- .../src/internals/elements/element.spec.ts | 2 +- pnpm-lock.yaml | 24 ++++++++++--------- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/packages/nanoviews/package.json b/packages/nanoviews/package.json index fd86705..5240f58 100644 --- a/packages/nanoviews/package.json +++ b/packages/nanoviews/package.json @@ -85,7 +85,7 @@ "@testing-library/user-event": "^14.5.2", "@vitest/coverage-v8": "^2.0.0", "csstype": "^3.1.3", - "happy-dom": "^14.0.0", + "happy-dom": "^15.0.0", "nanostores": "0.11.3", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/nanoviews/src/internals/elements/element.spec.ts b/packages/nanoviews/src/internals/elements/element.spec.ts index 197f795..43fe2c4 100644 --- a/packages/nanoviews/src/internals/elements/element.spec.ts +++ b/packages/nanoviews/src/internals/elements/element.spec.ts @@ -127,7 +127,7 @@ describe('nanoviews', () => { it('should render no elements without children', () => { const { container } = render(NoChildren()) - expect(container.innerHTML).toBe('

^ hr, br >
^ br, hr >
') + expect(container.innerHTML).toBe('

^ hr, br >
^ br, hr >
') }) }) }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3b29036..93b746b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -90,8 +90,8 @@ importers: specifier: ^3.1.3 version: 3.1.3 happy-dom: - specifier: ^14.0.0 - version: 14.3.9 + specifier: ^15.0.0 + version: 15.7.3 nanostores: specifier: 0.11.3 version: 0.11.3 @@ -115,7 +115,7 @@ importers: version: 5.0.11(@types/node@20.11.25) vitest: specifier: ^2.0.0 - version: 2.0.5(@types/node@20.11.25)(happy-dom@14.3.9) + version: 2.0.5(@types/node@20.11.25)(happy-dom@15.7.3) publishDirectory: package packages/storybook: @@ -164,7 +164,7 @@ importers: version: link:../nanoviews vitest: specifier: ^2.0.0 - version: 2.0.5(@types/node@20.11.25)(happy-dom@14.3.9) + version: 2.0.5(@types/node@20.11.25)(happy-dom@15.7.3) publishDirectory: package packages: @@ -3966,7 +3966,7 @@ packages: dom-accessibility-api: 0.6.3 lodash: 4.17.21 redent: 3.0.0 - vitest: 2.0.5(@types/node@20.11.25)(happy-dom@14.3.9) + vitest: 2.0.5(@types/node@20.11.25)(happy-dom@15.7.3) dev: true /@testing-library/user-event@14.3.0(@testing-library/dom@9.3.4): @@ -4471,7 +4471,7 @@ packages: std-env: 3.7.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.0.5(@types/node@20.11.25)(happy-dom@14.3.9) + vitest: 2.0.5(@types/node@20.11.25)(happy-dom@15.7.3) transitivePeerDependencies: - supports-color dev: true @@ -7120,9 +7120,9 @@ packages: optionalDependencies: uglify-js: 3.17.4 - /happy-dom@14.3.9: - resolution: {integrity: sha512-0kPQchwthekcYpYN8CvCiq+/z5bqFYDLbTxZ+yDLwT8AFRVJDFadShHRxp3VAZRy7a5isOZ1j/LzsU1dtAIZMQ==} - engines: {node: '>=16.0.0'} + /happy-dom@15.7.3: + resolution: {integrity: sha512-w3RUaYNXFJX5LiNVhOJLK4GqCB1bFj1FvELtpon3HrN8gUpS09V0Vvm4/BBRRj7mLUE1+ch8PKv1JxEp/0IHjA==} + engines: {node: '>=18.0.0'} dependencies: entities: 4.5.0 webidl-conversions: 7.0.0 @@ -7858,6 +7858,7 @@ packages: /json-schema-traverse@1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + requiresBuild: true dev: true /json-stable-stringify-without-jsonify@1.0.1: @@ -9299,6 +9300,7 @@ packages: /require-from-string@2.0.2: resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} engines: {node: '>=0.10.0'} + requiresBuild: true dev: true /requireindex@1.2.0: @@ -10455,7 +10457,7 @@ packages: optionalDependencies: fsevents: 2.3.3 - /vitest@2.0.5(@types/node@20.11.25)(happy-dom@14.3.9): + /vitest@2.0.5(@types/node@20.11.25)(happy-dom@15.7.3): resolution: {integrity: sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -10491,7 +10493,7 @@ packages: chai: 5.1.1 debug: 4.3.6 execa: 8.0.1 - happy-dom: 14.3.9 + happy-dom: 15.7.3 magic-string: 0.30.11 pathe: 1.1.2 std-env: 3.7.0