nokogiri 1.16.6-java → 1.16.8-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a710461290bea2088d2235fbc6e13786ccb593496d654500992ada3e9a9af371
4
- data.tar.gz: 5b3a2ad2f6e04d7647ff2ce2f6d8a09abe4f4da6062e1d819b4a39c947c8e673
3
+ metadata.gz: d738514ea45f87c34b937caf79fe740ee4e854c3977168bf92a9b9b0b5aa43ba
4
+ data.tar.gz: d0a5904665e3376d5da0ef4edd765aecad5f4023834e4b5d4dd5ea4d344ae40c
5
5
  SHA512:
6
- metadata.gz: aa4ac19f3241cb4a517b20e20b4b1fe5ce527e175ebefe5cd49e15bbae6b346391d8b07b50e53b74b49a4b4192ab64ff030b768bf55cd0e917be990002cda4e1
7
- data.tar.gz: 38028f9cec2bc770fbf769fd5da0588f98a9cc21e8694742789180e044bfe6ef3c60d31705541f85d8d7c7e8687a235ad3e73fb600e7d7a6734aa6eb6183c13e
6
+ metadata.gz: c26332a0911cbddad1bba94100c87267287339346ead9e9676d275de52363a50a73c73bfd5a123e21762ad828bbe69f0a3d933b14c54b78e443cac57245717d3
7
+ data.tar.gz: bb99ef98745b0c546a1556afa2c2309dad123240a675db7d6615e810df6dbb786d9b5edbbafad2d4b33f5b21b51a3b7c1f44eb0541d7efb57a5f0a4e3ed9dbf4
data/dependencies.yml CHANGED
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  libxml2:
3
- version: "2.12.8"
4
- sha256: "43ad877b018bc63deb2468d71f95219c2fac196876ef36d1bee51d226173ec93"
5
- # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.8.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"
@@ -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
Binary file
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.16.6"
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.6
4
+ version: 1.16.8
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: 2024-06-13 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