@netlify/plugin-nextjs 5.15.3 → 5.15.4
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.
|
@@ -322,7 +322,9 @@ var copyPrerenderedContent = async (ctx) => {
|
|
|
322
322
|
const key = routeToFilePath(route);
|
|
323
323
|
const value = await buildAppCacheValue(
|
|
324
324
|
join(ctx.publishDir, "server/app", key),
|
|
325
|
-
shouldUseAppPageKind
|
|
325
|
+
shouldUseAppPageKind,
|
|
326
|
+
// shells always have `renderingMode === 'PARTIALLY_STATIC'`
|
|
327
|
+
false
|
|
326
328
|
);
|
|
327
329
|
await writeCacheEntry(key, value, Date.now(), ctx);
|
|
328
330
|
})
|
|
@@ -86,7 +86,7 @@ var pipeline = (0, import_util.promisify)(import_stream.pipeline);
|
|
|
86
86
|
|
|
87
87
|
// package.json
|
|
88
88
|
var name = "@netlify/plugin-nextjs";
|
|
89
|
-
var version = "5.15.
|
|
89
|
+
var version = "5.15.4";
|
|
90
90
|
|
|
91
91
|
// src/run/handlers/tags-handler.cts
|
|
92
92
|
var import_storage = require("../storage/storage.cjs");
|
|
@@ -772,14 +772,14 @@ var Store = class _Store {
|
|
|
772
772
|
};
|
|
773
773
|
}
|
|
774
774
|
};
|
|
775
|
-
var getDeployStore = (input = {}) => {
|
|
775
|
+
var getDeployStore = (input = {}, options) => {
|
|
776
776
|
const context = getEnvironmentContext();
|
|
777
|
-
const
|
|
778
|
-
const deployID =
|
|
777
|
+
const mergedOptions = typeof input === "string" ? { ...options, name: input } : input;
|
|
778
|
+
const deployID = mergedOptions.deployID ?? context.deployID;
|
|
779
779
|
if (!deployID) {
|
|
780
780
|
throw new MissingBlobsEnvironmentError(["deployID"]);
|
|
781
781
|
}
|
|
782
|
-
const clientOptions = getClientOptions(
|
|
782
|
+
const clientOptions = getClientOptions(mergedOptions, context);
|
|
783
783
|
if (!clientOptions.region) {
|
|
784
784
|
if (clientOptions.edgeURL || clientOptions.uncachedEdgeURL) {
|
|
785
785
|
if (!context.primaryRegion) {
|
|
@@ -793,7 +793,7 @@ var getDeployStore = (input = {}) => {
|
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
795
|
const client = new Client(clientOptions);
|
|
796
|
-
return new Store({ client, deployID, name:
|
|
796
|
+
return new Store({ client, deployID, name: mergedOptions.name });
|
|
797
797
|
};
|
|
798
798
|
|
|
799
799
|
// src/run/storage/regional-blob-store.cts
|