diff --git a/cli/package-lock.json b/cli/package-lock.json index 216991d8..39212cc9 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -32,8 +32,7 @@ "prettier": "^3.3.3", "sinon": "^19.0.2", "ts-node": "^10.9.2", - "typescript": "^5.1.6", - "why-is-node-running": "^3.2.1" + "typescript": "^5.1.6" } }, "node_modules/@cspotcode/source-map-support": { @@ -3115,19 +3114,6 @@ "node": ">= 8" } }, - "node_modules/why-is-node-running": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-3.2.1.tgz", - "integrity": "sha512-Tb2FUhB4vUsGQlfSquQLYkApkuPAFQXGFzxWKHHumVz2dK+X1RUm/HnID4+TfIGYJ1kTcwOaCk/buYCEJr6YjQ==", - "dev": true, - "license": "MIT", - "bin": { - "why-is-node-running": "cli.js" - }, - "engines": { - "node": ">=20.11" - } - }, "node_modules/word-wrap": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", diff --git a/cli/package.json b/cli/package.json index b970706d..c6781a3f 100644 --- a/cli/package.json +++ b/cli/package.json @@ -45,8 +45,7 @@ "prettier": "^3.3.3", "sinon": "^19.0.2", "ts-node": "^10.9.2", - "typescript": "^5.1.6", - "why-is-node-running": "^3.2.1" + "typescript": "^5.1.6" }, "dependencies": { "@opentdf/sdk": "file:../lib/opentdf-sdk-0.2.0.tgz", diff --git a/cli/src/cli.ts b/cli/src/cli.ts index 389edfa5..e8196580 100644 --- a/cli/src/cli.ts +++ b/cli/src/cli.ts @@ -1,5 +1,3 @@ -import whyIsNodeRunning from 'why-is-node-running' // should be your first import - import { createWriteStream, openAsBlob } from 'node:fs'; import { stat } from 'node:fs/promises'; import { Writable } from 'node:stream'; @@ -589,7 +587,6 @@ export const handleArgs = (args: string[]) => { } console.assert(accessToken, 'No access_token found'); console.assert(!argv.dpop || dpopToken, 'DPoP requested but absent'); - setImmediate(() => whyIsNodeRunning()) } finally { client.close(); }