
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@uipath/common
Advanced tools
Affected versions:
Shared infrastructure for the UiPath CLI. Provides output formatting, logging, error handling, and telemetry.
npm install @uipath/common
import { OutputFormatter } from "@uipath/common";
OutputFormatter.success({ Result: "Success", Code: "AssetList", Data: assets });
OutputFormatter.error({ Result: RESULTS.Failure, Message: "Not found", Instructions: "Check the ID" });
Supported formats: table, json, yaml, plain.
Go-style [error, data] tuple returns via catchError:
import { catchError } from "@uipath/common";
const [error, result] = await catchError(api.getData());
if (error) {
OutputFormatter.error({ Result: RESULTS.Failure, Message: error.message, Instructions: "Retry" });
return;
}
import { logger, LogLevel } from "@uipath/common";
logger.info("Fetching resources...");
logger.debug("Request payload:", payload);
// Override level at runtime
logger.setLevel(LogLevel.DEBUG);
| Method | Level | Stream | Visible by default |
|---|---|---|---|
logger.debug | DEBUG | stdout | No |
logger.info | INFO | stdout | Yes |
logger.warn | WARN | stdout | Yes |
logger.error | ERROR | stderr | Yes |
Debug output is enabled via DEBUG env var (Node/Bun) or localStorage.debug (browser).
| Export | Description |
|---|---|
OutputFormatter | Structured output in table, JSON, YAML, or plain text |
catchError(promise) | Go-style error handling returning [error, data] tuples |
logger | Cross-platform logger with debug/info/warn/error levels |
trackedAction | Commander.js extension for automatic telemetry tracking |
CommandWalker | CLI command introspection utility |
OutputSink | Abstraction for output destinations |
See the root repository for license information.
FAQs
Common infrastructure needed by uip tools.
The npm package @uipath/common receives a total of 722 weekly downloads. As such, @uipath/common popularity was classified as not popular.
We found that @uipath/common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 24 open source maintainers collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.