Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update all the stuff #80

wants to merge 2 commits into from

Conversation

XhmikosR
Copy link
Contributor

@XhmikosR XhmikosR commented Jan 12, 2022

@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

}))).then(result => {
const resultingFiles = flatten(result.map((item, index) => {
const resultingFiles = result.flatMap((item, index) => {
Copy link
Contributor Author

@XhmikosR XhmikosR Jan 12, 2022

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",
Copy link
Contributor Author

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

@rocalvo-meli
Copy link

Hi @XhmikosR!

Could this PR be merged? 🙏🏼

This PR updates the bin-version-check dependency and will fix an important vulnerability that will be fixed under the hood with the dependency tree update:

─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected] ---> Patched versions 3.1.3 - 4.0.1

Thank you! 😊

@XhmikosR
Copy link
Contributor Author

I don't have push/npm rights. Also see #79 (comment)


/**
* Initialize a new `BinWrapper`
*
* @param {Object} options
* @api public
*/
module.exports = class BinWrapper {
export default class BinWrapper {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

index.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants