@inertiajs/core 2.3.10 → 2.3.11
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 +9 -1
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +9 -1
- package/dist/index.js.map +2 -2
- package/package.json +5 -7
- package/types/types.d.ts +1 -1
- package/types/useFormUtils.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inertiajs/core",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A framework for creating server-driven single page apps.",
|
|
6
6
|
"contributors": [
|
|
@@ -45,18 +45,16 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@types/lodash-es": "^4.17.12",
|
|
48
|
-
"laravel-precognition": "^1.0.0",
|
|
49
48
|
"axios": "^1.13.2",
|
|
50
|
-
"
|
|
49
|
+
"laravel-precognition": "^1.0.0",
|
|
50
|
+
"lodash-es": "^4.17.22",
|
|
51
51
|
"qs": "^6.14.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@types/deepmerge": "^2.2.3",
|
|
55
54
|
"@types/node": "^18.19.130",
|
|
56
|
-
"@types/nprogress": "^0.2.3",
|
|
57
55
|
"@types/qs": "^6.14.0",
|
|
58
|
-
"es-check": "^9.
|
|
59
|
-
"esbuild": "^0.
|
|
56
|
+
"es-check": "^9.5.3",
|
|
57
|
+
"esbuild": "^0.27.2",
|
|
60
58
|
"esbuild-node-externals": "^1.20.1",
|
|
61
59
|
"typescript": "^5.9.3"
|
|
62
60
|
},
|
package/types/types.d.ts
CHANGED
|
@@ -438,7 +438,7 @@ export type UrlMethodPair = {
|
|
|
438
438
|
};
|
|
439
439
|
export type UseFormTransformCallback<TForm> = (data: TForm) => object;
|
|
440
440
|
export type UseFormWithPrecognitionArguments = [Method | (() => Method), string | (() => string)] | [UrlMethodPair | (() => UrlMethodPair)];
|
|
441
|
-
type UseFormInertiaArguments<TForm> = [data: TForm | (() => TForm)] | [rememberKey: string, data: TForm | (() => TForm)];
|
|
441
|
+
type UseFormInertiaArguments<TForm> = [] | [data: TForm | (() => TForm)] | [rememberKey: string, data: TForm | (() => TForm)];
|
|
442
442
|
type UseFormPrecognitionArguments<TForm> = [urlMethodPair: UrlMethodPair | (() => UrlMethodPair), data: TForm | (() => TForm)] | [method: Method | (() => Method), url: string | (() => string), data: TForm | (() => TForm)];
|
|
443
443
|
export type UseFormArguments<TForm> = UseFormInertiaArguments<TForm> | UseFormPrecognitionArguments<TForm>;
|
|
444
444
|
export type UseFormSubmitOptions = Omit<VisitOptions, 'data'>;
|
package/types/useFormUtils.d.ts
CHANGED