miniflare
Advanced tools
Comparing version 0.0.0-1ca313f20 to 0.0.0-1caa7fdcc
@@ -689,3 +689,3 @@ // ../../node_modules/.pnpm/kleur@4.1.5/node_modules/kleur/colors.mjs | ||
function isObject(value) { | ||
return value && typeof value == "object"; | ||
return !!value && typeof value == "object"; | ||
} | ||
@@ -695,2 +695,5 @@ function getType(value) { | ||
} | ||
function isInternal(value) { | ||
return isObject(value) && value[Symbol.for("cloudflare:internal-class")]; | ||
} | ||
var ProxyServer = class { | ||
@@ -710,3 +713,3 @@ constructor(_state, env) { | ||
let type = getType(value); | ||
if (type === "Object" && !isPlainObject(value) || type === "Promise") { | ||
if ((type === "Object" || isInternal(value)) && !isPlainObject(value) || type === "Promise") { | ||
let address = this.nextHeapAddress++; | ||
@@ -713,0 +716,0 @@ this.heap.set(address, value), assert2(value !== null); |
{ | ||
"name": "miniflare", | ||
"version": "0.0.0-1ca313f20", | ||
"version": "0.0.0-1caa7fdcc", | ||
"description": "Fun, full-featured, fully-local simulator for Cloudflare Workers", | ||
@@ -41,3 +41,3 @@ "keywords": [ | ||
"undici": "^5.28.4", | ||
"workerd": "1.20240909.0", | ||
"workerd": "1.20240925.0", | ||
"ws": "^8.17.1", | ||
@@ -49,3 +49,3 @@ "youch": "^3.2.2", | ||
"@ava/typescript": "^4.1.0", | ||
"@cloudflare/workers-types": "^4.20240909.0", | ||
"@cloudflare/workers-types": "^4.20240925.0", | ||
"@microsoft/api-extractor": "^7.47.0", | ||
@@ -84,3 +84,3 @@ "@types/debug": "^4.1.7", | ||
"@cloudflare/kv-asset-handler": "0.3.4", | ||
"@cloudflare/workers-shared": "0.0.0-1ca313f20" | ||
"@cloudflare/workers-shared": "0.0.0-1caa7fdcc" | ||
}, | ||
@@ -87,0 +87,0 @@ "engines": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2538919
39751
+ Added@cloudflare/workerd-darwin-64@1.20240925.0(transitive)
+ Added@cloudflare/workerd-darwin-arm64@1.20240925.0(transitive)
+ Added@cloudflare/workerd-linux-64@1.20240925.0(transitive)
+ Added@cloudflare/workerd-linux-arm64@1.20240925.0(transitive)
+ Added@cloudflare/workerd-windows-64@1.20240925.0(transitive)
+ Addedworkerd@1.20240925.0(transitive)
- Removed@cloudflare/workerd-darwin-64@1.20240909.0(transitive)
- Removed@cloudflare/workerd-darwin-arm64@1.20240909.0(transitive)
- Removed@cloudflare/workerd-linux-64@1.20240909.0(transitive)
- Removed@cloudflare/workerd-linux-arm64@1.20240909.0(transitive)
- Removed@cloudflare/workerd-windows-64@1.20240909.0(transitive)
- Removedworkerd@1.20240909.0(transitive)
Updatedworkerd@1.20240925.0