-
Notifications
You must be signed in to change notification settings - Fork 67
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
Update all the stuff #80
base: master
Are you sure you want to change the base?
Conversation
}))).then(result => { | ||
const resultingFiles = flatten(result.map((item, index) => { | ||
const resultingFiles = result.flatMap((item, index) => { |
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.
Switched this to flatMap
and removed the custom flatten
function, but I could use a confirmation.
"xo": "xo", | ||
"test": "npm run xo && npm run ava" | ||
}, | ||
"main": "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.
Unsure if main
is even needed anymore
ab3a2dd
to
1550099
Compare
83aca3b
to
b7ee8a0
Compare
636463a
to
53bcdf3
Compare
Hi @XhmikosR! Could this PR be merged? 🙏🏼 This PR updates the ─┬ [email protected] Thank you! 😊 |
I don't have push/npm rights. Also see #79 (comment) |
Also, add coverage with c8
|
||
/** | ||
* Initialize a new `BinWrapper` | ||
* | ||
* @param {Object} options | ||
* @api public | ||
*/ | ||
module.exports = class BinWrapper { | ||
export default class BinWrapper { |
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.
index.js
@sindresorhus friendly ping for review :)
Let me know if something could be improved, I haven't switched many projects to ESM yet.
CI run since it doesn't run yet on this repo: https://github.com/XhmikosR/bin-wrapper/actions
Closes #77, refs #79