
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@zubry/boundary
Advanced tools
Contains BoundingCircle and BoundingRectangle. Exports BoundingRectangle by default.
npm install @zubry/boundary --save
import Boundary from '@zubry/boundary'; // imports BoundingRectangle
import { BoundingRectangle, BoundingCircle } from '@zubry/boundary'; // imports both classes
const rect = new BoundingRectangle({ center: new Position(5, 5), rotation: new Position(45), height: 10, width: 5 });
const circle = new BoundingCircle({ center: new Position(5, 5), radius: 10 });
Both classes have the same API
Shifts the boundary by the given amount (position)
Scales the boundary by the given amount (scalar)
Rotates the boundary by the given amount (angle/position)
Checks if the boundary intersects the given boundary
Returns the area of the boundary
FAQs
Boundary module
We found that @zubry/boundary 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.