
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
@blockprotocol/action
Advanced tools
Implementation of the Block Protocol Action module specification for blocks and embedding applications
This package implements the Block Protocol Action module for blocks and embedding applications.
To get started:
yarn add @blockprotocol/action
or npm install @blockprotocol/action
To create a ActionBlockHandler
, pass the constructor:
element
in the blockcallbacks
to respond to messages from the embedder
updateAction
message, which allows embedding application to set new `labels for block actions.To tell the embedding application what elements will dispatch actions, call the availableActions
function.
Send this message again if the available actions change.
To send an action message, you call the action
function.
To create a ActionEmbedderHandler
, pass the constructor:
element
wrapping the blockcallbacks
to respond to messages from the block
availableActions
to do something with the actions the block advises are possibleaction
to process individual action reportsTo update the label
in an action, call updateAction
. The block should respond with the updated availableActions
.
FAQs
Implementation of the Block Protocol Action module specification for blocks and embedding applications
We found that @blockprotocol/action 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
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.