
Security News
minimatch Patches 3 High-Severity ReDoS Vulnerabilities
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.
Material Design shadows as SASS mixins, classes, and extensions.
$ bower install --save md-shadows
@import 'md-shadows'
.element1
+md-shadow(2, #1A237E)
.element2
@extend %md-shadow--3
.element3
@extend %md-shadow--3
Output:
.element1 {
box-shadow: 0 3px 6px rgba(26,35,126, 0.16), 0 3px 6px rgba(26,35,126, 0.23)
}
.md-shadow--3,
.element1,
.element3 {
box-shadow: 0 10px 20px rgba(0,0,0, 0.19), 0 6px 6px rgba(0,0,0, 0.23)
}
Add a shadow to an element, using the mixin.
Type: integer
The depth of the shadow. Smaller numbers represent "shorter", denser shadows.
Range:
0 is no shadow5 is the largest, most obscure shadowType: Color
Default: black
An optional color to use as the shadow's color. May use either a HEX or RGB value.
Note: Only mixins can accept an alternate color. If you use the extensions (
%md-shadow--X) or classes (.md-shadow--X) your shadow will always be pure black.
MIT © Luke Edwards
FAQs
Material Design shadows as SASS mixins, classes, and extensions.
We found that md-shadows 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.

Security News
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.

Research
/Security News
Socket uncovered 26 malicious npm packages tied to North Korea's Contagious Interview campaign, retrieving a live 9-module infostealer and RAT from the adversary's C2.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.