'How to get latest version of Jquery through Jquery-rails in rails application
I am trying to fix the CVE's related to jquery as follows.
So for that I am trying to consume latest version of jquery. Earlier I had
//= require jquery
in application.js and per this thread if I want to consume latest version of jquery I can change it to
//= require jquery3
but that didn't work. I have jquery-rails
and jquery-ui-rails
set to latest versions.
gem 'jquery-rails', '~> 4.4.0'
gem 'jquery-ui-rails', '~> 6.0.1'
jquery-rails
readme says 4.4.0
version would use jquery version 1.12.4 & 2.2.4 & 3.5.1
but seems like its not pulling latest version of jquery.
How can I consume latest version of jquery so it'll fix CVE's?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|