Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
@bazel/worker
Advanced tools
Changelog
Readme
Bazel workers allow actions to be executed by a program that stays running.
Learn more about Bazel workers from Mike Morearty's medium article
Read index.d.ts
for the worker API. Essentially you call runWorkerLoop
passing it a function to call back when each build request arrives.
See the worker example for a full example with comments.
Accept arguments as a params file
stdin and stdout of the process are reserved for the worker protocol with Bazel.
That means anything that does a console.log
can cause an error.
Bazel prints a snippet of whatever was printed to stdout to help you track it down.
Writing to stderr is fine, for example with console.error
.
In the future, we might improve this worker library to patch out the nodejs console.log function so that it doesn't interfere with the worker protocol.
FAQs
Adapt Node programs to run as a Bazel worker
The npm package @bazel/worker receives a total of 76,397 weekly downloads. As such, @bazel/worker popularity was classified as popular.
We found that @bazel/worker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.