barrel node specific modules to summarise the warnings

This commit is contained in:
vorotamoroz
2026-06-17 06:15:25 +01:00
parent 4a5283543d
commit 88a8bcbd5a
16 changed files with 169 additions and 29 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
import * as path from "path";
import * as readline from "node:readline/promises";
import { path, readline } from "../node-compat";
export function toArrayBuffer(data: Buffer): ArrayBuffer {
return data.buffer.slice(data.byteOffset, data.byteOffset + data.byteLength) as ArrayBuffer;