@cloudflare/deploy-helpers 0.19.2 → 0.20.1

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.
@@ -98,6 +98,7 @@ function createWorkerUploadForm(worker, bindings, options) {
98
98
  const assetConfig = {
99
99
  html_handling: assets?.assetConfig?.html_handling,
100
100
  not_found_handling: assets?.assetConfig?.not_found_handling,
101
+ base_path: assets?.assetConfig?.base_path,
101
102
  run_worker_first: assets?.run_worker_first,
102
103
  _redirects: assets?._redirects,
103
104
  _headers: assets?._headers
@@ -1,5 +1,5 @@
1
1
  import { createRequire } from 'node:module';
2
- export { createWorkerUploadForm, fromMimeType, moduleTypeMimeType } from './chunk-KKDV4JPS.mjs';
2
+ export { createWorkerUploadForm, fromMimeType, moduleTypeMimeType } from './chunk-DSGVRFIS.mjs';
3
3
  import './chunk-U6NEESU5.mjs';
4
4
 
5
5
  createRequire(import.meta.url || (typeof __filename === "string" ? __filename : "/"));
package/dist/index.d.mts CHANGED
@@ -500,7 +500,7 @@ compatibilityFlags: string[], { noBundle, }: {
500
500
  noBundle?: boolean;
501
501
  }): NodeJSCompatMode;
502
502
 
503
- declare const validateRoutes: (routes: Route[], assets: AssetsOptions | undefined) => void;
503
+ declare const validateRoutes: (routes: Route[], assets: AssetsOptions | undefined, workersDevEnabled?: boolean) => void;
504
504
 
505
505
  declare function hasDefinedEnvironments(config: Config): boolean;
506
506
  declare function applyServiceAndEnvironmentTags(config: Config, tags: string[]): string[];
@@ -1003,6 +1003,7 @@ type CreatePreviewDeploymentRequestParams = {
1003
1003
  config: {
1004
1004
  html_handling?: string;
1005
1005
  not_found_handling?: string;
1006
+ base_path?: string;
1006
1007
  run_worker_first?: string[] | boolean;
1007
1008
  };
1008
1009
  };
@@ -1171,6 +1172,7 @@ type PreviewAssetsOptions = {
1171
1172
  assetConfig: {
1172
1173
  html_handling?: string;
1173
1174
  not_found_handling?: string;
1175
+ base_path?: string;
1174
1176
  };
1175
1177
  run_worker_first?: string[] | boolean;
1176
1178
  _headers?: string;