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.
@based/cli
Advanced tools
- There should be two main modes: interactive and non-interactive.
- Items that should be clearly visible when the command runs:
- cli version
- cluster, org, project, env
- command being run
- Different steps in the command should be clear with some kind of separator.
- When needed should authenticate the user first.
- Main arguments should be confirmed with inputs, and prepopulated in case they exist.
`based [...global arguments] command [...command arguments]`
- `--non-interactive`: Run in non interactive mode. Also infered from isTTY.
- `--org <org>`: Org
- `-p, --project <project>`: Project
- `-e, --env <env>`
- `--cluster <cluster>`: Cluster
- `-b, --based-file <basedFile>: Path to based config file. Defualts to `based.json` in the current folder
- `-d, --debug`: Show debug information
- `-o, --output-type <output-type>`: Output type: `fancy` (default), `json`
envs <action>
Manage environments in the cluster.
Actions:
- `ls`: List envs
- `add`: Add and environment
- `remove`: Remove an environment
ls
actionFlow:
- get cluster
- authenticate user
- list existing envs
add
actionFlow:
- get cluster, org, project, env from file or arguments
- ask for env name if not in based file or arguments
- create env
- (?)
FAQs
## call
The npm package @based/cli receives a total of 302 weekly downloads. As such, @based/cli popularity was classified as not popular.
We found that @based/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.