isomorfeus-asset-manager 0.14.18 → 0.14.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb5692cfccf4e21f3b11bcced2aa8af148990c7d19ade752ea87ddcf1f1bdcc5
4
- data.tar.gz: af7ea87cb6b73ab1c532eba91d155770bd101ada53a3eeb3c3ef934fcd730328
3
+ metadata.gz: 5c7df0d3122b5bfff71c027bed005e9878e0bb64c6ddd1300e6256efb544ddf1
4
+ data.tar.gz: 2aa0e3f088152054b47bec1b9886ed93a843774735a2e7b26d67edda01cf10a8
5
5
  SHA512:
6
- metadata.gz: e2e9b716e6ab17554d8d2adcf799ca0267eecf42bbc8f6383c352dbfe2713ebda4d391ff3a257c88b007edd572d1528b47ba0f751af0cb8225c03fd41084dba9
7
- data.tar.gz: 80e14c295ad90176cabb32d22d13bc6a324f4ff5e78743d9c0ce66a8458a00dd0a7f18a379662575c9d05deb56582c47bebdd8be75ef57ffa1ddd7d18e4f9d73
6
+ metadata.gz: 07f69556f092f6d1a8b74a8003cf4564f445fc0938bbfcf2edb68df0d43eec0c298c670284e213c059ef0ec79cca536048a8f55f22a6b543080ab5daea28f93d
7
+ data.tar.gz: 6c1050f997977b5a5351fe3edc94b0c175540f565e62b187e3e3a1d31f616564d1dda5c1fa26759e36c5fa452c68042d032306475d051b4500f461cd22264467
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  class AssetManager
3
- VERSION = '0.14.18'
3
+ VERSION = '0.14.19'
4
4
  end
5
5
  end
@@ -87,8 +87,8 @@ module Isomorfeus
87
87
  def handle_errors(asset_key, result)
88
88
  unless result['errors'].empty?
89
89
  result['errors'].each do |e|
90
- print_message(w, 'error')
91
- unless w['notes'].empty?
90
+ print_message(e, 'error')
91
+ unless e['notes'].empty?
92
92
  e['notes'].each do |n|
93
93
  print_message(n, 'note')
94
94
  end
@@ -176,7 +176,9 @@ module Isomorfeus
176
176
  splitting: false,
177
177
  target: '#{asset.browser? ? 'es6' : 'node16' }',
178
178
  write: true
179
- }).then((result) => { global.res_meta = result.metafile; return result; });
179
+ })
180
+ .then((result) => { global.res_meta = result.metafile; return result; }, (reason) => { return { result: { errors: [{text: reson}]}}; })
181
+ .catch((error) => { return { result: { errors: [{text: error.message}]}}; });
180
182
  JAVASCRIPT
181
183
  if analyze
182
184
  analysis = @context.await <<~JAVASCRIPT
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-asset-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.18
4
+ version: 0.14.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-21 00:00:00.000000000 Z
11
+ date: 2022-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: brotli
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 3.7.0
61
+ version: 3.7.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 3.7.0
68
+ version: 3.7.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: oj
71
71
  requirement: !ruby/object:Gem::Requirement