diff --git a/core/package.json b/core/package.json index 6ede47f..1da07ae 100644 --- a/core/package.json +++ b/core/package.json @@ -33,9 +33,8 @@ "cheerio": "^1.0.0-rc.10", "node-fetch": "^2.6.5", "signale": "^1.4.0", - "terminal-image": "2.0.0", + "terminal-image": "^2.0.0", "tesseract.js": "^2.1.5", - "enquirer": "^2.3.6", "user-agents": "^1.0.799" }, "devDependencies": { diff --git a/core/src/crawler/login.ts b/core/src/crawler/login.ts index fa7be38..31b5d8b 100644 --- a/core/src/crawler/login.ts +++ b/core/src/crawler/login.ts @@ -6,7 +6,6 @@ import log from '../utils/logger.js' import ocr from './capcha.js' import * as readline from 'node:readline' import { stdin, stdout } from 'node:process' -import enquirer from 'enquirer' import fs from 'fs' import type { Response } from 'node-fetch' import UserAgent from 'user-agents' @@ -16,8 +15,6 @@ import type { HandleCookieOptions } from '../types/cookie' import type { StringKV } from '../types/helper' import FetchWithCookie from '../utils/fetch-helper.js' -const { prompt } = enquirer - /** * Process to login to the unified auth */