@sveltejs/kit
Advanced tools
Comparing version 1.27.1 to 1.27.2
{ | ||
"name": "@sveltejs/kit", | ||
"version": "1.27.1", | ||
"version": "1.27.2", | ||
"description": "The fastest way to build Svelte apps", | ||
@@ -37,3 +37,3 @@ "repository": { | ||
"rollup": "^3.7.0", | ||
"svelte": "^4.0.5", | ||
"svelte": "^4.2.2", | ||
"svelte-preprocess": "^5.0.4", | ||
@@ -40,0 +40,0 @@ "typescript": "^4.9.4", |
@@ -6,10 +6,11 @@ import { ReadableStream, TransformStream, WritableStream } from 'node:stream/web'; | ||
// `buffer.File` was added in Node 18.13.0 while the `File` global was added in Node 20.0.0 | ||
const File = /** @type {import('node:buffer') & { File?: File}} */ (buffer).File ?? UndiciFile; | ||
/** @type {Record<string, any>} */ | ||
const globals_post_node_18_11 = { | ||
crypto | ||
crypto, | ||
File | ||
}; | ||
// @ts-expect-error | ||
const File = buffer.File ?? UndiciFile; | ||
/** @type {Record<string, any>} */ | ||
@@ -16,0 +17,0 @@ // TODO: remove this once we only support Node 18.11+ (the version multipart/form-data was added) |
@@ -206,3 +206,3 @@ import 'svelte'; // pick up `declare module "*.svelte"` | ||
* Gets all cookies that were previously set with `cookies.set`, or from the request headers. | ||
* @param opts the options, passed directily to `cookie.parse`. See documentation [here](https://github.com/jshttp/cookie#cookieparsestr-options) | ||
* @param opts the options, passed directly to `cookie.parse`. See documentation [here](https://github.com/jshttp/cookie#cookieparsestr-options) | ||
*/ | ||
@@ -219,3 +219,3 @@ getAll(opts?: import('cookie').CookieParseOptions): Array<{ name: string; value: string }>; | ||
* @param value the cookie value | ||
* @param opts the options, passed directory to `cookie.serialize`. See documentation [here](https://github.com/jshttp/cookie#cookieserializename-value-options) | ||
* @param opts the options, passed directly to `cookie.serialize`. See documentation [here](https://github.com/jshttp/cookie#cookieserializename-value-options) | ||
*/ | ||
@@ -229,3 +229,3 @@ set(name: string, value: string, opts?: import('cookie').CookieSerializeOptions): void; | ||
* @param name the name of the cookie | ||
* @param opts the options, passed directory to `cookie.serialize`. The `path` must match the path of the cookie you want to delete. See documentation [here](https://github.com/jshttp/cookie#cookieserializename-value-options) | ||
* @param opts the options, passed directly to `cookie.serialize`. The `path` must match the path of the cookie you want to delete. See documentation [here](https://github.com/jshttp/cookie#cookieserializename-value-options) | ||
*/ | ||
@@ -243,3 +243,3 @@ delete(name: string, opts?: import('cookie').CookieSerializeOptions): void; | ||
* @param value the cookie value | ||
* @param opts the options, passed directory to `cookie.serialize`. See documentation [here](https://github.com/jshttp/cookie#cookieserializename-value-options) | ||
* @param opts the options, passed directly to `cookie.serialize`. See documentation [here](https://github.com/jshttp/cookie#cookieserializename-value-options) | ||
*/ | ||
@@ -246,0 +246,0 @@ serialize(name: string, value: string, opts?: import('cookie').CookieSerializeOptions): string; |
// generated during release, do not modify | ||
/** @type {string} */ | ||
export const VERSION = '1.27.1'; | ||
export const VERSION = '1.27.2'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
673510
19791