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.
babel-plugin-cssta-stylename
Advanced tools
Create cssta
custom components out of a standalone css file.
POC. Not ready for production yet
styleName
attribute is to get the styles for a particular class from the css file.@
). @
gets added during the compilation. The reason to get rid of @
in css is because of the poor syntax highlighting. Also in future it makes sense to make removal of css-only attributes optional in cssta
. And instead let them flow through into the underlying component.cssta
should stay the same.Plug in babel plugins in the following order:
[
"@babel/plugin-syntax-jsx",
"babel-plugin-cssta-stylename",
"babel-plugin-cssta"
]
yarn test
MIT
(c) Pavel Zhukov - cray0000
FAQs
Transform css imports into cssta template components
The npm package babel-plugin-cssta-stylename receives a total of 12 weekly downloads. As such, babel-plugin-cssta-stylename popularity was classified as not popular.
We found that babel-plugin-cssta-stylename 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.