@h3ravel/http 11.2.0 → 11.2.1
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 +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -58,7 +58,7 @@ declare class Request implements IRequest {
|
|
|
58
58
|
* Gets route parameters.
|
|
59
59
|
* @returns An object containing route parameters.
|
|
60
60
|
*/
|
|
61
|
-
readonly params: NonNullable<H3Event[
|
|
61
|
+
readonly params: NonNullable<H3Event['context']['params']>;
|
|
62
62
|
/**
|
|
63
63
|
* Gets query parameters.
|
|
64
64
|
* @returns An object containing query parameters.
|
package/dist/index.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ declare class Request implements IRequest {
|
|
|
58
58
|
* Gets route parameters.
|
|
59
59
|
* @returns An object containing route parameters.
|
|
60
60
|
*/
|
|
61
|
-
readonly params: NonNullable<H3Event[
|
|
61
|
+
readonly params: NonNullable<H3Event['context']['params']>;
|
|
62
62
|
/**
|
|
63
63
|
* Gets query parameters.
|
|
64
64
|
* @returns An object containing query parameters.
|
package/dist/index.js
CHANGED
|
@@ -18305,7 +18305,6 @@ var FireCommand = class extends ConsoleCommand {
|
|
|
18305
18305
|
{--a|host=localhost : The host address to serve the application on}
|
|
18306
18306
|
{--p|port=3000 : The port to serve the application on}
|
|
18307
18307
|
{--t|tries=10 : The max number of ports to attempt to serve from}
|
|
18308
|
-
{--d|debug : Show extra debug info, like registered service providers and more}
|
|
18309
18308
|
`;
|
|
18310
18309
|
/**
|
|
18311
18310
|
* The console command description.
|
|
@@ -18327,10 +18326,10 @@ var FireCommand = class extends ConsoleCommand {
|
|
|
18327
18326
|
const host = this.option("host");
|
|
18328
18327
|
const tries = this.option("tries");
|
|
18329
18328
|
const ENV_VARS = {
|
|
18330
|
-
EXTENDED_DEBUG: this.option("
|
|
18329
|
+
EXTENDED_DEBUG: Number(this.option("verbose", 0)) > 0 ? "true" : "false",
|
|
18331
18330
|
CLI_BUILD: "false",
|
|
18332
18331
|
NODE_ENV: "development",
|
|
18333
|
-
|
|
18332
|
+
DIST_DIR: outDir,
|
|
18334
18333
|
HOSTNAME: host,
|
|
18335
18334
|
RETRIES: tries,
|
|
18336
18335
|
PORT: port
|