docs: fixup wording and formatting on JavaScript

This commit is contained in:
Valentin Gagarin 2022-12-05 16:26:52 +01:00
parent 53b5a47c12
commit db1a83aaa4
2 changed files with 9 additions and 6 deletions

View file

@ -487,12 +487,12 @@ Preferred source hash type is sha256. There are several ways to get it.
- `lib.fakeHash`
- `lib.fakeSha256`
- `lib.fakeSha512`
in the package expression, attempt build and extract correct hash from error messages.
::: {.warning}
You must use one of these four fake hashes and not some arbitrarily-chosen hash.
See [](#sec-source-hashes-security).
:::