Skip to content

Commit

Permalink
fix: Fixes PurePath import in lib/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
philippefutureboy committed Apr 9, 2024
1 parent d58a933 commit 9f60cd1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/badges/semver.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/PurePath.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pathlib, { relative } from "node:path"
import pathlib from "node:path"

/**
* Pure path objects provide path-handling operations which don’t actually access a filesystem.
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as PurePath } from "./PurePath"
export { default as PurePath } from "./PurePath.js"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-pathlib",
"version": "0.0.2",
"version": "0.0.3",
"description": "A port of Python PEP 428, \"pathlib\" module, to node",
"type": "module",
"main": "lib/index.js",
Expand Down

0 comments on commit 9f60cd1

Please sign in to comment.