Skip to content

Commit 79417a3

Browse files
committed
fix: add node: namespace
1 parent 463cde1 commit 79417a3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

benchmarks/helpers/graph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { writeFileSync } from 'fs';
1+
import { writeFileSync } from 'node:fs';
22
import { optimize } from 'svgo';
33
import { parse, View } from 'vega';
44
import { compile } from 'vega-lite';

benchmarks/helpers/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { add, complete, cycle, suite } from 'benny';
2-
import { readFileSync, writeFileSync, existsSync, unlinkSync } from 'fs';
3-
import { join } from 'path';
2+
import { readFileSync, writeFileSync, existsSync, unlinkSync } from 'node:fs';
3+
import { join } from 'node:path';
44
import { writePreviewGraph } from './graph';
55
import { getRegisteredBenchmarks } from './register';
66
import type { BenchmarkCase, BenchmarkResult } from './types';

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as childProcess from 'child_process';
1+
import * as childProcess from 'node:child_process';
22
import * as benchmarks from './benchmarks';
33
import * as cases from './cases';
44

0 commit comments

Comments
 (0)