Skip to content

Commit 9d0230e

Browse files
authored
chore: run CI tests on Node 22 (#12954)
1 parent 425a005 commit 9d0230e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
- node-version: 20
4646
os: ubuntu-latest
4747
e2e-browser: 'chromium'
48+
- node-version: 22
49+
os: ubuntu-latest
50+
e2e-browser: 'chromium'
4851
env:
4952
KIT_E2E_BROWSER: ${{matrix.e2e-browser}}
5053
steps:

packages/kit/src/runtime/server/cookie.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ export function get_cookies(request, url, trailing_slash) {
120120
const illegal_characters = name.match(INVALID_COOKIE_CHARACTER_REGEX);
121121
if (illegal_characters) {
122122
console.warn(
123-
`The cookie name "${name}" will be invalid in SvelteKit 3.0 as it contains ${illegal_characters.join(' and ')}. See RFC 2616 for more details https://datatracker.ietf.org/doc/html/rfc2616#section-2.2`
123+
`The cookie name "${name}" will be invalid in SvelteKit 3.0 as it contains ${illegal_characters.join(
124+
' and '
125+
)}. See RFC 2616 for more details https://datatracker.ietf.org/doc/html/rfc2616#section-2.2`
124126
);
125127
}
126128

0 commit comments

Comments
 (0)