Socket
Socket
Sign inDemoInstall

@sveltejs/kit

Package Overview
Dependencies
219
Maintainers
4
Versions
764
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.30.3 to 1.30.4

4

package.json
{
"name": "@sveltejs/kit",
"version": "1.30.3",
"version": "1.30.4",
"description": "The fastest way to build Svelte apps",

@@ -26,3 +26,3 @@ "repository": {

"tiny-glob": "^0.2.9",
"undici": "~5.26.2"
"undici": "^5.28.3"
},

@@ -29,0 +29,0 @@ "devDependencies": {

@@ -216,3 +216,3 @@ import { existsSync, statSync, createReadStream, createWriteStream } from 'node:fs';

}
})
})
: zlib.createGzip({ level: zlib.constants.Z_BEST_COMPRESSION });

@@ -219,0 +219,0 @@

@@ -185,4 +185,4 @@ import fs from 'node:fs';

: Array.isArray(extend)
? extend.some((e) => path.resolve(cwd, e) === out)
: false;
? extend.some((e) => path.resolve(cwd, e) === out)
: false;

@@ -189,0 +189,0 @@ const options = config.options.compilerOptions || {};

@@ -114,3 +114,3 @@ /**

preload
})
})
: resolve(event, { transformPageChunk, filterSerializedResponseHeaders, preload });

@@ -117,0 +117,0 @@ }

@@ -127,3 +127,3 @@ import * as set_cookie_parser from 'set-cookie-parser';

/** @type {string}*/ (response.headers.get(key))
)
)
: value

@@ -130,0 +130,0 @@ );

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

: input extends Record<string, any>
? {
? {
[key in keyof input]: Awaited<input[key]>;
}
: {} extends input // handles the any case
? input
: unknown;
}
: {} extends input // handles the any case
? input
: unknown;

@@ -74,4 +74,4 @@ export type AwaitedProperties<input extends Record<string, any> | void> =

: T extends void
? undefined // needs to be undefined, because void will corrupt union type
: T;
? undefined // needs to be undefined, because void will corrupt union type
: T;

@@ -78,0 +78,0 @@ /**

@@ -226,3 +226,3 @@ import fs from 'node:fs';

return await loud_ssr_load_module(url);
}
}
: null,

@@ -229,0 +229,0 @@ endpoint_id: endpoint?.file

@@ -207,3 +207,3 @@ import fs from 'node:fs';

maxAge: 0
})
})
: (_req, _res, next) => next();

@@ -210,0 +210,0 @@

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

: data instanceof Response
? 'a Response object'
: Array.isArray(data)
? 'an array'
: 'a non-plain object'
? 'a Response object'
: Array.isArray(data)
? 'an array'
: 'a non-plain object'
}, but must return a plain object at the top level (i.e. \`return {...}\`)`

@@ -559,0 +559,0 @@ );

@@ -401,6 +401,6 @@ import { disable_search, make_trackable } from '../../../utils/url.js';

: data instanceof Response
? 'a Response object'
: Array.isArray(data)
? 'an array'
: 'a non-plain object'
? 'a Response object'
: Array.isArray(data)
? 'an array'
: 'a non-plain object'
}, but must return a plain object at the top level (i.e. \`return {...}\`)`

@@ -407,0 +407,0 @@ );

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

headers
})
})
: new Response(

@@ -489,3 +489,3 @@ new ReadableStream({

}
);
);
}

@@ -492,0 +492,0 @@

@@ -344,4 +344,4 @@ import { DEV } from 'esm-env';

: route?.page && is_action_json_request(event)
? action_json_redirect(e)
: redirect_response(e.status, e.location);
? action_json_redirect(e)
: redirect_response(e.status, e.location);
add_cookies_to_headers(response.headers, Object.values(cookies_to_add));

@@ -348,0 +348,0 @@ return response;

@@ -94,3 +94,3 @@ const param_pattern = /^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;

.join('')}/?$`
);
);

@@ -97,0 +97,0 @@ return { pattern, params };

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

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc