Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
linematch
Advanced tools
A super-fast algorithm for matching two sets of polylines and showing the difference. Primarily used for comparing road networks from different datasets.
Given arrays a
and b
, like linematch(a, b, 0.001)
, linematch will return a new
array that contains all segments in a
that are not matched with segments in b
.
If the arrays match exactly, the returned value will be an empty array, []
.
// given two arrays of linestrings and a threshold value,
// outputs a difference as an array of linestrings
var result = linematch(lines1, lines2, 0.0001);
FAQs
A fast algorithm for comparing sets of polylines (e.g. road networks).
The npm package linematch receives a total of 2 weekly downloads. As such, linematch popularity was classified as not popular.
We found that linematch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 226 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.