@h3ravel/url 1.0.3 → 1.0.5
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.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +11 -5
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 extends string, TParams extends Record<string, string> = Record<string, string>>(name: TName, params?: TParams, app?: Application): Url;
|
|
260
|
+
declare function route<TName$1 extends string, TParams$1 extends Record<string, string> = Record<string, string>>(name: TName$1, params?: TParams$1, app?: Application): Url;
|
|
261
261
|
/**
|
|
262
262
|
* Create a signed URL from a named route
|
|
263
263
|
*/
|
|
264
|
-
declare function signedRoute<TName extends string, TParams extends Record<string, string> = Record<string, string>>(name: TName, params?: TParams, app?: Application): Url;
|
|
264
|
+
declare function signedRoute<TName$1 extends string, TParams$1 extends Record<string, string> = Record<string, string>>(name: TName$1, params?: TParams$1, app?: Application): Url;
|
|
265
265
|
/**
|
|
266
266
|
* Create a temporary signed URL from a named route
|
|
267
267
|
*/
|
package/dist/index.d.ts
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 extends string, TParams extends Record<string, string> = Record<string, string>>(name: TName, params?: TParams, app?: Application): Url;
|
|
260
|
+
declare function route<TName$1 extends string, TParams$1 extends Record<string, string> = Record<string, string>>(name: TName$1, params?: TParams$1, app?: Application): Url;
|
|
261
261
|
/**
|
|
262
262
|
* Create a signed URL from a named route
|
|
263
263
|
*/
|
|
264
|
-
declare function signedRoute<TName extends string, TParams extends Record<string, string> = Record<string, string>>(name: TName, params?: TParams, app?: Application): Url;
|
|
264
|
+
declare function signedRoute<TName$1 extends string, TParams$1 extends Record<string, string> = Record<string, string>>(name: TName$1, params?: TParams$1, 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.5",
|
|
4
4
|
"description": "Request-aware URI builder and URL manipulation utilities for H3ravel.",
|
|
5
5
|
"h3ravel": {
|
|
6
6
|
"providers": [
|
|
@@ -44,16 +44,22 @@
|
|
|
44
44
|
"builder"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@h3ravel/
|
|
48
|
-
"@h3ravel/
|
|
47
|
+
"@h3ravel/shared": "^0.22.3",
|
|
48
|
+
"@h3ravel/support": "^0.14.2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@h3ravel/
|
|
52
|
-
"@h3ravel/
|
|
51
|
+
"@h3ravel/core": "^1.18.1",
|
|
52
|
+
"@h3ravel/http": "^11.4.1",
|
|
53
|
+
"@h3ravel/config": "^1.4.8"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"typescript": "^5.4.0"
|
|
56
57
|
},
|
|
58
|
+
"peerDependenciesMeta": {
|
|
59
|
+
"@h3ravel/config": {
|
|
60
|
+
"optional": true
|
|
61
|
+
}
|
|
62
|
+
},
|
|
57
63
|
"scripts": {
|
|
58
64
|
"barrel": "barrelsby --directory src --delete --singleQuotes",
|
|
59
65
|
"build": "tsdown --config-loader unconfig",
|