chore: use single logger instance
Node.js CI / CI (push) Has been cancelled
Security Scan and Upload / Security & DefectDojo Upload (push) Has been cancelled

This commit is contained in:
2026-02-03 19:11:30 -08:00
parent a1bb6b791c
commit d435b9da47
4 changed files with 4 additions and 12 deletions
+1 -3
View File
@@ -4,8 +4,8 @@
* @author Naomi Carrigan
*/
import { Logger } from "@nhcarrigan/logger";
import semver from "semver";
import { logger } from "../utils/logger.js";
import { NpmService } from "./npmService.js";
import type {
DependencyType,
@@ -13,8 +13,6 @@ import type {
PackageJson,
} from "../types/package.types.js";
const logger = new Logger("DependencyAnalyzer", process.env.LOG_TOKEN ?? "");
/**
* Checks if a version string is a valid semver range.
* @param version - The version string to validate.