X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=random.mjs;h=2fff08e61c29e0c8d51161236b395d62fd34420e;hb=f364a19a8cf80e8d817f817342bc71a743b79e09;hp=d59c81359809a995111ba10bab27ef4874a8bd8b;hpb=48f5216deed3bc4d9a64e81822fe8d6bd5c5cdcd;p=benchmarks-js.git diff --git a/random.mjs b/random.mjs index d59c813..2fff08e 100644 --- a/random.mjs +++ b/random.mjs @@ -1,4 +1,4 @@ -import crypto from 'crypto' +import crypto from 'node:crypto' import Benchmark from 'benny' import { secureRandom, @@ -100,6 +100,6 @@ Benchmark.suite( format: 'table.html', details: true }) -).catch((err) => { +).catch(err => { console.error(err) })