terser 1.1.8 → 1.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.8
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: 2021-11-25 00:00:00.000000000 Z
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.2.21
142
+ rubygems_version: 3.3.7
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Ruby wrapper for Terser JavaScript compressor