From 198f136e9434666d38e4199a1a854073acbafd91 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Dec 2024 22:51:26 +0000 Subject: [PATCH 1/2] chore(deps): update dependency @types/node to v22.10.1 --- sbv2_wasm/pnpm-lock.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sbv2_wasm/pnpm-lock.yaml b/sbv2_wasm/pnpm-lock.yaml index 227d328..4073205 100644 --- a/sbv2_wasm/pnpm-lock.yaml +++ b/sbv2_wasm/pnpm-lock.yaml @@ -17,7 +17,7 @@ importers: version: 1.9.4 '@types/node': specifier: ^22.7.4 - version: 22.8.0 + version: 22.10.1 esbuild: specifier: ^0.24.0 version: 0.24.0 @@ -254,8 +254,8 @@ packages: '@protobufjs/utf8@1.1.0': resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} - '@types/node@22.8.0': - resolution: {integrity: sha512-84rafSBHC/z1i1E3p0cJwKA+CfYDNSXX9WSZBRopjIzLET8oNt6ht2tei4C7izwDeEiLLfdeSVBv1egOH916hg==} + '@types/node@22.10.1': + resolution: {integrity: sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==} esbuild@0.24.0: resolution: {integrity: sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==} @@ -289,8 +289,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - undici-types@6.19.8: - resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} + undici-types@6.20.0: + resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} snapshots: @@ -424,9 +424,9 @@ snapshots: '@protobufjs/utf8@1.1.0': {} - '@types/node@22.8.0': + '@types/node@22.10.1': dependencies: - undici-types: 6.19.8 + undici-types: 6.20.0 esbuild@0.24.0: optionalDependencies: @@ -486,9 +486,9 @@ snapshots: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 22.8.0 + '@types/node': 22.10.1 long: 5.2.3 typescript@5.6.3: {} - undici-types@6.19.8: {} + undici-types@6.20.0: {} From b40430d48ebb8c2c516b383d4023a3ebc3c48c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=B3=E3=83=9E=E3=83=AA=E3=83=B3=E8=A6=AA=E8=A1=9B?= =?UTF-8?q?=E9=9A=8A?= Date: Thu, 19 Dec 2024 07:49:43 +0900 Subject: [PATCH 2/2] Update sbv2.rs --- sbv2_bindings/src/sbv2.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbv2_bindings/src/sbv2.rs b/sbv2_bindings/src/sbv2.rs index c109869..290c27a 100644 --- a/sbv2_bindings/src/sbv2.rs +++ b/sbv2_bindings/src/sbv2.rs @@ -136,9 +136,9 @@ impl TTSModel { /// ------- /// voice_data : bytes /// 音声データ - fn synthesize<'p>( - &'p mut self, - py: Python<'p>, + fn synthesize( + &mut self, + py: Python, text: String, ident: String, style_id: i32, @@ -157,7 +157,7 @@ impl TTSModel { ..Default::default() }, )?; - Ok(PyBytes::new_bound(py, &data)) + Ok(PyBytes::new(py, &data)) } fn unload(&mut self, ident: String) -> bool {