🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

@sveltejs/kit

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sveltejs/kit - npm Package Compare versions

Comparing version

to
2.21.4

{
"name": "@sveltejs/kit",
"version": "2.21.3",
"version": "2.21.4",
"description": "SvelteKit is the fastest way to build Svelte apps",

@@ -5,0 +5,0 @@ "keywords": [

@@ -9,4 +9,2 @@ import * as devalue from 'devalue';

const decoders = BROWSER ? client_app.decoders : server_app?.decoders;
/**

@@ -38,3 +36,5 @@ * Use this function to deserialize the response from a form submission.

if (parsed.data) {
parsed.data = devalue.parse(parsed.data, decoders);
// the decoders should never be initialised at the top-level because `app`
// will not initialised yet if `kit.output.bundleStrategy` is 'single' or 'inline'
parsed.data = devalue.parse(parsed.data, BROWSER ? client_app.decoders : server_app.decoders);
}

@@ -41,0 +41,0 @@

// generated during release, do not modify
/** @type {string} */
export const VERSION = '2.21.3';
export const VERSION = '2.21.4';

Sorry, the diff of this file is not supported yet