Skip to content

Commit 42dee62

Browse files
committed
Add 'node:' prefix to node stdlibs
1 parent 1ba075d commit 42dee62

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import util from 'util'
1+
import util from 'node:util'
2+
import { Writable, Duplex } from 'node:stream'
3+
24
import debugModule from 'debug'
35
import linewise from 'linewise'
4-
import { Writable, Duplex } from 'stream'
56

67
const debug = debugModule('slate-irc-parser')
78

types/linewise.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Duplex } from 'stream'
1+
import { Duplex } from 'node:stream'
22

33
declare module 'linewise' {
44
function getPerLineBuffer(): Duplex

0 commit comments

Comments
 (0)