Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sveltejs/kit

Package Overview
Dependencies
Maintainers
4
Versions
815
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 2.8.5 to 2.9.0

18

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

@@ -24,3 +24,3 @@ "keywords": [

"devalue": "^5.1.0",
"esm-env": "^1.0.0",
"esm-env": "^1.2.1",
"import-meta-resolve": "^4.1.0",

@@ -37,18 +37,18 @@ "kleur": "^4.1.5",

"@playwright/test": "^1.44.1",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@sveltejs/vite-plugin-svelte": "^5.0.1",
"@types/connect": "^3.4.38",
"@types/node": "^18.19.48",
"@types/set-cookie-parser": "^2.4.7",
"dts-buddy": "^0.5.3",
"dts-buddy": "^0.5.4",
"rollup": "^4.14.2",
"svelte": "^4.2.10",
"svelte": "^5.2.9",
"svelte-preprocess": "^6.0.0",
"typescript": "^5.3.3",
"vite": "^5.3.2",
"vitest": "^2.0.1"
"vite": "^6.0.1",
"vitest": "^2.1.6"
},
"peerDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1",
"@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1 || ^5.0.0",
"svelte": "^4.0.0 || ^5.0.0-next.0",
"vite": "^5.0.3"
"vite": "^5.0.3 || ^6.0.0"
},

@@ -55,0 +55,0 @@ "bin": {

@@ -82,7 +82,8 @@ import 'svelte'; // pick up `declare module "*.svelte"`

type UnpackValidationError<T> = T extends ActionFailure<infer X>
? X
: T extends void
? undefined // needs to be undefined, because void will corrupt union type
: T;
type UnpackValidationError<T> =
T extends ActionFailure<infer X>
? X
: T extends void
? undefined // needs to be undefined, because void will corrupt union type
: T;

@@ -89,0 +90,0 @@ /**

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

// simulate CORS errors and "no access to body in no-cors mode" server-side for consistency with client-side behaviour
const mode = input instanceof Request ? input.mode : init?.mode ?? 'cors';
const mode = input instanceof Request ? input.mode : (init?.mode ?? 'cors');
if (mode === 'no-cors') {

@@ -250,0 +250,0 @@ response = new Response('', {

@@ -82,3 +82,3 @@ import * as devalue from 'devalue';

action_result?.type === 'success' || action_result?.type === 'failure'
? action_result.data ?? null
? (action_result.data ?? null)
: null;

@@ -85,0 +85,0 @@

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc