Skip to content

fix: uvBinding.errmap is undefined in Nodejs v12+ #329

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

Merged
merged 1 commit into from
May 12, 2021
Merged

fix: uvBinding.errmap is undefined in Nodejs v12+ #329

merged 1 commit into from
May 12, 2021

Conversation

3cp
Copy link
Collaborator

@3cp 3cp commented May 10, 2021

No idea why this did not fail in test/lib/binding.spec.js, a log of
uvBinding.errmap did yield the error map (maybe mocha patched it??).
It's very hard runtime error when using mock-fs 5.0.0-beta.1

No idea why this did not fail in test/lib/binding.spec.js, a log of
uvBinding.errmap did yield the error map (maybe mocha patched it??).
It's very hard runtime error when using mock-fs 5.0.0-beta.1
@3cp 3cp requested a review from tschaub May 10, 2021 21:50
@tschaub
Copy link
Owner

tschaub commented May 10, 2021

Yikes.

@3cp
Copy link
Collaborator Author

3cp commented May 12, 2021

Can we release another beta?

@tschaub tschaub merged commit e1ff57f into main May 12, 2021
@tschaub tschaub deleted the errmap branch May 12, 2021 16:55
@tschaub
Copy link
Owner

tschaub commented May 12, 2021

With #330, we now have a workflow that publishes new dev tagged releases with each commit to main. So you can try out the latest dev release with npm install mock-fs@dev. See the versions tab on the mock-fs package page to look for a specific dev version. Or you can look at the publish workflow for a commit to main to find the corresponding version id (e.g. expand the "Publish" part of the log in https://github.com/tschaub/mock-fs/runs/2568701956).

@3cp
Copy link
Collaborator Author

3cp commented May 15, 2021

The dev version is working well for me.

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.

None yet

2 participants