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 +4 -4
- data/lib/opal-webpack-loader/compile_worker.rb +3 -3
- data/lib/opal-webpack-loader/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9169214e7ea478859b769e890779677b0316e2d17d457949486124872a3f9878
|
4
|
+
data.tar.gz: 3f1025067005a144f0935b21901145fb0ff53136d1c2c2a8715887ed4843c582
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
11
|
+
date: 2019-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|