You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/fix-buffer-devalue.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,6 @@
4
4
5
5
fix: normalise typed array subclasses in devalue serialization
6
6
7
-
Node.js `Buffer` extends `Uint8Array` but isn't available in all runtimes. When
8
-
a `Buffer` was passed through the proxy serialization bridge (e.g. as a D1 bind
9
-
parameter via `getPlatformProxy()`), the reviver would fail because `"Buffer"`
10
-
isn't in the allowed constructor list and may not exist on `globalThis` in workerd.
7
+
Node.js `Buffer` extends `Uint8Array` but isn't available in all runtimes. When a `Buffer` was passed through the proxy serialization bridge (e.g. as a D1 bind parameter via `getPlatformProxy()`), the reviver would fail because `"Buffer"` isn't in the allowed constructor list and may not exist on `globalThis` in workerd.
11
8
12
-
The reducer now normalises subclass constructor names to the nearest standard
13
-
typed array parent before serialization, matching structured clone behaviour.
9
+
The reducer now normalises subclass constructor names to the nearest standard typed array parent before serialization, matching structured clone behaviour.
`Unsupported macOS version: The Cloudflare Workers runtime cannot run on the current version of macOS (${macOSVersion}). `+
34
34
`The minimum requirement is macOS ${MINIMUM_MACOS_VERSION}+. See https://github.com/cloudflare/workerd?tab=readme-ov-file#running-workerd `+
35
-
`If you cannot upgrade your version of macOS, you could try running in a DevContainer setup with a supported version of Linux (glibc 2.35+ required).`
35
+
`If you cannot upgrade your version of macOS, you could try running in a DevContainer setup with a supported version of Linux (glibc 2.35+ required).`,
36
+
{telemetryMessage: false}
36
37
);
37
38
}else{
38
39
/* eslint-disable-next-line no-console -- this package has no logger to use
Copy file name to clipboardExpand all lines: packages/containers-shared/src/images.ts
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,8 @@ export async function prepareContainerImagesForDev(args: {
112
112
letaborted=false;
113
113
if(process.platform==="win32"){
114
114
thrownewUserError(
115
-
"Local development with containers is currently not supported on Windows. You should use WSL instead. You can also set `enable_containers` to false if you do not need to develop the container part of your application."
115
+
"Local development with containers is currently not supported on Windows. You should use WSL instead. You can also set `enable_containers` to false if you do not need to develop the container part of your application.",
`${url.hostname} is not a supported image registry.\nCurrently we support the following non-Cloudflare registries: ${supportedRegistries}.\nTo use an existing image from another repository, see https://developers.cloudflare.com/containers/platform-details/image-management/#using-pre-built-container-images`
270
+
`${url.hostname} is not a supported image registry.\nCurrently we support the following non-Cloudflare registries: ${supportedRegistries}.\nTo use an existing image from another repository, see https://developers.cloudflare.com/containers/platform-details/image-management/#using-pre-built-container-images`,
`The Docker CLI could not be launched. Please ensure that the Docker CLI is installed and the daemon is running.\n`+
106
115
`Other container tooling that is compatible with the Docker CLI and engine may work, but is not yet guaranteed to do so. You can specify an executable with the environment variable WRANGLER_DOCKER_BIN and a socket with DOCKER_HOST.`+
107
-
`${isDev ? "\nTo suppress this error if you do not intend on triggering any container instances, set dev.enable_containers to false in your Wrangler config or passing in --enable-containers=false." : ""}`
116
+
`${isDev ? "\nTo suppress this error if you do not intend on triggering any container instances, set dev.enable_containers to false in your Wrangler config or passing in --enable-containers=false." : ""}`,
117
+
{telemetryMessage: false}
108
118
);
109
119
}
110
120
};
@@ -190,7 +200,8 @@ export async function checkExposedPorts(
190
200
if(output==="0"){
191
201
thrownewUserError(
192
202
`The container "${options.class_name}" does not expose any ports. In your Dockerfile, please expose any ports you intend to connect to.\n`+
193
-
"For additional information please see: https://developers.cloudflare.com/containers/local-dev/#exposing-ports.\n"
203
+
"For additional information please see: https://developers.cloudflare.com/containers/local-dev/#exposing-ports.\n",
0 commit comments