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.
In my tool belt but use at your own risk. There is no test currently and maybe never.
npm i -g escli
anescli --help
Will print:
anescli 1.0.0
USAGE
anescli <command> [options]
COMMANDS
switch <type> <to> [from] [suffix] Switch an alias to another index.
pipe <type> <to> [from] [suffix] Copy an index content to another index.
create <type> <version> [suffix] Create an index.
delete <type> <version> [suffix] Delete an index.
analyze <type> <version> <field> <text> [suffix] Analyze an index.
pump <type> <version> [suffix] Pump a source items to an index.
stats-fielddata [fields] Retrieve field data usage stats.
stats-nodes Retrieve the nodes stats.
stats-cluster Retrieve the clusters stats.
pending-tasks Retrieve the pending tasks.
createTemplate <type> <version> [suffixPattern] Create a template.
deleteTemplate <type> <version> [suffixPattern] Delete a template.
mappings <type> <version> [suffix] Returns an index mappings.
settings Retrieve the cluster settings.
state Retrieve the cluster state.
health Retrieve the cluster health.
help <command> Display help for a specific command
GLOBAL OPTIONS
-h, --help Display help
-V, --version Display version
--no-color Disable colors
--quiet Quiet mode - only displays warn and error messages
-v, --verbose Verbose mode - will also output debug messages
First of all create your config from the repo :
cp node_modules/anescli/config.example.js config.js
For the create
command, you have to add mappings to use it:
mkdir mappings
cat "module.exports = a => a;" > mappings/myIndexType.js
For the pipe
command, you can specify custom transformations:
mkdir transforms
cat "module.exports = a => a;" > transforms/myIndexType.js
For the pump
command, you have to create the script that
pump the various entries:
mkdir pumps
cat "module.exports = myPumpFunction;" > pumps/myIndexType.js
knifecycle
FAQs
Simple and experimental CLI tool for Elastic Search management.
The npm package anescli receives a total of 4 weekly downloads. As such, anescli popularity was classified as not popular.
We found that anescli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.