nokogiri 1.15.3-aarch64-linux → 1.15.5-aarch64-linux

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: 0df307f7d41a5a8aadfa20aa4e04e561004cd8a158ac75c9a9794c11cf1a864d
4
- data.tar.gz: fc7c3c68b5b38c1a255237ac72a6cd1f88b1c39264203ae0f8e46c127239e776
3
+ metadata.gz: ee75b7d18c9692de13cbd6a8a9ac8885baadedbf95028c3d7979b94e61cf94a2
4
+ data.tar.gz: 5cdc9a2c85b4216eb3fe7a0a9cc16525df0dc652bad4e1929414fb11e71b822c
5
5
  SHA512:
6
- metadata.gz: '08c86eafd80699f639c5fb29d5a56682825e18b4c2a20eaf31654612785ed3b87d21476012df871ef603c973f08659e78727990a05a573d819607b9a69847b16'
7
- data.tar.gz: 2849269260edba3a0bcbd7740f726aae35e99281bc72043b5ce91ca2c30ba61904fd9f41a9dfcc49a00085544d2f8f900a0ef679221678bfdd578c9cf95b6eb9
6
+ metadata.gz: c5ba8c36a352076d66382ef9e72288ff84b80dd18c0f6b0de66f9e9f6e99d8be78a9c067ed0aa56e643f1a37377d8159623f0152ba4e62e307369a8740f1a7fc
7
+ data.tar.gz: 6297d594988f844d95e449814ecd4e50ce84cf51317507460c52ec3067dac2bf3fdec14b88d15da23e89d6b0ae536d5e70cf233a59601464652658b4a4abac85
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/aarch64-linux/libxslt/1.1.38/lib/libxslt-plugins"
135
+ #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/aarch64-linux/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
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: aarch64-linux
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