nokogiri 1.15.5-java → 1.15.7-java

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: dd052718a17a5aaa452b826e77a16f3803335e41e696ffbf5303b35692e3997f
4
- data.tar.gz: ef77b195fb3f9bb23c504cb831fbc925d67ba7279b0eccb756e967ef3c1bcf7b
3
+ metadata.gz: 010e980be6c895a3d263cbfe2fa971e3c7d9fd2e470bc55dbc328106d62fef2d
4
+ data.tar.gz: b3fa0eabb5dcfd9f0cc526bc275ef1f317e6a30a21d596ac7babf11661548b8c
5
5
  SHA512:
6
- metadata.gz: a59e8de0f72a7e4bb580184b97c2b078bcee7e460cca5910faccae6aa4b09da716bb487bac384c5cd3d9692ff041385056e3130b9c64001eaeb091198b50ba93
7
- data.tar.gz: 5e7472832641199c87959a9c38dfded70ff30b255446a379104f1b9ef1d6c4165bb7b9f8029d17d4d3fbb7df126fedd782fdef6a4e31e88655e2d89e7e0b5ec9
6
+ metadata.gz: 4d339a34ffa47797bb50479b47d3d7553f52089fae368478ea6244ed47f31196eca34fd0103c22cca3a91d1bd32d1055b00d497a8e5fc71e8e6e9fc3dd2715a1
7
+ data.tar.gz: 68e46a6cf1930112069b8a850cf635cbced63988d6040c49d59f36c68b26a58f471976b8b3a4f0648d33c4ec0eaff1ca9ee6097266b6230eef9ad4d54fd45fcd
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"
@@ -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
@@ -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: java
6
6
  authors:
7
7
  - Mike Dalessio
@@ -20,15 +20,15 @@ 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
+ name: jar-dependencies
26
27
  requirement: !ruby/object:Gem::Requirement
27
28
  requirements:
28
29
  - - '='
29
30
  - !ruby/object:Gem::Version
30
31
  version: 0.4.1
31
- name: jar-dependencies
32
32
  type: :development
33
33
  prerelease: false
34
34
  version_requirements: !ruby/object:Gem::Requirement
@@ -37,13 +37,12 @@ dependencies:
37
37
  - !ruby/object:Gem::Version
38
38
  version: 0.4.1
39
39
  - !ruby/object:Gem::Dependency
40
- force_ruby_platform: false
40
+ name: racc
41
41
  requirement: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
45
  version: '1.4'
46
- name: racc
47
46
  type: :runtime
48
47
  prerelease: false
49
48
  version_requirements: !ruby/object:Gem::Requirement