
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
a javascript library for storing arbitrary data in mathematical (di)graphs, as well as traversing and analyzing them in various ways (ECMAScript 6 Ready)
js-graph
is a javascript library for storing arbitrary data in mathematical (di)graphs,
as well as traversing and analyzing them in various ways. It was originally created to
track dependencies between options and modules. It is now rewritten in ECMAScript 6, but
ECMAScript 5 versions are shipped with it, automatically generated with Babel.
The library is fully functional and has 100% test-coverage, but the API is not yet
properly documented. You could, of course, read the tests in the test
directory, but
user-friendly API documentation is forthcoming.
Feedback of any kind (questions, issues, pull requests) is greatly appreciated.
The dist
directory offers different files for use in different circumstances.
Use the following table to determine which file to use in your situation.
File | Description | File-size |
---|---|---|
js-graph.es6.js | For use in an ECMAScript 6 context, e.g., a modern browser or transpiler | 14.8 kB |
js-graph.js | Requires you to first load babel/polyfill.js or babel/polyfill-browser.js | 36.0 kB |
js-graph.min.js | Same as above, but minified | 16.2 kB |
js-graph.full.js | Already includes babel/polyfill.js ; ready for use in any context | 124.3 kB |
js-graph.full.min.js | Same as above, but minified | 43.9 kB |
If you don't know which one you need, you probably want js-graph.full.min.js
.
FAQs
a javascript library for storing arbitrary data in mathematical (di)graphs, as well as traversing and analyzing them in various ways (ECMAScript 6 Ready)
The npm package js-graph receives a total of 6 weekly downloads. As such, js-graph popularity was classified as not popular.
We found that js-graph 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.