
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.
@guyo13/langium-utils
Advanced tools
Utilities for language development using Langium. This library provides helpful functions to enhance your Langium-based language development workflows.
Install the package via npm:
npm install @guyo13/langium-utils
Or using pnpm:
pnpm add @guyo13/langium-utils
This utility helps ensure that a specific property within a list of AstNodes has all unique values. It accepts custom error formatting and severity levels.
Parameters:
AstNodes
to validate.ValidationAcceptor
for reporting validation errors.'error' | 'warning' | 'info' | 'hint'
). Defaults to 'error'
.Traverses the input rootNode in a Depth-First order, keeping track on node entry and exit times.
Parameters:
rootNode
: The node to start traversing from.getChildren
: A callback which returns an iterable of child nodes given an input node.onEntry
(optional): A callback which is called when a node is pulled out of the stack BEFORE its children are collected. Receives the node and its entry time.onExit
(optional): A callback which is called AFTER a node's children have been traversed. Receives the node and its exit time.T
: The type of the nodes in the graph.A helper interface that can be used to wrap a graph node that is being traversed, adding a state of any type and memorized children array. This can be useful to store information about the nodes during traversal.
Properties:
node
: The actual graph node.state
: A user-defined state associated with the node.children
(optional): An array of NodeState objects representing the children of the node. This can be populated during traversal.FAQs
Utilities for language development using Langium
We found that @guyo13/langium-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.