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 +4 -4
- data/dependencies.yml +3 -3
- data/ext/nokogiri/xml_document.c +6 -2
- data/lib/nokogiri/nokogiri.jar +0 -0
- data/lib/nokogiri/version/constant.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: b5a06b0a60f3964c8165d605401030d4aafbec6c83b94adaaf2e918c48a4d6e7
|
4
|
+
data.tar.gz: 4e9a23386ca131ad8814c90179a011f6129785a3eec0802401c186eb5c9fe5d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d7036c6043ca62e69408a457b5422844c6af017eb06bfe31a9f05c29b131f8875373ffdbda17ee0985c1b288a16d902f5b9719a275dfd84f0955dfbc8bce041
|
7
|
+
data.tar.gz: c0e5807524bc9e5b670cadafb6e15a2f57ae73d1d1885d39ca597b5e0667d1f4a37b42d928054408820574f3aeccf42ec133541ed1616d2f395e1030e656516a
|
data/dependencies.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
libxml2:
|
2
|
-
version: "2.11.
|
3
|
-
sha256: "
|
4
|
-
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.
|
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"
|
data/ext/nokogiri/xml_document.c
CHANGED
@@ -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
|
-
|
107
|
-
|
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);
|
data/lib/nokogiri/nokogiri.jar
CHANGED
Binary file
|
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.
|
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-
|
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
|