
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@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
The npm package @guyo13/langium-utils receives a total of 1 weekly downloads. As such, @guyo13/langium-utils popularity was classified as not popular.
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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.