nokogiri 1.15.3-x64-mingw-ucrt → 1.15.4-x64-mingw-ucrt

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: c7f4e48426d637c4ddbbf3fe09890a00365687a28986c498e791ad62b3413471
4
- data.tar.gz: ba47fd2805171a55e4b6b4b7e7f8361850c7e3aa71c560fa9c2d61d09f22358c
3
+ metadata.gz: 9965f8a10807f63b13fa376a9c15928e4a2eaca73226cc1f490bdab335d586bd
4
+ data.tar.gz: cf5c8652fb5578da4a11ec1d3a261add27b652868817239bc9109e71e5eb29b6
5
5
  SHA512:
6
- metadata.gz: 5a1c2bbb6ca44455dbbe9c2bb4cf293cc30fc644725f3021967e95dfb13c65bddd1edaba03ec5059bda9faf91ad0fcf94f0e04cd4ceb42e10108716cc13a328f
7
- data.tar.gz: 0ca439ac811464c2e2cd112b8a81671d007eee4c228d7965578d67d039a47ae26c555f4ee7759b960ab8fede876a601828a3721b072e38d87b999c3104fe8185
6
+ metadata.gz: 1c1db993a24983d539dfbefa08f051a37350d9ef284dfd5b6a5f458534b48226b76db95349ad678bf6392574bd8785f8ab99f7d2ed340a4a4bbd9d967b3ace3f
7
+ data.tar.gz: b984192f5728e878befd5191edb6521ab2b49a5a1c87aac4af4d485edde85141a38a8c6bd51c50b8036a05b07f71969fe2f2983238e6a812409e9985e5051600
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"
@@ -29,21 +29,21 @@ XMLPUBFUN void xmlCheckVersion(int version);
29
29
  *
30
30
  * the version string like "1.2.3"
31
31
  */
32
- #define LIBXML_DOTTED_VERSION "2.11.4"
32
+ #define LIBXML_DOTTED_VERSION "2.11.5"
33
33
 
34
34
  /**
35
35
  * LIBXML_VERSION:
36
36
  *
37
37
  * the version number: 1.2.3 value is 10203
38
38
  */
39
- #define LIBXML_VERSION 21104
39
+ #define LIBXML_VERSION 21105
40
40
 
41
41
  /**
42
42
  * LIBXML_VERSION_STRING:
43
43
  *
44
44
  * the version number string, 1.2.3 value is "10203"
45
45
  */
46
- #define LIBXML_VERSION_STRING "21104"
46
+ #define LIBXML_VERSION_STRING "21105"
47
47
 
48
48
  /**
49
49
  * LIBXML_VERSION_EXTRA:
@@ -58,7 +58,7 @@ XMLPUBFUN void xmlCheckVersion(int version);
58
58
  * Macro to check that the libxml version in use is compatible with
59
59
  * the version the software has been compiled against
60
60
  */
61
- #define LIBXML_TEST_VERSION xmlCheckVersion(21104);
61
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21105);
62
62
 
63
63
  #ifndef VMS
64
64
  #if 0
@@ -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
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: x64-mingw-ucrt
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
  name: racc