Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
lerna-script
Advanced tools
For usage documentation please see root of repo;
Returns list of packages/modules in repo - forward to lerna;
Returns Package of root module.
LernaPackage is Package in lerna.
Executed provided command for all lernaPackages
in a serial fashion. taskFn
can be either sync task or return a Promise
.
Executed provided command for all lernaPackages
in a parallel fashion(Promise.all
). taskFn
can be either sync task
or return a Promise
.
Executed provided command for all lernaPackages
in a batched fashion respecting dependency graph. taskFn
can be either
sync task or return a Promise
.
Executes given command for a package and returns collected stdout
.
Note that command
is a single command, meaning rm -f zzz
and not ex. rm -f zzz && mkdir zzz
. It's just for convenience
you can provide command and args as a single string.
Argument list #1:
Argument list #2:
rootPackage()
or packages()
;true
;Returns:
Executes given npm script for a package and returns collected stdout
.
Argument list #1:
Argument list #2:
rootPackage()
or packages()
;true
;Returns:
Marks package as built.
Marks package as unbuilt.
Returns true if package is build and false otherwise.
Filters-out packages that have been marked as built changes.build
and were not changed since. Note that it filters-out also dependent packages, so if:
Then it will return only c
as b
has changed and a
depends on b
, so it needs to be rebuilt/retested/re...
FAQs
lerna extension for custom scripts
The npm package lerna-script receives a total of 1,375 weekly downloads. As such, lerna-script popularity was classified as popular.
We found that lerna-script demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.