@cloudflare/workers-utils 0.27.0 → 0.28.0
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.
- package/dist/browser.d.mts +1 -1
- package/dist/browser.mjs +2 -2
- package/dist/{chunk-OTBYAUQ6.mjs → chunk-34VZWBGB.mjs} +2 -2
- package/dist/{chunk-OC543JY3.mjs → chunk-53IMCORZ.mjs} +1 -1
- package/dist/{chunk-ELQRF72O.mjs → chunk-J6JRMPLM.mjs} +1 -1
- package/dist/{chunk-DDRU76YD.mjs → chunk-Q72B4Q5Z.mjs} +5 -1
- package/dist/{chunk-XPMIK7N6.mjs → chunk-Y3JVLYM6.mjs} +1 -1
- package/dist/{chunk-TJ6ANXA2.mjs → chunk-Z62CVNHJ.mjs} +1 -1
- package/dist/{config-CkPlrcrD.d.mts → config-BadLPAp8.d.mts} +30 -7
- package/dist/fs-helpers.mjs +2 -2
- package/dist/global-wrangler-config-path.mjs +3 -3
- package/dist/index.d.mts +13 -4
- package/dist/index.mjs +15347 -4219
- package/dist/metafile-esm.json +1 -1
- package/dist/{open-BCHIM4MY.mjs → open-PBXRGS4R.mjs} +1 -1
- package/dist/prometheus-metrics.mjs +2 -2
- package/dist/test-helpers/index.d.mts +1 -1
- package/dist/test-helpers/index.mjs +3 -3
- package/package.json +3 -3
package/dist/browser.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TailConsumer, aK as WorkerMetadata, R as RawConfig } from './config-
|
|
1
|
+
import { T as TailConsumer, aK as WorkerMetadata, R as RawConfig } from './config-BadLPAp8.mjs';
|
|
2
2
|
import { AssetConfig } from '@cloudflare/workers-shared';
|
|
3
3
|
import { Cloudflare } from 'cloudflare';
|
|
4
4
|
import 'node:url';
|
package/dist/browser.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { constructWranglerConfig } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { constructWranglerConfig } from './chunk-J6JRMPLM.mjs';
|
|
2
|
+
import './chunk-Q72B4Q5Z.mjs';
|
|
@@ -14,6 +14,10 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
14
14
|
var __commonJS = (cb, mod) => function __require2() {
|
|
15
15
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
16
16
|
};
|
|
17
|
+
var __export = (target, all) => {
|
|
18
|
+
for (var name in all)
|
|
19
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
20
|
+
};
|
|
17
21
|
var __copyProps = (to, from, except, desc) => {
|
|
18
22
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
19
23
|
for (let key of __getOwnPropNames(from))
|
|
@@ -31,4 +35,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
35
|
mod
|
|
32
36
|
));
|
|
33
37
|
|
|
34
|
-
export { __commonJS, __name, __require, __toESM };
|
|
38
|
+
export { __commonJS, __export, __name, __require, __toESM };
|
|
@@ -286,6 +286,7 @@ type Logger = {
|
|
|
286
286
|
warn: typeof console.warn;
|
|
287
287
|
error: typeof console.error;
|
|
288
288
|
};
|
|
289
|
+
console?<M extends Exclude<keyof Console, "Console">>(method: M, ...args: Parameters<Console[M]>): void;
|
|
289
290
|
};
|
|
290
291
|
|
|
291
292
|
type ApiCredentials = {
|
|
@@ -530,7 +531,7 @@ interface CfWorkflow {
|
|
|
530
531
|
}
|
|
531
532
|
interface CfQueue {
|
|
532
533
|
binding: string;
|
|
533
|
-
queue_name
|
|
534
|
+
queue_name?: string | typeof INHERIT_SYMBOL;
|
|
534
535
|
delivery_delay?: number;
|
|
535
536
|
remote?: boolean;
|
|
536
537
|
raw?: boolean;
|
|
@@ -595,7 +596,7 @@ interface CfHelloWorld {
|
|
|
595
596
|
}
|
|
596
597
|
interface CfFlagship {
|
|
597
598
|
binding: string;
|
|
598
|
-
app_id
|
|
599
|
+
app_id?: string | typeof INHERIT_SYMBOL;
|
|
599
600
|
remote?: boolean;
|
|
600
601
|
}
|
|
601
602
|
interface CfWorkerLoader {
|
|
@@ -659,7 +660,7 @@ interface CfAnalyticsEngineDataset {
|
|
|
659
660
|
}
|
|
660
661
|
interface CfDispatchNamespace {
|
|
661
662
|
binding: string;
|
|
662
|
-
namespace
|
|
663
|
+
namespace?: string | typeof INHERIT_SYMBOL;
|
|
663
664
|
outbound?: {
|
|
664
665
|
service: string;
|
|
665
666
|
environment?: string;
|
|
@@ -1550,7 +1551,7 @@ type Entry = {
|
|
|
1550
1551
|
/**
|
|
1551
1552
|
* Wrangler configuration types. The JSDoc on these fields is also the source
|
|
1552
1553
|
* of truth for the equivalent fields in `@cloudflare/config`
|
|
1553
|
-
* (`packages/config/src/types.ts` — `
|
|
1554
|
+
* (`packages/config/src/types.ts` — `WorkerConfig` — and the binding option
|
|
1554
1555
|
* interfaces in `packages/config/src/config.ts`). When editing prose here,
|
|
1555
1556
|
* mirror the changes there.
|
|
1556
1557
|
*/
|
|
@@ -2436,7 +2437,7 @@ interface EnvironmentNonInheritable {
|
|
|
2436
2437
|
/** The binding name used to refer to the Queue in the Worker. */
|
|
2437
2438
|
binding: string;
|
|
2438
2439
|
/** The name of this Queue. */
|
|
2439
|
-
queue
|
|
2440
|
+
queue?: string;
|
|
2440
2441
|
/** The number of seconds to wait before delivering a message */
|
|
2441
2442
|
delivery_delay?: number;
|
|
2442
2443
|
/** Whether the Queue producer should be remote or not in local development */
|
|
@@ -2863,7 +2864,7 @@ interface EnvironmentNonInheritable {
|
|
|
2863
2864
|
/** The binding name used to refer to the bound service. */
|
|
2864
2865
|
binding: string;
|
|
2865
2866
|
/** The namespace to bind to. */
|
|
2866
|
-
namespace
|
|
2867
|
+
namespace?: string;
|
|
2867
2868
|
/** Details about the outbound Worker which will handle outbound requests from your namespace */
|
|
2868
2869
|
outbound?: DispatchNamespaceOutbound;
|
|
2869
2870
|
/** Whether the Dispatch Namespace should be remote or not in local development */
|
|
@@ -2954,7 +2955,7 @@ interface EnvironmentNonInheritable {
|
|
|
2954
2955
|
/** The binding name used to refer to the bound Flagship service. */
|
|
2955
2956
|
binding: string;
|
|
2956
2957
|
/** The Flagship app ID to bind to. */
|
|
2957
|
-
app_id
|
|
2958
|
+
app_id?: string;
|
|
2958
2959
|
/** Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote. */
|
|
2959
2960
|
remote?: boolean;
|
|
2960
2961
|
}[];
|
|
@@ -3235,6 +3236,15 @@ interface ConfigFields<Dev extends RawDevConfig> {
|
|
|
3235
3236
|
dependencies_instrumentation: {
|
|
3236
3237
|
/** Whether dependency instrumentation is enabled. Defaults to `true`. */
|
|
3237
3238
|
enabled: boolean;
|
|
3239
|
+
/**
|
|
3240
|
+
* An optional list of package name patterns to exclude from the
|
|
3241
|
+
* collected dependency metadata.
|
|
3242
|
+
*
|
|
3243
|
+
* Each entry can be an exact package name (e.g. `"lodash"`) or a glob
|
|
3244
|
+
* pattern using `*` as a wildcard (e.g. `"@internal/*"` to exclude all
|
|
3245
|
+
* packages under the `@internal` scope).
|
|
3246
|
+
*/
|
|
3247
|
+
exclude_packages?: string[];
|
|
3238
3248
|
} | undefined;
|
|
3239
3249
|
/**
|
|
3240
3250
|
* Options to configure the development server that your worker will use.
|
|
@@ -3330,6 +3340,19 @@ interface ConfigFields<Dev extends RawDevConfig> {
|
|
|
3330
3340
|
* @nonInheritable
|
|
3331
3341
|
*/
|
|
3332
3342
|
keep_vars?: boolean;
|
|
3343
|
+
/**
|
|
3344
|
+
* The inbound email addresses handled by the Worker being deployed.
|
|
3345
|
+
*
|
|
3346
|
+
* Each entry is a literal recipient address (e.g. `"support@example.com"`)
|
|
3347
|
+
* or a `*@domain` catch-all (e.g. `"*@example.com"`). Every entry creates an
|
|
3348
|
+
* Email Routing rule whose action routes mail to this Worker.
|
|
3349
|
+
*
|
|
3350
|
+
* This field is top-level only and applies to every environment of the
|
|
3351
|
+
* Worker; it cannot be set under `env.*`.
|
|
3352
|
+
*
|
|
3353
|
+
* @nonInheritable
|
|
3354
|
+
*/
|
|
3355
|
+
addresses?: string[];
|
|
3333
3356
|
}
|
|
3334
3357
|
interface PagesConfigFields {
|
|
3335
3358
|
/**
|
package/dist/fs-helpers.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { isDirectory, removeDir, removeDirSync } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { isDirectory, removeDir, removeDirSync } from './chunk-53IMCORZ.mjs';
|
|
2
|
+
import './chunk-Q72B4Q5Z.mjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { getGlobalConfigPath, getGlobalWranglerCachePath } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { getGlobalConfigPath, getGlobalWranglerCachePath } from './chunk-34VZWBGB.mjs';
|
|
2
|
+
import './chunk-53IMCORZ.mjs';
|
|
3
|
+
import './chunk-Q72B4Q5Z.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ComputedFields, B as Binding, R as RawConfig, b as Config, E as Exports, D as DurableObjectExport, W as WorkerEntrypointExport, c as WorkerMetadataBinding, L as Logger, d as Route } from './config-
|
|
2
|
-
export { bK as ApiCredentials, aG as AssetConfigMetadata, A as Assets, aH as AssetsOptions, a$ as AsyncHook, aW as BinaryFile, be as COMPLIANCE_REGION_CONFIG_PUBLIC, bf as COMPLIANCE_REGION_CONFIG_UNKNOWN, y as CacheOptions, X as CfAIBinding, a9 as CfAISearch, a8 as CfAISearchNamespace, aY as CfAccount, ab as CfAgentMemory, an as CfAnalyticsEngineDataset, ad as CfArtifacts, as as CfAssetsBinding, V as CfBrowserBinding, av as CfCapnp, a6 as CfD1Database, a1 as CfDataBlobBindings, aj as CfDevPluginCfg, ao as CfDispatchNamespace, a2 as CfDurableObject, ax as CfDurableObjectMigrations, ay as CfExports, af as CfFlagship, ae as CfHelloWorld, ai as CfHyperdrive, Y as CfImagesBinding, K as CfKvNamespace, aq as CfLogfwdr, ar as CfLogfwdrBinding, ap as CfMTlsCertificate, _ as CfMediaBinding, I as CfModule, H as CfModuleType, at as CfPipeline, az as CfPlacement, a4 as CfQueue, a5 as CfR2Bucket, ah as CfRateLimit, G as CfScriptFormat, ac as CfSecretsStoreSecrets, M as CfSendEmailBindings, ak as CfService, $ as CfStreamBinding, aA as CfTailConsumer, Q as CfTextBlobBindings, aw as CfUnsafe, au as CfUnsafeBinding, aB as CfUserLimits, J as CfVars, a7 as CfVectorize, a0 as CfVersionMetadataBinding, am as CfVpcNetwork, al as CfVpcService, N as CfWasmModuleBindings, aa as CfWebSearch, aD as CfWorkerContext, aC as CfWorkerInit, ag as CfWorkerLoader, aE as CfWorkerSourceMap, a3 as CfWorkflow, n as CloudchamberConfig, bd as ComplianceConfig, f as ConfigFields, w as ConfigModuleRuleType, r as ConfiguredExport, o as ContainerApp, F as ContainerEngine, m as CustomDomainRoute, x as DispatchNamespaceOutbound, z as DockerConfiguration, s as DurableObjectBindings, q as DurableObjectExportStorage, p as DurableObjectMigration, b6 as ENVIRONMENT_TAG_PREFIX, b3 as Entry, k as Environment, u as EnvironmentNonInheritable, aL as ExportsReconciliationEntryBase, aO as ExportsReconciliationErrorDetail, aM as ExportsReconciliationInfo, aP as ExportsReconciliationRename, aS as ExportsReconciliationResult, aQ as ExportsReconciliationTransfer, aR as ExportsReconciliationTransferPending, aN as ExportsReconciliationWarning, c0 as FetchKVGetValueFetcher, bN as FetchListResultFetcher, bO as FetchPagedListResultFetcher, bL as FetchResult, bM as FetchResultFetcher, aV as File, a_ as Hook, aZ as HookValues, b4 as INHERIT_SYMBOL, b8 as JSON_CONFIG_FORMATS, aF as Json, i as LOGGER_LEVELS, aJ as LegacyAssetPaths, b0 as LogLevel, j as LoggerLevel, b1 as NodeJSCompatMode, O as Observability, b7 as PATH_TO_DEPLOY_CONFIG, P as PreviewsConfig, e as RawDevConfig, g as RawEnvironment, a as RedirectedRawConfig, v as Rule, b5 as SERVICE_TAG_PREFIX, aU as ServiceFetch, aT as ServiceMetadataRes, b2 as StartDevWorkerInput, S as StreamingTailConsumer, T as TailConsumer, aX as Trigger, U as UserLimits, aI as ValidatedAssetsOptions, aK as WorkerMetadata, t as WorkflowBinding, Z as ZoneIdRoute, l as ZoneNameRoute, bZ as addAuthorizationHeader, h as defaultWranglerConfig, bW as extractAccountTag, bV as extractWAFBlockRayId, bQ as fetchInternalBase, b$ as fetchKVGetValueBase, bS as fetchListResultBase, bR as fetchResultBase, bF as getBrowserRenderingHeadfulFromEnv, br as getBuildConditionsFromEnv, bs as getBuildPlatformFromEnv, b9 as getC3CommandFromEnv, bp as getCIGeneratePreviewAlias, bm as getCIMatchTag, bn as getCIOverrideName, bo as getCIOverrideNetworkModeHost, bG as getCfFetchEnabledFromEnv, bH as getCfFetchPathFromEnv, bh as getCloudflareApiBaseUrl, bc as getCloudflareApiEnvironmentFromEnv, bg as getCloudflareComplianceRegion, bC as getCloudflareEnv, by as getCloudflareIncludeProcessEnvFromEnv, bx as getCloudflareLoadDevVarsFromDotEnv, bJ as getCloudflaredPathFromEnv, bi as getComplianceRegionSubdomain, bu as getD1ExtraLocationChoices, bA as getDisableConfigWatching, bv as getDockerPath, bE as getLocalExplorerEnabledFromEnv, bD as getOpenNextDeployFromEnv, bk as getOutputFileDirectoryFromEnv, bl as getOutputFilePathFromEnv, bt as getRegistryPath, bj as getSanitizeLogs, bw as getSubdomainMixedStateCheckDisabled, bz as getTraceHeader, bq as getWorkersCIBranchName, bI as getWranglerCacheDirFromEnv, bB as getWranglerHideBanner, bb as getWranglerSendErrorReportsFromEnv, ba as getWranglerSendMetricsFromEnv, c1 as hasCursor, bX as hasMorePages, bU as isWAFBlockResponse, c2 as maybeAddTraceHeader, bP as performApiFetchBase, bY as renderError, b_ as throwFetchError, bT as truncate } from './config-
|
|
1
|
+
import { C as ComputedFields, B as Binding, R as RawConfig, b as Config, E as Exports, D as DurableObjectExport, W as WorkerEntrypointExport, c as WorkerMetadataBinding, L as Logger, d as Route } from './config-BadLPAp8.mjs';
|
|
2
|
+
export { bK as ApiCredentials, aG as AssetConfigMetadata, A as Assets, aH as AssetsOptions, a$ as AsyncHook, aW as BinaryFile, be as COMPLIANCE_REGION_CONFIG_PUBLIC, bf as COMPLIANCE_REGION_CONFIG_UNKNOWN, y as CacheOptions, X as CfAIBinding, a9 as CfAISearch, a8 as CfAISearchNamespace, aY as CfAccount, ab as CfAgentMemory, an as CfAnalyticsEngineDataset, ad as CfArtifacts, as as CfAssetsBinding, V as CfBrowserBinding, av as CfCapnp, a6 as CfD1Database, a1 as CfDataBlobBindings, aj as CfDevPluginCfg, ao as CfDispatchNamespace, a2 as CfDurableObject, ax as CfDurableObjectMigrations, ay as CfExports, af as CfFlagship, ae as CfHelloWorld, ai as CfHyperdrive, Y as CfImagesBinding, K as CfKvNamespace, aq as CfLogfwdr, ar as CfLogfwdrBinding, ap as CfMTlsCertificate, _ as CfMediaBinding, I as CfModule, H as CfModuleType, at as CfPipeline, az as CfPlacement, a4 as CfQueue, a5 as CfR2Bucket, ah as CfRateLimit, G as CfScriptFormat, ac as CfSecretsStoreSecrets, M as CfSendEmailBindings, ak as CfService, $ as CfStreamBinding, aA as CfTailConsumer, Q as CfTextBlobBindings, aw as CfUnsafe, au as CfUnsafeBinding, aB as CfUserLimits, J as CfVars, a7 as CfVectorize, a0 as CfVersionMetadataBinding, am as CfVpcNetwork, al as CfVpcService, N as CfWasmModuleBindings, aa as CfWebSearch, aD as CfWorkerContext, aC as CfWorkerInit, ag as CfWorkerLoader, aE as CfWorkerSourceMap, a3 as CfWorkflow, n as CloudchamberConfig, bd as ComplianceConfig, f as ConfigFields, w as ConfigModuleRuleType, r as ConfiguredExport, o as ContainerApp, F as ContainerEngine, m as CustomDomainRoute, x as DispatchNamespaceOutbound, z as DockerConfiguration, s as DurableObjectBindings, q as DurableObjectExportStorage, p as DurableObjectMigration, b6 as ENVIRONMENT_TAG_PREFIX, b3 as Entry, k as Environment, u as EnvironmentNonInheritable, aL as ExportsReconciliationEntryBase, aO as ExportsReconciliationErrorDetail, aM as ExportsReconciliationInfo, aP as ExportsReconciliationRename, aS as ExportsReconciliationResult, aQ as ExportsReconciliationTransfer, aR as ExportsReconciliationTransferPending, aN as ExportsReconciliationWarning, c0 as FetchKVGetValueFetcher, bN as FetchListResultFetcher, bO as FetchPagedListResultFetcher, bL as FetchResult, bM as FetchResultFetcher, aV as File, a_ as Hook, aZ as HookValues, b4 as INHERIT_SYMBOL, b8 as JSON_CONFIG_FORMATS, aF as Json, i as LOGGER_LEVELS, aJ as LegacyAssetPaths, b0 as LogLevel, j as LoggerLevel, b1 as NodeJSCompatMode, O as Observability, b7 as PATH_TO_DEPLOY_CONFIG, P as PreviewsConfig, e as RawDevConfig, g as RawEnvironment, a as RedirectedRawConfig, v as Rule, b5 as SERVICE_TAG_PREFIX, aU as ServiceFetch, aT as ServiceMetadataRes, b2 as StartDevWorkerInput, S as StreamingTailConsumer, T as TailConsumer, aX as Trigger, U as UserLimits, aI as ValidatedAssetsOptions, aK as WorkerMetadata, t as WorkflowBinding, Z as ZoneIdRoute, l as ZoneNameRoute, bZ as addAuthorizationHeader, h as defaultWranglerConfig, bW as extractAccountTag, bV as extractWAFBlockRayId, bQ as fetchInternalBase, b$ as fetchKVGetValueBase, bS as fetchListResultBase, bR as fetchResultBase, bF as getBrowserRenderingHeadfulFromEnv, br as getBuildConditionsFromEnv, bs as getBuildPlatformFromEnv, b9 as getC3CommandFromEnv, bp as getCIGeneratePreviewAlias, bm as getCIMatchTag, bn as getCIOverrideName, bo as getCIOverrideNetworkModeHost, bG as getCfFetchEnabledFromEnv, bH as getCfFetchPathFromEnv, bh as getCloudflareApiBaseUrl, bc as getCloudflareApiEnvironmentFromEnv, bg as getCloudflareComplianceRegion, bC as getCloudflareEnv, by as getCloudflareIncludeProcessEnvFromEnv, bx as getCloudflareLoadDevVarsFromDotEnv, bJ as getCloudflaredPathFromEnv, bi as getComplianceRegionSubdomain, bu as getD1ExtraLocationChoices, bA as getDisableConfigWatching, bv as getDockerPath, bE as getLocalExplorerEnabledFromEnv, bD as getOpenNextDeployFromEnv, bk as getOutputFileDirectoryFromEnv, bl as getOutputFilePathFromEnv, bt as getRegistryPath, bj as getSanitizeLogs, bw as getSubdomainMixedStateCheckDisabled, bz as getTraceHeader, bq as getWorkersCIBranchName, bI as getWranglerCacheDirFromEnv, bB as getWranglerHideBanner, bb as getWranglerSendErrorReportsFromEnv, ba as getWranglerSendMetricsFromEnv, c1 as hasCursor, bX as hasMorePages, bU as isWAFBlockResponse, c2 as maybeAddTraceHeader, bP as performApiFetchBase, bY as renderError, b_ as throwFetchError, bT as truncate } from './config-BadLPAp8.mjs';
|
|
3
3
|
import * as jsoncParser from 'jsonc-parser';
|
|
4
4
|
export { constructWranglerConfig } from './browser.mjs';
|
|
5
5
|
export { GetGlobalConfigPathOptions, getGlobalConfigPath, getGlobalWranglerCachePath } from './global-wrangler-config-path.mjs';
|
|
@@ -899,7 +899,7 @@ declare function getHostFromUrl(urlLike: string): string | undefined;
|
|
|
899
899
|
*/
|
|
900
900
|
interface PackageManager {
|
|
901
901
|
/** The package manager identifier. */
|
|
902
|
-
type: "npm" | "yarn" | "pnpm" | "bun";
|
|
902
|
+
type: "npm" | "yarn" | "pnpm" | "bun" | "nub";
|
|
903
903
|
/** The command used to execute packages (e.g. `npx`, `pnpm`, `bunx`). */
|
|
904
904
|
npx: string;
|
|
905
905
|
/** The command segments used to download and execute packages (e.g. `["npx"]`, `["pnpm", "dlx"]`). */
|
|
@@ -943,6 +943,15 @@ declare const BunPackageManager: {
|
|
|
943
943
|
readonly dlx: ["bunx"];
|
|
944
944
|
readonly lockFiles: ["bun.lockb", "bun.lock"];
|
|
945
945
|
};
|
|
946
|
+
/**
|
|
947
|
+
* Manage packages using nub.
|
|
948
|
+
*/
|
|
949
|
+
declare const NubPackageManager: {
|
|
950
|
+
readonly type: "nub";
|
|
951
|
+
readonly npx: "nubx";
|
|
952
|
+
readonly dlx: ["nubx"];
|
|
953
|
+
readonly lockFiles: ["nub.lock"];
|
|
954
|
+
};
|
|
946
955
|
|
|
947
956
|
/**
|
|
948
957
|
* Checks whether the provided worker name is valid, this means that:
|
|
@@ -1012,4 +1021,4 @@ declare function getWorkerNameFromProject(projectPath: string): string;
|
|
|
1012
1021
|
*/
|
|
1013
1022
|
declare const friendlyBindingNames: Record<ConfigBindingFieldName, string>;
|
|
1014
1023
|
|
|
1015
|
-
export { APIError, Binding, type BindingLocalSupport, BunPackageManager, CommandLineArgsError, type CompatDate, Config, type ConfigBindingFieldName, type ConfigBindingOptions, type ConfigCache, type ConfigCacheOptions, DeprecationError, Diagnostics, DurableObjectExport, type EphemeralDirectory, type ExportType, Exports, FatalError, JsonFriendlyFatalError, type Location, Logger, type Message, MissingConfigError, type NormalizeAndValidateConfigArgs, NpmPackageManager, type NpmVersionCheckResult, type PackageJSON, type PackageManager, ParseError, type ParseFile, type PartitionedExports, PatchConfigError, PnpmPackageManager, RawConfig, type ResolveConfigPathOptions, Route, type TelemetryMessage, type Tunnel, type TunnelOptions, UserError, WorkerEntrypointExport, WorkerMetadataBinding, YarnPackageManager, assertNever, bucketFormatMessage, checkWorkerNameValidity, configFileName, configFormat, createConfigCache, createFatalError, experimental_patchConfig, experimental_readRawConfig, fetchLatestNpmVersion, findWranglerConfig, formatConfigSnippet, formatTime, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBooleanEnvironmentVariableFactory, getDurableObjectExports, getEnvironmentVariableFactory, getHostFromRoute, getHostFromUrl, getInstalledPackageVersion, getPackagePath, getTodaysCompatDate, getWorkerName, getWorkerNameFromProject, getWranglerHiddenDirPath, getWranglerTmpDir, getZoneFromRoute, hasDurableObjectExports, hasProperty, indexLocation, isCI, isCompatDate, isDockerfile, isInteractive, isNonInteractiveOrCI, isOptionalProperty, isPackageInstalled, isPagesConfig, isRedirectedConfig, isRequiredProperty, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, openInBrowser, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, partitionExports, readFileSync, readFileSyncToBuffer, resolveWranglerConfigPath, retryOnAPIFailure, searchLocation, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, toValidWorkerName, validatePagesConfig };
|
|
1024
|
+
export { APIError, Binding, type BindingLocalSupport, BunPackageManager, CommandLineArgsError, type CompatDate, Config, type ConfigBindingFieldName, type ConfigBindingOptions, type ConfigCache, type ConfigCacheOptions, DeprecationError, Diagnostics, DurableObjectExport, type EphemeralDirectory, type ExportType, Exports, FatalError, JsonFriendlyFatalError, type Location, Logger, type Message, MissingConfigError, type NormalizeAndValidateConfigArgs, NpmPackageManager, type NpmVersionCheckResult, NubPackageManager, type PackageJSON, type PackageManager, ParseError, type ParseFile, type PartitionedExports, PatchConfigError, PnpmPackageManager, RawConfig, type ResolveConfigPathOptions, Route, type TelemetryMessage, type Tunnel, type TunnelOptions, UserError, WorkerEntrypointExport, WorkerMetadataBinding, YarnPackageManager, assertNever, bucketFormatMessage, checkWorkerNameValidity, configFileName, configFormat, createConfigCache, createFatalError, experimental_patchConfig, experimental_readRawConfig, fetchLatestNpmVersion, findWranglerConfig, formatConfigSnippet, formatTime, friendlyBindingNames, getBindingLocalSupport, getBindingTypeFriendlyName, getBooleanEnvironmentVariableFactory, getDurableObjectExports, getEnvironmentVariableFactory, getHostFromRoute, getHostFromUrl, getInstalledPackageVersion, getPackagePath, getTodaysCompatDate, getWorkerName, getWorkerNameFromProject, getWranglerHiddenDirPath, getWranglerTmpDir, getZoneFromRoute, hasDurableObjectExports, hasProperty, indexLocation, isCI, isCompatDate, isDockerfile, isInteractive, isNonInteractiveOrCI, isOptionalProperty, isPackageInstalled, isPagesConfig, isRedirectedConfig, isRequiredProperty, isValidR2BucketName, mapWorkerMetadataBindings, normalizeAndValidateConfig, openInBrowser, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, partitionExports, readFileSync, readFileSyncToBuffer, resolveWranglerConfigPath, retryOnAPIFailure, searchLocation, spawnCloudflared, startTunnel, sweepStaleWranglerTmpDirs, toValidWorkerName, validatePagesConfig };
|