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

Commit d8f7218

Browse files
authored
use relative imports in miniflare core (#664)
1 parent d7a40f2 commit d8f7218

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/core/src/standards/crypto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createHash, timingSafeEqual, webcrypto } from "crypto";
22
import { WritableStream } from "stream/web";
3-
import { DOMException } from "@miniflare/core";
3+
import { DOMException } from "./domexception";
44
import { viewToBuffer } from "@miniflare/shared";
55
import {
66
assertsInRequest,

packages/core/src/standards/encoding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DOMException } from "@miniflare/core";
1+
import { DOMException } from "./domexception";
22

33
// Implementations of base64 functions adapted from Node.js:
44
// https://github.com/nodejs/node/blob/1086468aa3d328d2eac00bf66058906553ecd209/lib/buffer.js#L1213-L1239

packages/core/src/standards/timers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DOMException } from "@miniflare/core";
1+
import { DOMException } from "./domexception";
22
import { assertInRequest, waitForOpenInputGate } from "@miniflare/shared";
33

44
export type TimerFunction<Return> = <Args extends any[]>(

0 commit comments

Comments
 (0)