Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Commit 81eea0f

Browse files
authored
Merge pull request #4123 from envato/dependency-update
Bump Node.js (18.19.1 → 18.20.5), Ruby (3.2.5 → 3.3.6), Rubocop (1.42.0 → 1.70.0), sqlite3 (1.6.9 → 1.7.3), rails-html-sanitizer (1.6.0 → 1.6.2)
2 parents 2160a36 + 9558992 commit 81eea0f

37 files changed

+89
-88
lines changed

.bundler-audit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
# - leave file with `ignore: []` if ignore list is empty
55
ignore:
66
- CVE-2024-6484 # ignore until a patch is available https://github.com/advisories/GHSA-9mvj-f7w8-pvh2
7+
- CVE-2024-54133 # ignore until Rails is upgraded to >= 7.0

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.19.1
1+
18.20.5

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.5
1+
3.3.6

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.2.5-slim
1+
FROM ruby:3.3.6-slim
22

33
# Install dependencies
44
RUN \

Gemfile.lock

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ GEM
395395
terminal-table (>= 1.4.0)
396396
thor (>= 0.16.0)
397397
jmespath (1.6.2)
398-
json (2.7.1)
398+
json (2.9.1)
399399
jsonpath (1.1.5)
400400
multi_json
401401
jwt (2.7.1)
@@ -404,6 +404,7 @@ GEM
404404
jsonpath (~> 1.0)
405405
recursive-open-struct (~> 1.1, >= 1.1.1)
406406
rest-client (~> 2.0)
407+
language_server-protocol (3.17.0.3)
407408
large_object_store (1.7.0)
408409
zstd-ruby (~> 1.5.5)
409410
llhttp-ffi (0.5.0)
@@ -415,7 +416,7 @@ GEM
415416
railties (>= 4)
416417
request_store (~> 1.0)
417418
logstash-event (1.2.02)
418-
loofah (2.22.0)
419+
loofah (2.24.0)
419420
crass (~> 1.0.2)
420421
nokogiri (>= 1.12.0)
421422
mail (2.7.1)
@@ -429,7 +430,7 @@ GEM
429430
mime-types-data (~> 3.2015)
430431
mime-types-data (3.2024.0206)
431432
mini_mime (1.1.5)
432-
mini_portile2 (2.8.7)
433+
mini_portile2 (2.8.8)
433434
minitest (5.14.4)
434435
mixlib-shellout (3.2.7)
435436
chef-utils
@@ -457,16 +458,16 @@ GEM
457458
netrc (0.11.0)
458459
newrelic_rpm (9.7.1)
459460
nio4r (2.7.3)
460-
nokogiri (1.16.5)
461+
nokogiri (1.18.1)
461462
mini_portile2 (~> 2.8.2)
462463
racc (~> 1.4)
463-
nokogiri (1.16.5-aarch64-linux)
464+
nokogiri (1.18.1-aarch64-linux-gnu)
464465
racc (~> 1.4)
465-
nokogiri (1.16.5-arm64-darwin)
466+
nokogiri (1.18.1-arm64-darwin)
466467
racc (~> 1.4)
467-
nokogiri (1.16.5-x86_64-darwin)
468+
nokogiri (1.18.1-x86_64-darwin)
468469
racc (~> 1.4)
469-
nokogiri (1.16.5-x86_64-linux)
470+
nokogiri (1.18.1-x86_64-linux-gnu)
470471
racc (~> 1.4)
471472
oauth2 (2.0.9)
472473
faraday (>= 0.17.3, < 3.0)
@@ -499,10 +500,10 @@ GEM
499500
actionpack (>= 4.2)
500501
omniauth (~> 2.0)
501502
pagy (4.11.0)
502-
parallel (1.24.0)
503+
parallel (1.26.3)
503504
parallel_tests (2.32.0)
504505
parallel
505-
parser (3.3.0.5)
506+
parser (3.3.6.0)
506507
ast (~> 2.4.1)
507508
racc
508509
path_expander (1.1.1)
@@ -525,7 +526,7 @@ GEM
525526
puma (5.6.9)
526527
nio4r (~> 2.0)
527528
pyu-ruby-sasl (0.0.3.3)
528-
racc (1.8.0)
529+
racc (1.8.1)
529530
rack (2.2.9)
530531
rack-mini-profiler (3.3.0)
531532
rack (>= 1.2.0)
@@ -542,9 +543,9 @@ GEM
542543
activesupport (>= 5.0.0)
543544
minitest
544545
nokogiri (>= 1.6)
545-
rails-html-sanitizer (1.6.0)
546+
rails-html-sanitizer (1.6.2)
546547
loofah (~> 2.21)
547-
nokogiri (~> 1.14)
548+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
548549
railties (6.1.7.10)
549550
actionpack (= 6.1.7.10)
550551
activesupport (= 6.1.7.10)
@@ -555,7 +556,7 @@ GEM
555556
rake (13.2.1)
556557
rbtree3 (0.7.1)
557558
recursive-open-struct (1.1.3)
558-
regexp_parser (2.9.0)
559+
regexp_parser (2.10.0)
559560
request_store (1.5.1)
560561
rack (>= 1.4)
561562
rest-client (2.1.0)
@@ -567,23 +568,23 @@ GEM
567568
rollbar (2.27.1)
568569
rollbar-user_informer (0.1.0)
569570
rollbar (~> 2.15)
570-
rubocop (1.42.0)
571+
rubocop (1.70.0)
571572
json (~> 2.3)
573+
language_server-protocol (>= 3.17.0)
572574
parallel (~> 1.10)
573-
parser (>= 3.1.2.1)
575+
parser (>= 3.3.0.2)
574576
rainbow (>= 2.2.2, < 4.0)
575-
regexp_parser (>= 1.8, < 3.0)
576-
rexml (>= 3.2.5, < 4.0)
577-
rubocop-ast (>= 1.24.1, < 2.0)
577+
regexp_parser (>= 2.9.3, < 3.0)
578+
rubocop-ast (>= 1.36.2, < 2.0)
578579
ruby-progressbar (~> 1.7)
579-
unicode-display_width (>= 1.4.0, < 3.0)
580-
rubocop-ast (1.30.0)
581-
parser (>= 3.2.1.0)
582-
rubocop-rails (2.23.1)
580+
unicode-display_width (>= 2.4.0, < 4.0)
581+
rubocop-ast (1.37.0)
582+
parser (>= 3.3.1.0)
583+
rubocop-rails (2.28.0)
583584
activesupport (>= 4.2.0)
584585
rack (>= 1.1)
585-
rubocop (>= 1.33.0, < 2.0)
586-
rubocop-ast (>= 1.30.0, < 2.0)
586+
rubocop (>= 1.52.0, < 2.0)
587+
rubocop-ast (>= 1.31.1, < 2.0)
587588
ruby-progressbar (1.13.0)
588589
ruby2_keywords (0.0.5)
589590
ruby_parser (3.21.0)
@@ -627,23 +628,23 @@ GEM
627628
actionpack (>= 5.2)
628629
activesupport (>= 5.2)
629630
sprockets (>= 3.0.0)
630-
sqlite3 (1.6.9)
631+
sqlite3 (1.7.3)
631632
mini_portile2 (~> 2.8.0)
632-
sqlite3 (1.6.9-aarch64-linux)
633-
sqlite3 (1.6.9-arm64-darwin)
634-
sqlite3 (1.6.9-x86_64-darwin)
635-
sqlite3 (1.6.9-x86_64-linux)
633+
sqlite3 (1.7.3-aarch64-linux)
634+
sqlite3 (1.7.3-arm64-darwin)
635+
sqlite3 (1.7.3-x86_64-darwin)
636+
sqlite3 (1.7.3-x86_64-linux)
636637
stackprof (0.2.12)
637-
terminal-table (1.8.0)
638-
unicode-display_width (~> 1.1, >= 1.1.1)
638+
terminal-table (3.0.2)
639+
unicode-display_width (>= 1.1.1, < 3)
639640
thor (1.3.1)
640641
tilt (2.3.0)
641642
timeout (0.4.1)
642643
tzinfo (2.0.6)
643644
concurrent-ruby (~> 1.0)
644645
uglifier (3.2.0)
645646
execjs (>= 0.3.0, < 3)
646-
unicode-display_width (1.8.0)
647+
unicode-display_width (2.6.0)
647648
validates_lengths_from_database (0.8.0)
648649
activerecord (>= 4)
649650
version_gem (1.1.3)
@@ -794,7 +795,7 @@ DEPENDENCIES
794795
webmock
795796

796797
RUBY VERSION
797-
ruby 3.2.5p208
798+
ruby 3.3.6p108
798799

799800
BUNDLED WITH
800-
2.5.17
801+
2.6.2

app/controllers/builds_controller.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,9 @@ def enforce_disabled_docker_builds
168168

169169
def registering_external_build?
170170
return @registering_external_build if defined?(@registering_external_build)
171-
@registering_external_build = (
171+
@registering_external_build =
172172
action_name == "create" &&
173-
EXTERNAL_BUILD_ATTRIBUTES.any? { |e| params.dig(:build, e).present? }
174-
)
173+
EXTERNAL_BUILD_ATTRIBUTES.any? { |e| params.dig(:build, e).present? }
175174
end
176175

177176
def scope

app/controllers/projects_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def create_callback
8080
end
8181

8282
def destroy_callback
83-
if to = (ENV["PROJECT_DELETED_NOTIFY_ADDRESS"] || created_email)
83+
if to = ENV["PROJECT_DELETED_NOTIFY_ADDRESS"] || created_email
8484
ProjectMailer.deleted_email(to, current_user, @project).deliver_now
8585
end
8686
end

app/helpers/user_project_roles_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def user_project_role_radio(user, role_name, role_id, user_project_role_id)
55
global_access = (user.role_id >= role_id.to_i)
66
disabled = (user.role_id > role_id.to_i)
77
project_access = (user_project_role_id.to_i >= role_id.to_i)
8-
checked = (global_access || project_access)
8+
checked = global_access || project_access
99
title = "User is a global #{user.role.name.capitalize}" if global_access
1010

1111
label_tag nil, class: ('disabled' if disabled), title: title do

app/models/changeset/pull_request.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Changeset::PullRequest
77
WEBHOOK_FILTER = /(^|\s)\[samson review\]($|\s)/i
88

99
# Matches URLs to JIRA issues.
10-
JIRA_ISSUE_URL = %r[https?://[\da-z.\-]+\.[a-z.]{2,6}/browse/#{CODE_ONLY}(?=#{PUNCT}|$)]
10+
JIRA_ISSUE_URL = %r[https?://[\da-z.-]+\.[a-z.]{2,6}/browse/#{CODE_ONLY}(?=#{PUNCT}|$)]
1111

1212
# Matches "VOICE-1234" or "[VOICE-1234]"
1313
JIRA_CODE_TITLE = /(\[)*(#{CODE_ONLY})(\])*/

app/models/concerns/attr_encrypted_support.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require 'attr_encrypted'
33

44
module AttrEncryptedSupport
5-
encryption_key_raw = (ENV['ATTR_ENCRYPTED_KEY'] || Rails.application.secrets.secret_key_base)
5+
encryption_key_raw = ENV['ATTR_ENCRYPTED_KEY'] || Rails.application.secrets.secret_key_base
66
ENCRYPTION_KEY = encryption_key_raw[0...32]
77
ENCRYPTION_KEY_SHA = Digest::SHA2.hexdigest(encryption_key_raw)
88

0 commit comments

Comments
 (0)