Skip to content

Commit 90d1bd9

Browse files
committed
feat: use @tduyng/prettyouput to replace deprecated prettyoutput library
1 parent 8392aa3 commit 90d1bd9

5 files changed

+21
-11
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"node": ">=18"
4646
},
4747
"dependencies": {
48-
"prettyoutput": "1.x"
48+
"@tduyng/prettyoutput": "2.0"
4949
},
5050
"devDependencies": {
5151
"@biomejs/biome": "1.9.4",

pnpm-lock.yaml

+18-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/output_adapters.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Writable } from 'node:stream'
2-
import prettyOutput from 'prettyoutput'
2+
import prettyOutput from '@tduyng/prettyoutput'
33
import { colors } from './colors.js'
44
import type { Log, LogColor, LogLevel, Output } from './definitions.js'
55
import { stringifyLog } from './output_utils.js'

src/types/pretty_output.d.ts

-5
This file was deleted.

test/output_adapters.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import prettyOutput from 'prettyoutput'
1+
import prettyOutput from '@tduyng/prettyoutput'
22
import {
33
type MockInstance,
44
afterAll,

0 commit comments

Comments
 (0)