refactor: cleanup import
[benchmarks-js.git] / uuid-generator.mjs
index f99c33864c31fcacef499a0455eba02ba74340fe..f85005f91c86329520f5eeb19f85e3aaad9b7e6c 100644 (file)
@@ -1,4 +1,4 @@
-import crypto from 'crypto'
+import crypto from 'node:crypto'
 import Benchmark from 'benny'
 import { v4 as uuid } from 'uuid'
 
@@ -27,6 +27,6 @@ Benchmark.suite(
     format: 'table.html',
     details: true
   })
-).catch((err) => {
+).catch(err => {
   console.error(err)
 })