remove timers/promises import for node 14

This commit is contained in:
BitterPanda 2025-11-24 16:06:34 +01:00
parent 33e975f519
commit 8444a9d6ea

View file

@ -1,10 +1,13 @@
import { auditChanges } from "./audit/index.js";
import { getScanTimeout } from "../config/configFile.js";
import { setTimeout } from "timers/promises";
import { promisify } from "util";
import chalk from "chalk";
import { getPackageManager } from "../packagemanager/currentPackageManager.js";
import { ui } from "../environment/userInteraction.js";
// node 14 compat
const setTimeout = promisify(setTimeout);
/**
* @param {string[]} args
*