nokogiri 1.15.3-x64-mingw-ucrt → 1.15.5-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 +4 -4
- data/dependencies.yml +7 -6
- data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +4 -4
- data/ext/nokogiri/include/libxslt/xsltconfig.h +4 -4
- data/ext/nokogiri/include/libxslt/xsltlocale.h +8 -0
- data/ext/nokogiri/xml_document.c +6 -2
- data/lib/nokogiri/3.1/nokogiri.so +0 -0
- data/lib/nokogiri/3.2/nokogiri.so +0 -0
- data/lib/nokogiri/version/constant.rb +1 -1
- data/lib/nokogiri/xml/document.rb +1 -2
- 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: f68f63c02922a78af7ad41c64c1c5c50e390ea036206ebd131a42ad26c39271d
|
4
|
+
data.tar.gz: 99752fb45c77925ea2686a45374837892160c4dd6167cd3bb442df5b83d12186
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa7aa2fc9155da392e4e55004b85d43320027af4ef9eed96d69a92128d0b5a669ea731cb1d0a5872468a3060d41d1b626647d22398267125817524679f7f7c1a
|
7
|
+
data.tar.gz: a1e774ad6db816367f571d7954f5c56d8a47362a5b0762f51355e3c16f4ce054685fc194fb4a141e39ea27e8656a8238d1b027b1371a99391b42dad2aec4a75f
|
data/dependencies.yml
CHANGED
@@ -1,12 +1,13 @@
|
|
1
|
+
|
1
2
|
libxml2:
|
2
|
-
version: "2.11.
|
3
|
-
sha256: "
|
4
|
-
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.
|
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.
|
8
|
-
sha256: "
|
9
|
-
# sha-256 hash provided in https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.
|
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.
|
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
|
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 "
|
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(
|
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.
|
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
|
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 "
|
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/
|
135
|
+
#define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x86-mingw32/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__ */
|
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);
|
Binary file
|
Binary file
|
@@ -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.
|
4
|
+
version: 1.15.5
|
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-
|
23
|
+
date: 2023-11-17 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: racc
|