Skip to content

Commit bbd8af6

Browse files
committed
chore: update dependencies
1 parent 2fee716 commit bbd8af6

File tree

5 files changed

+24
-28
lines changed

5 files changed

+24
-28
lines changed

package.json

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"name": "youch",
33
"description": "Pretty print JavaScript errors on the Web and the Terminal",
44
"version": "4.1.0-beta.9",
5-
"engines": {
6-
"node": ">=18"
7-
},
85
"type": "module",
96
"files": [
107
"build",
@@ -31,40 +28,46 @@
3128
"version": "npm run build",
3229
"prepublishOnly": "npm run build",
3330
"release": "release-it",
34-
"quick:test": "node --import=ts-node-maintained/register/esm --enable-source-maps bin/test.ts"
31+
"quick:test": "node --import=@poppinss/ts-exec --enable-source-maps bin/test.ts"
3532
},
3633
"devDependencies": {
37-
"@adonisjs/eslint-config": "^2.1.0",
34+
"@adonisjs/eslint-config": "^3.0.0-next.0",
3835
"@adonisjs/prettier-config": "^1.4.5",
39-
"@adonisjs/tsconfig": "^1.4.1",
40-
"@aws-sdk/client-s3": "^3.837.0",
41-
"@aws-sdk/s3-request-presigner": "^3.837.0",
36+
"@adonisjs/tsconfig": "^2.0.0-next.0",
37+
"@aws-sdk/client-s3": "^3.842.0",
38+
"@aws-sdk/s3-request-presigner": "^3.842.0",
4239
"@japa/assert": "^4.0.1",
4340
"@japa/expect": "^3.0.4",
4441
"@japa/expect-type": "^2.0.3",
4542
"@japa/file-system": "^2.3.2",
4643
"@japa/runner": "^4.2.0",
4744
"@japa/snapshot": "^2.0.8",
48-
"@poppinss/exception": "^1.2.1",
45+
"@poppinss/exception": "^1.2.2",
46+
"@poppinss/ts-exec": "^1.4.0",
4947
"@release-it/conventional-changelog": "^10.0.1",
50-
"@swc/core": "1.12.7",
5148
"@types/cookie": "^1.0.0",
5249
"@types/jsdom": "^21.1.7",
53-
"@types/node": "^24.0.4",
50+
"@types/node": "^24.0.10",
5451
"@types/pg": "^8.15.4",
5552
"axios": "^1.10.0",
5653
"c8": "^10.1.3",
5754
"copyfiles": "^2.4.1",
58-
"eslint": "^9.29.0",
59-
"flydrive": "^1.2.0",
55+
"eslint": "^9.30.1",
56+
"flydrive": "^1.3.0",
6057
"jsdom": "^26.1.0",
61-
"pg": "^8.16.2",
58+
"pg": "^8.16.3",
6259
"prettier": "^3.6.2",
6360
"release-it": "^19.0.3",
64-
"ts-node-maintained": "^10.9.5",
6561
"tsup": "^8.5.0",
6662
"typescript": "^5.8.3"
6763
},
64+
"dependencies": {
65+
"@poppinss/colors": "^4.1.5",
66+
"@poppinss/dumper": "^0.6.4",
67+
"@speed-highlight/core": "^1.2.7",
68+
"cookie": "^1.0.2",
69+
"youch-core": "^0.3.3"
70+
},
6871
"homepage": "https://github.com/poppinss/youch#readme",
6972
"repository": {
7073
"type": "git",
@@ -126,12 +129,5 @@
126129
"tests/**"
127130
]
128131
},
129-
"prettier": "@adonisjs/prettier-config",
130-
"dependencies": {
131-
"@poppinss/colors": "^4.1.4",
132-
"@poppinss/dumper": "^0.6.3",
133-
"@speed-highlight/core": "^1.2.7",
134-
"cookie": "^1.0.2",
135-
"youch-core": "^0.3.2"
136-
}
132+
"prettier": "@adonisjs/prettier-config"
137133
}

src/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
import useColors from '@poppinss/colors'
11-
import { Colors } from '@poppinss/colors/types'
11+
import { type Colors } from '@poppinss/colors/types'
1212

1313
const ANSI_REGEX = new RegExp(
1414
[

src/metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { ErrorMetadataGroups, ErrorMetadataRow } from './types.js'
10+
import { type ErrorMetadataGroups, type ErrorMetadataRow } from './types.js'
1111

1212
/**
1313
* Attach metadata to the parsed error as groups, sections

src/templates.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
import type { ParsedError } from 'youch-core/types'
1111
import { createScript, createStyleSheet } from '@poppinss/dumper/html'
1212

13-
import { Metadata } from './metadata.js'
14-
import { BaseComponent } from './component.js'
13+
import { type Metadata } from './metadata.js'
1514
import type { YouchTemplates } from './types.js'
15+
import { type BaseComponent } from './component.js'
1616
import { Header } from './templates/header/main.js'
1717
import { Layout } from './templates/layout/main.js'
1818
import { ErrorInfo } from './templates/error_info/main.js'

src/youch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import type { Parser, SourceLoader, Transformer, YouchParserOptions } from 'youc
1313

1414
import { Metadata } from './metadata.js'
1515
import { Templates } from './templates.js'
16-
import { YouchANSIOptions, YouchHTMLOptions, YouchJSONOptions } from './types.js'
16+
import { type YouchANSIOptions, type YouchHTMLOptions, type YouchJSONOptions } from './types.js'
1717

1818
/**
1919
* Youch exposes the API to render errors to HTML output

0 commit comments

Comments
 (0)