Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
jekyll-uj-powertools
Advanced tools
Site | Gem Page | GitHub Repo
Meet jekyll-uj-powertools, your new best friend for developing with Ultimate jekyll
uj_strip_ads
filter to remove ads from a stringuj_json_escape
filter to escape JSON charactersMeet jekyll-uj-powertools
, the powerful set of utilities for Jekyll users.
It includes functions to remove ads from strings and escape JSON characters, making your Jekyll site cleaner and more efficient.
Install the gem and add to the application's Gemfile by executing:
bundle add jekyll-uj-powertools
If bundler is not being used to manage dependencies, install the gem by executing:
gem install jekyll-uj-powertools
Now you can use the uj_strip_ads
and uj_json_escape
filters in your Jekyll site:
uj_strip_ads
FilterRemove ads from a string, such as a blog post or article.
{{ post.content | uj_strip_ads }}
uj_json_escape
FilterEscape JSON characters in a string making it safe to use in a JSON object.
{{ post.content | uj_json_escape }}
uj_title_case
FilterConvert a string to title case.
{{ "hello world" | uj_title_case }}
These examples show how you can use the features of jekyll-uj-powertools
in your Jekyll site.
After checking out the repo, run bin/setup
to install dependencies. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
Run the tests
bundle install
bundle exec rspec
# Build the gem
gem build jekyll-uj-powertools.gemspec
# Publish the gem where X.X.X is the version number
gem push jekyll-uj-powertools-X.X.X.gem
Bug reports and pull requests are welcome on GitHub at https://github.com/itw-creative-works/jekyll-uj-powertools.
Ask us to have your project listed! :)
FAQs
Unknown package
We found that jekyll-uj-powertools demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.