Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

windows-cleaner-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

windows-cleaner-cli - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+24
-9
dist/index.js

@@ -6,2 +6,7 @@ #!/usr/bin/env node

// node_modules/@inquirer/core/dist/lib/errors.js
var ExitPromptError = class extends Error {
name = "ExitPromptError";
};
// src/commands/scan.ts

@@ -1858,13 +1863,23 @@ import chalk2 from "chalk";

program.name("windows-cleaner").description("Open source CLI tool to clean your Windows PC").version("1.0.0").option("-r, --risky", "Include risky categories (downloads, iTunes backups, etc)").option("--no-progress", "Disable progress bar").action(async (options) => {
await interactiveCommand({
includeRisky: options.risky,
noProgress: !options.progress
});
try {
await interactiveCommand({
includeRisky: options.risky,
noProgress: !options.progress
});
} catch (error) {
if (error instanceof ExitPromptError) return;
throw error;
}
});
program.command("uninstall").description("Remove applications and their related files").option("-y, --yes", "Skip confirmation prompts").option("-d, --dry-run", "Show what would be removed without actually removing").option("--no-progress", "Disable progress bar").action(async (options) => {
await uninstallCommand({
yes: options.yes,
dryRun: options.dryRun,
noProgress: !options.progress
});
try {
await uninstallCommand({
yes: options.yes,
dryRun: options.dryRun,
noProgress: !options.progress
});
} catch (error) {
if (error instanceof ExitPromptError) return;
throw error;
}
});

@@ -1871,0 +1886,0 @@ program.command("maintenance").description("Run maintenance tasks (DNS flush, disk cleanup, etc)").option("--dns", "Flush DNS cache").option("--disk", "Run Windows Disk Cleanup").option("--thumbnails", "Clear thumbnail cache").option("--fonts", "Clear font cache (requires admin)").action(async (options) => {

{
"name": "windows-cleaner-cli",
"version": "1.0.1",
"version": "1.0.2",
"description": "Open source CLI tool to clean your Windows PC - remove junk files, caches, logs, and more",

@@ -5,0 +5,0 @@ "type": "module",