File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ async function blockingDemo() {
6161 * which is different from a Node ReadableStream.
6262 */
6363async function streamToFile ( stream : NodeJS . ReadableStream , path : fs . PathLike ) {
64- return new Promise ( ( resolve , reject ) => {
64+ return new Promise < void > ( ( resolve , reject ) => {
6565 const writeStream = fs . createWriteStream ( path ) . on ( 'error' , reject ) . on ( 'finish' , resolve ) ;
6666
6767 // If you don't see a `stream.pipe` method and you're using Node you might need to add `import 'openai/shims/node'` at the top of your entrypoint file.
Original file line number Diff line number Diff line change 938938 undici-types "~5.26.4"
939939
940940" @types/node@^20.17.6 " :
941- version "20.17.6 "
942- resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.6 .tgz#6e4073230c180d3579e8c60141f99efdf5df0081 "
943- integrity sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ ==
941+ version "20.19.11 "
942+ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.19.11 .tgz#728cab53092bd5f143beed7fbba7ba99de3c16c4 "
943+ integrity sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow ==
944944 dependencies :
945- undici-types "~6.19.2 "
945+ undici-types "~6.21.0 "
946946
947947" @types/stack-utils@^2.0.0 " :
948948 version "2.0.3"
@@ -3304,6 +3304,7 @@ ts-node@^10.5.0:
33043304
33053305" tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.8/tsc-multi.tgz " :
33063306 version "1.1.8"
3307+ uid f544b359b8f05e607771ffacc280e58201476b04
33073308 resolved "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.8/tsc-multi.tgz#f544b359b8f05e607771ffacc280e58201476b04"
33083309 dependencies :
33093310 debug "^4.3.7"
@@ -3372,10 +3373,10 @@ undici-types@~5.26.4:
33723373 resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
33733374 integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
33743375
3375- undici-types@~6.19.2 :
3376- version "6.19.8 "
3377- resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8 .tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02 "
3378- integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw ==
3376+ undici-types@~6.21.0 :
3377+ version "6.21.0 "
3378+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0 .tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb "
3379+ integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ ==
33793380
33803381unicode-emoji-modifier-base@^1.0.0 :
33813382 version "1.0.0"
You can’t perform that action at this time.
0 commit comments