html-to-markdown 3.12.4 → 3.14.0
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39e1ccf7f1872ba57bf57d1d1ce6020e54e4bac067255c7acb3e5612344fe6f0
|
|
4
|
+
data.tar.gz: b520351eefd071d7ce5f24b30e8f0c046788a25a0ecfe9d3ae9a35d2ae80802d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61ce0b1c95392c864e07d4b2efe4612ddca4164d3731811145897a957ce7aa1d4835f4de67095babceb2c8a42394312a27427a7516356f4cba3fa18657e91efc
|
|
7
|
+
data.tar.gz: a2734d75449eac99978536df38ab314f1fd88fe9f4f51159fef8662bdaea1d6da2ac1eed6f3fad93bf11e54f0b3ef0c746d0c1afbb49e439001bfb00d4474983
|
|
@@ -232,7 +232,7 @@ checksum = "c9356095b4b41197bba32173600e1582792cda618f65d12f68e2e77d273413c5"
|
|
|
232
232
|
|
|
233
233
|
[[package]]
|
|
234
234
|
name = "html-to-markdown-rb"
|
|
235
|
-
version = "3.
|
|
235
|
+
version = "3.14.0"
|
|
236
236
|
dependencies = [
|
|
237
237
|
"async-trait",
|
|
238
238
|
"html-to-markdown-rs",
|
|
@@ -246,9 +246,9 @@ dependencies = [
|
|
|
246
246
|
|
|
247
247
|
[[package]]
|
|
248
248
|
name = "html-to-markdown-rs"
|
|
249
|
-
version = "3.
|
|
249
|
+
version = "3.14.0"
|
|
250
250
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
251
|
-
checksum = "
|
|
251
|
+
checksum = "250c27ba332993f6972a03b1b7243fe087a94c3401318015fe0dde5e8ea1ccef"
|
|
252
252
|
dependencies = [
|
|
253
253
|
"ahash",
|
|
254
254
|
"astral-tl",
|
|
@@ -259,7 +259,7 @@ dependencies = [
|
|
|
259
259
|
"image",
|
|
260
260
|
"memchr",
|
|
261
261
|
"once_cell",
|
|
262
|
-
"phf
|
|
262
|
+
"phf",
|
|
263
263
|
"regex",
|
|
264
264
|
"serde",
|
|
265
265
|
"serde_json",
|
|
@@ -269,12 +269,13 @@ dependencies = [
|
|
|
269
269
|
|
|
270
270
|
[[package]]
|
|
271
271
|
name = "html5ever"
|
|
272
|
-
version = "0.
|
|
272
|
+
version = "0.40.1"
|
|
273
273
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
274
|
-
checksum = "
|
|
274
|
+
checksum = "456a1a377e608e555d22ddab27ac0114bc7a7b4199078108e34c2aeae6c9b130"
|
|
275
275
|
dependencies = [
|
|
276
276
|
"log",
|
|
277
277
|
"markup5ever",
|
|
278
|
+
"memchr",
|
|
278
279
|
]
|
|
279
280
|
|
|
280
281
|
[[package]]
|
|
@@ -382,9 +383,9 @@ dependencies = [
|
|
|
382
383
|
|
|
383
384
|
[[package]]
|
|
384
385
|
name = "markup5ever"
|
|
385
|
-
version = "0.
|
|
386
|
+
version = "0.40.0"
|
|
386
387
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
387
|
-
checksum = "
|
|
388
|
+
checksum = "0ab3dc68ac4a0f5719e560136778c1ee716e296030d75dbd4484e37e39e3a842"
|
|
388
389
|
dependencies = [
|
|
389
390
|
"log",
|
|
390
391
|
"tendril",
|
|
@@ -487,16 +488,6 @@ dependencies = [
|
|
|
487
488
|
"windows-link",
|
|
488
489
|
]
|
|
489
490
|
|
|
490
|
-
[[package]]
|
|
491
|
-
name = "phf"
|
|
492
|
-
version = "0.13.1"
|
|
493
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
494
|
-
checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf"
|
|
495
|
-
dependencies = [
|
|
496
|
-
"phf_shared 0.13.1",
|
|
497
|
-
"serde",
|
|
498
|
-
]
|
|
499
|
-
|
|
500
491
|
[[package]]
|
|
501
492
|
name = "phf"
|
|
502
493
|
version = "0.14.0"
|
|
@@ -504,28 +495,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
504
495
|
checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6"
|
|
505
496
|
dependencies = [
|
|
506
497
|
"phf_macros",
|
|
507
|
-
"phf_shared
|
|
498
|
+
"phf_shared",
|
|
508
499
|
"serde",
|
|
509
500
|
]
|
|
510
501
|
|
|
511
502
|
[[package]]
|
|
512
503
|
name = "phf_codegen"
|
|
513
|
-
version = "0.
|
|
514
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
515
|
-
checksum = "49aa7f9d80421bca176ca8dbfebe668cc7a2684708594ec9f3c0db0805d5d6e1"
|
|
516
|
-
dependencies = [
|
|
517
|
-
"phf_generator 0.13.1",
|
|
518
|
-
"phf_shared 0.13.1",
|
|
519
|
-
]
|
|
520
|
-
|
|
521
|
-
[[package]]
|
|
522
|
-
name = "phf_generator"
|
|
523
|
-
version = "0.13.1"
|
|
504
|
+
version = "0.14.0"
|
|
524
505
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
525
|
-
checksum = "
|
|
506
|
+
checksum = "41b585a510fb76fdebead6897982ef2a03a21d8e6cbcca904999742a4afc6ffe"
|
|
526
507
|
dependencies = [
|
|
527
|
-
"
|
|
528
|
-
"phf_shared
|
|
508
|
+
"phf_generator",
|
|
509
|
+
"phf_shared",
|
|
529
510
|
]
|
|
530
511
|
|
|
531
512
|
[[package]]
|
|
@@ -535,7 +516,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
535
516
|
checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100"
|
|
536
517
|
dependencies = [
|
|
537
518
|
"fastrand",
|
|
538
|
-
"phf_shared
|
|
519
|
+
"phf_shared",
|
|
539
520
|
]
|
|
540
521
|
|
|
541
522
|
[[package]]
|
|
@@ -544,22 +525,13 @@ version = "0.14.0"
|
|
|
544
525
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
545
526
|
checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085"
|
|
546
527
|
dependencies = [
|
|
547
|
-
"phf_generator
|
|
548
|
-
"phf_shared
|
|
528
|
+
"phf_generator",
|
|
529
|
+
"phf_shared",
|
|
549
530
|
"proc-macro2",
|
|
550
531
|
"quote",
|
|
551
532
|
"syn 2.0.119",
|
|
552
533
|
]
|
|
553
534
|
|
|
554
|
-
[[package]]
|
|
555
|
-
name = "phf_shared"
|
|
556
|
-
version = "0.13.1"
|
|
557
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
558
|
-
checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266"
|
|
559
|
-
dependencies = [
|
|
560
|
-
"siphasher",
|
|
561
|
-
]
|
|
562
|
-
|
|
563
535
|
[[package]]
|
|
564
536
|
name = "phf_shared"
|
|
565
537
|
version = "0.14.0"
|
|
@@ -779,30 +751,30 @@ checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649"
|
|
|
779
751
|
|
|
780
752
|
[[package]]
|
|
781
753
|
name = "smallvec"
|
|
782
|
-
version = "1.16.
|
|
754
|
+
version = "1.16.1"
|
|
783
755
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
784
|
-
checksum = "
|
|
756
|
+
checksum = "ba467056f1b547ed52077911161fc86985becbc60e8e1857c8a144dab0def891"
|
|
785
757
|
|
|
786
758
|
[[package]]
|
|
787
759
|
name = "string_cache"
|
|
788
|
-
version = "0.
|
|
760
|
+
version = "0.11.0"
|
|
789
761
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
790
|
-
checksum = "
|
|
762
|
+
checksum = "ffa8a5dbe8b3f0bbe29d4c3225daafaeead63afdc1b65fc4c01a1384166038e6"
|
|
791
763
|
dependencies = [
|
|
792
764
|
"new_debug_unreachable",
|
|
793
765
|
"parking_lot",
|
|
794
|
-
"phf_shared
|
|
766
|
+
"phf_shared",
|
|
795
767
|
"precomputed-hash",
|
|
796
768
|
]
|
|
797
769
|
|
|
798
770
|
[[package]]
|
|
799
771
|
name = "string_cache_codegen"
|
|
800
|
-
version = "0.
|
|
772
|
+
version = "0.11.2"
|
|
801
773
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
802
|
-
checksum = "
|
|
774
|
+
checksum = "928dcdf75e47626b3617a976ec205d9f057584c371c1f23b782129268d0e6edc"
|
|
803
775
|
dependencies = [
|
|
804
|
-
"phf_generator
|
|
805
|
-
"phf_shared
|
|
776
|
+
"phf_generator",
|
|
777
|
+
"phf_shared",
|
|
806
778
|
"proc-macro2",
|
|
807
779
|
"quote",
|
|
808
780
|
]
|
|
@@ -927,11 +899,11 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
|
927
899
|
|
|
928
900
|
[[package]]
|
|
929
901
|
name = "web_atoms"
|
|
930
|
-
version = "0.
|
|
902
|
+
version = "0.3.0"
|
|
931
903
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
932
|
-
checksum = "
|
|
904
|
+
checksum = "7572660c8890448ba236b7376f27e389c6a7e1c70195622faced601f855c0ada"
|
|
933
905
|
dependencies = [
|
|
934
|
-
"phf
|
|
906
|
+
"phf",
|
|
935
907
|
"phf_codegen",
|
|
936
908
|
"string_cache",
|
|
937
909
|
"string_cache_codegen",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:4ea3e28cc83a47b1646e631e70449aabd0df9b35fb71817384a87593c3c00c28
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
|
|
6
6
|
[package]
|
|
7
7
|
name = "html-to-markdown-rb"
|
|
8
|
-
version = "3.
|
|
8
|
+
version = "3.14.0"
|
|
9
9
|
edition = "2024"
|
|
10
10
|
license = "MIT"
|
|
11
11
|
description = "High-performance HTML to Markdown converter"
|
|
@@ -30,7 +30,7 @@ visitor = ["html-to-markdown-rs/visitor"]
|
|
|
30
30
|
|
|
31
31
|
[dependencies]
|
|
32
32
|
async-trait = "0.1"
|
|
33
|
-
html-to-markdown-rs = { version = "3.
|
|
33
|
+
html-to-markdown-rs = { version = "3.14.0", features = ["serde", "metadata", "visitor", "inline-images", "testkit"] }
|
|
34
34
|
magnus = "0.8"
|
|
35
35
|
rb-sys = ">=0.9.130, <0.10"
|
|
36
36
|
serde = { version = "1", features = ["derive"] }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated by alef. DO NOT EDIT.
|
|
2
|
-
// alef:hash:
|
|
2
|
+
// alef:hash:b89f28165748578716b78d7870c438b5394d9c847ec7718f9620057ca8fb0688
|
|
3
3
|
// Re-generate with: alef generate
|
|
4
4
|
#![allow(dead_code, unused_imports, unused_variables)]
|
|
5
5
|
#![allow(
|
|
@@ -4573,7 +4573,7 @@ impl magnus::TryConvert for StructuredDataType {
|
|
|
4573
4573
|
match s.as_str() {
|
|
4574
4574
|
"json_ld" | "JsonLd" => Ok(StructuredDataType::JsonLd),
|
|
4575
4575
|
"microdata" | "Microdata" => Ok(StructuredDataType::Microdata),
|
|
4576
|
-
"rdfa" | "
|
|
4576
|
+
"rdfa" | "RDFa" => Ok(StructuredDataType::RDFa),
|
|
4577
4577
|
other => Err(magnus::Error::new(
|
|
4578
4578
|
unsafe { Ruby::get_unchecked() }.exception_arg_error(),
|
|
4579
4579
|
format!("invalid StructuredDataType value: {other}"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:7f448ade00fa6e1dcd5c3b2dfa253c426c9ec3d6127d00401c8062c30a133b7d
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
# frozen_string_literal: true
|
|
@@ -1100,7 +1100,7 @@ module HtmlToMarkdown
|
|
|
1100
1100
|
# @return [self]
|
|
1101
1101
|
sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
|
|
1102
1102
|
def self.from_hash(hash)
|
|
1103
|
-
new(value: hash[:
|
|
1103
|
+
new(value: hash[:output] || hash["output"])
|
|
1104
1104
|
end
|
|
1105
1105
|
end
|
|
1106
1106
|
## Skip this element entirely (don't output anything)
|
|
@@ -1176,7 +1176,7 @@ module HtmlToMarkdown
|
|
|
1176
1176
|
# @return [self]
|
|
1177
1177
|
sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
|
|
1178
1178
|
def self.from_hash(hash)
|
|
1179
|
-
new(value: hash[:
|
|
1179
|
+
new(value: hash[:output] || hash["output"])
|
|
1180
1180
|
end
|
|
1181
1181
|
end
|
|
1182
1182
|
end
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:ee8b91c3a6862006ca3efa3d3e8685392886554835d96b1ed6f1a6a41516ad49
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
# frozen_string_literal: true
|
|
6
6
|
|
|
7
7
|
module HtmlToMarkdown
|
|
8
8
|
## The version string for this package.
|
|
9
|
-
VERSION = "3.
|
|
9
|
+
VERSION = "3.14.0"
|
|
10
10
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: html-to-markdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Na'aman Hirschfeld <naaman@xberg.io>
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rb_sys
|