Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
react-with-styles-interface-aphrodite
Advanced tools
Interface to use react-with-styles with Aphrodite.
import aphroditeInterface from 'react-with-styles-interface-aphrodite';
or when you need to disable !important
:
import aphroditeInterface from 'react-with-styles-interface-aphrodite/no-important';
react-with-styles-interface-aphrodite
now has built-in RTL support. Specifically, it uses rtl-css-js to automatically flip styles (margin
, padding
, float
, textAlign
, etc.) in a dir="rtl"
context. We recommend using react-with-direction's DirectionProvider
at your top-level node to achieve best results.
One caveat for this implementation is that it may cause some trouble when relying on inline styles explicitly. Due to some details of what is known at the time of style creation/resolution, inline styles are converted to classnames when there is a flippable style attribute. If you do not want this behavior or if this behavior breaks your usage, react-with-styles-interface-aphrodite
exports a resolveNoRTL
method which is exported by react-with-styles
as cssNoRTL
. This method matches the behavior in past versions (no automatic style flipping).
v2.1.0
borderLeftWidth
, translateX
, translate
, and translate3d
FAQs
react-with-styles interface for Aphrodite
The npm package react-with-styles-interface-aphrodite receives a total of 17,619 weekly downloads. As such, react-with-styles-interface-aphrodite popularity was classified as popular.
We found that react-with-styles-interface-aphrodite demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.