From 22618ec9ec39b37765354da6c236f751725b6f0b Mon Sep 17 00:00:00 2001 From: skirtle <65301168+skirtles-code@users.noreply.github.com> Date: Tue, 30 Apr 2024 17:59:59 +0100 Subject: [PATCH 1/2] fix(compiler-dom): restrict createStaticVNode usage with option elements close #6568 --- .../stringifyStatic.spec.ts.snap | 32 +++++++++++++ .../transforms/stringifyStatic.spec.ts | 47 +++++++++++++++++++ .../src/transforms/stringifyStatic.ts | 13 +++++ 3 files changed, 92 insertions(+) diff --git a/packages/compiler-dom/__tests__/transforms/__snapshots__/stringifyStatic.spec.ts.snap b/packages/compiler-dom/__tests__/transforms/__snapshots__/stringifyStatic.spec.ts.snap index 33fb37a58f9..57d880a03f6 100644 --- a/packages/compiler-dom/__tests__/transforms/__snapshots__/stringifyStatic.spec.ts.snap +++ b/packages/compiler-dom/__tests__/transforms/__snapshots__/stringifyStatic.spec.ts.snap @@ -1,5 +1,24 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html +exports[`stringify static html > should bail for