
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
@comunica/utils-algebra
Advanced tools
Exposes the algebra used by Comunica.
This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.
Click here if you just want to query with Comunica.
$ yarn add @comunica/utils-algebra
Algebra: Collection of algebra related types and transformers.AlgebraFactory: A factory to create the algebra operations.algebraUtils: a collection of utility functions for the algebraThe algebra is derived from the algebra exposed by Traqula, to contain the same operations but using interface instead of type unions. The usage of interfaces creates an environment where it is easy for third parties to extend Comunica to run on algebra operations that are unknown to base Comunica.
Base Comunica function on an open interface Operation/BaseOperation that just describes an object with a string type. Whenever a type matches with a known types, the actors may conclude that the object will at least match the properties described by this algebra package.
To help in this feat, the algebra exposes 3 type guards: isKnownOperation, isKnownOperationSub, and isKnownSub that will help you validate what Operations your actor receives.
Actors should always be implemented in a way that matches this philosophy of open algebra types.
Additionally, allowing Comunica to declare for itself what it views as 'valid algebra' allows for more independent evolution of comunica in relation to the (algebra) parser it uses.
FAQs
Query algebra definitions and utilities
The npm package @comunica/utils-algebra receives a total of 15,940 weekly downloads. As such, @comunica/utils-algebra popularity was classified as popular.
We found that @comunica/utils-algebra demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.