Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit f7675c3

Browse files
committed
Bump version to 3.0.0-next.4
Adds `duplex: "half"` as required by `[email protected]`
1 parent d59456a commit f7675c3

File tree

8 files changed

+94
-98
lines changed

8 files changed

+94
-98
lines changed

package-lock.json

Lines changed: 56 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@miniflare/root",
3-
"version": "3.0.0-next.3",
3+
"version": "3.0.0-next.4",
44
"private": true,
55
"description": "Fun, full-featured, fully-local simulator for Cloudflare Workers",
66
"keywords": [
@@ -32,7 +32,7 @@
3232
"devDependencies": {
3333
"@ava/typescript": "^3.0.1",
3434
"@microsoft/api-extractor": "^7.19.4",
35-
"@types/node": "^17.0.35",
35+
"@types/node": "^18.11.9",
3636
"@types/rimraf": "^3.0.2",
3737
"@types/which": "^2.0.1",
3838
"@typescript-eslint/eslint-plugin": "^5.9.1",

packages/tre/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@miniflare/tre",
3-
"version": "3.0.0-next.3",
3+
"version": "3.0.0-next.4",
44
"description": "Fun, full-featured, fully-local simulator for Cloudflare Workers",
55
"keywords": [
66
"cloudflare",
@@ -36,7 +36,7 @@
3636
"http-cache-semantics": "^4.1.0",
3737
"kleur": "^4.1.5",
3838
"stoppable": "^1.1.0",
39-
"undici": "^5.10.0",
39+
"undici": "^5.12.0",
4040
"workerd": "^1.20221111.4",
4141
"ws": "^8.11.0",
4242
"zod": "^3.18.0"

packages/tre/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ export class Miniflare {
334334
method: req.method,
335335
headers: req.headers as HeadersInit,
336336
body: req.method === "GET" || req.method === "HEAD" ? undefined : req,
337+
duplex: "half",
337338
});
338339

339340
let response: Response | undefined;

types/crypto.d.ts

Lines changed: 0 additions & 55 deletions
This file was deleted.

types/dom-exception.d.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
declare class DOMException extends Error {
2+
constructor(param0?: string, param1?: string);
3+
readonly message: string;
4+
readonly name: string;
5+
readonly code: number;
6+
readonly stack: any;
7+
static readonly INDEX_SIZE_ERR: number;
8+
static readonly DOMSTRING_SIZE_ERR: number;
9+
static readonly HIERARCHY_REQUEST_ERR: number;
10+
static readonly WRONG_DOCUMENT_ERR: number;
11+
static readonly INVALID_CHARACTER_ERR: number;
12+
static readonly NO_DATA_ALLOWED_ERR: number;
13+
static readonly NO_MODIFICATION_ALLOWED_ERR: number;
14+
static readonly NOT_FOUND_ERR: number;
15+
static readonly NOT_SUPPORTED_ERR: number;
16+
static readonly INUSE_ATTRIBUTE_ERR: number;
17+
static readonly INVALID_STATE_ERR: number;
18+
static readonly SYNTAX_ERR: number;
19+
static readonly INVALID_MODIFICATION_ERR: number;
20+
static readonly NAMESPACE_ERR: number;
21+
static readonly INVALID_ACCESS_ERR: number;
22+
static readonly VALIDATION_ERR: number;
23+
static readonly TYPE_MISMATCH_ERR: number;
24+
static readonly SECURITY_ERR: number;
25+
static readonly NETWORK_ERR: number;
26+
static readonly ABORT_ERR: number;
27+
static readonly URL_MISMATCH_ERR: number;
28+
static readonly QUOTA_EXCEEDED_ERR: number;
29+
static readonly TIMEOUT_ERR: number;
30+
static readonly INVALID_NODE_TYPE_ERR: number;
31+
static readonly DATA_CLONE_ERR: number;
32+
}

types/events.d.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ interface EventInit {
1717
cancelable?: boolean;
1818
}
1919

20-
declare class Event {
21-
constructor(type: string, init?: EventInit);
22-
readonly type: string;
23-
preventDefault(): void;
24-
stopImmediatePropagation(): void;
25-
}
26-
2720
type EventListener = (event: Event) => void;
2821

2922
interface EventListenerObject {
@@ -40,20 +33,6 @@ interface AddEventListenerOptions extends EventListenerOptions {
4033
once?: boolean;
4134
}
4235

43-
declare class EventTarget {
44-
addEventListener(
45-
type: string,
46-
listener: EventListenerOrEventListenerObject | null,
47-
options?: AddEventListenerOptions | boolean
48-
): void;
49-
removeEventListener(
50-
type: string,
51-
listener: EventListenerOrEventListenerObject | null,
52-
options?: EventListenerOptions | boolean
53-
): void;
54-
dispatchEvent(event: Event): boolean;
55-
}
56-
5736
interface AbortSignal extends EventTarget {
5837
readonly aborted: boolean;
5938
}

types/webassembly.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// See the Apache Version 2.0 License for specific language governing permissions
1515
// and limitations under the License.
1616

17+
type BufferSource = ArrayBufferView | ArrayBuffer;
1718
declare namespace WebAssembly {
1819
class Global {
1920
constructor(descriptor: GlobalDescriptor, v?: any);

0 commit comments

Comments
 (0)