Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
parsegraph-extent
Advanced tools
This module provides a class to manage separation between graphs. It is intended to be used in a set, with one extent managing a specific axis and direction. Methods are provided to calculate the minimum distance needed to separate two extents, as well as methods to combine two extents into a single extent that covers both.
import Extent from 'parsegraph-extent'
const rootNode = new Extent();
const forwardNode = new Extent();
rootNode.appendLS(50, 25);
forwardNode.appendLS(12, 6);
const separation = rootNode.separation(forwardNode);
const combined = rootNode.combinedExtent(forwardNode, 0, separation);
const expected = new Extent();
expected.appendLS(12, separation + 6);
expected.appendLS(38, 25);
assert.ok(expected.equals(combined), "Combining extents does not work.");
FAQs
2D geometric container
We found that parsegraph-extent demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.