Skip to content

Commit

Permalink
Upgrade nodejs (#2244)
Browse files Browse the repository at this point in the history
* upgrade node to 18.17 version

* add jammy vms and comment out bionic

* add new yarn to PR

* [security vulnerability] Sanitize user supplied values in redirect  (#2243)

* [security vulnerability] Sanitize user supplied values in redirect detected by semgrep #2242

* Replace sanitize with CGI.escape

* remove params adapter

Co-authored-by: Jane Sandberg <[email protected]>

---------

Co-authored-by: Jane Sandberg <[email protected]>

---------

Co-authored-by: Francis Kayiwa <[email protected]>
Co-authored-by: Christina Chortaria <[email protected]>
Co-authored-by: Jane Sandberg <[email protected]>
  • Loading branch information
4 people authored Sep 8, 2023
1 parent 6e8a31d commit ba7d2fd
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ruby 3.1.0
nodejs 16.19.0
nodejs 18.17.0
6 changes: 4 additions & 2 deletions config/deploy/qa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@

set :stage, :production
set :rails_env, 'production'
server 'bibdata-qa1.princeton.edu', user: 'deploy', roles: [:web, :app, :db, :hr_cron, :poller]
server 'bibdata-worker-qa1.princeton.edu', user: 'deploy', roles: [:db, :worker, :cron, :cron_staging, :poller]
# server 'bibdata-qa1.princeton.edu', user: 'deploy', roles: [:web, :app, :db, :hr_cron, :poller]
server 'bibdata-qa2.princeton.edu', user: 'deploy', roles: [:web, :app, :db, :hr_cron, :poller]
# server 'bibdata-worker-qa1.princeton.edu', user: 'deploy', roles: [:db, :worker, :cron, :cron_staging, :poller]
server 'bibdata-worker-qa2.princeton.edu', user: 'deploy', roles: [:db, :worker, :cron, :cron_staging, :poller]

# Extended Server Syntax
# ======================
Expand Down
10 changes: 10 additions & 0 deletions node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


0 comments on commit ba7d2fd

Please sign in to comment.