Skip to content

Commit

Permalink
chore: use node prefix imports (#24)
Browse files Browse the repository at this point in the history
* chore: use node prefix imports

change import to be prefixed with node: to indicate builtin
module usage

* add changelog entry
  • Loading branch information
emattiza authored Jan 9, 2025
1 parent d5f08cf commit 2d03799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ New features:
Bugfixes:

Other improvements:
- Use node: prefix imports in FFI to preferentially force builtin module usage (#24)

## [v5.0.0](https://github.com/purescript-node/purescript-node-path/releases/tag/v5.0.0) - 2022-04-27

Expand Down
2 changes: 1 addition & 1 deletion src/Node/Path.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from "node:path";
export const normalize = path.normalize;

export function concat(segments) {
Expand Down

0 comments on commit 2d03799

Please sign in to comment.