Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
This commit is contained in:
denobot 2022-05-18 09:09:28 -04:00 committed by GitHub
parent 5e28e39d47
commit 867b5d1f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,14 @@
### 0.140.0 / 2022.05.18
- feat(http): add onListen option to serve (#2218)
- feat(node/dgram): support dgram (udp) node module compat (#2205)
- fix(assertRejects): fails on synchronous throw #1302 (#2234)
- fix(collections): prevent cycles in deepMerge() (#2228)
- fix(encoding/csv): improve error message for csv's parse function (#2191)
- fix(http/file_server): fix handling of 'W/' prefixed etag (#2229)
- fix(testing/bdd): support using bdd tests with dnt (#2235)
- fix: add toJSON to node/perf_hooks.ts (#2209)
### 0.139.0 / 2022.05.12
- feat(encoding): add jsonc parser (#2154)

View File

@ -214,7 +214,7 @@ Deno.test("require in a web worker", async () => {
`;
const worker = new Worker(
`data:application/javascript;base64,${btoa(code)}`,
{ type: "module", deno: { namespace: true } },
{ type: "module" },
);
await new Promise((resolve, reject) => {
worker.addEventListener("message", resolve);

View File

@ -405,7 +405,7 @@ Deno.test("process in worker", async () => {
const worker = new Worker(
new URL("./testdata/process_worker.ts", import.meta.url).href,
{ type: "module", deno: true },
{ type: "module" },
);
worker.addEventListener("message", (e) => {
assertEquals(e.data, "hello");

View File

@ -57,8 +57,6 @@ class _Worker extends EventEmitter {
{
name: PRIVATE_WORKER_THREAD_NAME,
type: "module",
// unstable
deno: { namespace: true },
} as globalThis.WorkerOptions, // bypass unstable type error
);
handle.addEventListener(

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.139.0";
export const VERSION = "0.140.0";