-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[release/7.0] [wasm] Use "node:crypto" to polyfill getRandomValues on older node #78766
Conversation
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsBackport of #78696 to release/7.0 /cc @maraf Customer ImpactCustomers running node older than v19 are able to generate random bytes needed for example to generate guids. TestingUnit tests pass on node v14, v17, v19 RiskIMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.
|
/azp run runtime-wasm-libtests |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
@maraf can you please address the questions in the Tactics email you sent to unblock the approval? |
Approved via email by Tactics for 7.0.3 (February). |
Approved by Tactics. |
Backport of #78696 to release/7.0
/cc @maraf
Customer Impact
Customers running node older than v19 are able to generate random bytes needed for example to generate guids.
Without polyfill it fails with exception.
Testing
Unit tests pass on node v14, v17, v19
Risk
IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.