nokogiri 1.15.5-x86-mingw32 → 1.15.7-x86-mingw32

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: 3307c90b2ba47a137e5382c23f046cf0632e7b434b42084c32976029af359c0d
4
- data.tar.gz: e6b66d1335cdb2b4ee5b00f412e10ce086133b65671eb176779844e1e3804817
3
+ metadata.gz: c19f216f0dc3f55de076a1a23e35ae01a181a524aa59ff3a360dd6274f6a409c
4
+ data.tar.gz: 510a420b4dcf77b2ced30696ef95a2424c6f65420294c21a3afa64a35d7891e7
5
5
  SHA512:
6
- metadata.gz: 94ca5f86ba6fd8edcaeab75e32d721c32aa7495bb1960d88c4bd186f7f5f2088ef584de8e47ac91fda82761134c19928a06b6caf99066f97e154f8b844967b67
7
- data.tar.gz: 4f2fe6beadf613a5871a642300a2ea9740d5136cfe0b1d3fbdacd70649869a3a0af4e5506f272519150317181f1b4ef9e3d89af543a0d5fd63084cbc61b84284
6
+ metadata.gz: fa8a249e182e2dd091e357cef145d5a17131ec073162ed356db51c5d0471a430464ecfbb9e87bf6548bd269bcd9a4c6a3fd3a1851530599e063712ddafeff05c
7
+ data.tar.gz: 6cdf58e10619c522e9f91cb7c0ff3d504c41631392abad4397dd4d31389c11d034605ef91e6598aeec5d1b36c23d01481c73a9b5b3a4505b0c1707f337a800bc
data/dependencies.yml CHANGED
@@ -1,8 +1,7 @@
1
-
2
1
  libxml2:
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
2
+ version: "2.11.7"
3
+ sha256: "fb27720e25eaf457f94fd3d7189bcf2626c6dccf4201553bc8874d50e3560162"
4
+ # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.7.sha256sum
6
5
 
7
6
  libxslt:
8
7
  version: "1.1.39"
@@ -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.6"
32
+ #define LIBXML_DOTTED_VERSION "2.11.7"
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 21106
39
+ #define LIBXML_VERSION 21107
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 "21106"
46
+ #define LIBXML_VERSION_STRING "21107"
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(21106);
61
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21107);
62
62
 
63
63
  #ifndef VMS
64
64
  #if 0
@@ -1853,13 +1853,19 @@ is_one_of(xmlNodePtr node, char const *const *tagnames, size_t num_tagnames)
1853
1853
  if (name == NULL) { // fragments don't have a name
1854
1854
  return false;
1855
1855
  }
1856
+
1857
+ if (node->ns != NULL) {
1858
+ // if the node has a namespace, it's in a foreign context and is not one of the HTML tags we're
1859
+ // matching against.
1860
+ return false;
1861
+ }
1862
+
1856
1863
  for (size_t idx = 0; idx < num_tagnames; ++idx) {
1857
1864
  if (!strcmp(name, tagnames[idx])) {
1858
1865
  return true;
1859
1866
  }
1860
1867
  }
1861
1868
  return false;
1862
-
1863
1869
  }
1864
1870
 
1865
1871
  static void
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.5"
5
+ VERSION = "1.15.7"
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.15.5
4
+ version: 1.15.7
5
5
  platform: x86-mingw32
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-11-17 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: racc
@@ -36,7 +36,6 @@ dependencies:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
38
  version: '1.4'
39
- force_ruby_platform: false
40
39
  description: |
41
40
  Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a
42
41
  sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is