terser 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/terser/version.rb +1 -1
- data/lib/terser.js +1 -1
- data/lib/terser_wrapper.js +1 -1
- metadata +3 -3
data/lib/terser_wrapper.js
CHANGED
@@ -47,7 +47,7 @@ function terser_wrapper(options) {
|
|
47
47
|
inputs[inputFilename] = source;
|
48
48
|
|
49
49
|
try {
|
50
|
-
return Terser.minifySync(inputs, options);
|
50
|
+
return Terser.minifySync(inputs, options, null);
|
51
51
|
} catch (error) {
|
52
52
|
const { message, filename, line, col, pos } = error;
|
53
53
|
return {error: {message: message, filename: filename, line: line, col: col, pos: pos}}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Rosicky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubygems_version: 3.
|
142
|
+
rubygems_version: 3.3.7
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: Ruby wrapper for Terser JavaScript compressor
|