nokogiri 1.16.3 → 1.16.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

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: 3ef19d0772f2a62254c22d720cd3f80d836a2c35dfc4c1a058246a728d90c8ab
4
- data.tar.gz: 11027c7333fe1422cd7bdd010c4b628b762ea3f69ebf49261e257aca05f02a61
3
+ metadata.gz: eff0523bd350c2cd114bdd93486cd25f266ae4adc064571a108d1926776d6144
4
+ data.tar.gz: 7b9ecfc54d5f1ecc8e2b843bd17b404f8c2e5577749dde52678e0c9c1350f3b6
5
5
  SHA512:
6
- metadata.gz: b9a26cf7542ca01c5eda410145b3d1b7ee068aa870be5e7c29a427ac3a3d1a6d5fc1f79da3fb50a7a8a2e23c92403b758550e4e9adc95268f07fa39e4ec9f0ab
7
- data.tar.gz: 877623b3e577979efb25270767859b6dcea6685bf70699d4be732d898dfd7aeb0ba3b31f285d7bcd95eec1e377f9aec5022104b5e6329753564540896dbbbaab
6
+ metadata.gz: 11d6a2558416abb116410ac6b06015954287b593acdaa2c3cc2bc9daf2105d3bf197d380cce08978afc4102552450c5f7a1a9c85e41ad4307fb430cc56942dcc
7
+ data.tar.gz: 3b78a83da090e5f28d300a56c5f057a6e8b29bc3a0eadd95b55d80b228c5c68cd455c4534ef1adc14a2cdc0f3ad0271e461344efe7cca1a63c3d5713eb8038fe
data/dependencies.yml CHANGED
@@ -1,8 +1,8 @@
1
-
1
+ ---
2
2
  libxml2:
3
- version: "2.12.6"
4
- sha256: "889c593a881a3db5fdd96cc9318c87df34eb648edfc458272ad46fd607353fbb"
5
- # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.6.sha256sum
3
+ version: "2.12.9"
4
+ sha256: "59912db536ab56a3996489ea0299768c7bcffe57169f0235e7f962a91f483590"
5
+ # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.9.sha256sum
6
6
 
7
7
  libxslt:
8
8
  version: "1.1.39"
@@ -10,8 +10,8 @@ libxslt:
10
10
  # sha-256 hash provided in https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.39.sha256sum
11
11
 
12
12
  zlib:
13
- version: "1.3"
14
- sha256: "ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e"
13
+ version: "1.3.1"
14
+ sha256: "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
15
15
  # SHA-256 hash provided on http://zlib.net/
16
16
 
17
17
  libiconv:
@@ -1849,13 +1849,19 @@ is_one_of(xmlNodePtr node, char const *const *tagnames, size_t num_tagnames)
1849
1849
  if (name == NULL) { // fragments don't have a name
1850
1850
  return false;
1851
1851
  }
1852
+
1853
+ if (node->ns != NULL) {
1854
+ // if the node has a namespace, it's in a foreign context and is not one of the HTML tags we're
1855
+ // matching against.
1856
+ return false;
1857
+ }
1858
+
1852
1859
  for (size_t idx = 0; idx < num_tagnames; ++idx) {
1853
1860
  if (!strcmp(name, tagnames[idx])) {
1854
1861
  return true;
1855
1862
  }
1856
1863
  }
1857
1864
  return false;
1858
-
1859
1865
  }
1860
1866
 
1861
1867
  static void
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.16.3"
5
+ VERSION = "1.16.8"
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.3
4
+ version: 1.16.8
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-03-15 00:00:00.000000000 Z
23
+ date: 2024-12-02 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mini_portile2
@@ -36,7 +36,6 @@ dependencies:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
38
  version: 2.8.2
39
- force_ruby_platform: false
40
39
  - !ruby/object:Gem::Dependency
41
40
  name: racc
42
41
  requirement: !ruby/object:Gem::Requirement
@@ -51,7 +50,6 @@ dependencies:
51
50
  - - "~>"
52
51
  - !ruby/object:Gem::Version
53
52
  version: '1.4'
54
- force_ruby_platform: false
55
53
  description: |
56
54
  Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a
57
55
  sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is
@@ -272,7 +270,7 @@ files:
272
270
  - patches/libxml2/0010-update-config.guess-and-config.sub-for-libxml2.patch
273
271
  - patches/libxml2/0011-rip-out-libxml2-s-libc_single_threaded-support.patch
274
272
  - patches/libxslt/0001-update-config.guess-and-config.sub-for-libxslt.patch
275
- - ports/archives/libxml2-2.12.6.tar.xz
273
+ - ports/archives/libxml2-2.12.9.tar.xz
276
274
  - ports/archives/libxslt-1.1.39.tar.xz
277
275
  homepage: https://nokogiri.org
278
276
  licenses:
@@ -301,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
301
299
  - !ruby/object:Gem::Version
302
300
  version: '0'
303
301
  requirements: []
304
- rubygems_version: 3.4.19
302
+ rubygems_version: 3.5.11
305
303
  signing_key:
306
304
  specification_version: 4
307
305
  summary: Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
Binary file