
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@skymaker/quartic
Advanced tools
JavaScript library for solving quartic equations.
$ npm install @skymaker/quartic
Pass an array of the 5 coefficients of equation to solve, from the x^4 term down to the constant term.
The results are returned as Math.js complex number objects, with re and im properties that hold the real and imaginary part of the complex root respectively.
var quartic = require('quartic');
//Solve 5x^4 + 4x^3+ 3x^2 + 2x + 1
var roots = quartic.solve(5,4,3,2,1);
console.log(roots);
$ git clone https://github.com/lavelle/quartic
$ cd quartic
$ npm install
$ npm test
Core code is from a web solver written by David Binner
Released with permission from the original author under the MIT license.
FAQs
JavaScript library for solving quartic equations
We found that @skymaker/quartic demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.