nokogiri 1.15.3 → 1.15.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 244e673a87f9559a0aa597c75f7c8848f96f67db9d6fa8b9b21fecc466c472d2
|
4
|
+
data.tar.gz: f046f870e270f8daa484bb16fc8915a7228dfee3d6c61220e78fea753a2250ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bce186e13d536128d231590d143bd40db88cf1c3008e8d0775b411b1ea7e26eb27ff81af47695b0b073a603bdc111361e56626dbdc7ae43f0f419f06b7128f26
|
7
|
+
data.tar.gz: 252a25c25d530d20012094fa6ba73c87823ca40dd73ec42cde8f579ff14a5c8bc8a3e799e37c9e5848bcc2c4d4ae3d94b88f8b0e6d0771136549bbfd5bd4b7c8
|
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/gumbo-parser/src/error.c
CHANGED
@@ -357,7 +357,7 @@ static void handle_parser_error (
|
|
357
357
|
print_tag_stack(error, output);
|
358
358
|
return;
|
359
359
|
case GUMBO_TOKEN_END_TAG:
|
360
|
-
print_message(output, "
|
360
|
+
print_message(output, "End tag '%s' isn't allowed here.",
|
361
361
|
gumbo_normalized_tagname(error->input_tag));
|
362
362
|
print_tag_stack(error, output);
|
363
363
|
return;
|
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: ruby
|
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
|
name: mini_portile2
|
@@ -272,7 +272,7 @@ files:
|
|
272
272
|
- patches/libxml2/0010-update-config.guess-and-config.sub-for-libxml2.patch
|
273
273
|
- patches/libxml2/0011-rip-out-libxml2-s-libc_single_threaded-support.patch
|
274
274
|
- patches/libxslt/0001-update-config.guess-and-config.sub-for-libxslt.patch
|
275
|
-
- ports/archives/libxml2-2.11.
|
275
|
+
- ports/archives/libxml2-2.11.5.tar.xz
|
276
276
|
- ports/archives/libxslt-1.1.38.tar.xz
|
277
277
|
homepage: https://nokogiri.org
|
278
278
|
licenses:
|
Binary file
|