@vercel/microfrontends 0.19.0 → 0.19.2
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/bin/cli.cjs +3 -4
- package/dist/next/config.cjs +8 -6
- package/dist/next/config.cjs.map +1 -1
- package/dist/next/config.js +8 -6
- package/dist/next/config.js.map +1 -1
- package/package.json +1 -1
package/dist/bin/cli.cjs
CHANGED
|
@@ -29,7 +29,7 @@ var import_commander = require("commander");
|
|
|
29
29
|
// package.json
|
|
30
30
|
var package_default = {
|
|
31
31
|
name: "@vercel/microfrontends",
|
|
32
|
-
version: "0.19.
|
|
32
|
+
version: "0.19.2",
|
|
33
33
|
private: false,
|
|
34
34
|
description: "Defines configuration and utilities for microfrontends development",
|
|
35
35
|
keywords: [
|
|
@@ -1979,9 +1979,8 @@ var ProxyRequestRouter = class {
|
|
|
1979
1979
|
referer = void 0,
|
|
1980
1980
|
applications
|
|
1981
1981
|
}) {
|
|
1982
|
-
const isStackFrame = (0, import_path_to_regexp3.pathToRegexp)("/__nextjs_original-stack-frame").test(
|
|
1983
|
-
|
|
1984
|
-
);
|
|
1982
|
+
const isStackFrame = (0, import_path_to_regexp3.pathToRegexp)("/__nextjs_original-stack-frame").test(url.pathname) || // Plural form was introduced in https://github.com/vercel/next.js/pull/75557
|
|
1983
|
+
(0, import_path_to_regexp3.pathToRegexp)("/__nextjs_original-stack-frames").test(url.pathname);
|
|
1985
1984
|
if (!referer || !isStackFrame) {
|
|
1986
1985
|
return null;
|
|
1987
1986
|
}
|
package/dist/next/config.cjs
CHANGED
|
@@ -1970,12 +1970,14 @@ function transform5(args) {
|
|
|
1970
1970
|
// this deployments host
|
|
1971
1971
|
...process.env.VERCEL_URL ? [formatDomainForServerAction(process.env.VERCEL_URL)] : [],
|
|
1972
1972
|
// default application host
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1973
|
+
...process.env.VERCEL_MICROFRONTENDS_PROJECTS ? [
|
|
1974
|
+
formatDomainForServerAction(
|
|
1975
|
+
getDomainFromEnvironment({
|
|
1976
|
+
app: defaultApplication,
|
|
1977
|
+
target: "production"
|
|
1978
|
+
})
|
|
1979
|
+
)
|
|
1980
|
+
] : [],
|
|
1979
1981
|
formatDomainForServerAction(defaultApplication.fallback.toString()),
|
|
1980
1982
|
// environment specific microfrontend hosts
|
|
1981
1983
|
...appsToAllow.flatMap((a) => [
|