rsbuild-plugin-cloudflare 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6009,7 +6009,7 @@ getEnvironmentVariableFactory({ variableName: "CLOUDFLARE_CF_FETCH_PATH" });
6009
6009
  */
6010
6010
  const getWranglerCacheDirFromEnv = getEnvironmentVariableFactory({ variableName: "WRANGLER_CACHE_DIR" });
6011
6011
  getEnvironmentVariableFactory({ variableName: "CLOUDFLARED_PATH" });
6012
- // ../../workers-sdk/packages/workers-utils/dist/public-B9iLIfg8.mjs
6012
+ // ../../workers-sdk/packages/workers-utils/dist/public-BMeXiSMD.mjs
6013
6013
  const ARTIFACTS_EVENT_TYPES = [
6014
6014
  "cf.artifacts.repo.created",
6015
6015
  "cf.artifacts.repo.deleted",
@@ -10893,7 +10893,7 @@ function createArtifactsLocalDefaultWarner(configFormat) {
10893
10893
  * @see https://github.com/cloudflare/workerd/blob/main/src/workerd/io/BUILD.bazel
10894
10894
  * @see https://github.com/cloudflare/workerd/blob/main/src/workerd/io/compatibility-date.c%2B%2B
10895
10895
  */
10896
- const DEFAULT_COMPAT_DATE = "2026-11-27";
10896
+ const DEFAULT_COMPAT_DATE = "2026-11-29";
10897
10897
  function isUnsafeBindingType(type) {
10898
10898
  return type.startsWith("unsafe_");
10899
10899
  }
@@ -36827,7 +36827,7 @@ function compareVersions(a, b) {
36827
36827
  */
36828
36828
  async function openInBrowser(url, logger) {
36829
36829
  try {
36830
- const { default: open } = await import("./open-BPppUKSJ-BoP51JHy.mjs");
36830
+ const { default: open } = await import("./open-DIY0wydR-CZO2X4Gu.mjs");
36831
36831
  (await open(url)).on("error", (err) => {
36832
36832
  handleBrowserOpenError(url, err, logger);
36833
36833
  });
@@ -36918,6 +36918,20 @@ function getZoneFromRoute(route) {
36918
36918
  return getHostFromRoute(route);
36919
36919
  }
36920
36920
  /**
36921
+ * Gets a `cloudflare.config.ts` Worker's first route, as Wrangler configs get
36922
+ * it: domains are converted to routes before fetch triggers.
36923
+ */
36924
+ function getWorkerFirstRoute(config) {
36925
+ const domain = config.domains?.[0];
36926
+ if (domain !== void 0) return typeof domain === "string" ? domain : domain.hostname;
36927
+ const fetchTrigger = config.triggers?.find((trigger) => trigger.type === "fetch");
36928
+ if (fetchTrigger?.pattern === void 0) return;
36929
+ return fetchTrigger.zone?.includes(".") ? {
36930
+ pattern: fetchTrigger.pattern,
36931
+ zone_name: fetchTrigger.zone
36932
+ } : fetchTrigger.pattern;
36933
+ }
36934
+ /**
36921
36935
  * Gets the zone of a `cloudflare.config.ts` Worker's first route, as Wrangler
36922
36936
  * configs get it. This is the zone that Miniflare's `dev.zone` puts in the
36923
36937
  * `CF-Worker` header of the Worker's outgoing requests.
@@ -36926,14 +36940,30 @@ function getZoneFromRoute(route) {
36926
36940
  * @returns The zone, if the Worker has a route.
36927
36941
  */
36928
36942
  function getWorkerZone(config) {
36929
- const domain = config.domains?.[0];
36930
- if (domain !== void 0) return getZoneFromRoute(typeof domain === "string" ? domain : domain.hostname);
36931
- const fetchTrigger = config.triggers?.find((trigger) => trigger.type === "fetch");
36932
- if (fetchTrigger?.pattern === void 0) return;
36933
- return getZoneFromRoute(fetchTrigger.zone?.includes(".") ? {
36934
- pattern: fetchTrigger.pattern,
36935
- zone_name: fetchTrigger.zone
36936
- } : fetchTrigger.pattern);
36943
+ const route = getWorkerFirstRoute(config);
36944
+ return route === void 0 ? void 0 : getZoneFromRoute(route);
36945
+ }
36946
+ /**
36947
+ * Gets the hostname of a `cloudflare.config.ts` Worker's first route, as
36948
+ * Wrangler configs get it. Miniflare's `dev.routeHostname` checks same-host
36949
+ * `/cdn-cgi/image/` sources against `allowedOrigins` as if they came from it.
36950
+ *
36951
+ * @param config The Worker's domains and triggers.
36952
+ * @returns The hostname, if the Worker has a route with one.
36953
+ */
36954
+ function getWorkerRouteHostname(config) {
36955
+ const route = getWorkerFirstRoute(config);
36956
+ return route === void 0 ? void 0 : getHostnameFromRoute(route);
36957
+ }
36958
+ /**
36959
+ * Gets the hostname of a route, without any port.
36960
+ *
36961
+ * @param route The route.
36962
+ * @returns The hostname, if the route has one.
36963
+ */
36964
+ function getHostnameFromRoute(route) {
36965
+ const host = getHostFromRoute(route);
36966
+ return host === void 0 ? void 0 : new URL(`http://${host}`).hostname;
36937
36967
  }
36938
36968
  /**
36939
36969
  * Given something that resembles a URL, try to extract a host from it.
@@ -37007,17 +37037,23 @@ function toValidWorkerName(input) {
37007
37037
  *
37008
37038
  * The name is determined by (in order of precedence):
37009
37039
  * 1. The WRANGLER_CI_OVERRIDE_NAME environment variable (for CI environments)
37010
- * 2. The provided project/worker name (if non-empty)
37011
- * 3. The directory basename of the project path
37040
+ * 2. The name in the Wrangler config (if non-empty)
37041
+ * 3. The provided project/worker name (if non-empty)
37042
+ * 4. The directory basename of the project path
37012
37043
  *
37013
- * The resulting name is sanitized to be a valid worker name.
37044
+ * The resulting name is sanitized to be a valid worker name, except for the Wrangler config's
37045
+ * name, which is kept as written because it names an existing Worker.
37014
37046
  *
37015
37047
  * @param projectOrWorkerName An optional project or worker name to use
37016
37048
  * @param projectPath The path to the project directory (used as fallback)
37017
- * @returns A valid worker name
37049
+ * @param options Optional settings
37050
+ * @param options.wranglerConfigName The `name` in the project's Wrangler config, if any
37051
+ * @returns The worker name
37018
37052
  */
37019
- function getWorkerName(projectOrWorkerName = "", projectPath) {
37020
- return toValidWorkerName(getCIOverrideName() ?? (projectOrWorkerName || basename(projectPath)));
37053
+ function getWorkerName(projectOrWorkerName = "", projectPath, { wranglerConfigName } = {}) {
37054
+ const ciOverrideName = getCIOverrideName();
37055
+ if (ciOverrideName === void 0 && wranglerConfigName) return wranglerConfigName;
37056
+ return toValidWorkerName(ciOverrideName ?? (projectOrWorkerName || basename(projectPath)));
37021
37057
  }
37022
37058
  /**
37023
37059
  * Derives a valid worker name from a project directory.
@@ -44059,4 +44095,4 @@ function matchAdditionalModule(source) {
44059
44095
  function createModuleReference(type, id) {
44060
44096
  return `__CLOUDFLARE_MODULE__${type}__${id}__CLOUDFLARE_MODULE__`;
44061
44097
  }
44062
- export { require_undici as A, getLocalExplorerUseViteAllowedHostsFromEnv as B, getAccessHeaders as C, getWorkerNameFromProject as D, fetchResultBase as E, isUnsafeBindingType as F, INHERIT_SYMBOL as G, getDockerPath as H, resolveBindingRemote as I, UserError as J, ParseError as K, getBrowserRenderingHeadfulFromEnv as L, assertNever as M, createArtifactsLocalDefaultWarner as N, getWorkerZone as O, extractBindingsOfType as P, getComplianceRegionSubdomain as R, normalizePath as S, fetchLatestNpmVersion as T, prettifyError as U, getLocalObservabilityEnabledFromEnv as V, APIError as W, chalk as Y, getRemoteBindingsAuth as _, moduleRuleFilters as a, satisfiesMinimumViteVersion as b, MAX_STATIC_REDIRECT_RULES as c, SPLAT_REGEX as d, DEBUG_PATH as f, createLogger as g, createAuthForProfile as h, matchAdditionalModule as i, DEFAULT_COMPAT_DATE as j, retryOnAPIFailure as k, PERMITTED_STATUS_CODES as l, getInputInspectorPort as m, createModuleReference as n, toModuleType as o, getDebugPathHtml as p, parseJSON as q, isAdditionalModuleType as r, MAX_LINE_LENGTH as s, additionalModuleRE as t, PLACEHOLDER_REGEX as u, resolveAuthProfile as v, getAuthFromEnv as w, withTrailingSlash as x, debuglog as y, getLocalExplorerEnabledFromEnv as z };
44098
+ export { retryOnAPIFailure as A, getLocalExplorerEnabledFromEnv as B, getAccessHeaders as C, getWorkerNameFromProject as D, fetchResultBase as E, extractBindingsOfType as F, APIError as G, getLocalObservabilityEnabledFromEnv as H, isUnsafeBindingType as I, parseJSON as J, INHERIT_SYMBOL as K, resolveBindingRemote as L, DEFAULT_COMPAT_DATE as M, assertNever as N, getWorkerRouteHostname as O, createArtifactsLocalDefaultWarner as P, getBrowserRenderingHeadfulFromEnv as R, normalizePath as S, fetchLatestNpmVersion as T, getDockerPath as U, getLocalExplorerUseViteAllowedHostsFromEnv as V, prettifyError as W, chalk as X, UserError as Y, getRemoteBindingsAuth as _, moduleRuleFilters as a, satisfiesMinimumViteVersion as b, MAX_STATIC_REDIRECT_RULES as c, SPLAT_REGEX as d, DEBUG_PATH as f, createLogger as g, createAuthForProfile as h, matchAdditionalModule as i, require_undici as j, getWorkerZone as k, PERMITTED_STATUS_CODES as l, getInputInspectorPort as m, createModuleReference as n, toModuleType as o, getDebugPathHtml as p, ParseError as q, isAdditionalModuleType as r, MAX_LINE_LENGTH as s, additionalModuleRE as t, PLACEHOLDER_REGEX as u, resolveAuthProfile as v, getAuthFromEnv as w, withTrailingSlash as x, debuglog as y, getComplianceRegionSubdomain as z };
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { n as __require, r as __toESM, t as __commonJSMin } from "./rolldown-runtime-DegdyBIC.mjs";
2
2
  import { t as __commonJSMin$1 } from "./rolldown-runtime-BMUeFane-BXI4m9DX.mjs";
3
- import { D as getWorkerNameFromProject, S as normalizePath, U as prettifyError, a as moduleRuleFilters, f as DEBUG_PATH, h as createAuthForProfile, i as matchAdditionalModule, j as DEFAULT_COMPAT_DATE, n as createModuleReference, o as toModuleType, p as getDebugPathHtml, r as isAdditionalModuleType, t as additionalModuleRE, v as resolveAuthProfile, y as debuglog } from "./additional-modules-CyA1Cd2t.mjs";
3
+ import { D as getWorkerNameFromProject, M as DEFAULT_COMPAT_DATE, S as normalizePath, W as prettifyError, a as moduleRuleFilters, f as DEBUG_PATH, h as createAuthForProfile, i as matchAdditionalModule, n as createModuleReference, o as toModuleType, p as getDebugPathHtml, r as isAdditionalModuleType, t as additionalModuleRE, v as resolveAuthProfile, y as debuglog } from "./additional-modules-CqQuotVp.mjs";
4
4
  import { n as UNKNOWN_HOST, r as virtualPrefix } from "./shared-BgcTKVNO.mjs";
5
5
  import { a as kRequestType, r as ROUTER_WORKER_NAME, t as ASSET_WORKER_NAME } from "./constants-BSTDVDmV.mjs";
6
6
  import { builtinModules, createRequire, isBuiltin } from "node:module";
@@ -8595,7 +8595,7 @@ function cloudflare(options = {}) {
8595
8595
  };
8596
8596
  });
8597
8597
  api.onBeforeStartDevServer(async ({ server, environments }) => {
8598
- const [{ handleWebSocket }] = await Promise.all([import("./websockets-BRFceXs5.mjs"), import("./miniflare-options-BxJnuymv.mjs")]);
8598
+ const [{ handleWebSocket }] = await Promise.all([import("./websockets-BRFceXs5.mjs"), import("./miniflare-options-3BP06fBH.mjs")]);
8599
8599
  devServer = server;
8600
8600
  environmentContexts = environments;
8601
8601
  serverConfig = getServerConfig(api.getNormalizedConfig(), server);
@@ -8663,7 +8663,7 @@ function cloudflare(options = {}) {
8663
8663
  if (miniflareCreated && !manifestsChanged || manifests.size < workerEnvironments.size) return;
8664
8664
  manifestsChanged = false;
8665
8665
  try {
8666
- const { getDevMiniflareOptions } = await import("./miniflare-options-BxJnuymv.mjs");
8666
+ const { getDevMiniflareOptions } = await import("./miniflare-options-3BP06fBH.mjs");
8667
8667
  const { miniflareOptions, containerOptions } = await getDevMiniflareOptions(ctx, createDevServer((req, res) => devServer?.middlewares(req, res), serverConfig ?? getServerConfig(api.getNormalizedConfig()), logger), {
8668
8668
  manifests,
8669
8669
  html: htmlHandlers
@@ -8683,7 +8683,7 @@ function cloudflare(options = {}) {
8683
8683
  /** Runs the Build Output in Miniflare, which serves every preview request. */
8684
8684
  async function setUpPreviewServer(server) {
8685
8685
  const [{ getPreviewMiniflareOptions }, { createRequestHandler }, { handleWebSocket }] = await Promise.all([
8686
- import("./miniflare-options-CXTX1Ld-.mjs"),
8686
+ import("./miniflare-options-wnCr7INj.mjs"),
8687
8687
  import("./request-handler-n9oFuRPf.mjs"),
8688
8688
  import("./websockets-BRFceXs5.mjs")
8689
8689
  ]);
@@ -1,5 +1,5 @@
1
1
  import "./constants-BSTDVDmV.mjs";
2
- import { getDevMiniflareOptions as getDevMiniflareOptions$1 } from "./miniflare-options-CXTX1Ld-.mjs";
2
+ import { getDevMiniflareOptions as getDevMiniflareOptions$1 } from "./miniflare-options-wnCr7INj.mjs";
3
3
  import { Response } from "miniflare";
4
4
  // src/miniflare-options.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { n as __require$1, t as __commonJSMin$1 } from "./rolldown-runtime-DegdyBIC.mjs";
2
- import { A as require_undici, B as getLocalExplorerUseViteAllowedHostsFromEnv, C as getAccessHeaders, E as fetchResultBase, F as isUnsafeBindingType, G as INHERIT_SYMBOL, H as getDockerPath, I as resolveBindingRemote, J as UserError, K as ParseError, L as getBrowserRenderingHeadfulFromEnv, M as assertNever, N as createArtifactsLocalDefaultWarner, O as getWorkerZone, P as extractBindingsOfType, R as getComplianceRegionSubdomain, T as fetchLatestNpmVersion, V as getLocalObservabilityEnabledFromEnv, W as APIError, Y as chalk, _ as getRemoteBindingsAuth, b as satisfiesMinimumViteVersion, c as MAX_STATIC_REDIRECT_RULES, d as SPLAT_REGEX, g as createLogger, k as retryOnAPIFailure, l as PERMITTED_STATUS_CODES, m as getInputInspectorPort, q as parseJSON, s as MAX_LINE_LENGTH, t as additionalModuleRE, u as PLACEHOLDER_REGEX, w as getAuthFromEnv, x as withTrailingSlash, y as debuglog, z as getLocalExplorerEnabledFromEnv } from "./additional-modules-CyA1Cd2t.mjs";
2
+ import { A as retryOnAPIFailure, B as getLocalExplorerEnabledFromEnv, C as getAccessHeaders, E as fetchResultBase, F as extractBindingsOfType, G as APIError, H as getLocalObservabilityEnabledFromEnv, I as isUnsafeBindingType, J as parseJSON, K as INHERIT_SYMBOL, L as resolveBindingRemote, N as assertNever, O as getWorkerRouteHostname, P as createArtifactsLocalDefaultWarner, R as getBrowserRenderingHeadfulFromEnv, T as fetchLatestNpmVersion, U as getDockerPath, V as getLocalExplorerUseViteAllowedHostsFromEnv, X as chalk, Y as UserError, _ as getRemoteBindingsAuth, b as satisfiesMinimumViteVersion, c as MAX_STATIC_REDIRECT_RULES, d as SPLAT_REGEX, g as createLogger, j as require_undici, k as getWorkerZone, l as PERMITTED_STATUS_CODES, m as getInputInspectorPort, q as ParseError, s as MAX_LINE_LENGTH, t as additionalModuleRE, u as PLACEHOLDER_REGEX, w as getAuthFromEnv, x as withTrailingSlash, y as debuglog, z as getComplianceRegionSubdomain } from "./additional-modules-CqQuotVp.mjs";
3
3
  import { a as kRequestType, i as VITE_PROXY_WORKER_NAME, n as PROXY_SHARED_SECRET, r as ROUTER_WORKER_NAME, t as ASSET_WORKER_NAME } from "./constants-BSTDVDmV.mjs";
4
4
  import { t as ENVIRONMENT_NAME_HEADER } from "./shared-BgcTKVNO.mjs";
5
5
  import { createRequire } from "node:module";
@@ -5404,7 +5404,7 @@ var ProxyControllerLogger = class extends Log {
5404
5404
  super.log(message);
5405
5405
  }
5406
5406
  };
5407
- var version$1 = "0.0.71";
5407
+ var version$1 = "0.0.74";
5408
5408
  const TRACE_VERSION = "trace-v1";
5409
5409
  /**
5410
5410
  * Maximum time (ms) to wait for an individual preview API request before
@@ -6084,7 +6084,12 @@ function getInternalLogger(logger) {
6084
6084
  function pickRemoteBindings(bindings) {
6085
6085
  return Object.fromEntries(Object.entries(bindings ?? {}).filter(([, binding]) => resolveBindingRemote(binding.type, "remote" in binding ? binding.remote : void 0)));
6086
6086
  }
6087
- /** Potentially starts or updates a remote proxy session. */
6087
+ /**
6088
+ * Potentially starts or updates a remote proxy session.
6089
+ *
6090
+ * When the credentials change, the existing session is disposed only once its
6091
+ * replacement is ready, so it stays live if this throws.
6092
+ */
6088
6093
  async function maybeStartOrUpdateRemoteProxySession(workerConfigObject, preExistingRemoteProxySessionData, auth, context, startSession = startRemoteProxySession) {
6089
6094
  const { hook, key } = "hook" in auth ? auth : { hook: auth };
6090
6095
  const remoteBindings = pickRemoteBindings(workerConfigObject.target === "cf" ? getRemoteBindings({ env: workerConfigObject.env }) : workerConfigObject.bindings);
@@ -6092,14 +6097,20 @@ async function maybeStartOrUpdateRemoteProxySession(workerConfigObject, preExist
6092
6097
  const authSameAsBefore = key !== void 0 || preExistingRemoteProxySessionData?.authKey !== void 0 ? key === preExistingRemoteProxySessionData?.authKey : deepStrictEqual(hook, preExistingRemoteProxySessionData?.auth);
6093
6098
  let remoteProxySession = preExistingRemoteProxySessionData?.session;
6094
6099
  if (!authSameAsBefore) {
6095
- if (preExistingRemoteProxySessionData?.session) await preExistingRemoteProxySessionData.session.dispose();
6096
- remoteProxySession = await startSession(remoteBindings, {
6100
+ const replacement = await startSession(remoteBindings, {
6097
6101
  workerName: workerConfigObject.name,
6098
6102
  complianceRegion: workerConfigObject.complianceRegion,
6099
6103
  cliDisplayName: context.cliDisplayName,
6100
6104
  auth: hook,
6101
6105
  logger: context.logger
6102
6106
  });
6107
+ await replacement.ready;
6108
+ try {
6109
+ await preExistingRemoteProxySessionData?.session?.dispose();
6110
+ } catch (error) {
6111
+ context.logger.debug("Failed to dispose the replaced remote proxy session:", error);
6112
+ }
6113
+ remoteProxySession = replacement;
6103
6114
  } else if (!deepStrictEqual(remoteBindings, preExistingRemoteProxySessionData?.remoteBindings)) {
6104
6115
  if (!remoteProxySession) {
6105
6116
  if (Object.keys(remoteBindings).length > 0) remoteProxySession = await startSession(remoteBindings, {
@@ -13716,7 +13727,7 @@ let updateCheckPromise;
13716
13727
  function checkForNpmUpdate() {
13717
13728
  return updateCheckPromise ??= (async () => {
13718
13729
  try {
13719
- const pkg = (await import("./package-C7Up3cPo.mjs")).default;
13730
+ const pkg = (await import("./package-Du7so-ZH.mjs")).default;
13720
13731
  return fetchLatestNpmVersion(pkg.name, pkg.version);
13721
13732
  } catch {
13722
13733
  return { status: "failed" };
@@ -13815,6 +13826,7 @@ async function getDevMiniflareOptions(ctx, viteDevServer) {
13815
13826
  config: {
13816
13827
  name: ROUTER_WORKER_NAME,
13817
13828
  access: entryWorkerConfig?.access,
13829
+ images: resolvedPluginConfig.type === "assets-only" ? resolvedPluginConfig.config.images : entryWorkerConfig?.images,
13818
13830
  compatibilityDate: INTERNAL_WORKERS_COMPATIBILITY_DATE,
13819
13831
  compatibilityFlags: ["enable_ctx_exports"],
13820
13832
  manifest: routerWorkerManifest,
@@ -14009,6 +14021,7 @@ async function getDevMiniflareOptions(ctx, viteDevServer) {
14009
14021
  },
14010
14022
  dev: {
14011
14023
  zone: getWorkerZone(config),
14024
+ routeHostname: getWorkerRouteHostname(config),
14012
14025
  remoteProxyConnectionString: remoteProxySessionData?.session?.remoteProxyConnectionString,
14013
14026
  unsafeInspectorProxy: inputInspectorPort !== false,
14014
14027
  useModuleFallbackService: true,
@@ -14027,6 +14040,7 @@ async function getDevMiniflareOptions(ctx, viteDevServer) {
14027
14040
  port: serverConfig.port,
14028
14041
  secure: !!serverConfig.https
14029
14042
  }),
14043
+ unsafeImageUrlTransformationsFetchViaPublicUrl: true,
14030
14044
  unsafeProxySharedSecret: PROXY_SHARED_SECRET,
14031
14045
  logRequests: false,
14032
14046
  inspectorPort: inputInspectorPort === false ? void 0 : inputInspectorPort,
@@ -14146,6 +14160,7 @@ async function getPreviewMiniflareOptions(ctx, vitePreviewServer) {
14146
14160
  },
14147
14161
  dev: {
14148
14162
  zone: getWorkerZone(config),
14163
+ routeHostname: getWorkerRouteHostname(config),
14149
14164
  remoteProxyConnectionString: remoteProxySessionData?.session?.remoteProxyConnectionString,
14150
14165
  unsafeInspectorProxy: inputInspectorPort !== false
14151
14166
  }
@@ -8,7 +8,7 @@ import os from "node:os";
8
8
  import { fileURLToPath } from "node:url";
9
9
  import { Buffer } from "node:buffer";
10
10
  import childProcess, { execFile } from "node:child_process";
11
- // ../../workers-sdk/packages/workers-utils/dist/open-BPppUKSJ.mjs
11
+ // ../../workers-sdk/packages/workers-utils/dist/open-DIY0wydR.mjs
12
12
  let isDockerCached;
13
13
  function hasDockerEnv() {
14
14
  try {
@@ -1,7 +1,7 @@
1
1
  // ../../workers-sdk/packages/vite-plugin-cloudflare/package.json
2
2
  var package_default = {
3
3
  name: "@cloudflare/vite-plugin",
4
- version: "2.0.0-rc.5",
4
+ version: "2.0.0-rc.8",
5
5
  description: "Cloudflare plugin for Vite",
6
6
  keywords: [
7
7
  "cloudflare",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsbuild-plugin-cloudflare",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Cloudflare plugin for Rsbuild (experimental)",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -34,21 +34,21 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "@cloudflare/build-output-utils": "1.0.0-rc.4",
38
- "@cloudflare/config": "1.0.0-rc.4",
39
- "@cloudflare/runtime-types": "0.1.34",
37
+ "@cloudflare/build-output-utils": "1.0.0-rc.7",
38
+ "@cloudflare/config": "1.0.0-rc.6",
39
+ "@cloudflare/runtime-types": "0.1.37",
40
40
  "@cloudflare/unenv-preset": "2.16.2",
41
- "miniflare": "5.20261123.1-beta",
41
+ "miniflare": "5.20261129.0-beta",
42
42
  "unenv": "2.0.0-rc.24",
43
43
  "ws": "8.21.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@cloudflare/workers-tsconfig": "link:../../workers-sdk/packages/workers-tsconfig",
47
- "@cloudflare/workers-types": "5.20261127.1",
47
+ "@cloudflare/workers-types": "5.20261129.1",
48
48
  "@cloudflare/workers-utils": "link:../../workers-sdk/packages/workers-utils",
49
- "@rsbuild/core": "^2.3.5",
49
+ "@rsbuild/core": "^2.3.6",
50
50
  "@types/node": "22.15.17",
51
- "cf": "1.0.0-beta.17",
51
+ "cf": "1.0.0-rc.6",
52
52
  "get-port": "^7.2.0",
53
53
  "picocolors": "^1.1.1",
54
54
  "tsdown": "0.22.14",