Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@vonage/cli-core
Advanced tools
This is the core package for all Vonage CLI commands. It contians the base VonageCommand
, VonageConfig
, common User Experience (UX), and Filesystem (fs) functionality. Since this pacakge contains the config functionality, it also adds configuration commands to the CLI.
The VonageCommand
base class, provides global CLI arguments which can be used to configure @vonage/auth
and @vonage/server-sdk
. Along with the configuration, standard UX functions for outputting data is also provided. Keeping a consistent UX is pivitol for the CLI so it is recommended that you use these functions.
Config settings are parsed into the CLI in four ways (in order):
--api-key
,--api-secret
, --private-key
, and --application-id
)$CWD/vonage_app.json
fileVONAGE_API_KEY
, VONAGE_API_SECRET
, VONAGE_PRIVATE_KEY
, and VONAGE_APPLICATION_ID
environment variables$XDG_CONFIG_HOME/@vonage/cli/vonage.config.json
By having your command extend VonageCommand
you will get access to the base configuration parameters. It is recommened that you do not interact While you shouldn't need to access variables directly, the best way is to use vonageConfig.getVar(<which>)
from the VonageCommand
base class. VonageConfig
also exposes methods from saving the global or local config (again these are use at your own risk)
vonage config
(vonage config:setup
, vonage setup
): Initial configuration setup wizardvonage config:show
: A utility command that displays the configurationvonage config:set SETTING VALUE
A utility command to set an individual configuration settingFAQs
Core utilities for vonage CLI's
We found that @vonage/cli-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 42 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.