This commit is contained in:
denobot 2023-02-02 08:27:35 -05:00 committed by GitHub
parent df0e69a95f
commit 0170bc2455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 14 deletions

View File

@ -1,3 +1,10 @@
### 0.176.0 / 2023.02.02
- fix(node): disable worker_threads (#3151)
- fix(node): throw permisison error instead of unknown error (#3133)
- fix(node/util): stricter runtime type checking (#3122)
- fix: make encoding/front_matter work in a browser (#3154)
### 0.175.0 / 2023.01.28
- BREAKING(dotenv,fmt,io): remove deprecated APIs (#3134)

View File

@ -308,16 +308,18 @@ export const MyTextDecoderStream = () => {
});
};
Deno.test({
name:
"[encoding/csv/stream] cancel CsvStream during iteration does not leak file",
permissions: { read: [testdataDir] },
fn: async () => {
const file = await Deno.open(join(testdataDir, "large.csv"));
const readable = file.readable.pipeThrough(MyTextDecoderStream())
.pipeThrough(new CsvStream());
for await (const _record of readable) {
break;
}
},
});
// This test is flaky. See https://github.com/denoland/deno_std/issues/3160
//
// Deno.test({
// name:
// "[encoding/csv/stream] cancel CsvStream during iteration does not leak file",
// permissions: { read: [testdataDir] },
// fn: async () => {
// const file = await Deno.open(join(testdataDir, "large.csv"));
// const readable = file.readable.pipeThrough(MyTextDecoderStream())
// .pipeThrough(new CsvStream());
// for await (const _record of readable) {
// break;
// }
// },
// });

View File

@ -5,4 +5,4 @@
* the cli's API is stable. In the future when std becomes stable, likely we
* will match versions with cli as we have in the past.
*/
export const VERSION = "0.175.0";
export const VERSION = "0.176.0";