nokogiri 1.13.4 → 1.13.5
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 +3 -3
- data/lib/nokogiri/version/constant.rb +1 -1
- data/lib/nokogiri/xml/node.rb +2 -2
- data/ports/archives/libxml2-2.9.14.tar.xz +0 -0
- metadata +11 -6
- data/patches/libxml2/0010-Revert-Different-approach-to-fix-quadratic-behavior.patch +0 -45
- data/ports/archives/libxml2-2.9.13.tar.xz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cb0f1bb1c96af9d5021c119e8638e6392aea35f29004e767a093371c2de37c1
|
4
|
+
data.tar.gz: 9e9c58952e0ffd373e7996420bd54294db6a7ba059c4207be48a143c86c40bab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 159d03e00e62be24f9cb02e2f6099880cf127344bf6f43b1fa11055ca47b50fc7f3edfb147ffbfd95e8042adbe656de7b5a35b38c419646d0c94d7b0d5b12699
|
7
|
+
data.tar.gz: 6edd78c5e541c44edce8fce81fdb8c9251d7a991bd51aac9593c00936799dca68604c8bc21b14482422abdd1baa4dc552f270f691f22f0501e7fc9895ea38e0a
|
data/dependencies.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
libxml2:
|
2
|
-
version: "2.9.
|
3
|
-
sha256: "
|
4
|
-
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.9/libxml2-2.9.
|
2
|
+
version: "2.9.14"
|
3
|
+
sha256: "60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee"
|
4
|
+
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.9/libxml2-2.9.14.sha256sum
|
5
5
|
|
6
6
|
libxslt:
|
7
7
|
version: "1.1.35"
|
data/lib/nokogiri/xml/node.rb
CHANGED
@@ -123,8 +123,8 @@ module Nokogiri
|
|
123
123
|
# [Yields] Nokogiri::XML::Node
|
124
124
|
# [Returns] Nokogiri::XML::Node
|
125
125
|
#
|
126
|
-
def initialize(name, document)
|
127
|
-
# This is intentionally empty.
|
126
|
+
def initialize(name, document)
|
127
|
+
# This is intentionally empty, and sets the method signature for subclasses.
|
128
128
|
end
|
129
129
|
|
130
130
|
###
|
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.13.
|
4
|
+
version: 1.13.5
|
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: 2022-04
|
23
|
+
date: 2022-05-04 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: mini_portile2
|
@@ -182,14 +182,20 @@ dependencies:
|
|
182
182
|
requirements:
|
183
183
|
- - "~>"
|
184
184
|
- !ruby/object:Gem::Version
|
185
|
-
version: '1.
|
185
|
+
version: '1.28'
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: 1.28.2
|
186
189
|
type: :development
|
187
190
|
prerelease: false
|
188
191
|
version_requirements: !ruby/object:Gem::Requirement
|
189
192
|
requirements:
|
190
193
|
- - "~>"
|
191
194
|
- !ruby/object:Gem::Version
|
192
|
-
version: '1.
|
195
|
+
version: '1.28'
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: 1.28.2
|
193
199
|
- !ruby/object:Gem::Dependency
|
194
200
|
name: rubocop-minitest
|
195
201
|
requirement: !ruby/object:Gem::Requirement
|
@@ -492,9 +498,8 @@ files:
|
|
492
498
|
- patches/libxml2/0006-update-automake-files-for-arm64.patch
|
493
499
|
- patches/libxml2/0008-htmlParseComment-handle-abruptly-closed-comments.patch
|
494
500
|
- patches/libxml2/0009-allow-wildcard-namespaces.patch
|
495
|
-
- patches/libxml2/0010-Revert-Different-approach-to-fix-quadratic-behavior.patch
|
496
501
|
- patches/libxslt/0001-update-automake-files-for-arm64.patch
|
497
|
-
- ports/archives/libxml2-2.9.
|
502
|
+
- ports/archives/libxml2-2.9.14.tar.xz
|
498
503
|
- ports/archives/libxslt-1.1.35.tar.xz
|
499
504
|
homepage: https://nokogiri.org
|
500
505
|
licenses:
|
@@ -1,45 +0,0 @@
|
|
1
|
-
From ddc5f3d22644e0f6fbcc20541c86825757ffee62 Mon Sep 17 00:00:00 2001
|
2
|
-
From: Mike Dalessio <mike.dalessio@gmail.com>
|
3
|
-
Date: Mon, 21 Feb 2022 18:27:45 -0500
|
4
|
-
Subject: [PATCH] Revert "Different approach to fix quadratic behavior in HTML
|
5
|
-
push parser"
|
6
|
-
|
7
|
-
This reverts commit 798bdf13f6964a650b9a0b7b4b3a769f6f1d509a.
|
8
|
-
---
|
9
|
-
HTMLparser.c | 14 +-------------
|
10
|
-
1 file changed, 1 insertion(+), 13 deletions(-)
|
11
|
-
|
12
|
-
diff --git a/HTMLparser.c b/HTMLparser.c
|
13
|
-
index eba2d7c..c0b8119 100644
|
14
|
-
--- a/HTMLparser.c
|
15
|
-
+++ b/HTMLparser.c
|
16
|
-
@@ -3960,25 +3960,13 @@ htmlParseStartTag(htmlParserCtxtPtr ctxt) {
|
17
|
-
htmlParseErr(ctxt, XML_ERR_NAME_REQUIRED,
|
18
|
-
"htmlParseStartTag: invalid element name\n",
|
19
|
-
NULL, NULL);
|
20
|
-
- /*
|
21
|
-
- * The recovery code is disabled for now as it can result in
|
22
|
-
- * quadratic behavior with the push parser. htmlParseStartTag
|
23
|
-
- * must consume all content up to the final '>' in order to avoid
|
24
|
-
- * rescanning for this terminator.
|
25
|
-
- *
|
26
|
-
- * For a proper fix in line with HTML5, htmlParseStartTag and
|
27
|
-
- * htmlParseElement should only be called when there's an ASCII
|
28
|
-
- * alpha character following the initial '<'. Otherwise, the '<'
|
29
|
-
- * should be emitted as text (unless followed by '!', '/' or '?').
|
30
|
-
- */
|
31
|
-
-#if 0
|
32
|
-
/* if recover preserve text on classic misconstructs */
|
33
|
-
if ((ctxt->recovery) && ((IS_BLANK_CH(CUR)) || (CUR == '<') ||
|
34
|
-
(CUR == '=') || (CUR == '>') || (((CUR >= '0') && (CUR <= '9'))))) {
|
35
|
-
htmlParseCharDataInternal(ctxt, '<');
|
36
|
-
return(-1);
|
37
|
-
}
|
38
|
-
-#endif
|
39
|
-
+
|
40
|
-
|
41
|
-
/* Dump the bogus tag like browsers do */
|
42
|
-
while ((CUR != 0) && (CUR != '>') &&
|
43
|
-
--
|
44
|
-
2.31.0
|
45
|
-
|
Binary file
|