Skip to content

Commit 435d1f7

Browse files
sgammonisaacs
authored andcommitted
fix: use node:-prefixed requires for builtins
Fixes and closes #580 by switching to `node:`- prefixed requires for Node API builtins. Will need releases for `minipass` and `path-scurry`, PRs for these are noted below. Relates to: - isaacs/path-scurry#17 - isaacs/minipass#55 Signed-off-by: Sam Gammon <[email protected]> PR-URL: #581 Credit: @sgammon Close: #581 Reviewed-by: @isaacs
1 parent 7732ea3 commit 435d1f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/glob.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
PathScurryPosix,
99
PathScurryWin32,
1010
} from 'path-scurry'
11-
import { fileURLToPath } from 'url'
11+
import { fileURLToPath } from 'node:url'
1212
import { IgnoreLike } from './ignore.js'
1313
import { Pattern } from './pattern.js'
1414
import { GlobStream, GlobWalker } from './walker.js'

0 commit comments

Comments
 (0)