Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Variable liveness analysis for ECMAScript (JavaScript) based on Mozilla's Parser API AST.
Compatible with https://github.com/estools
// Create AST and control-flow graph
var ast = esprima.parse(source);
var cfg = esgraph(ast);
var liveness = require('esliveness');
liveness.compute(ast, cfg /* cfg is a optional parameter */);
var sourceWithComments = liveness.format(ast, true);
do-while loop (test 03-loops-02.js):
// Liveness: c, write
// - Kill: a
var a = 0, b, c;
do {
// Liveness: a, c, write
// - Gen: a
// - Kill: b
b = a + 1;
// Liveness: b, c, write
// - Gen: b, c
// - Kill: c
c = c + b;
// Liveness: b, c, write
// - Gen: b
// - Kill: a
a = b * 2;
} while (// Liveness: a, c, write
// - Gen: a
a < 9);
// Liveness: c, write
// - Gen: c, write
write(c);
FAQs
Liveness analysis for JavaScript based on Mozilla's Parser API AST.
The npm package esliveness receives a total of 1 weekly downloads. As such, esliveness popularity was classified as not popular.
We found that esliveness 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.