Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cloudflare/workers-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1bad3bd35f55d1c679a1c1b0b435452f539febc0
Choose a base ref
..
head repository: cloudflare/workers-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7db433a21b92471b4d043912649662ed043e8ada
Choose a head ref
Showing with 1 addition and 2 deletions.
  1. +1 −2 packages/miniflare/src/workers/core/proxy.worker.ts
3 changes: 1 addition & 2 deletions packages/miniflare/src/workers/core/proxy.worker.ts
Original file line number Diff line number Diff line change
@@ -125,9 +125,8 @@ export class ProxyServer implements DurableObject {
// should only ever return `Object`, as none override `Symbol.toStringTag`
// https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.prototype.tostring
const type = getType(value);
const isInternalClass = isInternal(value);
if (
((type === "Object" || isInternalClass) && !isPlainObject(value)) ||
((type === "Object" || isInternal(value)) && !isPlainObject(value)) ||
type === "Promise"
) {
const address = this.nextHeapAddress++;