builder.io 1.18.34 → 1.18.35

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.
@@ -100,6 +100,6 @@ export interface DevServerOrchestrator {
100
100
  close: () => Promise<void>;
101
101
  }
102
102
  export declare const importPty: (sys: DevToolsSys) => typeof import("@lydell/node-pty") | undefined;
103
- export declare function safeParseUrl(serverUrl: string | undefined): URL | undefined;
103
+ export declare function safeParseUrl(serverUrl: any): URL | undefined;
104
104
  export declare function devServerOrchestrator(sys: DevToolsSys, fusionConfig: FusionConfig, initialSetupState: "installed" | "not-installed" | "install-failed"): Promise<DevServerOrchestrator>;
105
105
  export declare const checkPortsListenedByPid: (pid: number) => number[];
@@ -1,6 +1,8 @@
1
1
  import type { DevToolsSys } from "../../types";
2
2
  import type { ProxyMiddleware } from "../../types/proxy-middleware";
3
- export declare const createProxy: (serverUrl: string, sys: DevToolsSys) => ProxyMiddleware;
3
+ import type { IncomingMessage } from "http";
4
+ export declare const createPassThroughProxy: () => import("http-proxy-3").ProxyServer<typeof IncomingMessage, typeof import("http").ServerResponse, Error>;
5
+ export declare const createProxyMiddleware: (serverUrl: URL, sys: DevToolsSys) => ProxyMiddleware | undefined;
4
6
  /**
5
7
  * Detects if HTML was server-side rendered by checking for framework-specific markers.
6
8
  * Returns whether SSR was used and whether the header/head was server-rendered.
@@ -9,3 +11,4 @@ export declare const detectSSR: (body: string) => {
9
11
  hasSSR: boolean;
10
12
  hasHeaderSSR: boolean;
11
13
  };
14
+ export declare const permissiveHTTPS: any;