-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Require Node.js 12 and move to ESM #8
Conversation
index.js
Outdated
isSymlinkSync | ||
}; | ||
|
||
export default pathType; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no default export
package.json
Outdated
"engines": { | ||
"node": ">=8" | ||
"node": ">=12" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incorrect indentation
test/eacces.js
Outdated
@@ -1,6 +1,6 @@ | |||
import fs from 'fs'; | |||
import test from 'ava'; | |||
import pathType from '../index.js'; | |||
import * as pathType from '../index.js'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should import named exports.
One thing I missed: You didn't update the readme usage example. |
Oh - sorry about that, thanks for taking care of it! |
No description provided.