Uh oh!
There was an error while loading. Please reload this page.
[release/7.0] [wasm] Use "node:crypto" to polyfill getRandomValues on older node - #78766
Conversation
ghost
commented
Nov 23, 2022
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.
|
radical
commented
Nov 23, 2022
/azp run runtime-wasm-libtests |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
radical
commented
Nov 23, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
carlossanlop
commented
Nov 28, 2022
@maraf can you please address the questions in the Tactics email you sent to unblock the approval? |
carlossanlop
commented
Nov 29, 2022
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.