nokogiri 1.15.3-java → 1.15.4-java

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '081ae726bf9739a715d02f6d13e9ba45453521bf2124ccd7b517cb3e70716d3f'
4
- data.tar.gz: 320c158601ad87a313db012453f913190727c9174dcf6739ad3ad2f5f2333459
3
+ metadata.gz: b5a06b0a60f3964c8165d605401030d4aafbec6c83b94adaaf2e918c48a4d6e7
4
+ data.tar.gz: 4e9a23386ca131ad8814c90179a011f6129785a3eec0802401c186eb5c9fe5d5
5
5
  SHA512:
6
- metadata.gz: 0c06d48c15a6b8a96bf70a07eb7e815484031e1025d55ad78d48d732785081d035530d2935a0d42ce35e7d43647264a33ff108a22379dddd9e05880992f17989
7
- data.tar.gz: a027b2d39af6237cd5f4f47641c1d60bf70cf0d72c74ef4899a4e0931ce419fe0bee30e01a51b9c3a8455c77dfb7d6046efe5f119bdc52fa259a781a0b4d8a23
6
+ metadata.gz: 4d7036c6043ca62e69408a457b5422844c6af017eb06bfe31a9f05c29b131f8875373ffdbda17ee0985c1b288a16d902f5b9719a275dfd84f0955dfbc8bce041
7
+ data.tar.gz: c0e5807524bc9e5b670cadafb6e15a2f57ae73d1d1885d39ca597b5e0667d1f4a37b42d928054408820574f3aeccf42ec133541ed1616d2f395e1030e656516a
data/dependencies.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  libxml2:
2
- version: "2.11.4"
3
- sha256: "737e1d7f8ab3f139729ca13a2494fd17bf30ddb4b7a427cf336252cab57f57f7"
4
- # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.4.sha256sum
2
+ version: "2.11.5"
3
+ sha256: "3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6"
4
+ # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.5.sha256sum
5
5
 
6
6
  libxslt:
7
7
  version: "1.1.38"
@@ -100,11 +100,15 @@ memsize_node(const xmlNodePtr node)
100
100
  {
101
101
  /* note we don't count namespace definitions, just going for a good-enough number here */
102
102
  xmlNodePtr child;
103
+ xmlAttrPtr property;
103
104
  size_t memsize = 0;
104
105
 
105
106
  memsize += xmlStrlen(node->name);
106
- for (child = (xmlNodePtr)node->properties; child; child = child->next) {
107
- memsize += sizeof(xmlAttr) + memsize_node(child);
107
+
108
+ if (node->type == XML_ELEMENT_NODE) {
109
+ for (property = node->properties; property; property = property->next) {
110
+ memsize += sizeof(xmlAttr) + memsize_node((xmlNodePtr)property);
111
+ }
108
112
  }
109
113
  if (node->type == XML_TEXT_NODE) {
110
114
  memsize += xmlStrlen(node->content);
Binary file
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.15.3"
5
+ VERSION = "1.15.4"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nokogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.3
4
+ version: 1.15.4
5
5
  platform: java
6
6
  authors:
7
7
  - Mike Dalessio
@@ -20,7 +20,7 @@ authors:
20
20
  autorequire:
21
21
  bindir: bin
22
22
  cert_chain: []
23
- date: 2023-07-05 00:00:00.000000000 Z
23
+ date: 2023-08-11 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  requirement: !ruby/object:Gem::Requirement