Skip to content

Commit

Permalink
fix: use node:-prefixed requires for builtins
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sgammon authored and isaacs committed May 9, 2024
1 parent 7732ea3 commit 435d1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/glob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
PathScurryPosix,
PathScurryWin32,
} from 'path-scurry'
import { fileURLToPath } from 'url'
import { fileURLToPath } from 'node:url'
import { IgnoreLike } from './ignore.js'
import { Pattern } from './pattern.js'
import { GlobStream, GlobWalker } from './walker.js'
Expand Down

0 comments on commit 435d1f7

Please sign in to comment.