From 5ae66ab8911a54a7df6ee2913e4cbb732534c124 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 7 Aug 2024 01:42:26 +0000 Subject: [PATCH] fix: Gemfile & Gemfile.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-BOOTSTRAP-7640980 - https://snyk.io/vuln/SNYK-RUBY-BOOTSTRAP-7640987 --- Gemfile | 2 +- Gemfile.lock | 97 ++++++++++++++++++++++++---------------------------- 2 files changed, 45 insertions(+), 54 deletions(-) diff --git a/Gemfile b/Gemfile index 086c82c..f4afbb5 100644 --- a/Gemfile +++ b/Gemfile @@ -49,4 +49,4 @@ end # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] gem "twilio-ruby", "~> 5.46" -gem "bootstrap", "~> 4.5" +gem "bootstrap", "~> 5.0", ">= 5.0.0" diff --git a/Gemfile.lock b/Gemfile.lock index e10b481..873547b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -62,19 +62,18 @@ GEM zeitwerk (~> 2.3) addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) - autoprefixer-rails (10.2.0.0) - execjs + autoprefixer-rails (10.4.19.0) + execjs (~> 2) bindex (0.8.1) bootsnap (1.5.1) msgpack (~> 1.0) - bootstrap (4.5.3) + bootstrap (5.3.3) autoprefixer-rails (>= 9.1.0) - popper_js (>= 1.14.3, < 2) - sassc-rails (>= 2.0.0) - builder (3.2.4) + popper_js (>= 2.11.8, < 3) + builder (3.3.0) byebug (11.1.3) childprocess (3.0.0) - concurrent-ruby (1.1.8) + concurrent-ruby (1.3.3) crack (0.4.5) rexml crass (1.0.6) @@ -83,19 +82,18 @@ GEM dotenv-rails (2.7.6) dotenv (= 2.7.6) railties (>= 3.2) - erubi (1.10.0) - execjs (2.7.0) + erubi (1.13.0) + execjs (2.9.1) faraday (1.3.0) faraday-net_http (~> 1.0) multipart-post (>= 1.2, < 3) ruby2_keywords faraday-net_http (1.0.1) - ffi (1.14.2) - ffi (1.14.2-x64-mingw32) + ffi (1.17.0) globalid (0.4.2) activesupport (>= 4.2.0) hashdiff (1.0.1) - i18n (1.8.9) + i18n (1.14.5) concurrent-ruby (~> 1.0) jbuilder (2.10.1) activesupport (>= 5.0.0) @@ -103,40 +101,42 @@ GEM listen (3.4.1) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - loofah (2.9.0) + loofah (2.22.0) crass (~> 1.0.2) - nokogiri (>= 1.5.9) + nokogiri (>= 1.12.0) mail (2.7.1) mini_mime (>= 0.1.1) marcel (1.0.0) - method_source (1.0.0) + method_source (1.1.0) mini_mime (1.0.3) - mini_portile2 (2.5.0) - minitest (5.14.4) + mini_portile2 (2.8.7) + minitest (5.24.1) msgpack (1.4.2) multipart-post (2.1.1) nio4r (2.5.7) - nokogiri (1.11.2) - mini_portile2 (~> 2.5.0) + nokogiri (1.16.7) + mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.11.2-arm64-darwin) + nokogiri (1.16.7-arm64-darwin) racc (~> 1.4) - nokogiri (1.11.2-x64-mingw32) + nokogiri (1.16.7-x64-mingw32) racc (~> 1.4) - nokogiri (1.11.2-x86_64-linux) + nokogiri (1.16.7-x86_64-darwin) racc (~> 1.4) - popper_js (1.16.0) + nokogiri (1.16.7-x86_64-linux) + racc (~> 1.4) + popper_js (2.11.8) public_suffix (4.0.6) puma (5.1.1) nio4r (~> 2.0) - racc (1.5.2) - rack (2.2.3) + racc (1.8.1) + rack (2.2.9) rack-mini-profiler (2.3.0) rack (>= 1.2.0) rack-proxy (0.6.5) rack - rack-test (1.1.0) - rack (>= 1.0, < 3) + rack-test (2.1.0) + rack (>= 1.3) rails (6.1.3.1) actioncable (= 6.1.3.1) actionmailbox (= 6.1.3.1) @@ -156,18 +156,20 @@ GEM actionpack (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1) activesupport (>= 5.0.1.rc1) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.3.0) - loofah (~> 2.3) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) railties (6.1.3.1) actionpack (= 6.1.3.1) activesupport (= 6.1.3.1) method_source rake (>= 0.8.7) thor (~> 1.0) - rake (13.0.3) + rake (13.2.1) rb-fsevent (0.10.4) rb-inotify (0.10.1) ffi (~> 1.0) @@ -191,31 +193,20 @@ GEM rspec-support (3.10.1) ruby2_keywords (0.0.4) rubyzip (2.3.0) - sassc (2.4.0) - ffi (~> 1.9) - sassc (2.4.0-x64-mingw32) - ffi (~> 1.9) - sassc-rails (2.1.2) - railties (>= 4.0.0) - sassc (>= 2.0) - sprockets (> 3.0) - sprockets-rails - tilt selenium-webdriver (3.142.7) childprocess (>= 0.5, < 4.0) rubyzip (>= 1.2.2) semantic_range (2.3.1) spring (2.1.1) - sprockets (4.0.2) + sprockets (4.2.1) concurrent-ruby (~> 1.0) - rack (> 1, < 3) - sprockets-rails (3.2.2) - actionpack (>= 4.0) - activesupport (>= 4.0) + rack (>= 2.2.4, < 4) + sprockets-rails (3.5.2) + actionpack (>= 6.1) + activesupport (>= 6.1) sprockets (>= 3.0.0) sqlite3 (1.4.2) - thor (1.1.0) - tilt (2.0.10) + thor (1.3.1) turbolinks (5.2.1) turbolinks-source (~> 5.2) turbolinks-source (5.2.0) @@ -223,7 +214,7 @@ GEM faraday (>= 0.9, < 2.0) jwt (>= 1.5, <= 2.5) nokogiri (>= 1.6, < 2.0) - tzinfo (2.0.4) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) tzinfo-data (1.2020.6) tzinfo (>= 1.0.0) @@ -249,7 +240,7 @@ GEM websocket-driver (0.7.3) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - zeitwerk (2.4.2) + zeitwerk (2.6.17) PLATFORMS ruby @@ -259,7 +250,7 @@ PLATFORMS DEPENDENCIES bootsnap (>= 1.4.4) - bootstrap (~> 4.5) + bootstrap (~> 5.0, >= 5.0.0) byebug dotenv-rails jbuilder (~> 2.7) @@ -284,4 +275,4 @@ RUBY VERSION ruby 3.0.0p0 BUNDLED WITH - 2.2.6 + 2.2.3