isomorfeus-preact 10.7.0 → 10.7.1

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: ce23e2c7c771a6a3cec53f791620764219fb842782cfac7a14b9db0e8cab6f75
4
- data.tar.gz: ad1d81da5a40545a03193baa140f93473343b23af0891b0356f0e36207d6737c
3
+ metadata.gz: 3669178d02db8199336e64cc4d10b94d04896a1d929c4938eb2808313001e146
4
+ data.tar.gz: 73249c9ecf4df5a7a1369c42e31bb152215f95175446fea37d1802c307d6c57f
5
5
  SHA512:
6
- metadata.gz: 59b8caa0aece9658b1cb5f2c68fb185cbceb86a40f24c00377ed46ec4081addfeced8ccc1912b6a975df25d6502b1239a12d9b64eac88e2a58af275dbf24145a
7
- data.tar.gz: 722abef60685852bb8f384e2a578783f584816133ab9a121e89b4dea4410d755d7804759ebcee60ec4c3831616a34cf713b387360518bbfad95df348519ab5cd
6
+ metadata.gz: 4b02ddb32d4eb7e61ebefd107ae1f67a6c2e08b5bc30ccfe188eb53df92070e5c8a15cd85a3ce7bea908e4574c0eb9b50da69527caf3805d197647f8d5b59fe4
7
+ data.tar.gz: 2a247829a91976fb27e70fac63a30832692cfc9e8c9b44231918247db2fe408801f84afe31286b191dc9a7fa7dca0f0e6c109e74415f635665e9122bccf6758f
@@ -29,7 +29,11 @@ module Preact::ComponentResolution
29
29
  # otherwise pass on method missing
30
30
  %x{
31
31
  var constant = null;
32
- if (typeof self.iso_preact_const_cache === 'undefined') { self.iso_preact_const_cache = {}; }
32
+ try {
33
+ if (typeof self.iso_preact_const_cache === 'undefined') { self.iso_preact_const_cache = {}; }
34
+ } catch(err) {
35
+ return #{_preact_component_class_resolution_original_method_missing(component_name, *args, block)};
36
+ }
33
37
  if (typeof self.iso_preact_const_cache[component_name] !== 'undefined') {
34
38
  constant = self.iso_preact_const_cache[component_name]
35
39
  } else {
@@ -57,7 +61,11 @@ module Preact::ComponentResolution
57
61
  # nesting provided by the compiler.
58
62
  %x{
59
63
  var constant;
60
- if (typeof self.iso_preact_const_cache === 'undefined') { self.iso_preact_const_cache = {}; }
64
+ try {
65
+ if (typeof self.iso_preact_const_cache === 'undefined') { self.iso_preact_const_cache = {}; }
66
+ } catch(err) {
67
+ return #{_preact_component_resolution_original_method_missing(component_name, *args, block)};
68
+ }
61
69
  if (typeof self.iso_preact_const_cache[component_name] !== 'undefined') {
62
70
  constant = self.iso_preact_const_cache[component_name]
63
71
  } else if (typeof self.$$is_a_module !== 'undefined') {
@@ -1,3 +1,3 @@
1
1
  module Preact
2
- VERSION = '10.7.0'
2
+ VERSION = '10.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-preact
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.7.0
4
+ version: 10.7.1
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-04-19 00:00:00.000000000 Z
11
+ date: 2022-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby