@vercel/next 4.15.40 → 4.15.42
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/adapter/index.js +7 -6
- package/dist/index.js +5 -11
- package/package.json +3 -3
package/dist/adapter/index.js
CHANGED
|
@@ -2314,9 +2314,9 @@ var require_interop_require_default = __commonJS({
|
|
|
2314
2314
|
}
|
|
2315
2315
|
});
|
|
2316
2316
|
|
|
2317
|
-
// ../../node_modules/.pnpm/next@16.2.0-canary.
|
|
2317
|
+
// ../../node_modules/.pnpm/next@16.2.0-canary.79_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/modern-browserslist-target.js
|
|
2318
2318
|
var require_modern_browserslist_target = __commonJS({
|
|
2319
|
-
"../../node_modules/.pnpm/next@16.2.0-canary.
|
|
2319
|
+
"../../node_modules/.pnpm/next@16.2.0-canary.79_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/modern-browserslist-target.js"(exports2, module2) {
|
|
2320
2320
|
"use strict";
|
|
2321
2321
|
var MODERN_BROWSERSLIST_TARGET = [
|
|
2322
2322
|
"chrome 111",
|
|
@@ -2328,9 +2328,9 @@ var require_modern_browserslist_target = __commonJS({
|
|
|
2328
2328
|
}
|
|
2329
2329
|
});
|
|
2330
2330
|
|
|
2331
|
-
// ../../node_modules/.pnpm/next@16.2.0-canary.
|
|
2331
|
+
// ../../node_modules/.pnpm/next@16.2.0-canary.79_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/entry-constants.js
|
|
2332
2332
|
var require_entry_constants = __commonJS({
|
|
2333
|
-
"../../node_modules/.pnpm/next@16.2.0-canary.
|
|
2333
|
+
"../../node_modules/.pnpm/next@16.2.0-canary.79_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/entry-constants.js"(exports2) {
|
|
2334
2334
|
"use strict";
|
|
2335
2335
|
Object.defineProperty(exports2, "__esModule", {
|
|
2336
2336
|
value: true
|
|
@@ -2362,9 +2362,9 @@ var require_entry_constants = __commonJS({
|
|
|
2362
2362
|
}
|
|
2363
2363
|
});
|
|
2364
2364
|
|
|
2365
|
-
// ../../node_modules/.pnpm/next@16.2.0-canary.
|
|
2365
|
+
// ../../node_modules/.pnpm/next@16.2.0-canary.79_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/constants.js
|
|
2366
2366
|
var require_constants = __commonJS({
|
|
2367
|
-
"../../node_modules/.pnpm/next@16.2.0-canary.
|
|
2367
|
+
"../../node_modules/.pnpm/next@16.2.0-canary.79_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/constants.js"(exports2, module2) {
|
|
2368
2368
|
"use strict";
|
|
2369
2369
|
Object.defineProperty(exports2, "__esModule", {
|
|
2370
2370
|
value: true
|
|
@@ -9896,6 +9896,7 @@ async function handlePrerenderOutputs(prerenderOutputs, {
|
|
|
9896
9896
|
passQuery: true,
|
|
9897
9897
|
allowQuery: output.config.allowQuery,
|
|
9898
9898
|
allowHeader: output.config.allowHeader,
|
|
9899
|
+
partialFallback: output.config.partialFallback || void 0,
|
|
9899
9900
|
bypassToken: output.config.bypassToken,
|
|
9900
9901
|
experimentalBypassFor: output.config.bypassFor,
|
|
9901
9902
|
initialHeaders,
|
package/dist/index.js
CHANGED
|
@@ -11207,7 +11207,7 @@ function extractInterceptionRouteInformation(path6) {
|
|
|
11207
11207
|
}
|
|
11208
11208
|
return { interceptingRoute, interceptedRoute };
|
|
11209
11209
|
}
|
|
11210
|
-
var TEST_DYNAMIC_ROUTE = /\/\[[
|
|
11210
|
+
var TEST_DYNAMIC_ROUTE = /\/\[[^/]+?\](?=\/|$)/;
|
|
11211
11211
|
function isDynamicRoute(route, nextVersion) {
|
|
11212
11212
|
const coerced = nextVersion ? import_semver.default.coerce(nextVersion) : null;
|
|
11213
11213
|
if (coerced && import_semver.default.gte(coerced, "16.0.0", {
|
|
@@ -12839,7 +12839,6 @@ var onPrerenderRoute = (prerenderRouteArgs) => async (routeKey, {
|
|
|
12839
12839
|
headers: { "x-matched-path": paths.pathname }
|
|
12840
12840
|
};
|
|
12841
12841
|
}
|
|
12842
|
-
const partialFallback = isAppPathRoute && renderingMode === "PARTIALLY_STATIC" /* PARTIALLY_STATIC */ && isFallback && Boolean(postponedState);
|
|
12843
12842
|
let htmlAllowQuery = allowQuery;
|
|
12844
12843
|
if (renderingMode === "PARTIALLY_STATIC" /* PARTIALLY_STATIC */ && // TODO(NAR-402): Investigate omitted routes
|
|
12845
12844
|
(isFallback || isBlocking)) {
|
|
@@ -12851,9 +12850,10 @@ var onPrerenderRoute = (prerenderRouteArgs) => async (routeKey, {
|
|
|
12851
12850
|
) {
|
|
12852
12851
|
htmlAllowQuery = fallbackRootParams;
|
|
12853
12852
|
} else if (postponedPrerender) {
|
|
12854
|
-
htmlAllowQuery =
|
|
12853
|
+
htmlAllowQuery = [];
|
|
12855
12854
|
}
|
|
12856
12855
|
}
|
|
12856
|
+
const partialFallback = isAppPathRoute && renderingMode === "PARTIALLY_STATIC" /* PARTIALLY_STATIC */ && isFallback && Boolean(postponedState);
|
|
12857
12857
|
const staticMetadataFile = getSourceFileRefOfStaticMetadata(
|
|
12858
12858
|
routeKey,
|
|
12859
12859
|
appPathnameFilesMap
|
|
@@ -16856,14 +16856,8 @@ More info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`
|
|
|
16856
16856
|
const omittedPrerenderRoutes = new Set(
|
|
16857
16857
|
Object.keys(prerenderManifest.omittedRoutes)
|
|
16858
16858
|
);
|
|
16859
|
-
const hasIsr404Page = typeof prerenderManifest.staticRoutes[routesManifest?.i18n ? (
|
|
16860
|
-
|
|
16861
|
-
import_path6.default.join("/", routesManifest?.i18n.defaultLocale, "/404")
|
|
16862
|
-
) : "/404"]?.initialRevalidate === "number";
|
|
16863
|
-
const hasIsr500Page = typeof prerenderManifest.staticRoutes[routesManifest?.i18n ? (
|
|
16864
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-asserted-optional-chain
|
|
16865
|
-
import_path6.default.join("/", routesManifest?.i18n.defaultLocale, "/500")
|
|
16866
|
-
) : "/500"]?.initialRevalidate === "number";
|
|
16859
|
+
const hasIsr404Page = typeof prerenderManifest.staticRoutes[routesManifest?.i18n ? import_path6.default.join("/", routesManifest?.i18n.defaultLocale, "/404") : "/404"]?.initialRevalidate === "number";
|
|
16860
|
+
const hasIsr500Page = typeof prerenderManifest.staticRoutes[routesManifest?.i18n ? import_path6.default.join("/", routesManifest?.i18n.defaultLocale, "/500") : "/500"]?.initialRevalidate === "number";
|
|
16867
16861
|
const wildcardConfig = routesManifest?.i18n?.domains && routesManifest.i18n.domains.length > 0 ? routesManifest.i18n.domains.map((item) => {
|
|
16868
16862
|
return {
|
|
16869
16863
|
domain: item.domain,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/next",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.42",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@vercel/nft": "1.1.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@next-community/adapter-vercel": "0.0.1-beta.
|
|
19
|
+
"@next-community/adapter-vercel": "0.0.1-beta.13",
|
|
20
20
|
"@types/aws-lambda": "8.10.19",
|
|
21
21
|
"@types/buffer-crc32": "0.2.0",
|
|
22
22
|
"@types/bytes": "3.1.1",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"test-listen": "1.1.0",
|
|
54
54
|
"text-table": "0.2.0",
|
|
55
55
|
"webpack-sources": "3.2.3",
|
|
56
|
-
"@vercel/build-utils": "13.
|
|
56
|
+
"@vercel/build-utils": "13.7.0",
|
|
57
57
|
"@vercel/routing-utils": "6.0.2"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|