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.
react-colorscales
Advanced tools
based on Facebook's Create react app
Moved all dependencies to dev dependencies because we don't need extra dependencies for our library after build, but we want all this features while developing one:
-webkit
or other prefixes.build
script to bundle JS, CSS, and images for production.Clone repo
git clone https://github.com/udiliaInc/create-react-library.git
Install dependencies
npm install
or yarn install
Start development server
npm start
or yarn start
Runs the demo app in development mode. Open http://localhost:3000 to view it in the browser.
All library files are located inside src/lib
Is located inside src/demo
directory, here you can test your library while developing
npm run test
or yarn run test
npm run build
or yarn run build
Produces production version of library under the build
folder.
npm publish
FAQs
A React component for picking colorscales based on Chroma.js
The npm package react-colorscales receives a total of 835 weekly downloads. As such, react-colorscales popularity was classified as not popular.
We found that react-colorscales demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 23 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.