Skip to content

Commit 463e1aa

Browse files
authored
Merge pull request #572 from sjrd/fix-fake-insecure-library-typos
Fix the artifact name and URL of scalajs-fake-insecure-java-securerandom.
2 parents 25eddca + 7a7da39 commit 463e1aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/news/2022-04-04-announcing-scalajs-1.10.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ This means that code that was previously calling `java.util.UUID.randomUUID()` w
6161
To preserve binary compatibility, we introduce two variants of a library that provides `java.security.SecureRandom`:
6262

6363
* [`scalajs-java-securerandom`](https://github.com/scala-js/scala-js-java-securerandom) provides a *correct*, cryptographically secure implementation of `java.security.SecureRandom`, but relies on the Node.js `crypto` module or the Web Crypto API `crypto.getRandomValues` to be available (e.g., in browsers).
64-
* [`scalajs-fake-insecure-securerandom`](https://github.com/scala-js/scala-js-fake-insecure-securerandom) is a fake, *insecure* implementation that works in any ECMAScript environment. The only reason this exists is to unblock migration from Scala.js 1.9.x and earlier, in situations that require `randomUUID()` and can accept that they will be insecure.
64+
* [`scalajs-fake-insecure-java-securerandom`](https://github.com/scala-js/scala-js-fake-insecure-java-securerandom) is a fake, *insecure* implementation that works in any ECMAScript environment. The only reason this exists is to unblock migration from Scala.js 1.9.x and earlier, in situations that require `randomUUID()` and can accept that they will be insecure.
6565

6666
Due to the changes in the core library, you may encounter linking errors when upgrading to Scala.js 1.10.0, such as:
6767

@@ -92,7 +92,7 @@ Find out if your environment provides a source of cryptographically secure pseud
9292
If it does, you may want to use it to shim `crypto.getRandomValues`, and/or send a pull request to [`scalajs-java-securerandom`](https://github.com/scala-js/scala-js-java-securerandom).
9393
Otherwise, replace calls to `randomUUID()` with another implementation, in a way that corresponds to your requirements in terms of security and collision likelihood.
9494

95-
If you have **no other choice**, depend on `scalajs-fake-insecure-securerandom` instead.
95+
If you have **no other choice**, depend on `scalajs-fake-insecure-java-securerandom` instead.
9696
As its name implies, this is an *insecure* implementation, and you should get rid of this dependency as soon as possible.
9797

9898
## New module split style: `SmallModulesFor(packages)`

0 commit comments

Comments
 (0)