@sveltejs/kit
Advanced tools
Comparing version 2.8.1 to 2.8.2
{ | ||
"name": "@sveltejs/kit", | ||
"version": "2.8.1", | ||
"version": "2.8.2", | ||
"description": "SvelteKit is the fastest way to build Svelte apps", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -70,4 +70,3 @@ import { parse, serialize } from 'cookie'; | ||
const decoder = opts?.decode || decodeURIComponent; | ||
const req_cookies = parse(header, { decode: decoder }); | ||
const req_cookies = parse(header, { decode: opts?.decode }); | ||
const cookie = req_cookies[name]; // the decoded string or undefined | ||
@@ -99,4 +98,3 @@ | ||
getAll(opts) { | ||
const decoder = opts?.decode || decodeURIComponent; | ||
const cookies = parse(header, { decode: decoder }); | ||
const cookies = parse(header, { decode: opts?.decode }); | ||
@@ -103,0 +101,0 @@ for (const c of Object.values(new_cookies)) { |
// generated during release, do not modify | ||
/** @type {string} */ | ||
export const VERSION = '2.8.1'; | ||
export const VERSION = '2.8.2'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
742304
261200
1