nokogiri 1.15.3-x64-mingw32 → 1.15.5-x64-mingw32

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: d589e7ccf6dc6d738878a4ef2239557f503ef142446393b5cfcbdda39bd7cf47
4
- data.tar.gz: 7df6f6dbee11d416d2a851aca34fe818b7d13dbd154f6907f047977fb7dcf32c
3
+ metadata.gz: 55b6647a56ef44e6ad929cd30ec9e5892bfa235363e961fcc41a27f19ae17463
4
+ data.tar.gz: 83223f50f44b854795b273688faf96bb77e38d2595565817771b60b47debd66d
5
5
  SHA512:
6
- metadata.gz: 5c51ad6c00b51586ba3af9e5bdbd4bccfc1d3fc0a48905384e62af9cab0cc1296fc5e576358b1de678a113a5f1fa75f503f5fbd2a6862bdf4e4e492af8052c2c
7
- data.tar.gz: 30b0ebd7dfdb5bd52210a73283c36dc995fe5322dff8eba825093673eb4e03430a1c831796518097a2da596bd4d1c40190a6691447226520413d21ba3f7fc991
6
+ metadata.gz: 3672f9fd9e867df4b53c0634cfad0c3d727b535e3ef3b0d78a6dd9efaab547fba653e067aafac4f8d63f172f4ff19fb311285e804a410f4a28bdfff6996776c9
7
+ data.tar.gz: 4c7426755334c7d21b70c07a4f0a5f11e11eaeed6f6b2253495810d0ce9e7f9441bfab8f844d4d2dadce502b8af2d836328d94e17a8cd4a4d34257b4965ddbe7
data/dependencies.yml CHANGED
@@ -1,12 +1,13 @@
1
+
1
2
  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
3
+ version: "2.11.6"
4
+ sha256: "c90eee7506764abbe07bb616b82da452529609815aefef423d66ef080eb0c300"
5
+ # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.6.sha256sum
5
6
 
6
7
  libxslt:
7
- version: "1.1.38"
8
- sha256: "1f32450425819a09acaff2ab7a5a7f8a2ec7956e505d7beeb45e843d0e1ecab1"
9
- # sha-256 hash provided in https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.38.sha256sum
8
+ version: "1.1.39"
9
+ sha256: "2a20ad621148339b0759c4d4e96719362dee64c9a096dbba625ba053846349f0"
10
+ # sha-256 hash provided in https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.39.sha256sum
10
11
 
11
12
  zlib:
12
13
  version: "1.2.13"
@@ -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.6"
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 21106
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 "21106"
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(21106);
62
62
 
63
63
  #ifndef VMS
64
64
  #if 0
@@ -20,21 +20,21 @@ extern "C" {
20
20
  *
21
21
  * the version string like "1.2.3"
22
22
  */
23
- #define LIBXSLT_DOTTED_VERSION "1.1.38"
23
+ #define LIBXSLT_DOTTED_VERSION "1.1.39"
24
24
 
25
25
  /**
26
26
  * LIBXSLT_VERSION:
27
27
  *
28
28
  * the version number: 1.2.3 value is 10203
29
29
  */
30
- #define LIBXSLT_VERSION 10138
30
+ #define LIBXSLT_VERSION 10139
31
31
 
32
32
  /**
33
33
  * LIBXSLT_VERSION_STRING:
34
34
  *
35
35
  * the version number string, 1.2.3 value is "10203"
36
36
  */
37
- #define LIBXSLT_VERSION_STRING "10138"
37
+ #define LIBXSLT_VERSION_STRING "10139"
38
38
 
39
39
  /**
40
40
  * LIBXSLT_VERSION_EXTRA:
@@ -132,7 +132,7 @@ extern "C" {
132
132
  #ifndef WITH_MODULES
133
133
  #define WITH_MODULES
134
134
  #endif
135
- #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x64-mingw-ucrt/libxslt/1.1.38/lib/libxslt-plugins"
135
+ #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x64-mingw-ucrt/libxslt/1.1.39/lib/libxslt-plugins"
136
136
  #endif
137
137
 
138
138
  /**
@@ -14,6 +14,10 @@
14
14
  #include <libxml/xmlstring.h>
15
15
  #include "xsltexports.h"
16
16
 
17
+ #ifdef __cplusplus
18
+ extern "C" {
19
+ #endif
20
+
17
21
  XSLTPUBFUN void * XSLTCALL
18
22
  xsltNewLocale (const xmlChar *langName,
19
23
  int lowerFirst);
@@ -33,4 +37,8 @@ XSLTPUBFUN int XSLTCALL
33
37
  const xmlChar *str1,
34
38
  const xmlChar *str2);
35
39
 
40
+ #ifdef __cplusplus
41
+ }
42
+ #endif
43
+
36
44
  #endif /* __XML_XSLTLOCALE_H__ */
@@ -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.5"
6
6
  end
@@ -174,8 +174,7 @@ module Nokogiri
174
174
  # Since v1.12.4
175
175
  attr_accessor :namespace_inheritance
176
176
 
177
- # :nodoc:
178
- def initialize(*args) # rubocop:disable Lint/MissingSuper
177
+ def initialize(*args) # :nodoc: # rubocop:disable Lint/MissingSuper
179
178
  @errors = []
180
179
  @decorators = nil
181
180
  @namespace_inheritance = false
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.5
5
5
  platform: x64-mingw32
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-11-17 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: racc