Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
create-react-app-sass
Advanced tools
Enhances create-react-app to include support for Sass.
npm install create-react-app-sass --save-dev
Replace your start
and build
scripts in your package.json
"scripts": {
"start": "react-scripts-with-sass start",
"build": "react-scripts-with-sass build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
Your src
directory will automatically re-compile any .scss
file into a .css
file with the same name in the same location. Then you can import
the .css
file in your components the same way as before using create-react-app
. You will also need to add *.css
to your .gitignore
file as they are now just a build artifact and your .scss
is the true source.
FAQs
Add sass support to create-react-app.
We found that create-react-app-sass 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.