Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@mixer/executed-nested-binary
Advanced tools
This tool solves a problem with running scripts in (specifically) Lerna monorepos. Your monorepo will probably common tools, but each package might have its own specific tools and versions. The package specific tools will be found in ./packages/foo/node_modules/.bin
, and the common packages in ./node_modules/.bin
. However, npm scripts in the nested package will only reference the local binaries. Packages like link-parent-bin
allow you to override the nested package binaries with the parent, but these prevent the nested package from being able to install and of its own tools.
node-ex
is a simple tool which executes a command with all parent node_module/.bin
folders placed in the PATH of the command. Your nested binaries, if present, will override the shared binaries.
npm install -g @mixer/execute-nested-binary
You can run your commands by prefixing them with node-ex
:
$ node-ex prettier --help
Usage: prettier [options] [file/glob ...]
You can also pass --where
before the binary to print out its location on your hard drive:
$ node-ex --where prettier
/Users/copeet/Github/potatoes/node_modules/.bin
FAQs
Executes a node binary from this folder or any parent
We found that @mixer/executed-nested-binary demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.