ziggy-js 2.5.1 → 2.5.3
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/package.json +5 -5
- package/src/js/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ziggy-js",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.3",
|
|
4
4
|
"description": "Use your Laravel named routes in JavaScript.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"laravel",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"qs": "~6.9.7"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"jsdom": "^
|
|
60
|
+
"jsdom": "^26.1.0",
|
|
61
61
|
"microbundle": "^0.15.1",
|
|
62
|
-
"prettier": "^3.
|
|
63
|
-
"typescript": "^5.
|
|
64
|
-
"vitest": "^
|
|
62
|
+
"prettier": "^3.5.3",
|
|
63
|
+
"typescript": "^5.8.3",
|
|
64
|
+
"vitest": "^3.1.3"
|
|
65
65
|
},
|
|
66
66
|
"prettier": {
|
|
67
67
|
"printWidth": 100,
|
package/src/js/index.d.ts
CHANGED
|
@@ -171,7 +171,7 @@ interface ParsedQs {
|
|
|
171
171
|
*/
|
|
172
172
|
interface Router {
|
|
173
173
|
current(): ValidRouteName | undefined;
|
|
174
|
-
current<T extends
|
|
174
|
+
current<T extends RouteName>(name: T, params?: ParameterValue | RouteParams<T>): boolean;
|
|
175
175
|
get params(): Record<string, string>;
|
|
176
176
|
get routeParams(): Record<string, string>;
|
|
177
177
|
get queryParams(): ParsedQs;
|