-
Notifications
You must be signed in to change notification settings - Fork 2
Update napi-rs, relock #12
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
Conversation
| const isMuslFromReport = () => { | ||
| const report = typeof process.report.getReport === 'function' ? process.report.getReport() : null | ||
| let report = null | ||
| if (typeof process.report?.getReport === 'function') { |
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 to me strikes me as a mistake in napi-rs; they added a ?. here but I'm fully able to declare that the package should work in old versions of node.
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.
But, ?. is Node 14, so, whatever
|
Binding tests are failing :( |
|
Somehow, callbacks are broken. The rust code all seems right, yet we are getting all of the args passed into the callbacks as an array passed to the first arg, instead of actually spread as args. |
|
I reverted the lockfile thing since I don't think it's even used without I wrote a script to query each transitive dep and it seems like only So, this PR is not strictly needed, but probably wise anyway since I think I mismatched napi versions. |

See below