nokogiri 1.16.1 → 1.16.2

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: da609d95e9ec1de75acd8ff2b8ef217b23df9431a17c5d37d8968f90bcbd6f5b
4
- data.tar.gz: a9573dc8e6cbd63f97104651f38c9bfa06549eab4d77c602dedba2094adc320f
3
+ metadata.gz: eff8843eb712576ae46f11395a29e0daf5b2b99fbec124a604c784281fab2f69
4
+ data.tar.gz: c4aa6b876e82af3b9d6620cda1040130e17e493d80e7dc84c6c7715d7783d1a1
5
5
  SHA512:
6
- metadata.gz: ceb8cb32c790d4f3b9162bc86169373c8b7084e15e7ca9991712aed69f495e8a9e58480e94536fae3072d4b0bb9ee5e553367bb41e896087e24073e667650969
7
- data.tar.gz: '094a214ed1c7a5462a6ae2fbc73b0247496e1dd0dcc9542fd5db5cee87a5916776f1f1adb3c04af858fd8d7722cc19473dbde560f483ab3a0efcd9c881fe96ff'
6
+ metadata.gz: 350715c0687e8d463bc56b666f2113f21ec778998d4862ae88c13a6dbe5ab471ffff1c123870a5ceb9934b0e645ce9e01e25e9242c140244e234076a47cd1922
7
+ data.tar.gz: 5f617afb7c937a1f321d2f11c13995bd26a7344c9137a63198c88e56512f9cbb8d86d1cb4184cd67dbca70fa380fc2e35cbcd49e487bf73bde323312db547cff
data/dependencies.yml CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  libxml2:
3
- version: "2.12.4"
4
- sha256: "497360e423cf0bd99eacdb7c6215dea92e6d6e89ee940393c2bae0e77cb9b7d0"
5
- # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.4.sha256sum
3
+ version: "2.12.5"
4
+ sha256: "a972796696afd38073e0f59c283c3a2f5a560b5268b4babc391b286166526b21"
5
+ # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.5.sha256sum
6
6
 
7
7
  libxslt:
8
8
  version: "1.1.39"
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.16.1"
5
+ VERSION = "1.16.2"
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.16.1
4
+ version: 1.16.2
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: 2024-02-03 00:00:00.000000000 Z
23
+ date: 2024-02-04 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mini_portile2
@@ -271,9 +271,8 @@ files:
271
271
  - patches/libxml2/0009-allow-wildcard-namespaces.patch
272
272
  - patches/libxml2/0010-update-config.guess-and-config.sub-for-libxml2.patch
273
273
  - patches/libxml2/0011-rip-out-libxml2-s-libc_single_threaded-support.patch
274
- - patches/libxml2/0012-parser-Fix-crash-in-xmlParseInNodeContext-with-HTML.patch
275
274
  - patches/libxslt/0001-update-config.guess-and-config.sub-for-libxslt.patch
276
- - ports/archives/libxml2-2.12.4.tar.xz
275
+ - ports/archives/libxml2-2.12.5.tar.xz
277
276
  - ports/archives/libxslt-1.1.39.tar.xz
278
277
  homepage: https://nokogiri.org
279
278
  licenses:
@@ -1,33 +0,0 @@
1
- From 95f2a17440568694a6df6a326c5b411e77597be2 Mon Sep 17 00:00:00 2001
2
- From: Nick Wellnhofer <wellnhofer@aevum.de>
3
- Date: Tue, 30 Jan 2024 13:25:17 +0100
4
- Subject: [PATCH] parser: Fix crash in xmlParseInNodeContext with HTML
5
- documents
6
-
7
- Ignore namespaces if we have an HTML document with namespaces added
8
- manually.
9
-
10
- Fixes #672.
11
- ---
12
- parser.c | 4 +++-
13
- 1 file changed, 3 insertions(+), 1 deletion(-)
14
-
15
- diff --git a/parser.c b/parser.c
16
- index 1038d71b..f7842ed1 100644
17
- --- a/parser.c
18
- +++ b/parser.c
19
- @@ -12415,8 +12415,10 @@ xmlParseInNodeContext(xmlNodePtr node, const char *data, int datalen,
20
- }
21
- xmlAddChild(node, fake);
22
-
23
- - if (node->type == XML_ELEMENT_NODE) {
24
- + if (node->type == XML_ELEMENT_NODE)
25
- nodePush(ctxt, node);
26
- +
27
- + if ((ctxt->html == 0) && (node->type == XML_ELEMENT_NODE)) {
28
- /*
29
- * initialize the SAX2 namespaces stack
30
- */
31
- --
32
- 2.42.0
33
-
Binary file