isomorfeus-preact 10.6.27 → 10.6.28

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: 73f8b8f7d14be7b8a80efda0f1cba6be6edb00ceb1043c5339b1360bfa791924
4
- data.tar.gz: 76be3664fce68b8dbdc29a62068366cc417805664bab7ecd60fcbda689742e66
3
+ metadata.gz: 6331ce028802f1b54b7fb887e252eb034ea9a445282d4e560b72c0254afb492b
4
+ data.tar.gz: f9bd49e677237be97b152221133c4a0d02e454df2e4bf483fcbe324591fc252a
5
5
  SHA512:
6
- metadata.gz: 0ee3ac614f2156b22425ec55e89b97d44c4c216d30358718de94b75aa6c44abc5161fd064fdd69c58f3166d4dcea36eacdfb6bf5a58a72352a731f97925e76cf
7
- data.tar.gz: e2e92fe0838eb9dd82bb24bacd88f7ec420a69f7df6f3f559d7fda08fba3f4823507c3df7539028146afbaa0347a157fc409ee0e77f45021ccfd7dc04ab28e28
6
+ metadata.gz: 98b8ec5095a5723e43742b1ec6ed5dceef4d5735574bb05a475e71fd4a8afec150a2c106ed5b047a06504b1a935c21d458c67ec32301cce308ac825b2839957a
7
+ data.tar.gz: b04a6cbfa3e7b3b5d297e7fe5927189e29da30f86b303dcb822d917bdbd9bbf0145fc60ffe470fe2eb560382d68468855ae8037ff7659d511644496bc1afb84c
@@ -1,3 +1,3 @@
1
1
  module Preact
2
- VERSION = '10.6.27'
2
+ VERSION = '10.6.28'
3
3
  end
data/lib/preact.rb CHANGED
@@ -213,10 +213,12 @@ module Preact
213
213
  };
214
214
 
215
215
  self.deep_force_update = function(vnode) {
216
- if (vnode.__c && vnode.__c.forceUpdate) { vnode.__c.forceUpdate(); }
217
- if (vnode.__k) {
218
- for (let i=vnode.__k.length-1; i>=0; i--) {
219
- self.deep_force_update(vnode.__k[i]);
216
+ if(vnode) {
217
+ if (vnode.__c && vnode.__c.forceUpdate) { vnode.__c.forceUpdate(); }
218
+ if (vnode.__k) {
219
+ for (let i=vnode.__k.length-1; i>=0; i--) {
220
+ self.deep_force_update(vnode.__k[i]);
221
+ }
220
222
  }
221
223
  }
222
224
  };
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.6.27
4
+ version: 10.6.28
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-04 00:00:00.000000000 Z
11
+ date: 2022-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby