
Security News
GitHub to Block pull_request_target Workflows by Default Starting December 2
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.
@uipath/common
Advanced tools
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 0 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 26 open source maintainers collaborating on the project.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.

Security News
/Application Security
A practical guide to securing GitHub Actions against supply chain attacks, covering malicious pull requests, credential theft, dependency risks, and release pipelines.

Security News
Composer 2.11 adds dependency cooldowns, joining package managers that delay new releases to reduce supply chain risks while allowing urgent security updates.