opal-webpack-loader 0.9.6 → 0.9.7

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: f95916c873eaec706c2a24dce187cb87e2d32243a0600afa5112264461531b3b
4
- data.tar.gz: 7203b91ac09c9ac46ab0cff189e166d409427d73af29b0c23a985e20e5ed071d
3
+ metadata.gz: 9169214e7ea478859b769e890779677b0316e2d17d457949486124872a3f9878
4
+ data.tar.gz: 3f1025067005a144f0935b21901145fb0ff53136d1c2c2a8715887ed4843c582
5
5
  SHA512:
6
- metadata.gz: 73f0f7056c49a5b3d8fc6a2d8029ffce3eac0b09c45194d1226242d9a8a21d6d863dfd030267740f8f72a42c5d12d1e1377396cbaac1f5dbc9417220465b4587
7
- data.tar.gz: 05a42327e501e92998224d615410f79f44ffc3c08d4ad110a8dc729abab593793386de216097e1114d2b85f13516e1e0e04efdecaac6453778aae4ba33efd019
6
+ metadata.gz: 900d048a068460ca8971a40fa429e53ead323973d118a1de9394e27525707d04ba474600789bacf56296b8b53a53e57e0e58e8537a8b470acaf30b09d1e1c11e
7
+ data.tar.gz: 41af0b2a4b59e3352a7310098081bca0b98d5c863762bb0b85078bbeaa63a0a2169c0d18012907ed9e57e7c4a19036601d532e5d3c90a7accc150b7d22819314
@@ -66,7 +66,7 @@ module OpalWebpackLoader
66
66
  private
67
67
 
68
68
  def compile(request)
69
- request_json = Oj.load(request.chop!, {})
69
+ request_json = Oj.load(request.chop!, mode: :strict)
70
70
 
71
71
  compile_source_map = request_json["source_map"]
72
72
  filename = request_json["filename"]
@@ -82,8 +82,8 @@ module OpalWebpackLoader
82
82
  result['required_trees'] = c.required_trees
83
83
  Oj.dump(result, mode: :strict)
84
84
  rescue Exception => e
85
- Oj.dump({ 'error' => { 'name' => e.class, 'message' => e.message, 'backtrace' => e.backtrace.join("\n") } }, {})
85
+ Oj.dump({ 'error' => { 'name' => e.class, 'message' => e.message, 'backtrace' => e.backtrace.join("\n") } }, mode: :strict)
86
86
  end
87
87
  end
88
88
  end
89
- end
89
+ end
@@ -1,3 +1,3 @@
1
1
  module OpalWebpackLoader
2
- VERSION="0.9.6"
2
+ VERSION="0.9.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-webpack-loader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-10 00:00:00.000000000 Z
11
+ date: 2019-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal