@netlify/build 34.2.4 → 34.3.0
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.
|
@@ -11,7 +11,9 @@ const getRelativeFunctionMainFiles = async function ({ featureFlags, functionsSr
|
|
|
11
11
|
}
|
|
12
12
|
const zisiFeatureFlags = getZisiFeatureFlags(featureFlags);
|
|
13
13
|
const functions = await listFunctions(functionsSrc, { featureFlags: zisiFeatureFlags });
|
|
14
|
-
|
|
14
|
+
const dedupedFunctions = new Map(functions.map((func) => [func.name, func]));
|
|
15
|
+
const relativeMainFiles = [...dedupedFunctions.values()].map(({ mainFile }) => relative(functionsSrc, mainFile));
|
|
16
|
+
return relativeMainFiles;
|
|
15
17
|
};
|
|
16
18
|
export const getUserAndInternalFunctions = ({ featureFlags, functionsSrc, functionsSrcExists, internalFunctionsSrc, internalFunctionsSrcExists, frameworkFunctionsSrc, frameworkFunctionsSrcExists, }) => {
|
|
17
19
|
const paths = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/build",
|
|
3
|
-
"version": "34.
|
|
3
|
+
"version": "34.3.0",
|
|
4
4
|
"description": "Netlify build module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/index.js",
|
|
@@ -67,16 +67,16 @@
|
|
|
67
67
|
"license": "MIT",
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@bugsnag/js": "^8.0.0",
|
|
70
|
-
"@netlify/blobs": "^10.0.
|
|
70
|
+
"@netlify/blobs": "^10.0.6",
|
|
71
71
|
"@netlify/cache-utils": "^6.0.3",
|
|
72
|
-
"@netlify/config": "^23.
|
|
72
|
+
"@netlify/config": "^23.2.0",
|
|
73
73
|
"@netlify/edge-bundler": "14.2.2",
|
|
74
|
-
"@netlify/functions-utils": "^6.
|
|
74
|
+
"@netlify/functions-utils": "^6.2.0",
|
|
75
75
|
"@netlify/git-utils": "^6.0.2",
|
|
76
76
|
"@netlify/opentelemetry-utils": "^2.0.1",
|
|
77
77
|
"@netlify/plugins-list": "^6.80.0",
|
|
78
78
|
"@netlify/run-utils": "^6.0.2",
|
|
79
|
-
"@netlify/zip-it-and-ship-it": "
|
|
79
|
+
"@netlify/zip-it-and-ship-it": "14.1.0",
|
|
80
80
|
"@sindresorhus/slugify": "^2.0.0",
|
|
81
81
|
"ansi-escapes": "^7.0.0",
|
|
82
82
|
"chalk": "^5.0.0",
|
|
@@ -156,5 +156,5 @@
|
|
|
156
156
|
"engines": {
|
|
157
157
|
"node": ">=18.14.0"
|
|
158
158
|
},
|
|
159
|
-
"gitHead": "
|
|
159
|
+
"gitHead": "2a186393af7f577cc6bafa5d3962ea0833cd084c"
|
|
160
160
|
}
|