Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Include Vega in client-side projects using minimal dependencies.
Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. With Vega you can describe data visualizations in a JSON format, and generate interactive views using either HTML5 Canvas or SVG.
The vega-lib repository packages up the Vega codebase for use in client-side projects (for example, using Webpack or Browserify) with minimal server-side dependencies. We exclude node-canvas dependencies to remove compilation steps and associated overhead.
For more about Vega, including support for server-side rendering, see the main Vega repository and Vega website.
For a basic setup allowing you to build Vega and run examples:
git clone git@github.com:vega/vega-lib.git
to clone this repository.yarn
to install dependencies. If you don't have yarn installed, see https://yarnpkg.com/en/docs/install.yarn test
to run tests and yarn run build
to build output files.This repository includes web-based demos within the test
folder. To run these, launch a local web server in the top-level directory for the repo and point your browser to the right place (e.g., http://localhost:8080/test/
).
Need help launching a local web server? Run npm install -g http-server
to install a node.js-based web server, then run http-server -p 8080
to serve files from the current directory on port 8080.
FAQs
Include Vega in projects using minimal dependencies.
The npm package vega-lib receives a total of 522 weekly downloads. As such, vega-lib popularity was classified as not popular.
We found that vega-lib 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.