Skip to content

Commit

Permalink
Add 'node:' prefix to node stdlibs
Browse files Browse the repository at this point in the history
  • Loading branch information
simnalamburt committed Feb 5, 2025
1 parent 1ba075d commit 42dee62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import util from 'util'
import util from 'node:util'
import { Writable, Duplex } from 'node:stream'

import debugModule from 'debug'
import linewise from 'linewise'
import { Writable, Duplex } from 'stream'

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

Expand Down
2 changes: 1 addition & 1 deletion types/linewise.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Duplex } from 'stream'
import { Duplex } from 'node:stream'

declare module 'linewise' {
function getPerLineBuffer(): Duplex
Expand Down

0 comments on commit 42dee62

Please sign in to comment.