
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@blockly/block-plus-minus
Advanced tools
A group of blocks that replace the built-in mutator UI with a +/- based UI.
A group of Blockly blocks that replace the built-in mutator UI with a +/- based UI.
Currently this only affects the built-in blocks that use mutators (controls_if, text_join, list_create_with, procedures_defnoreturn, and procedures_defreturn).
But the ability to easily add this to your own mutators may be added in the future.
yarn add @blockly/block-plus-minus
npm install @blockly/block-plus-minus --save
import Blockly from 'blockly';
import '@blockly/block-plus-minus';
We do not currently support translating the text in this plugin to different languages. However, if you would like to support multiple languages the messages can be translated by assigning the following properties of Blockly.Msg
PROCEDURE_VARIABLE
(Default: "variable:"): The label which signals the text
input is a variable.Blockly.Msg['PROCEDURE_VARIABLE'] = 'variabele:'; // Dutch
// Inject workspace, etc...
Blocks will automatically use the +/- UI when loaded from XML. But here is some example XML incase you are trying to add specific mutations of blocks:
<block type="controls_if"></block>
<block type="controls_if">
<mutation elseif="1"></mutation>
</block>
<block type="controls_if">
<mutation elseif="1" else="1"></mutation>
</block>
<block type="text_join"></block>
<block type="text_join">
<mutation items="0"></mutation>
</block>
<block type="lists_create_with"></block>
<block type="lists_create_with">
<mutation items="0"></mutation>
</block>
Apache 2.0
FAQs
A group of blocks that replace the built-in mutator UI with a +/- based UI.
We found that @blockly/block-plus-minus demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.