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.
IcoMoon provides an application to create your own icon fonts, and also releases an icon pack for free.
The icomoon-rails
gem integrates the free icon pack of IcoMoon
with the Rails asset pipeline. It also provide a way to fork with your won icon fonts.
It is highly recommanded to create your own fork.
Add this line to your application's Gemfile:
gem 'icomoon-rails'
And then execute:
bundle
Add to your app/assets/stylesheets/application.css
*= require icomoon-free
If you need to support IE7, there is a icomoon-free/lte-ie7.js
in javascripts assets.
Use this stylesheet with conditional comment may be the best way to support IE7. But it can be difficult when it comes to assets pipeline. See this article on StackOverflow for a workaround: Using Rails 3.1 assets pipeline to conditionally use certain css
YOU SHOULD ONLY USE ACTULLY NEEDED ICON FONTS.
You can go to IcoMoon App to create your own fonts pack.
gem 'icomoon-rails', git: 'xxxxxx'
in your Gemfile insteadMaintain icomoon-rails
gem with Rake
commands.
Download icon fonts from IcoMoon App.
Update icomoon-free source files.
rake update-icomoon NAME=icomoon-free ZIP=~/Download/icomoon.zip
Publish gem.
rake release
The assets from IcoMoon free icon pack use CC License (CC BY-SA 3.0).
Other parts of gem use MIT license.
FAQs
Unknown package
We found that icomoon-rails 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.