Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
A collection of components that make it easy to build interactive charts with D3.
For details of installation and general usage, visit the project webpage.
npm, the package manager for Node.js, is used to manage the project's dependencies. Grunt, a JavaScript task runner, is used to test and build the project.
npm install -g grunt-cli
npm install
grunt
The following Grunt tasks, found in Gruntfile.js
, can be run from the command line. The most commonly used tasks to build and develop the project are:
grunt build
- generate the project's JavaScript and CSS files in the dist directory (at the root of the project); build the visual testsgrunt dev
- run grunt build
, then grunt watch
grunt dev:serve
- same as grunt dev
but also starts a web server for viewing the visual testsOther tasks include:
grunt check
- run JSHint and JSCS checksgrunt test
- run unit tests and build the visual testsgrunt watch
- watch the source files and rebuild when a change is savedgrunt serve
- start a web server for viewing the visual testsgrunt
- check, test and build the projectThe project includes a number of unit tests, however, because these components are visual in nature, unit testing is not enough. This project contains a number of ad-hoc visual tests that are found within the visual-tests
folder. The visual tests are compiled, via assemble, to create a simple website. To view this site, run grunt serve
or a static server from the visual-tests\dist
folder.
These components are licensed under the MIT License.
FAQs
A collection of components that make it easy to build interactive charts with D3
The npm package d3fc receives a total of 3,496 weekly downloads. As such, d3fc popularity was classified as popular.
We found that d3fc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.