@netlify/plugin-nextjs 5.14.4 → 5.14.6
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/build/advanced-api-routes.js +11 -0
- package/dist/run/handlers/tags-handler.cjs +1 -1
- package/dist/run/handlers/tracer.cjs +535 -682
- package/dist/run/storage/regional-blob-store.cjs +21 -0
- package/dist/run/storage/request-scoped-in-memory-cache.cjs +60 -21
- package/dist/run/storage/storage.cjs +31 -7
- package/edge-runtime/shim/node.js +10 -5
- package/package.json +1 -1
|
@@ -134,6 +134,17 @@ var extractConfigFromFile = async (apiFilePath, appDir) => {
|
|
|
134
134
|
if (!fileContent.includes("config")) {
|
|
135
135
|
return {};
|
|
136
136
|
}
|
|
137
|
+
try {
|
|
138
|
+
const installBindingsModule = findModuleFromBase({
|
|
139
|
+
paths: [appDir],
|
|
140
|
+
candidates: ["next/dist/build/swc/install-bindings"]
|
|
141
|
+
});
|
|
142
|
+
if (installBindingsModule) {
|
|
143
|
+
const { installBindings } = __require(installBindingsModule);
|
|
144
|
+
await installBindings();
|
|
145
|
+
}
|
|
146
|
+
} catch {
|
|
147
|
+
}
|
|
137
148
|
const ast = await parseModule(apiFilePath, fileContent);
|
|
138
149
|
try {
|
|
139
150
|
return extractExportedConstValue(ast, "config");
|
|
@@ -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.14.
|
|
89
|
+
var version = "5.14.6";
|
|
90
90
|
|
|
91
91
|
// src/run/handlers/tags-handler.cts
|
|
92
92
|
var import_storage = require("../storage/storage.cjs");
|