lib/terser/compressor.rb in terser-1.1.13 vs lib/terser/compressor.rb in terser-1.1.14
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
require 'sprockets/digest_utils'
-require 'sprockets/source_map_utils' if Gem::Version.new(::Sprockets::VERSION) >= Gem::Version.new('4.x')
+require 'sprockets/source_map_utils' if Gem::Version.new(Sprockets::VERSION) >= Gem::Version.new('4.x')
class Terser
# A wrapper for Sprockets
class Compressor
VERSION = '1'