@inertiajs/core 2.1.6 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +2 -2
- package/package.json +3 -3
- package/types/progress-component.d.ts +1 -1
- package/types/url.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inertiajs/core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A framework for creating server-driven single page apps.",
|
|
6
6
|
"contributors": [
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@types/lodash-es": "^4.17.12",
|
|
48
|
-
"axios": "^1.
|
|
48
|
+
"axios": "^1.12.0",
|
|
49
49
|
"lodash-es": "^4.17.21",
|
|
50
50
|
"qs": "^6.9.0"
|
|
51
51
|
},
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"es-check": "^9.3.1",
|
|
58
58
|
"esbuild": "^0.25.0",
|
|
59
59
|
"esbuild-node-externals": "^1.6.0",
|
|
60
|
-
"typescript": "^
|
|
60
|
+
"typescript": "^5.9.2"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "pnpm clean && ./build.js && tsc",
|
|
@@ -2,7 +2,7 @@ import { ProgressSettings } from './types';
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
configure: (options: Partial<ProgressSettings>) => void;
|
|
4
4
|
isStarted: () => boolean;
|
|
5
|
-
done: (force?: boolean
|
|
5
|
+
done: (force?: boolean) => void;
|
|
6
6
|
set: (n: number) => void;
|
|
7
7
|
remove: () => void;
|
|
8
8
|
start: () => void;
|
package/types/url.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormDataConvertible, Method, RequestPayload, UrlMethodPair, VisitOptions } from './types';
|
|
2
2
|
export declare function hrefToUrl(href: string | URL): URL;
|
|
3
|
-
export declare const transformUrlAndData: (href: string | URL, data: RequestPayload, method: Method, forceFormData: VisitOptions[
|
|
3
|
+
export declare const transformUrlAndData: (href: string | URL, data: RequestPayload, method: Method, forceFormData: VisitOptions["forceFormData"], queryStringArrayFormat: VisitOptions["queryStringArrayFormat"]) => [URL, RequestPayload];
|
|
4
4
|
type MergeDataIntoQueryStringDataReturnType<T extends RequestPayload> = T extends Record<string, FormDataConvertible> ? Record<string, FormDataConvertible> : RequestPayload;
|
|
5
5
|
export declare function mergeDataIntoQueryString<T extends RequestPayload>(method: Method, href: URL | string, data: T, qsArrayFormat?: 'indices' | 'brackets'): [string, MergeDataIntoQueryStringDataReturnType<T>];
|
|
6
6
|
export declare function urlWithoutHash(url: URL | Location): URL;
|