Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Mesh refinement via edge-splitting. Does not change the surface normals. This package is useful if you want to refine your tessellation in order to more finely sample some field, but still preserve sharp corners in your mesh.
var bunny = require('bunny')
var split = require('./index');
var refined = split(bunny.positions, bunny.cells, 0.01, 1000);
console.log(refined) # <- {positions: [[0.5,0.2,0.1], ...], cells: [[0,1,2],...]}
require("edge-split")(cells, positions[, edgeThreshold, maxIterations])
This returns a simplicial complex that has maximum edge length less than edgeThreshold
. By default, edgeThreshold
is set to the mean edge length. By default it will split indefinitely, which can be customized by the maxIterations
argument. Note: this function modifies cells
and positions
in-place, so create a copy before using if needed.
See stackgl/contributing for details.
MIT. See LICENSE.md for details.
FAQs
Iteratively split edges to get a more uniform tessellation
The npm package edge-split receives a total of 62 weekly downloads. As such, edge-split popularity was classified as not popular.
We found that edge-split demonstrated a not healthy version release cadence and project activity because the last version was released 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.