diff --git a/Gemfile b/Gemfile index 326dcbb..e189ae1 100644 --- a/Gemfile +++ b/Gemfile @@ -1,12 +1,12 @@ source 'https://rubygems.org' -gem 'builder', '~>3.2.2' -gem 'css_parser', '~>1.3.6' -gem 'htmlentities', '~>4.3.4' -gem 'mustache', '~>1.0.2' -gem 'nokogiri', '~>1.6.6.2' -gem 'rdiscount', '~>2.1.8' -gem 'sinatra', '~>1.4.6' +gem 'builder', '~> 3.2' +gem 'css_parser', '~> 1.3' +gem 'htmlentities', '~> 4.3' +gem 'mustache', '~> 1.0' +gem 'nokogiri', '~> 1.6.6' +gem 'rdiscount', '~> 2.1' +gem 'sinatra', '~> 1.4' -gem 'rspec', '~>3.3.0' -gem 'guard-rspec', '~>4.6.4' +gem 'rspec', '~> 3.3' +gem 'guard-rspec', '~> 4.6' diff --git a/Gemfile.lock b/Gemfile.lock index 2787616..34c0417 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,17 +1,18 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.4.0) - builder (3.2.2) + addressable (2.5.1) + public_suffix (~> 2.0, >= 2.0.2) + builder (3.2.3) coderay (1.1.1) - css_parser (1.3.7) + css_parser (1.5.0) addressable - diff-lcs (1.2.5) - ffi (1.9.10) + diff-lcs (1.3) + ffi (1.9.18) formatador (0.2.5) - guard (2.13.0) + guard (2.14.1) formatador (>= 0.2.4) - listen (>= 2.7, <= 4.0) + listen (>= 2.7, < 4.0) lumberjack (~> 1.0) nenv (~> 0.1) notiffany (~> 0.0) @@ -19,70 +20,73 @@ GEM shellany (~> 0.0) thor (>= 0.18.1) guard-compat (1.2.1) - guard-rspec (4.6.5) + guard-rspec (4.7.3) guard (~> 2.1) guard-compat (~> 1.1) rspec (>= 2.99.0, < 4.0) htmlentities (4.3.4) - listen (3.0.6) - rb-fsevent (>= 0.9.3) - rb-inotify (>= 0.9.7) - lumberjack (1.0.10) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + lumberjack (1.0.12) method_source (0.8.2) - mini_portile (0.6.2) - mustache (1.0.3) + mini_portile2 (2.1.0) + mustache (1.0.5) nenv (0.3.0) - nokogiri (1.6.6.4) - mini_portile (~> 0.6.0) - notiffany (0.0.8) + nokogiri (1.6.8.1) + mini_portile2 (~> 2.1.0) + notiffany (0.1.1) nenv (~> 0.1) shellany (~> 0.0) - pry (0.10.3) + pry (0.10.4) coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) - rack (1.6.4) + public_suffix (2.0.5) + rack (1.6.8) rack-protection (1.5.3) rack - rb-fsevent (0.9.7) - rb-inotify (0.9.7) + rb-fsevent (0.9.8) + rb-inotify (0.9.8) ffi (>= 0.5.0) - rdiscount (2.1.8) - rspec (3.3.0) - rspec-core (~> 3.3.0) - rspec-expectations (~> 3.3.0) - rspec-mocks (~> 3.3.0) - rspec-core (3.3.2) - rspec-support (~> 3.3.0) - rspec-expectations (3.3.1) + rdiscount (2.2.0.1) + rspec (3.6.0) + rspec-core (~> 3.6.0) + rspec-expectations (~> 3.6.0) + rspec-mocks (~> 3.6.0) + rspec-core (3.6.0) + rspec-support (~> 3.6.0) + rspec-expectations (3.6.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.3.0) - rspec-mocks (3.3.2) + rspec-support (~> 3.6.0) + rspec-mocks (3.6.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.3.0) - rspec-support (3.3.0) + rspec-support (~> 3.6.0) + rspec-support (3.6.0) + ruby_dep (1.5.0) shellany (0.0.1) - sinatra (1.4.7) + sinatra (1.4.8) rack (~> 1.5) rack-protection (~> 1.4) tilt (>= 1.3, < 3) slop (3.6.0) - thor (0.19.1) - tilt (2.0.2) + thor (0.19.4) + tilt (2.0.7) PLATFORMS ruby DEPENDENCIES - builder (~> 3.2.2) - css_parser (~> 1.3.6) - guard-rspec (~> 4.6.4) - htmlentities (~> 4.3.4) - mustache (~> 1.0.2) - nokogiri (~> 1.6.6.2) - rdiscount (~> 2.1.8) - rspec (~> 3.3.0) - sinatra (~> 1.4.6) + builder (~> 3.2) + css_parser (~> 1.3) + guard-rspec (~> 4.6) + htmlentities (~> 4.3) + mustache (~> 1.0) + nokogiri (~> 1.6.6) + rdiscount (~> 2.1) + rspec (~> 3.3) + sinatra (~> 1.4) BUNDLED WITH - 1.11.2 + 1.14.6 diff --git a/bin/minify-js.sh b/bin/minify-js.sh index da9d1ad..dfb4c9f 100755 --- a/bin/minify-js.sh +++ b/bin/minify-js.sh @@ -5,7 +5,7 @@ UGLIFY="node_modules/uglify-js/bin/uglifyjs" function minify() { INPUT="$1" - "$UGLIFY" --compress --screw-ie8 "$INPUT" + "$UGLIFY" "$INPUT" } if [[ "$1" != "" ]]; then diff --git a/package.json b/package.json index 0a8ae73..43d3e0a 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "dependencies": { "harp": "^0.23.0", "thepusher": "^0.1.4", - "uglify-js": "^2.7.5", - "snyk": "^1.29.0" + "uglify-js": "^3.0.9", + "snyk": "^1.30.1" }, "scripts": { "snyk-protect": "snyk protect",