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.
capistrano-faster-assets-and-packs
Advanced tools
This gem speeds up asset compilation by skipping the assets:precompile task if none of the assets were changed since last release.
Feature: Skipping the webpack:compile task if none of the app/javascript/*
or yarn.lock
changed since last release.
This Gem is fork form capistrano-faster-assets and one of amazing PR of this gem. Original Gem was amazing, but unfortunately it was stop maintenance from 5 years ago. So I fork it and push this gem to rubygem.
Original Version: https://github.com/capistrano-plugins/capistrano-faster-assets
Original PR: https://github.com/AutoUncle/capistrano-faster-assets
Works only with Capistrano 3+.
Add this to Gemfile
:
group :development do
gem 'capistrano', '~> 3.1'
gem 'capistrano-rails', '~> 1.1'
gem 'capistrano-faster-assets-and-packs', '~> 1.0'
end
And then:
$ bundle install
Add this line to Capfile
, after require 'capistrano/rails/assets'
require 'capistrano/faster_assets'
Configure your asset depedencies in deploy.rb if you need to check additional paths (e.g. if you have some assets in YOUR_APP/engines/YOUR_ENGINE/app/assets). Default paths are:
set :assets_dependencies, %w(app/assets lib/assets vendor/assets Gemfile.lock config/routes.rb)
Configure your webpack depedencies in deploy.rb if you need to check additional paths. Default paths are: set :webpack_dependencies, %w(app/javascript app/yarn.lock)
Configure your webpack source_entry_packs in deploy.rb, if your source_entry_packs
configuration in config/webpack.yml is not packs
.
Default is:
set :webpack_entry_path, 'packs'
Original Gem: https://github.com/capistrano-plugins/capistrano-faster-assets
The PR Version: https://github.com/AutoUncle/capistrano-faster-assets
FAQs
Unknown package
We found that capistrano-faster-assets-and-packs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.