Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Nov 23, 2024
1 parent 3bc2eb7 commit 3e2d88d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
},
"prettier": "@adonisjs/prettier-config",
"dependencies": {
"@poppinss/dumper": "^0.6.0",
"@poppinss/dumper": "^0.6.1",
"@speed-highlight/core": "^1.2.6",
"youch-core": "^0.2.6"
"youch-core": "^0.3.0"
}
}
24 changes: 24 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ export type YouchHTMLOptions = {
*/
offset?: number

/**
* Number of lines of code to display for the error stack frame.
* For example: If you set the frameSourceBuffer=7, then 3 lines
* above the error line and 3 lines after the error line will
* be displayed.
*/
frameSourceBuffer?: number

/**
* Define the error title. It could be the HTTP status
* text
Expand Down Expand Up @@ -159,6 +167,14 @@ export type YouchANSIOptions = {
* the top
*/
offset?: number

/**
* Number of lines of code to display for the error stack frame.
* For example: If you set the frameSourceBuffer=7, then 3 lines
* above the error line and 3 lines after the error line will
* be displayed.
*/
frameSourceBuffer?: number
}

/**
Expand All @@ -171,4 +187,12 @@ export type YouchJSONOptions = {
* the top
*/
offset?: number

/**
* Number of lines of code to display for the error stack frame.
* For example: If you set the frameSourceBuffer=7, then 3 lines
* above the error line and 3 lines after the error line will
* be displayed.
*/
frameSourceBuffer?: number
}

0 comments on commit 3e2d88d

Please sign in to comment.