@h3ravel/http 11.7.7 → 11.8.0-alpha.2
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/{chunk-BLWcukCW.js → chunk-Zh1HL_PD.js} +13 -13
- package/dist/{chunk-BncF-t-1.cjs → chunk-xvyjDJxY.cjs} +16 -16
- package/dist/env.d.ts +1 -0
- package/dist/{find-up-simple-C7LasaJE.cjs → find-up-simple-BT_3Z5Fk.cjs} +3 -3
- package/dist/{find-up-simple-Cb60ihyu.js → find-up-simple-D3xUobXL.js} +3 -3
- package/dist/index.cjs +3577 -2808
- package/dist/index.d.ts +598 -236
- package/dist/index.js +3438 -2670
- package/package.json +9 -8
- package/dist/app.globals.d.ts +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h3ravel/http",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.8.0-alpha.2",
|
|
4
4
|
"description": "HTTP kernel, middleware pipeline, request/response classes for H3ravel.",
|
|
5
5
|
"h3ravel": {
|
|
6
6
|
"providers": [
|
|
@@ -41,21 +41,22 @@
|
|
|
41
41
|
"laravel"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@h3ravel/
|
|
44
|
+
"@h3ravel/contracts": "^0.1.0-alpha.2",
|
|
45
|
+
"@h3ravel/support": "^0.1.0-alpha.2",
|
|
46
|
+
"@h3ravel/musket": "^0.6.11",
|
|
47
|
+
"@h3ravel/shared": "^0.1.0-alpha.2",
|
|
48
|
+
"@h3ravel/session": "^0.1.0-alpha.2",
|
|
45
49
|
"h3": "2.0.1-rc.5",
|
|
46
|
-
"srvx": "^0.8.2"
|
|
47
|
-
"@h3ravel/support": "^0.15.6",
|
|
48
|
-
"@h3ravel/shared": "^0.27.7",
|
|
49
|
-
"@h3ravel/url": "^1.0.15"
|
|
50
|
+
"srvx": "^0.8.2"
|
|
50
51
|
},
|
|
51
52
|
"peerDependencies": {
|
|
52
|
-
"@h3ravel/
|
|
53
|
+
"@h3ravel/validation": "^0.1.0-alpha.2",
|
|
54
|
+
"@h3ravel/foundation": "^0.1.0-alpha.2"
|
|
53
55
|
},
|
|
54
56
|
"devDependencies": {
|
|
55
57
|
"typescript": "^5.4.0"
|
|
56
58
|
},
|
|
57
59
|
"scripts": {
|
|
58
|
-
"barrel": "barrelsby --directory src --delete --singleQuotes",
|
|
59
60
|
"build": "tsdown --config-loader unconfig",
|
|
60
61
|
"dev": "tsx watch src/index.ts",
|
|
61
62
|
"start": "node dist/index.js",
|
package/dist/app.globals.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Request, Response } from '.'
|
|
2
|
-
|
|
3
|
-
export { }
|
|
4
|
-
|
|
5
|
-
declare global {
|
|
6
|
-
/**
|
|
7
|
-
* @returns a global instance of the Request class.
|
|
8
|
-
*/
|
|
9
|
-
function request (): Request
|
|
10
|
-
/**
|
|
11
|
-
* @returns a global instance of the Response class.
|
|
12
|
-
*/
|
|
13
|
-
function response (): Response
|
|
14
|
-
}
|