Socket
Socket
Sign inDemoInstall

@sveltejs/kit

Package Overview
Dependencies
Maintainers
4
Versions
780
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.5.19 to 2.5.20

2

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

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

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

if (decoded.startsWith(`/${options.app_dir}`)) {
return text('Not found', { status: 404 });
// Ensure that 404'd static assets are not cached - some adapters might apply caching by default
const headers = new Headers();
headers.set('cache-control', 'public, max-age=0, must-revalidate');
return text('Not found', { status: 404, headers });
}

@@ -122,0 +125,0 @@

// generated during release, do not modify
/** @type {string} */
export const VERSION = '2.5.19';
export const VERSION = '2.5.20';
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