Skip to content

Commit 5d6cdfb

Browse files
chore(deps): update dependency netlify-cli to v23 (#14071)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ben McCann <[email protected]>
1 parent b2f6a41 commit 5d6cdfb

File tree

5 files changed

+796
-1030
lines changed

5 files changed

+796
-1030
lines changed

packages/adapter-netlify/test/apps/basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@sveltejs/kit": "workspace:^",
1414
"@sveltejs/vite-plugin-svelte": "catalog:",
15-
"netlify-cli": "^22.1.5",
15+
"netlify-cli": "^23.0.0",
1616
"svelte": "^5.23.1",
1717
"vite": "catalog:"
1818
},

packages/adapter-netlify/test/apps/edge/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@sveltejs/kit": "workspace:^",
1414
"@sveltejs/vite-plugin-svelte": "catalog:",
15-
"netlify-cli": "^22.1.5",
15+
"netlify-cli": "^23.0.0",
1616
"svelte": "^5.23.1",
1717
"vite": "catalog:"
1818
},

packages/kit/types/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,7 @@ declare module '@sveltejs/kit' {
21202120
* Checks whether this is an error thrown by {@link error}.
21212121
* @param status The status to filter for.
21222122
* */
2123-
export function isHttpError<T extends number>(e: unknown, status?: T | undefined): e is (HttpError_1 & {
2123+
export function isHttpError<T extends number>(e: unknown, status?: T): e is (HttpError_1 & {
21242124
status: T extends undefined ? never : T;
21252125
});
21262126
/**
@@ -2150,13 +2150,13 @@ declare module '@sveltejs/kit' {
21502150
* @param data The value that will be serialized as JSON.
21512151
* @param init Options such as `status` and `headers` that will be added to the response. `Content-Type: application/json` and `Content-Length` headers will be added automatically.
21522152
*/
2153-
export function json(data: any, init?: ResponseInit | undefined): Response;
2153+
export function json(data: any, init?: ResponseInit): Response;
21542154
/**
21552155
* Create a `Response` object from the supplied body.
21562156
* @param body The value that will be used as-is.
21572157
* @param init Options such as `status` and `headers` that will be added to the response. A `Content-Length` header will be added automatically.
21582158
*/
2159-
export function text(body: string, init?: ResponseInit | undefined): Response;
2159+
export function text(body: string, init?: ResponseInit): Response;
21602160
/**
21612161
* Create an `ActionFailure` object. Call when form submission fails.
21622162
* @param status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.
@@ -2455,7 +2455,7 @@ declare module '$app/navigation' {
24552455
invalidateAll?: boolean | undefined;
24562456
invalidate?: (string | URL | ((url: URL) => boolean))[] | undefined;
24572457
state?: App.PageState | undefined;
2458-
} | undefined): Promise<void>;
2458+
}): Promise<void>;
24592459
/**
24602460
* Causes any `load` functions belonging to the currently active page to re-run if they depend on the `url` in question, via `fetch` or `depends`. Returns a `Promise` that resolves when the page is subsequently updated.
24612461
*
@@ -2484,7 +2484,7 @@ declare module '$app/navigation' {
24842484
* */
24852485
export function refreshAll({ includeLoadFunctions }?: {
24862486
includeLoadFunctions?: boolean;
2487-
} | undefined): Promise<void>;
2487+
}): Promise<void>;
24882488
/**
24892489
* Programmatically preloads the given page, which means
24902490
* 1. ensuring that the code for the page is loaded, and

packages/package/src/filesystem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function walk(cwd, dirs = false) {
4646
}
4747
}
4848

49-
return walk_dir(''), all_files;
49+
return (walk_dir(''), all_files);
5050
}
5151

5252
/**

0 commit comments

Comments
 (0)