From 35b189f8cc494ce4f80d54c00736e9dd8d3c69e7 Mon Sep 17 00:00:00 2001 From: Alec Aivazis Date: Mon, 24 Oct 2022 23:05:02 -0700 Subject: [PATCH] Trim trailing stash when identifying route root (#643) * address trailing statsh in is_root_route * changeset * remove unused import * fix comment --- .changeset/great-pens-return.md | 5 +++++ e2e/sveltekit/playwright.config.ts | 1 - packages/houdini-svelte/src/plugin/fsPatch.ts | 14 +++++++++++--- 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .changeset/great-pens-return.md diff --git a/.changeset/great-pens-return.md b/.changeset/great-pens-return.md new file mode 100644 index 0000000000..f6b5d22e27 --- /dev/null +++ b/.changeset/great-pens-return.md @@ -0,0 +1,5 @@ +--- +'houdini-svelte': patch +--- + +Fix error preventing session in certain node versions diff --git a/e2e/sveltekit/playwright.config.ts b/e2e/sveltekit/playwright.config.ts index 8b9f7b4284..c414cc2de4 100644 --- a/e2e/sveltekit/playwright.config.ts +++ b/e2e/sveltekit/playwright.config.ts @@ -1,4 +1,3 @@ -import type { PlaywrightTestConfig } from '@playwright/test'; import { devices as replayDevices } from '@replayio/playwright'; // manual switch for now until replayio is fixed (currently breaking our tests) diff --git a/packages/houdini-svelte/src/plugin/fsPatch.ts b/packages/houdini-svelte/src/plugin/fsPatch.ts index 5a998a25b1..ae69800914 100644 --- a/packages/houdini-svelte/src/plugin/fsPatch.ts +++ b/packages/houdini-svelte/src/plugin/fsPatch.ts @@ -228,10 +228,18 @@ function virtual_file(name: string, options: Parameters