summaryrefslogtreecommitdiff
path: root/benchmark/bench/render.js
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2023-07-18 02:17:59 +0200
committerGravatar GitHub <noreply@github.com> 2023-07-18 02:17:59 +0200
commitf14e48098a3bc74d85715b5610dbba588d4943cd (patch)
tree11284e8456c5f7f52fd37d1ad6f488133e883db9 /benchmark/bench/render.js
parentcc0f81c040e912cff0c09e89327ef1655f96b67d (diff)
downloadastro-f14e48098a3bc74d85715b5610dbba588d4943cd.tar.gz
astro-f14e48098a3bc74d85715b5610dbba588d4943cd.tar.zst
astro-f14e48098a3bc74d85715b5610dbba588d4943cd.zip
nit: use `node:` prefix everywhere (#7692)
* nit: use `node:` prefix everywhere * nit: fs/promises too * test: workaround issue in node builtin detection
Diffstat (limited to 'benchmark/bench/render.js')
-rw-r--r--benchmark/bench/render.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/benchmark/bench/render.js b/benchmark/bench/render.js
index aaeb0d022..dae33f470 100644
--- a/benchmark/bench/render.js
+++ b/benchmark/bench/render.js
@@ -1,12 +1,12 @@
-import fs from 'fs/promises';
-import http from 'http';
-import path from 'path';
-import { fileURLToPath } from 'url';
import { execaCommand } from 'execa';
-import { waitUntilBusy } from 'port-authority';
import { markdownTable } from 'markdown-table';
-import { renderFiles } from '../make-project/render-default.js';
+import fs from 'node:fs/promises';
+import http from 'node:http';
+import path from 'node:path';
+import { fileURLToPath } from 'node:url';
+import { waitUntilBusy } from 'port-authority';
import { calculateStat } from '../make-project/_util.js';
+import { renderFiles } from '../make-project/render-default.js';
import { astroBin } from './_util.js';
const port = 4322;