@module-federation/vite 1.23.10 → 1.23.11

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.
@@ -1,5 +1,5 @@
1
- import { f as isHttpUrl, n as mfError, p as normalizePathForImport, t as createModuleFederationError } from "./logger-Ckj1FMRH.js";
2
- import { b as resolveImportPath, m as hasPackageDependency, r as watchFileEvents } from "./dtsConstants-DIcz34LN.js";
1
+ import { a as mfError, f as isHttpUrl, i as createModuleFederationError, p as normalizePathForImport } from "./codeRewriter-BT69vMj_.js";
2
+ import { b as resolveImportPath, m as hasPackageDependency, r as watchFileEvents } from "./dtsConstants-CBr13mKq.js";
3
3
  import fs from "fs";
4
4
  import * as path$1 from "node:path";
5
5
  import { normalizeOptions } from "@module-federation/sdk";
@@ -1,4 +1,4 @@
1
- import { p as normalizePathForImport } from "./logger-Ckj1FMRH.js";
1
+ import { p as normalizePathForImport } from "./codeRewriter-BT69vMj_.js";
2
2
  import * as path$1 from "node:path";
3
3
  //#region src/utils/pathNormalization.ts
4
4
  const COMMON_SHARED_SUBPATHS = {
@@ -1,4 +1,4 @@
1
- import { a as CodeRewriter, f as isHttpUrl, i as createCodePositionMap, r as mfWarn, s as EXTERNAL_URL_RE, u as decodeViteId } from "./logger-Ckj1FMRH.js";
1
+ import { f as isHttpUrl, o as mfWarn, r as createCodePositionMap, s as EXTERNAL_URL_RE, t as CodeRewriter, u as decodeViteId } from "./codeRewriter-BT69vMj_.js";
2
2
  import { simpleJoinRemoteEntry } from "@module-federation/sdk";
3
3
  //#region src/utils/fetchWithTimeout.ts
4
4
  const DEFAULT_SSR_FETCH_TIMEOUT_MS = 1e4;
@@ -922,7 +922,7 @@ async function importTempModule(filePath, versionKey) {
922
922
  }
923
923
  let warnedVmUnavailable = false;
924
924
  function getVmStrategyModule() {
925
- if (!loaderState.vmStrategyModulePromise) loaderState.vmStrategyModulePromise = import("./ssrVmStrategy-uJaUmHLS.js");
925
+ if (!loaderState.vmStrategyModulePromise) loaderState.vmStrategyModulePromise = import("./ssrVmStrategy-Ci-N_XW3.js");
926
926
  return loaderState.vmStrategyModulePromise;
927
927
  }
928
928
  /**
@@ -1,6 +1,6 @@
1
- import { f as isHttpUrl, s as EXTERNAL_URL_RE } from "./logger-Ckj1FMRH.js";
2
- import { t as findSharedKey } from "./sharedKeyMatcher-B5VKsEVQ.js";
3
- import { d as readResponseTextBounded, i as resolveSharedPath, l as fetchWithTimeout, n as SsrEntryHttpError, r as neutralizeBrowserPreloadHelpers, u as getBodyPreview } from "./ssrEntryLoader--NkahIOF.js";
1
+ import { f as isHttpUrl, s as EXTERNAL_URL_RE } from "./codeRewriter-BT69vMj_.js";
2
+ import { t as findSharedKey } from "./sharedKeyMatcher-BjGe96M5.js";
3
+ import { d as readResponseTextBounded, i as resolveSharedPath, l as fetchWithTimeout, n as SsrEntryHttpError, r as neutralizeBrowserPreloadHelpers, u as getBodyPreview } from "./ssrEntryLoader-CBfSzuuC.js";
4
4
  //#region src/utils/ssrVmStrategy.ts
5
5
  /**
6
6
  * vm.SourceTextModule strategy for loading remote SSR entries.
@@ -1,2 +1,2 @@
1
- import { a as revalidate, i as resolveSharedPath, n as SsrEntryHttpError, o as ssrEntryLoaderPlugin, r as neutralizeBrowserPreloadHelpers, t as SSR_ENTRY_LOADER_STATE_KEY } from "../ssrEntryLoader--NkahIOF.js";
1
+ import { a as revalidate, i as resolveSharedPath, n as SsrEntryHttpError, o as ssrEntryLoaderPlugin, r as neutralizeBrowserPreloadHelpers, t as SSR_ENTRY_LOADER_STATE_KEY } from "../ssrEntryLoader-CBfSzuuC.js";
2
2
  export { SSR_ENTRY_LOADER_STATE_KEY, SsrEntryHttpError, ssrEntryLoaderPlugin as default, neutralizeBrowserPreloadHelpers, resolveSharedPath, revalidate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/vite",
3
- "version": "1.23.10",
3
+ "version": "1.23.11",
4
4
  "description": "Vite plugin for Module Federation",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",