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

@sveltejs/kit

Package Overview
Dependencies
Maintainers
4
Versions
841
Alerts
File Explorer

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.20.7

2

package.json
{
"name": "@sveltejs/kit",
"version": "2.20.6",
"version": "2.20.7",
"description": "SvelteKit is the fastest way to build Svelte apps",

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

@@ -256,3 +256,3 @@ import { HttpError, SvelteKitError, Redirect } from '../../control.js';

return `{"type":"data","data":${devalue.stringify(node.data, reducers)},${JSON.stringify(
return `{"type":"data","data":${devalue.stringify(node.data, reducers)},"uses":${JSON.stringify(
serialize_uses(node)

@@ -267,4 +267,6 @@ )}${node.slash ? `,"slash":${JSON.stringify(node.slash)}` : ''}}`;

} catch (e) {
// @ts-expect-error
e.path = 'data' + e.path;
throw new Error(clarify_devalue_error(event, /** @type {any} */ (e)));
}
}

@@ -661,4 +661,6 @@ import * as devalue from 'devalue';

} catch (e) {
// @ts-expect-error
e.path = e.path.slice(1);
throw new Error(clarify_devalue_error(event, /** @type {any} */ (e)));
}
}

@@ -136,3 +136,3 @@ import { DEV } from 'esm-env';

if (error.path) {
return `Data returned from \`load\` while rendering ${event.route.id} is not serializable: ${error.message} (data${error.path})`;
return `Data returned from \`load\` while rendering ${event.route.id} is not serializable: ${error.message} (${error.path})`;
}

@@ -139,0 +139,0 @@

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