
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
postcss-omit-import-tilde
Advanced tools
PostCSS plugin to omit tilde in sass import function argument
PostCSS plugin to omit tilde in sass import function argument.
This plugin may be useful in case of large frontend ecosystem with different bundlers (webpack and gulp in my case).
For example, you have some sass file, which is built by webpack and depends
from some external library. This library is imported by @import "~awesome-lib"
(~
for root). Also you have another dependency from some internal file,
which is built by gulp and has dependency @import "awesome-lib"
(no tilde).
This build is going to be broken, because webpack cannot import such dependency,
and on the other hand, gulp cannot build @import "~awesome-lib"
if we just
change it.
So you can use this plugin in chain to build styles in gulp with dependency like
@import "~awesome-lib"
;
@import "~awesome-lib/awesome-style.scss";
@import "awesome-lib/awesome-style.scss";
postcss([ require('postcss-omit-import-tilde') ])
See PostCSS docs for examples for your environment.
1.0.1
FAQs
PostCSS plugin to omit tilde in sass import function argument
The npm package postcss-omit-import-tilde receives a total of 350 weekly downloads. As such, postcss-omit-import-tilde popularity was classified as not popular.
We found that postcss-omit-import-tilde 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.