From 05cf91effd81da5eab07af87992582208f6e037c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 13 Feb 2023 12:13:40 +0000 Subject: [PATCH 1/3] chore(deps): update all non-major dependencies --- packages/kit/package.json | 4 ++-- packages/migrate/package.json | 2 +- pnpm-lock.yaml | 26 ++++++++++++++++---------- sites/kit.svelte.dev/package.json | 2 +- 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/packages/kit/package.json b/packages/kit/package.json index 5dc733c3f2b7..f16c0f716763 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -16,13 +16,13 @@ "devalue": "^4.2.3", "esm-env": "^1.0.0", "kleur": "^4.1.5", - "magic-string": "^0.27.0", + "magic-string": "^0.29.0", "mime": "^3.0.0", "sade": "^1.8.1", "set-cookie-parser": "^2.5.1", "sirv": "^2.0.2", "tiny-glob": "^0.2.9", - "undici": "5.18.0" + "undici": "5.19.1" }, "devDependencies": { "@playwright/test": "^1.29.2", diff --git a/packages/migrate/package.json b/packages/migrate/package.json index 14db5a56791d..9cb07b4dfab9 100644 --- a/packages/migrate/package.json +++ b/packages/migrate/package.json @@ -21,7 +21,7 @@ ], "dependencies": { "kleur": "^4.1.5", - "magic-string": "^0.27.0", + "magic-string": "^0.29.0", "prompts": "^2.4.2", "tiny-glob": "^0.2.9", "typescript": "^4.9.4" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6af153d9384d..0427e9f24b83 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -274,7 +274,7 @@ importers: devalue: ^4.2.3 esm-env: ^1.0.0 kleur: ^4.1.5 - magic-string: ^0.27.0 + magic-string: ^0.29.0 marked: ^4.2.3 mime: ^3.0.0 rollup: ^3.7.0 @@ -285,7 +285,7 @@ importers: svelte-preprocess: ^5.0.0 tiny-glob: ^0.2.9 typescript: ^4.9.4 - undici: 5.18.0 + undici: 5.19.1 uvu: ^0.5.6 vite: ^4.0.4 dependencies: @@ -295,13 +295,13 @@ importers: devalue: 4.2.3 esm-env: 1.0.0 kleur: 4.1.5 - magic-string: 0.27.0 + magic-string: 0.29.0 mime: 3.0.0 sade: 1.8.1 set-cookie-parser: 2.5.1 sirv: 2.0.2 tiny-glob: 0.2.9 - undici: 5.18.0 + undici: 5.19.1 devDependencies: '@playwright/test': 1.29.2 '@types/connect': 3.4.35 @@ -658,7 +658,7 @@ importers: specifiers: '@types/prompts': ^2.4.1 kleur: ^4.1.5 - magic-string: ^0.27.0 + magic-string: ^0.29.0 prettier: ^2.8.0 prompts: ^2.4.2 tiny-glob: ^0.2.9 @@ -666,7 +666,7 @@ importers: uvu: ^0.5.6 dependencies: kleur: 4.1.5 - magic-string: 0.27.0 + magic-string: 0.29.0 prompts: 2.4.2 tiny-glob: 0.2.9 typescript: 4.9.4 @@ -709,7 +709,7 @@ importers: d3-geo: ^3.0.1 d3-geo-projection: ^4.0.0 flexsearch: ^0.7.31 - magic-string: ^0.27.0 + magic-string: ^0.29.0 marked: ^4.2.3 prism-svelte: ^0.5.0 prismjs: ^1.29.0 @@ -733,7 +733,7 @@ importers: '@types/d3-geo': 3.0.2 '@types/node': 16.18.6 flexsearch: 0.7.31 - magic-string: 0.27.0 + magic-string: 0.29.0 marked: 4.2.3 prism-svelte: 0.5.0 prismjs: 1.29.0 @@ -3335,6 +3335,12 @@ packages: dependencies: '@jridgewell/sourcemap-codec': 1.4.14 + /magic-string/0.29.0: + resolution: {integrity: sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.14 + /make-dir/3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} @@ -4842,8 +4848,8 @@ packages: which-boxed-primitive: 1.0.2 dev: true - /undici/5.18.0: - resolution: {integrity: sha512-1iVwbhonhFytNdg0P4PqyIAXbdlVZVebtPDvuM36m66mRw4OGrCm2MYynJv/UENFLdP13J1nPVQzVE2zTs1OeA==} + /undici/5.19.1: + resolution: {integrity: sha512-YiZ61LPIgY73E7syxCDxxa3LV2yl3sN8spnIuTct60boiiRaE1J8mNWHO8Im2Zi/sFrPusjLlmRPrsyraSqX6A==} engines: {node: '>=12.18'} dependencies: busboy: 1.6.0 diff --git a/sites/kit.svelte.dev/package.json b/sites/kit.svelte.dev/package.json index 488e8d6d287c..87215933f09b 100644 --- a/sites/kit.svelte.dev/package.json +++ b/sites/kit.svelte.dev/package.json @@ -17,7 +17,7 @@ "@types/d3-geo": "^3.0.2", "@types/node": "^16.18.6", "flexsearch": "^0.7.31", - "magic-string": "^0.27.0", + "magic-string": "^0.29.0", "marked": "^4.2.3", "prism-svelte": "^0.5.0", "prismjs": "^1.29.0", From 33bb6395aea8d488122bfaf095444dc7319f821d Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 15 Feb 2023 21:24:10 -0500 Subject: [PATCH 2/3] accommodate new undici behaviour --- packages/adapter-netlify/src/headers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/adapter-netlify/src/headers.js b/packages/adapter-netlify/src/headers.js index 76770b46ac69..8fee7ddb38eb 100644 --- a/packages/adapter-netlify/src/headers.js +++ b/packages/adapter-netlify/src/headers.js @@ -17,7 +17,8 @@ export function split_headers(headers) { headers.forEach((value, key) => { if (key === 'set-cookie') { - m[key] = set_cookie_parser.splitCookiesString(value); + if (!m[key]) m[key] = []; + m[key].push(...set_cookie_parser.splitCookiesString(value)); } else { h[key] = value; } From 9ca1833bf191f19cf0452d884ee832e732d97301 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 15 Feb 2023 23:41:39 -0500 Subject: [PATCH 3/3] changeset --- .changeset/honest-rats-relax.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/honest-rats-relax.md diff --git a/.changeset/honest-rats-relax.md b/.changeset/honest-rats-relax.md new file mode 100644 index 000000000000..459204940a9b --- /dev/null +++ b/.changeset/honest-rats-relax.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/adapter-netlify': patch +--- + +chore: support newest version of undici