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.
desandro-get-style-property
Advanced tools
Original by @kangax :heart_eyes: :zap: :star2:. See perfectionkills.com/feature-testing-css-properties/
var transformProp = getStyleProperty('transform');
// returns WebkitTransform on Chrome / Safari
// or transform on Firefox, or MozTransform on old firefox
// then you can use it when setting CSS
element.style[ transformProp ] = 'translate( 12px, 34px )';
// or simply check if its supported
var supportsTranforms = !!transformProp;
Bower :bird:: bower install get-style-property
npm: npm install desandro-get-style-property
Component: component install desandro/get-style-property
getStyleProperty is released under the MIT License.
FAQs
Quick and dirty CSS property testing
The npm package desandro-get-style-property receives a total of 4,039 weekly downloads. As such, desandro-get-style-property popularity was classified as popular.
We found that desandro-get-style-property 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.