Skip to content

Commit 442fcba

Browse files
committed
chore: update all dependencies
- Polars 0.52→0.53 (fix DataFrame API: columns(), as_materialized_series()) - getrandom 0.3→0.4, flate2 1.0→1.1 - Ruby, Node, PHP, Java dependency updates - Lock file refreshes across all ecosystems
1 parent cb9594e commit 442fcba

File tree

10 files changed

+564
-366
lines changed

10 files changed

+564
-366
lines changed

Cargo.lock

Lines changed: 137 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ toml = "0.9.11"
6969
tempfile = "3.24.0"
7070
criterion = { version = "0.8", features = ["html_reports"] }
7171
lzma-rust2 = { version = "0.15.7" }
72-
getrandom = { version = "0.3.4", features = ["wasm_js"] }
72+
getrandom = { version = "0.4.1", features = ["wasm_js"] }
7373

7474
[profile.release]
7575
lto = "thin"

crates/kreuzberg-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"devDependencies": {
109109
"@napi-rs/cli": "^3.5.1",
110110
"@types/archiver": "^7.0.0",
111-
"@types/node": "^25.2.1",
111+
"@types/node": "^25.2.2",
112112
"@types/which": "^3.0.4",
113113
"@vitest/coverage-v8": "^4.0.18",
114114
"archiver": "^7.0.1",

crates/kreuzberg-wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"prepublishOnly": "npm run build"
108108
},
109109
"devDependencies": {
110-
"@types/node": "^25.2.1",
110+
"@types/node": "^25.2.2",
111111
"@vitest/coverage-v8": "^4.0.18",
112112
"@vitest/ui": "^4.0.18",
113113
"jsdom": "^28.0.0",

crates/kreuzberg/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ pdfium-render = { package = "kreuzberg-pdfium-render", version = "0.9.0", featur
168168
], optional = true }
169169
lopdf = { version = "0.39.0", optional = true }
170170
calamine = { version = "0.33.0", features = ["dates"], optional = true }
171-
polars = { version = "0.52.0", default-features = false, features = ["ipc"], optional = true }
171+
polars = { version = "0.53.0", default-features = false, features = ["ipc"], optional = true }
172172
roxmltree = { version = "0.21.1", optional = true }
173173
zip = { version = "7.4.0", optional = true, default-features = false, features = [
174174
"deflate-flate2",
@@ -183,7 +183,7 @@ quick-xml = { version = "0.39.0", features = ["serialize"], optional = true }
183183
tar = { version = "0.4.44", optional = true }
184184
sevenz-rust2 = { version = "0.20.1", optional = true }
185185
lzma-rust2 = { workspace = true, optional = true }
186-
flate2 = { version = "1.0", optional = true }
186+
flate2 = { version = "1.1", optional = true }
187187

188188
pulldown-cmark = { version = "0.13", optional = true }
189189
biblatex = { version = "0.11", optional = true }

crates/kreuzberg/src/extraction/table.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub fn table_from_arrow_to_markdown(arrow_bytes: &[u8]) -> Result<String> {
5656

5757
/// Convert a Polars DataFrame to markdown table format
5858
fn dataframe_to_markdown(df: &DataFrame) -> Result<String> {
59-
if df.is_empty() {
59+
if df.height() == 0 {
6060
return Ok(String::new());
6161
}
6262

@@ -78,7 +78,7 @@ fn dataframe_to_markdown(df: &DataFrame) -> Result<String> {
7878

7979
for row_idx in 0..df.height() {
8080
markdown.push_str("| ");
81-
for col in df.get_columns() {
81+
for col in df.columns() {
8282
let series = col.as_materialized_series();
8383
let value = format_cell_value(series, row_idx)?;
8484
markdown.push_str(&value);
@@ -206,9 +206,11 @@ mod tests {
206206

207207
#[test]
208208
fn test_dataframe_with_nulls() {
209-
let s1 = Series::new("name".into(), &["Alice", "Bob", "Charlie"]);
210-
let s2 = Series::new("value".into(), &[Some(1), None, Some(3)]);
211-
let df = DataFrame::new(vec![s1.into(), s2.into()]).unwrap();
209+
let df = df!(
210+
"name" => &["Alice", "Bob", "Charlie"],
211+
"value" => &[Some(1), None, Some(3)]
212+
)
213+
.unwrap();
212214

213215
let markdown = dataframe_to_markdown(&df).unwrap();
214216

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "kreuzberg-root",
33
"private": true,
4-
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264",
4+
"packageManager": "pnpm@10.29.2+sha512.bef43fa759d91fd2da4b319a5a0d13ef7a45bb985a3d7342058470f9d2051a3ba8674e629672654686ef9443ad13a82da2beb9eeb3e0221c87b8154fff9d74b8",
55
"scripts": {
66
"typecheck": "pnpm -r --if-present run typecheck"
77
},

packages/ruby/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ GEM
123123
rubocop (~> 1.81)
124124
ruby-progressbar (1.13.0)
125125
securerandom (0.4.1)
126-
sorbet-runtime (0.6.12925)
126+
sorbet-runtime (0.6.12929)
127127
steep (1.10.0)
128128
activesupport (>= 5.1)
129129
concurrent-ruby (>= 1.1.10)
@@ -244,7 +244,7 @@ CHECKSUMS
244244
rubocop-rspec (3.9.0) sha256=8fa70a3619408237d789aeecfb9beef40576acc855173e60939d63332fdb55e2
245245
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
246246
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
247-
sorbet-runtime (0.6.12925) sha256=ddd6fb1d8aaf6bc19119ffadbc4b96536f3d6766fa82059112dacb90977c6eca
247+
sorbet-runtime (0.6.12929) sha256=fcc3355cc2b6d5f21fec90ccc214781ff89f770cada97f5e0252e2580de6211d
248248
steep (1.10.0) sha256=1b295b55f9aaff1b8d3ee42453ee55bc2a1078fda0268f288edb2dc014f4d7d1
249249
strscan (3.1.7) sha256=5f76462b94a3ea50b44973225b7d75b2cb96d4e1bee9ef1319b99ca117b72c8c
250250
terminal-table (4.0.0) sha256=f504793203f8251b2ea7c7068333053f0beeea26093ec9962e62ea79f94301d2

0 commit comments

Comments
 (0)