@h3ravel/url 1.0.8 → 1.0.10
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.cjs
CHANGED
|
@@ -22,9 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
22
|
|
|
23
23
|
//#endregion
|
|
24
24
|
let __h3ravel_core = require("@h3ravel/core");
|
|
25
|
-
__h3ravel_core = __toESM(__h3ravel_core);
|
|
26
25
|
let __h3ravel_support = require("@h3ravel/support");
|
|
27
|
-
__h3ravel_support = __toESM(__h3ravel_support);
|
|
28
26
|
let node_path = require("node:path");
|
|
29
27
|
node_path = __toESM(node_path);
|
|
30
28
|
|
package/dist/index.d.cts
CHANGED
|
@@ -257,11 +257,11 @@ declare function to(path: string, app?: Application): Url;
|
|
|
257
257
|
/**
|
|
258
258
|
* Create a URL from a named route
|
|
259
259
|
*/
|
|
260
|
-
declare function route<TName
|
|
260
|
+
declare function route<TName extends string, TParams extends Record<string, string> = Record<string, string>>(name: TName, params?: TParams, app?: Application): Url;
|
|
261
261
|
/**
|
|
262
262
|
* Create a signed URL from a named route
|
|
263
263
|
*/
|
|
264
|
-
declare function signedRoute<TName
|
|
264
|
+
declare function signedRoute<TName extends string, TParams extends Record<string, string> = Record<string, string>>(name: TName, params?: TParams, app?: Application): Url;
|
|
265
265
|
/**
|
|
266
266
|
* Create a temporary signed URL from a named route
|
|
267
267
|
*/
|
|
@@ -257,11 +257,11 @@ declare function to(path: string, app?: Application): Url;
|
|
|
257
257
|
/**
|
|
258
258
|
* Create a URL from a named route
|
|
259
259
|
*/
|
|
260
|
-
declare function route<TName
|
|
260
|
+
declare function route<TName extends string, TParams extends Record<string, string> = Record<string, string>>(name: TName, params?: TParams, app?: Application): Url;
|
|
261
261
|
/**
|
|
262
262
|
* Create a signed URL from a named route
|
|
263
263
|
*/
|
|
264
|
-
declare function signedRoute<TName
|
|
264
|
+
declare function signedRoute<TName extends string, TParams extends Record<string, string> = Record<string, string>>(name: TName, params?: TParams, app?: Application): Url;
|
|
265
265
|
/**
|
|
266
266
|
* Create a temporary signed URL from a named route
|
|
267
267
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h3ravel/url",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "Request-aware URI builder and URL manipulation utilities for H3ravel.",
|
|
5
5
|
"h3ravel": {
|
|
6
6
|
"providers": [
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"builder"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@h3ravel/support": "^0.
|
|
48
|
-
"@h3ravel/shared": "^0.
|
|
47
|
+
"@h3ravel/support": "^0.15.1",
|
|
48
|
+
"@h3ravel/shared": "^0.27.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@h3ravel/
|
|
52
|
-
"@h3ravel/
|
|
51
|
+
"@h3ravel/core": "^1.21.1",
|
|
52
|
+
"@h3ravel/config": "^1.4.13"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"typescript": "^5.4.0"
|
|
File without changes
|