Skip to content

Commit

Permalink
Update uglifier to improve security
Browse files Browse the repository at this point in the history
Based on the recommendations of [bundler-audit]:

```
ruby-advisory-db: 227 advisories
Name: uglifier
Version: 2.7.0
Advisory: OSVDB-126747
Criticality: Unknown
URL: mishoo/UglifyJS#751
Title: uglifier incorrectly handles non-boolean comparisons during
minification
Solution: upgrade to >= 2.7.2

Unpatched versions found!
```

[bundler-audit]: https://rubygems.org/gems/bundler-audit
  • Loading branch information
KingTiger001 committed Aug 27, 2015
1 parent fc76a12 commit a7bc64c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ gem "refills"
gem "sass-rails", "~> 5.0"
gem "simple_form"
gem "title"
gem "uglifier"
gem "uglifier", ">= 2.7.2"
gem "unicorn"

group :development do
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ GEM
rails (>= 3.1)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.0)
uglifier (2.7.2)
execjs (>= 0.3.0)
json (>= 1.8.0)
unicorn (4.8.3)
Expand Down Expand Up @@ -327,7 +327,7 @@ DEPENDENCIES
spring-commands-rspec
timecop
title
uglifier
uglifier (>= 2.7.2)
unicorn
web-console (>= 2.1.3)
webmock

0 comments on commit a7bc64c

Please # to comment.