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.
Library to interact with GitLab releases and versions. The information is fetched from two sources:
Gemfile:
gem 'gitlab-releases', '~> 1.0.1'
Install:
$ gem install gitlab-releases
or alternatively to automatically initialize the gem in your bundler project:
# add to your Gemfile
gem 'gitlab-releases', require: 'gitlab_releases'
There are different methods available:
upcoming_releases
- Returns the GitLab release date and the associated version for the next 12 months.active_version
- Returns the active GitLab version.current_version
- Returns the current GitLab minor version.next_versions
- Returns the next GitLab patch versions (for patch and security releases).previous_version
- Returns the return the latest patch of the previous minor version.version_for_date
- Returns the active GitLab version for the given datecurrent_minor_for_date
- Returns the current GitLab minor for the given dateprevious_minors
- Returns the previous minors for the given versionnext_patch_release_date
- Calculates the next best effort date for a GitLab patch release.To make use of it:
read_api
scope.RELEASES_GITLAB_READ_TOKEN
.> require 'gitlab_releases'
> GitlabReleases.upcoming_releases
=>
{
"16.5"=>"2023-10-22",
"16.6"=>"2023-11-16",
"16.7"=>"2023-12-21",
"16.8"=>"2024-01-18",
"16.9"=>"2024-02-15",
"16.10"=>"2024-03-21",
"16.11"=>"2024-04-18",
"17.0"=>"2024-05-16",
"17.1"=>"2024-06-20",
"17.2"=>"2024-07-18",
"17.3"=>"2024-08-15",
"17.4"=>"2024-09-19"
}
> GitlabReleases.active_version
=> "16.6"
> GitlabReleases.current_version
=> "16.5"
> GitlabReleases.next_versions
=> ["16.5.2", "16.4.3", "16.3.7"]
> GitlabReleases.previous_version
=> "16.4.2"
> GitlabReleases.available_versions
=> ["16.4.1", "16.4.0", "16.3.5", "16.3.4", ...] # Up to 50 versions
> GitlabReleases.version_for_date('2023-11-23')
=> "16.7"
> GitlabReleases.current_minor_for_date('2023-11-23')
=> "16.6"
> GitlabReleases.previous_minors('16.6')
=> ["16.6", "16.5", "16.4"]
> GitlabReleases.next_patch_release_date
=> "2024-03-13"
Bug reports and feature requests are welcome on the Delivery team tracker. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
See the Releases documentation.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Releases project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that gitlab-releases 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.