@netlify/build 27.15.6 → 27.15.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/build",
|
|
3
|
-
"version": "27.15.
|
|
3
|
+
"version": "27.15.7",
|
|
4
4
|
"description": "Netlify build module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./src/core/main.js",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"license": "MIT",
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@bugsnag/js": "^7.0.0",
|
|
59
|
-
"@netlify/edge-bundler": "^1.
|
|
59
|
+
"@netlify/edge-bundler": "^1.14.0",
|
|
60
60
|
"@netlify/cache-utils": "^4.0.0",
|
|
61
61
|
"@netlify/config": "^18.2.2",
|
|
62
62
|
"@netlify/functions-utils": "^4.2.4",
|
|
@@ -42,12 +42,11 @@ export const getExpectedVersion = async function ({ versions, nodeVersion, packa
|
|
|
42
42
|
// - Otherwise, use `latestVersion`
|
|
43
43
|
const getCompatibleEntry = async function ({ versions, nodeVersion, packageJson, buildDir, pinnedVersion }) {
|
|
44
44
|
if (pinnedVersion !== undefined) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
versions.find(({ version }) => semver.satisfies(semver.coerce(version), pinnedVersion)) || {
|
|
48
|
-
version: pinnedVersion,
|
|
49
|
-
}
|
|
45
|
+
const matchingVersion = versions.find(({ version }) =>
|
|
46
|
+
semver.satisfies(version, pinnedVersion, { includePrerelease: true }),
|
|
50
47
|
)
|
|
48
|
+
|
|
49
|
+
return matchingVersion || { version: pinnedVersion }
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
const versionsWithConditions = versions.filter(hasConditions)
|