mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
0.140.0 (#2242)
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
This commit is contained in:
parent
5e28e39d47
commit
867b5d1f0a
11
Releases.md
11
Releases.md
@ -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)
|
||||
|
@ -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);
|
||||
|
@ -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");
|
||||
|
@ -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(
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user