Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
broccoli-retain-directive-header-comments
Advanced tools
Broccoli plugin that converts "regular" comments in CoffeeScript and SASS into block comments, so they are retained after transpilation.
Broccoli plugin that converts "regular" comments in CoffeeScript and SASS into block comments, so they are retained after transpilation.
I'm using this in conjunction with https://github.com/timmfin/sprockets-directive-loader so that Sprockets-style directive comments (like #= require ...
) are still available in the compiled JS and CSS output.
#= require ./other.js
# is converted to ...
###= require ./other.js ###`
#= require ./other.js
###= require ./two.js
#= require ./three.js
###
# is converted to ...
###= require ./other.js ###
###= require ./two.js ###
###= require ./three.js ###
###= require ./1.js
#= require ./2
#= require ./4 ###
# is converted to ...
###= require ./1.js ###
###= require ./2 ###
###= require ./4 ###
//= require ./other.css
// is converted to ...
/*= require ./other.css */
//= require ./other.css
//= require ./two.css
// is converted to ...
/*= require ./other.css */
/*= require ./two.css */
//= require ./other.css
/*= require ./two.css
= require ./three.css
*/
// is converted to ...
/*= require ./other.css */
/*= require ./two.css */
/*= require ./three.css */
FAQs
Broccoli plugin that converts "regular" comments in CoffeeScript and SASS into block comments, so they are retained after transpilation.
The npm package broccoli-retain-directive-header-comments receives a total of 1 weekly downloads. As such, broccoli-retain-directive-header-comments popularity was classified as not popular.
We found that broccoli-retain-directive-header-comments 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.